Download Latest Version v7.0.0 source code.tar.gz (47.5 kB)
Email in envelope

Get an email when there's a new version of Sanitize

Home / v7.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-12-30 837 Bytes
v7.0.0 source code.tar.gz 2024-12-30 47.5 kB
v7.0.0 source code.zip 2024-12-30 62.0 kB
Totals: 3 Items   110.3 kB 1

Sanitize has no breaking API changes in this release, but the major version number has been incremented because we've dropped support for end-of-life versions of Ruby. As long as you're using Ruby 3.1.0 or later, this should be a painless upgrade!

Added

  • Added over 100 new CSS properties to the relaxed config, representing all properties that are listed with a status of "Working Draft" or better in the latest W3C "All Properties" list.

  • Added the @container CSS at-rule to the relaxed config.

  • Added the -webkit-text-fill-color CSS property to the relaxed config. @radar - [#244]

Changed

  • Ruby 3.1.0 is now the oldest supported Ruby version.

  • Sanitize now requires Nokogiri 1.16.8 or higher.

Source: README.md, updated 2024-12-30