DOMPurify v2.0.0 Release Notes

Release Date: 2019-09-12 // over 4 years ago
  • Note: This release makes sure that, by default only string objects are returned (if not specified otherwise). This change relates to a surprising behavior in Chrome 77 - having to do with Trusted Types.

    • ๐Ÿ”„ Changed the default behavior for Trusted Types (See #361)
    • โž• Added a new config flag to manually enable Trusted Types support
    • โž• Added support for more attributes
    • ๐Ÿ›  Fixed a minor CSP warning