October 23, 2024
- Updated:
postcss-selector-parser
August 3, 2024
- Updated: Support for Node v18+ (major).
April 18, 2024
- Fix: Do not throw when a html select has the attribute "multiple" set.
December 15, 2023
- Fix type definitions
July 3, 2023
- Change license to
MIT-0(read more about this change in the blog post)
February 6, 2023
- Reduce the amount of duplicate fallback CSS.
January 28, 2023
- Improve
typesdeclaration inpackage.json
January 24, 2023
- Updated: Support for Node v14+ (major).
- Fix: Do not throw when a selector is invalid, show a warning instead.
- Updated: Export and document the plugin options types.
August 23, 2022
- Fix: assign global browser polyfill to
window,selfor a blank object.
July 30, 2022
- Added:
disablePolyfillReadyClassplugin option to prevent.js-blank-pseudofrom being added.
July 8, 2022
- Updated: The polyfill now only attaches a single listener to the body so it's more efficient and also does less work at the MutationObserver handler.
- Breaking: removed old CDN urls
- Breaking: removed old CLI
- Fix case insensitive matching.
- If you use a CDN url, please update it.
- Re-build your CSS with the new version of the library.
- <script src="https://unpkg.com/css-blank-pseudo/browser"></script>
- <script src="https://unpkg.com/css-blank-pseudo/browser.min"></script>
+ <script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>- cssBlankPseudo(document)
+ cssBlankPseudoInit()- cssBlankPseudo({
- attr: false,
- className: 'blank'
- })
+ cssBlankPseudoInit({
+ replaceWith: '.blank'
+ })February 5, 2022
- Rebuild of browser polyfills
January 2, 2022
- Removed Sourcemaps from package tarball.
- Moved CLI to CLI Package. See announcement.
December 27, 2021
- Fixed: require/import paths for browser script
December 13, 2021
- Breaking: require/import paths have changed
- Changed: new polyfill CDN urls.
- Changed: Supports Node 12+ (major).
- Updated: documentation
Migrating to 3.0.0
PostCSS plugin :
- const postcssBlankPseudo = require('css-blank-pseudo/postcss');
+ const postcssBlankPseudo = require('css-blank-pseudo');Browser Polyfill :
- const cssBlankPseudo = require('css-blank-pseudo');
+ const cssBlankPseudo = require('css-blank-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-blank-pseudo/browser"></script>
+ <script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>Browser Polyfill IE :
The polyfill for IE is now the same as the general polyfill
- const cssBlankPseudo = require('css-blank-pseudo');
+ const cssBlankPseudo = require('css-blank-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-blank-pseudo/browser-legacy"></script>
+ <script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>September 16, 2021
- Changed: Supports PostCSS 8.3+ (major).
- Changed: Supports Node 10+ (major).
June 10, 2019
- Updated:
postcssto 7.0.16 (patch) - Updated: Node 8+ compatibility (major)
November 17, 2018
- Update documentation
November 17, 2018
- Improve CLI usage
November 17, 2018
- Provide a version specifically for Internet Explorer 11
November 17, 2018
- Update documentation
November 17, 2018
- Initial version