Releases: valtlai/postcss-color-image
Releases · valtlai/postcss-color-image
v6.1.0
v6.0.0
- BREAKING: Dropped support for Node.js 14 and 16, so Node.js 18 or greater is now supported.
- Removed the ESM exports. All Node.js versions support CommonJS, so this should not matter.
- The dedicated Deno version is discontinued. Please import
npm:postcss-color-image@VERSION
instead.
5.0.1
5.0.0
- BREAKING: Renamed the recognized color
color-contrast()
tocontrast-color()
(w3c/csswg-drafts#7557) - BREAKING: Dropped the support for Node.js 12 and 17 (so Node.js 14, 16, and 18 or greater are now supported)
4.0.0
- BREAKING: Instead of duplicating the color in the output gradient, a double-position color stop is now added to make the output shorter and more DRY
- For example, the old output
linear-gradient(red, red)
is nowlinear-gradient(red 0 0)
- For wider browser support, you can use the old behavior by setting the new option
compat: true
- For example, the old output
- BREAKING: Removed
color-adjust()
as a recognized color, because it has been removed from the spec - Added a new option
preserve: true
to keep the original CSS declaration alongside the transformed one - Changed the license from MIT to ISC