Releases: cssnano/cssnano
cssnano@7.0.7
What's Changed
- fix: update browserslist by @ludofischer in #1675
- fix: update postcss peer dependency to version without vulnerabilities by @ludofischer in #1676
- fix: update TypeScript declarations by @ludofischer in #1685
- perf: load default preset in startup by @43081j in #1691
- Add support for selector order preservation to postcss-minify-selectors by @ezzak in #1688
- fix(postcss-convert-values): preserve percent sign in percentage values in at-rules with double quotes by @aramikuto in #1695
Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.0.6...cssnano@7.0.7
v7.0.6
What's Changed
- Update postcss-calc and selector-parser by @ludofischer in #1663
- fix(postcss-convert-values): convert
0ms
to0s
by @btea in #1665
Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.0.5...cssnano@7.0.6
v7.0.5
v7.0.4
v7.0.3
Bug Fixes
- cssnano-preset-default: preserve SVG viewbox and title by default
- postcss-convert-values: preserve percent sign in arguments of color functions when needed
- postcss-ordered-values: preserve correct order in animation property
- postcss-minify-selectors: preserve quotes when escaping selector is required
- postcss-discard-comments: do not remove strings that only look like comments in selectors
Thanks to @ota-meshi and @seiyab for their contributions to this release.
v7.0.2
Bug Fixes
- fix invalid output in some cases where selectors contain comments
v7.0.1
Patch changes
Update postcss-calc dependency to latest version
v7.0.0
Breaking changes
This release drops official support for unmaintained long term support Node.js releases 14 and 16. It also drops support for non-long term support releases 19 and 21 and add support for Node.js 22. Only the package.json
engines
field has been updated. The code should otherwise be identical to the previous 6.1.2 release.
Ensuring support for older Node.js had become difficult as the GitHub actions runners are not available for the latest MacOS and recent pnpm also could not run on CI any more.
v6.1.2
Bug Fixes
- preserve correct order of
gap
andcolumn-gap
properties
Patch Changes
- update autoprefixer
v6.1.1
Patch changes
- update selector parser
- in the minify font plugin, you can pass a function to determine whether a css variable is one of font, font-family, and font-weight to determine whether the variable needs to remove quotes.