Skip to content

Releases: cssnano/cssnano

v7.0.6

04 Sep 17:36
Compare
Choose a tag to compare

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.0.5...cssnano@7.0.6

v7.0.5

09 Aug 13:47
Compare
Choose a tag to compare

Bug Fixes

  • Fix layer rule deduping #1656

v7.0.4

05 Jul 09:09
Compare
Choose a tag to compare

Bug fixes

  • fix(postcss-convert-values): preserve percent sign in border-image-width in #1645

v7.0.3

19 Jun 08:45
Compare
Choose a tag to compare

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

05 Jun 10:09
Compare
Choose a tag to compare

Bug Fixes

  • fix invalid output in some cases where selectors contain comments

v7.0.1

26 Apr 13:46
Compare
Choose a tag to compare

Patch changes

Update postcss-calc dependency to latest version

v7.0.0

24 Apr 21:32
Compare
Choose a tag to compare

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

25 Mar 19:24
Compare
Choose a tag to compare

Bug Fixes

  • preserve correct order of gap and column-gap properties

Patch Changes

  • update autoprefixer

v6.1.1

20 Mar 13:49
18206e6
Compare
Choose a tag to compare

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

06 Mar 14:30
Compare
Choose a tag to compare

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.