clean-css breaking changes
clean-css 5.0.0 (January 29, 2021) is its newest release with breaking changes, 3 of them. The first: clean-css 5.0.0 drops support for Node.js 6 and 8 and requires Node.js 10 or later. Every breaking API change we have recorded in clean-css on npm: 47 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.3.3, released November 30, 2023.
Its 5.0.0 release requires Node.js 10 or later. Node.js end of life dates.
- From 4.0.0 to 5.0.0: 3 breaking changes in 1 version.
- From 3.0.0 to 5.0.0: 40 breaking changes in 2 versions.
clean-css 5.0.0 breaking changes
- Removed
Node.js 6 and 8 are no longer supported; use Node.js 10, 12, or 14 or later. github.com - Behavior changed
URL unquoting is now off by default, so output may keep quotes around URLs. Enable unquoting explicitly if you relied on it. github.com - Behavior changed
URL rebasing is now off by default, so existing output may keep URLs unchanged. Enable rebasing explicitly if you relied on it. github.com
clean-css 4.0.0 breaking changes
- Removed
default.constructor
constructor was removed in clean-css 4.0.0 npmjs.com - Removed
default.minify
minify was removed in clean-css 4.0.0 npmjs.com - Removed
Options.advanced
Options.advanced was removed in clean-css 4.0.0 npmjs.com - Removed
Options.aggressiveMerging
Options.aggressiveMerging was removed in clean-css 4.0.0 npmjs.com - Removed
Options.benchmark
Total time is always reported under the stats property instead; stop passing the benchmark option. npmjs.com - Removed
Options.compatibility
Options.compatibility was removed in clean-css 4.0.0 npmjs.com - Removed
Options.debug
Stats are always gathered and available under the stats property; stop using the debug switch. npmjs.com - Removed
Options.inliner
Options.inliner was removed in clean-css 4.0.0 npmjs.com - Removed
Options.keepBreaks
Options.keepBreaks was removed in clean-css 4.0.0 npmjs.com - Removed
Options.keepSpecialComments
Options.keepSpecialComments was removed in clean-css 4.0.0 npmjs.com
And 27 more in this version. Sign up to see every change
clean-css 3.0.0 breaking changes
- Removed
Node.js 0.8.x is no longer supported. Use a newer Node.js version. github.com - Renamed
noAdvanced
The noAdvanced option is now called advanced. Update option names in your code. github.com - Renamed
noAggressiveMerging
The noAggressiveMerging option is now called aggressiveMerging. Update option names in your code. github.com - Renamed
noRebase
The noRebase option is now called rebase. Update option names in your code. github.com - Behavior changed
minify
The return value of minify changed to support multiple outputs, so code reading its result may need updating. github.com - Default changed
Background-size merging no longer runs by default. Output may differ from earlier versions. github.com - Signature changed
CleanCSS
Calling CleanCSS as a plain function breaks compatibility with 2.x. Construct it as a class instance instead. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.