---
title: "clean-css 5.0.0 Breaking Changes on npm | Since.dev"
description: "What each clean-css release removed, renamed or changed: 47 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/clean-css
last_updated: 2026-12-04
---

# 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

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](https://since.dev/calendar/nodejs.md).

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 3 breaking changes in 1 version.
- From [3.0.0](#v-3-0-0) to [5.0.0](#v-5-0-0): 40 breaking changes in 2 versions.

## clean-css 5.0.0 breaking changes

clean-css 5.0.0, released January 29, 2021: 3 breaking changes.

- **Removed**  

Node.js 6 and 8 are no longer supported; use Node.js 10, 12, or 14 or later. [github.com](https://github.com/jakubpawlowicz/clean-css/blob/v5.0.0/History.md)
- **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](https://github.com/jakubpawlowicz/clean-css/blob/v5.0.0/History.md)
- **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](https://github.com/jakubpawlowicz/clean-css/blob/v5.0.0/History.md)

## clean-css 4.0.0 breaking changes

clean-css 4.0.0, released January 23, 2017: 37 breaking changes.

- **Removed** `default.constructor`  

constructor was removed in clean-css 4.0.0 [npmjs.com](https://www.npmjs.com/package/clean-css/v/4.0.0)
- **Removed** `default.minify`  

minify was removed in clean-css 4.0.0 [npmjs.com](https://www.npmjs.com/package/clean-css/v/4.0.0)
- **Removed** `Options.advanced`  

Options.advanced was removed in clean-css 4.0.0 [npmjs.com](https://www.npmjs.com/package/clean-css/v/4.0.0)
- **Removed** `Options.aggressiveMerging`  

Options.aggressiveMerging was removed in clean-css 4.0.0 [npmjs.com](https://www.npmjs.com/package/clean-css/v/4.0.0)
- **Removed** `Options.benchmark`  

Total time is always reported under the stats property instead; stop passing the benchmark option. [npmjs.com](https://www.npmjs.com/package/clean-css/v/4.0.0)
- **Removed** `Options.compatibility`  

Options.compatibility was removed in clean-css 4.0.0 [npmjs.com](https://www.npmjs.com/package/clean-css/v/4.0.0)
- **Removed** `Options.debug`  

Stats are always gathered and available under the stats property; stop using the debug switch. [npmjs.com](https://www.npmjs.com/package/clean-css/v/4.0.0)
- **Removed** `Options.inliner`  

Options.inliner was removed in clean-css 4.0.0 [npmjs.com](https://www.npmjs.com/package/clean-css/v/4.0.0)
- **Removed** `Options.keepBreaks`  

Options.keepBreaks was removed in clean-css 4.0.0 [npmjs.com](https://www.npmjs.com/package/clean-css/v/4.0.0)
- **Removed** `Options.keepSpecialComments`  

Options.keepSpecialComments was removed in clean-css 4.0.0 [npmjs.com](https://www.npmjs.com/package/clean-css/v/4.0.0)

And 27 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## clean-css 3.0.0 breaking changes

clean-css 3.0.0, released December 18, 2014: 7 breaking changes.

- **Removed**  

Node.js 0.8.x is no longer supported. Use a newer Node.js version. [github.com](https://github.com/jakubpawlowicz/clean-css/blob/v3.0.0/History.md)
- **Renamed** `noAdvanced`  

The noAdvanced option is now called advanced. Update option names in your code. [github.com](https://github.com/jakubpawlowicz/clean-css/blob/v3.0.0/History.md)
- **Renamed** `noAggressiveMerging`  

The noAggressiveMerging option is now called aggressiveMerging. Update option names in your code. [github.com](https://github.com/jakubpawlowicz/clean-css/blob/v3.0.0/History.md)
- **Renamed** `noRebase`  

The noRebase option is now called rebase. Update option names in your code. [github.com](https://github.com/jakubpawlowicz/clean-css/blob/v3.0.0/History.md)
- **Behavior changed** `minify`  

The return value of minify changed to support multiple outputs, so code reading its result may need updating. [github.com](https://github.com/jakubpawlowicz/clean-css/blob/v3.0.0/History.md)
- **Default changed**  

Background-size merging no longer runs by default. Output may differ from earlier versions. [github.com](https://github.com/jakubpawlowicz/clean-css/blob/v3.0.0/History.md)
- **Signature changed** `CleanCSS`  

Calling CleanCSS as a plain function breaks compatibility with 2.x. Construct it as a class instance instead. [github.com](https://github.com/jakubpawlowicz/clean-css/blob/v3.0.0/History.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
