Releases: cssnano/cssnano
Releases · cssnano/cssnano
v4.1.1
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
Bug Fixes
postcss-merge-longhand
doesn't mangle borders.
Features
postcss-ordered-values
support ordering animation values.
4.0.5
Bug Fixes
postcss-merge-longhand
now correctly merges borders with custom properties.postcss-merge-longhand
doesn't throw error in someborder
merge cases.
4.0.4
Bug Fixes
postcss-merge-longhand
don't drop border-width with custom property from border shorthand.postcss-merge-longhand
don't convertcurrentColor
.postcss-merge-longhand
don't merge border properties if there is a shorthand property between them.
4.0.3
Bug Fixes
postcss-merge-longhand
incorrect minification ofborder
(border-*
) declarations.
4.0.2
Bug Fixes
postcss-merge-longhand
don't explode declarations with custom properties.postcss-colormin
now better transform tohsl
.
4.0.1
Bug Fixes
browserslist
version incompatibility withcaniuse-api
4.0.0
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 forIE
<= 11 andEdge
<= 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
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 aRoot
node without asource
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
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.