Skip to content

Releases: cssnano/cssnano

v4.1.1

25 Sep 10:25
Compare
Choose a tag to compare

4.1.1 - 2018-09-25

Bug Fixes

  • css-declaration-sorter was removed from default prevent.
  • postcss-normalize-timing-functions doesn't lowercased property anymore.
  • postcss-normalize-positons now handles uppercase properties.
  • postcss-normalize-url now is case-insensitive.
  • postcss-merge-idents now is case-insensitive.
  • postcss-merge-rules now is case-insensitive.
  • postcss-minify-selectors now is case-insensitive.
  • postcss-minify-font-values now is case-insensitive.
  • postcss-normalize-unicode now has correct dependencies.
  • postcss-minify-params now has correct dependencies.

Other changes

  • cssnano-preset-advanced use Autoprefixer 9.
  • use PostCSS 7 in all plugins.

4.1.0

24 Aug 17:39
Compare
Choose a tag to compare

Bug Fixes

  • postcss-merge-longhand doesn't mangle borders.

Features

  • postcss-ordered-values support ordering animation values.

4.0.5

30 Jul 14:19
Compare
Choose a tag to compare

Bug Fixes

  • postcss-merge-longhand now correctly merges borders with custom properties.
  • postcss-merge-longhand doesn't throw error in some border merge cases.

4.0.4

25 Jul 15:38
Compare
Choose a tag to compare

Bug Fixes

  • postcss-merge-longhand don't drop border-width with custom property from border shorthand.
  • postcss-merge-longhand don't convert currentColor.
  • postcss-merge-longhand don't merge border properties if there is a shorthand property between them.

4.0.3

25 Jul 15:37
Compare
Choose a tag to compare

Bug Fixes

  • postcss-merge-longhand incorrect minification of border (border-*) declarations.

4.0.2

13 Jul 19:02
Compare
Choose a tag to compare

Bug Fixes

  • postcss-merge-longhand don't explode declarations with custom properties.
  • postcss-colormin now better transform to hsl.

4.0.1

11 Jul 13:14
Compare
Choose a tag to compare

Bug Fixes

  • browserslist version incompatibility with caniuse-api

4.0.0

04 Jul 11:22
Compare
Choose a tag to compare

Breaking changes

  • We dropped support for Node 4, now requiring at least Node 6.9.

Features

  • postcss-merge-longhand now optimises border-spacing property.

Bug Fixes

  • postcss-normalize-unicode doesn't change U to lowercase for IE <= 11 and Edge <= 15.
  • postcss-merge-longhand works with custom properties (Example a { border-style:dotted; border-style:var(--variable) }) correctly.
  • postcss-ordered-values handle border property with invalid border width value correctly.
  • postcss-merge-rules handles :-ms-input-placeholder and ::-ms-input-placeholder selectors correctly.
  • postcss-merge-rules works with all property correctly.
  • postcss-normalize-url don't handle empty url function.
  • postcss-normalize-url handles data and *-extension:// URLs correctly.
  • postcss-colormin adds whitespace after minified value and before function.
  • postcss-minify-font-values better escapes font name.
  • postcss-minify-params doesn't remove all for IE.

v4.0.0-rc.2

06 Aug 20:03
Compare
Choose a tag to compare
v4.0.0-rc.2 Pre-release
Pre-release

Features

  • Includes the new release candidate for postcss-selector-parser 3.
  • Refactors comments tokenizing in postcss-discard-comments to be more
    memory efficient.
  • Adds css-declaration-sorter for improved gzip compression efficiencies
    (thanks to @Siilwyn).
  • postcss-svgo now optimises base 64 encoded SVG where possible
    (thanks to @evilebottnawi).
  • stylehacks now supports @media \0screen\,screen\9 {} hacks
    (thanks to @evilebottnawi).

Bug Fixes

  • Fixed handling of package.json configuration (thanks to @andyjansson).
  • Fixed resolveConfig for a Root node without a source property
    (thanks to @darthmaim).
  • Improved radial gradient handling (thanks to @pigcan).
  • stylehacks now properly accounts for vendor prefixes
    (thanks to @evilebottnawi).

v4.0.0-rc.1

21 Jun 16:42
Compare
Choose a tag to compare
v4.0.0-rc.1 Pre-release
Pre-release

Bug Fixes

  • cssnano: Resolved an issue with external configuration which wasn't
    being loaded correctly (thanks to @andyjansson).
  • postcss-minify-params: Resolved an issue with cssnano's handling of the
    @value syntax from css-modules to better integrate with css-loader.