2.6 KiB
2.6 KiB
Changes to CSS Has Pseudo
3.0.4 (February 5, 2022)
- Rebuild of browser polyfills
3.0.3 (January 12, 2022)
- Fix compatibility with PostCSS
v8.2.x
#147
This version is not officially supported but some tool providers pinned PostCSS to v8.2.x
,
making it impossible for end users to have a working setup.
3.0.2 (January 2, 2022)
- Removed Sourcemaps from package tarball.
- Moved CLI to CLI Package. See announcement.
3.0.1 (December 27, 2021)
- Fixed: require/import paths for browser script
3.0.0 (December 13, 2021)
- Breaking: require/import paths have changed
- Changed: new polyfill CDN urls.
- Updated: documentation
Migrating to 3.0.0
PostCSS plugin :
- const postcssHasPseudo = require('css-has-pseudo/postcss');
+ const postcssHasPseudo = require('css-has-pseudo');
Browser Polyfill :
- const cssHasPseudo = require('css-has-pseudo');
+ const cssHasPseudo = require('css-has-pseudo/browser');
The old CND url is now deprecated and will be removed in a next major release. It will continue to work for now.
- <script src="https://unpkg.com/css-has-pseudo/browser"></script>
+ <script src="https://unpkg.com/css-has-pseudo/dist/browser-global.js"></script>
2.0.0 (September 16, 2021)
- Updated: Support for PostCS 8+ (major).
- Updated: Support for Node 12+ (major).
1.0.0 (June 10, 2019)
- Updated:
postcss-selector-parser
to 6.0.2 (major) - Updated:
postcss
to 7.0.16 (patch) - Updated: Node 8+ compatibility (major)
0.10.0 (December 11, 2018)
- Fixed an issue where inaccessible rules would crash the library
0.9.0 (November 26, 2018)
- Improved CLI usage
0.8.0 (November 26, 2018)
- Fixed an issue where attribute names were not being properly encoded
0.7.0 (November 25, 2018)
- Replaced
setImmediate
withrequestAnimationFrame
for future compatibility
0.6.0 (November 25, 2018)
- Fixed an issue where nested rules were not supported
0.5.0 (November 21, 2018)
- Further optimize script; from 775 bytes to 757 bytes
0.4.0 (November 21, 2018)
- Fixed an issue with the browser script not picking up added nodes
0.3.0 (November 21, 2018)
- Fixed the misnamed function name for the browser-ready script
0.2.0 (November 21, 2018)
- Improved browser compatibility with updated parsers, encoders, and decoders
- Improved performance by walking the DOM less
- Reduced script size by 9%; from 855 bytes to 775 bytes
0.1.0 (November 20, 2018)
- Initial version