Skip to content

v7.0.0

Latest
Compare
Choose a tag to compare
@rgrove rgrove released this 30 Dec 05:02
· 1 commit to main since this release
19ee751

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.