v4.0.0
New features:
- Aliases are a new way to write pseudos (#403) 206535e
- It is now possible to write a pseudo selector that shortens a longer selector as an alias. Have a look at #403 for examples.
- BREAKING: Several built-in pseudos are now stricter. This aligns them with the CSS spec, but might lead to changes in results.
- Upgraded to
[email protected]
- Added support for the
s
flag in attribute selectors. - BREAKING: In HTML, attributes are now automatically considered case-insensitive, based on the HTML spec. Some selectors might now match more elements.
- Added support for the
Fixes:
Other:
- BREAKING: Removed
strict
option 9329fb8- This option was out of date and needed a bigger refactor. Please open an issue if you were using it, and we can discuss a path forward.