Releases: cssnano/cssnano
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.
v6.1.0
This release contains a lot of fixes to Browserslist support thanks to @colinrotherham
Features
- support Browserslist options in more plugins
- support overriding autoprefixer options
Additionally, this release includes improved TypeScript types.