Skip to content

v7.0.0

Latest

Choose a tag to compare

@fb55 fb55 released this 22 Mar 22:44
· 24 commits to master since this release

Breaking Changes

  • ESM only: the package now sets "type": "module"; CommonJS require() is only supported in modern environments #1746
    • Minimum Node.js version is now 20.19.0
  • Cleaned up deprecations
    • Removed the deprecated _compileToken export. Use _compileUnsafe instead
    • Removed the deprecated re-exports of aliases, filters, and pseudos. Use the pseudos option instead
    • Removed ./package.json subpath export
  • :enabled now only matches form elements

New Features

  • Added support for the :lang() pseudo-class
  • Added support for of in nth-* pseudo-classes, e.g. :nth-last-child(3n+2 of .a)

Full Changelog: v6.0.0...v7.0.0