Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.08 KB

File metadata and controls

35 lines (24 loc) · 1.08 KB

Changelog

1.2.0 - 2025-02-13

Changed

  • Support application/octet-stream as a MIME type in objectUrlFromSafeSource
  • Support certain font MIME types in objectUrlFromSafeSource
  • Support certain font MIME types in objectUrlFromSafeSource
  • Support additional image and audio MIME type formats in objectUrlFromSafeSource

1.1.0 - 2025-02-06

Added

  • Implement setElementAttribute and document it
  • Add a .withOpenShadow CssSanitizerBuilder option
  • Add "controlslist" to the list of globally permitted attributes
  • Add a CHANGELOG.md that follows https://common-changelog.org/

Changed

  • Downgrade the global attribute contracts for "cite" and "poster" attributes in the sanitizer
  • Extend allowDataAttributes from the HtmlSanitizerBuilder to allow any data-* attributes

1.0.1 - 2025-01-03

Initial release.