NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #1731 most downloaded on npm
A well-tested CSS minifier
Latest stable
5.3.3
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 10 months
No release notes found
nothing matched a version
Nothing withdrawn
no release was ever pulled
16 years old
211 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
Support alternative @import syntax with file name not wrapped inside url() statement. By @bluej100.
@import syntax with file name not wrapped inside url() statement.
By @bluej100.Fixed issue #97 - --remove-empty & FontAwesome.
--remove-empty & FontAwesome.Do not pick up bench and test while building npm package. By @sindresorhus.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
bench and test while building npm package.
By @sindresorhus.Fixed issue #2 - resolving @import rules.
@import rules.--help.@charset replacing.! important.Fixed issue #79 - node.js 0.10.x compatibility.
Fixed issue #66 - line breaks without extra spaces should be handled correctly.
Switched from optimist to commander for CLI processing.
--removeempty to --remove-empty and from --keeplinebreaks to --keep-line-breaks.@charset declarations and issue
with line break after @charset when using keepLineBreaks option. By @rrjaime.npm run commands (e.g. make check -> npm run check).Fixed issue #37 - converting white and other colors in class names (reported by @malgorithms).
white and other colors in class names (reported by @malgorithms).Added stripping quotation from font names (if possible).
@keyframes declaration, animation and
animation-name property.[data-target='x']).font: normal and font: bold shortening the same way as font-weight is.border-radius, border-style
and border-color shortening.margin, padding and border-width shortening.make check.Fixed HSL/HSLA colors processing.
Fixed shortening hex colors and their relation to hashes in URLs.
Added better zeros processing for rect(...) syntax (clip property).
rect(...) syntax (clip property).Added removing URLs quotation if possible.
keepBreaks/-b option to keep line breaks in the minimized file.Added stripping special comments to CLI (--s0 and --s1 options).
--s0 and --s1 options).keepSpecialComments option).Full Windows support with tests (./test.bat).
Explicit node.js 0.6 requirement.
Updated binary -v option (version).
-v option (version).Fixed stateless mode where calling CleanCSS#process directly was giving errors (reported by @facelessuser).
CleanCSS#process directly was giving
errors (reported by @facelessuser).Speed improvements up to 4x thanks to the rewrite of comments and CSS' content processing.
make bench for a one-pass benchmark.Fixed tests, package.json for development, and regex for removing empty declarations (thanks to @vvo).
Fixed output method under node.js 0.6 which incorrectly tried to close process.stdout.
process.stdout.Fixed cleaning up 0 0 0 0 expressions.
0 0 0 0 expressions.Clean-css requires node.js 0.4.0+ to run.
Fixed expanding + signs in calc() when mixed up with adjacent + selector.
+ signs in calc() when mixed up with adjacent + selector.Fixed issue with cleaning up spaces inside calc/-moz-calc declarations (thanks to @cvan for reporting it).
calc/-moz-calc declarations
(thanks to @cvan for reporting it).#f00 to red in borders and gradients.Fixed problem with expanding none to 0 in partial/full background declarations.
none to 0 in partial/full background
declarations.Fixed problem with optimizing IE filters.
Fixed problem with space before color in border property.
border property.Added stripping space before !important keyword.
!important keyword.Added options parsing via optimist.
First version of clean-css library.
One column per quarter.