Skip to content

Releases: cssnano/cssnano

v6.0.0

27 Mar 16:58
8e89938
Compare
Choose a tag to compare

Major Changes

  • 99d1e6a: postcss-normalize-url: remove normalize-url configuration options
  • 4e272f8: postcss-svgo: Upgrade dependency svgo to v3 and increase the minimum supported node version to v14
  • ca9d3f5: Switch minimum supported Node version to 14 for all packages
  • 39a2040: feat!(cssnano): remove undocumented YAML config support

Migration instructions

  • If you're not happy with the defaults for the normalize-url transform, turn it off completely. Options were removed as most would change the meaning of the URL, which is unexpcted in the case of CSS minification.
  • In the unlikely event you're using YAML to configure cssnano, move the cssnano configuration inside the PostCSS config or use a configuration file in CommonJS or JSON format.

v5.1.15

15 Feb 21:53
Compare
Choose a tag to compare

Bug Fixes

  • fix(postcsss-reduce-initial): fix mask-repeat conversion
  • fix(postcss-colormin): don't minify colors in src declarations
  • fix(postcss-merge-rules): do not merge conflicting flex and border properties

v5.1.14

28 Oct 14:30
Compare
Choose a tag to compare

Bug Fixes

  • fix: update autoprefixer and browserslist
  • fix(postcss-reduce-initial): improve initial properties data

v5.1.13

13 Aug 11:57
Compare
Choose a tag to compare

Bug Fixes

  • fix TypeScript type of cssnano() return value (b92dbe3)

v5.1.12

18 Jun 17:36
Compare
Choose a tag to compare

Bug Fixes

  • fix: preserve hyphenated property case (120a888)
  • fix: ensure sorting properties does not break the output (0a3a133)
  • fix: recognize 'constant' as a function (858a8b7)

v5.1.11

03 Jun 22:43
b1d5226
Compare
Choose a tag to compare

Bug Fixes

  • postcss-ordered-values: preserve constant values (32ab4d9b7d20d)

v5.1.10

29 May 19:11
5d4461a
Compare
Choose a tag to compare

Bug Fixes

v5.1.9

21 May 13:16
Compare
Choose a tag to compare

Bug Fixes

  • postcss-merge-longhand: preserve more color function fallbacks (712993cb4a4e0)

v5.1.8

16 May 22:41
029adca
Compare
Choose a tag to compare

Bug Fixes

  • postcss-convert-values: preserve percentage sign on IE 11 (57f060ad21734)

v5.1.6

01 Apr 09:39
b21ff86
Compare
Choose a tag to compare

Bug Fixes

  • preserve border color when merging border properties (5f5080a)