| 1 | # Changes to PostCSS Color Functional Notation
|
|---|
| 2 |
|
|---|
| 3 | ### 4.2.4 (July 8, 2022)
|
|---|
| 4 |
|
|---|
| 5 | - Fix case insensitive matching.
|
|---|
| 6 |
|
|---|
| 7 | ### 4.2.3 (May 19, 2022)
|
|---|
| 8 |
|
|---|
| 9 | - Handle modern channel values in legacy notation (comma separated)
|
|---|
| 10 |
|
|---|
| 11 | ```css
|
|---|
| 12 | .color {
|
|---|
| 13 | color: rgba(0, 255, 0, 50%);
|
|---|
| 14 | }
|
|---|
| 15 |
|
|---|
| 16 | /* becomes */
|
|---|
| 17 |
|
|---|
| 18 | .color {
|
|---|
| 19 | color: rgba(0, 255, 0, 0.5);
|
|---|
| 20 | }
|
|---|
| 21 | ```
|
|---|
| 22 |
|
|---|
| 23 | ### 4.2.2 (February 5, 2022)
|
|---|
| 24 |
|
|---|
| 25 | - Improved `es module` and `commonjs` compatibility
|
|---|
| 26 |
|
|---|
| 27 | ### 4.2.1 (January 2, 2022)
|
|---|
| 28 |
|
|---|
| 29 | - Removed Sourcemaps from package tarball.
|
|---|
| 30 | - Moved CLI to CLI Package. See [announcement](https://github.com/csstools/postcss-plugins/discussions/121).
|
|---|
| 31 |
|
|---|
| 32 | ### 4.2.0 (December 27, 2021)
|
|---|
| 33 |
|
|---|
| 34 | - Added: support for Alpha value as the fourth argument in comma separated values notation.
|
|---|
| 35 |
|
|---|
| 36 | ### 4.1.0 (December 15, 2021)
|
|---|
| 37 |
|
|---|
| 38 | - Added: support for Alpha value as a CSS variable in `rgb()` and `rgba()`.
|
|---|
| 39 |
|
|---|
| 40 | ### 4.0.2 (December 13, 2021)
|
|---|
| 41 |
|
|---|
| 42 | - Changed: now uses `postcss-value-parser` for parsing.
|
|---|
| 43 | - Updated: documentation
|
|---|
| 44 | - Added: support for CSS variables with `preserve: true` option.
|
|---|
| 45 |
|
|---|
| 46 | ### 4.0.1 (November 18, 2021)
|
|---|
| 47 |
|
|---|
| 48 | - Added: Safeguards against postcss-values-parser potentially throwing an error.
|
|---|
| 49 | - Updated: postcss-value-parser to 6.0.1 (patch)
|
|---|
| 50 |
|
|---|
| 51 | ### 4.0.0 (September 17, 2021)
|
|---|
| 52 |
|
|---|
| 53 | - Updated: Support for PostCS 8+ (major).
|
|---|
| 54 | - Updated: Support for Node 12+ (major).
|
|---|
| 55 |
|
|---|
| 56 | ### 3.0.2 (April 25, 2020)
|
|---|
| 57 |
|
|---|
| 58 | - Updated: Publish
|
|---|
| 59 |
|
|---|
| 60 | ### 3.0.1 (April 25, 2020)
|
|---|
| 61 |
|
|---|
| 62 | - Updated: Using `walkType` to evade walker bug in `postcss-values-parser`
|
|---|
| 63 |
|
|---|
| 64 | ### 3.0.0 (April 25, 2020)
|
|---|
| 65 |
|
|---|
| 66 | - Updated: Support for Node 10+
|
|---|
| 67 | - Updated: `postcss` to 7.0.27 (patch)
|
|---|
| 68 | - Updated: `postcss-values-parser` to 3.2.0 (minor)
|
|---|
| 69 |
|
|---|
| 70 | ### 2.0.1 (September 18, 2018)
|
|---|
| 71 |
|
|---|
| 72 | - Updated: PostCSS Values Parser 2 (patch for this project)
|
|---|
| 73 |
|
|---|
| 74 | ### 2.0.0 (September 17, 2018)
|
|---|
| 75 |
|
|---|
| 76 | - Updated: Support for PostCSS v7+
|
|---|
| 77 | - Updated: Support for Node 6+
|
|---|
| 78 |
|
|---|
| 79 | ### 1.0.2 (July 13, 2018)
|
|---|
| 80 |
|
|---|
| 81 | - Fixed: Poorly detected hsl() and rgb() now resolve correctly
|
|---|
| 82 |
|
|---|
| 83 | ### 1.0.1 (May 11, 2018)
|
|---|
| 84 |
|
|---|
| 85 | - Fixed: A non-percentage 0 works alongside other percentages
|
|---|
| 86 |
|
|---|
| 87 | ### 1.0.0 (May 7, 2018)
|
|---|
| 88 |
|
|---|
| 89 | - Initial version
|
|---|