| 1 | # Changes to CSS Blank Pseudo
|
|---|
| 2 |
|
|---|
| 3 | ### 3.0.3 (February 5, 2022)
|
|---|
| 4 |
|
|---|
| 5 | - Rebuild of browser polyfills
|
|---|
| 6 |
|
|---|
| 7 | ### 3.0.2 (January 2, 2022)
|
|---|
| 8 |
|
|---|
| 9 | - Removed Sourcemaps from package tarball.
|
|---|
| 10 | - Moved CLI to CLI Package. See [announcement](https://github.com/csstools/postcss-plugins/discussions/121).
|
|---|
| 11 |
|
|---|
| 12 | ### 3.0.1 (December 27, 2021)
|
|---|
| 13 |
|
|---|
| 14 | - Fixed: require/import paths for browser script
|
|---|
| 15 |
|
|---|
| 16 | ### 3.0.0 (December 13, 2021)
|
|---|
| 17 |
|
|---|
| 18 | - Breaking: require/import paths have changed
|
|---|
| 19 | - Changed: new polyfill CDN urls.
|
|---|
| 20 | - Changed: Supports Node 12+ (major).
|
|---|
| 21 | - Updated: documentation
|
|---|
| 22 |
|
|---|
| 23 | **Migrating to 3.0.0**
|
|---|
| 24 |
|
|---|
| 25 | PostCSS plugin :
|
|---|
| 26 |
|
|---|
| 27 | ```diff
|
|---|
| 28 | - const postcssBlankPseudo = require('css-blank-pseudo/postcss');
|
|---|
| 29 | + const postcssBlankPseudo = require('css-blank-pseudo');
|
|---|
| 30 | ```
|
|---|
| 31 |
|
|---|
| 32 | Browser Polyfill :
|
|---|
| 33 |
|
|---|
| 34 | ```diff
|
|---|
| 35 | - const cssBlankPseudo = require('css-blank-pseudo');
|
|---|
| 36 | + const cssBlankPseudo = require('css-blank-pseudo/browser');
|
|---|
| 37 | ```
|
|---|
| 38 |
|
|---|
| 39 | _The old CND url is now deprecated and will be removed in a next major release._
|
|---|
| 40 | _It will continue to work for now._
|
|---|
| 41 |
|
|---|
| 42 | ```diff
|
|---|
| 43 | - <script src="https://unpkg.com/css-blank-pseudo/browser"></script>
|
|---|
| 44 | + <script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>
|
|---|
| 45 | ```
|
|---|
| 46 |
|
|---|
| 47 | Browser Polyfill IE :
|
|---|
| 48 |
|
|---|
| 49 | _The polyfill for IE is now the same as the general polyfill_
|
|---|
| 50 |
|
|---|
| 51 | ```diff
|
|---|
| 52 | - const cssBlankPseudo = require('css-blank-pseudo');
|
|---|
| 53 | + const cssBlankPseudo = require('css-blank-pseudo/browser');
|
|---|
| 54 | ```
|
|---|
| 55 |
|
|---|
| 56 | _The old CND url is now deprecated and will be removed in a next major release._
|
|---|
| 57 | _It will continue to work for now._
|
|---|
| 58 |
|
|---|
| 59 | ```diff
|
|---|
| 60 | - <script src="https://unpkg.com/css-blank-pseudo/browser-legacy"></script>
|
|---|
| 61 | + <script src="https://unpkg.com/css-blank-pseudo/dist/browser-global.js"></script>
|
|---|
| 62 | ```
|
|---|
| 63 |
|
|---|
| 64 | ### 2.0.0 (September 16, 2021)
|
|---|
| 65 |
|
|---|
| 66 | - Changed: Supports PostCSS 8.3+ (major).
|
|---|
| 67 | - Changed: Supports Node 10+ (major).
|
|---|
| 68 |
|
|---|
| 69 | ### 1.0.0 (June 10, 2019)
|
|---|
| 70 |
|
|---|
| 71 | - Updated: `postcss` to 7.0.16 (patch)
|
|---|
| 72 | - Updated: Node 8+ compatibility (major)
|
|---|
| 73 |
|
|---|
| 74 | ### 0.1.4 (November 17, 2018)
|
|---|
| 75 |
|
|---|
| 76 | - Update documentation
|
|---|
| 77 |
|
|---|
| 78 | ### 0.1.3 (November 17, 2018)
|
|---|
| 79 |
|
|---|
| 80 | - Improve CLI usage
|
|---|
| 81 |
|
|---|
| 82 | ### 0.1.2 (November 17, 2018)
|
|---|
| 83 |
|
|---|
| 84 | - Provide a version specifically for Internet Explorer 11
|
|---|
| 85 |
|
|---|
| 86 | ### 0.1.1 (November 17, 2018)
|
|---|
| 87 |
|
|---|
| 88 | - Update documentation
|
|---|
| 89 |
|
|---|
| 90 | ### 0.1.0 (November 17, 2018)
|
|---|
| 91 |
|
|---|
| 92 | - Initial version
|
|---|