Skip to content

fix(deps): update dependency cssnano to v9 - #1313

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/cssnano-9.x
Closed

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/cssnano-9.x

Conversation

@renovate

@renovate renovate Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
cssnano ^5.1.15^9.0.4 age confidence

Release Notes

cssnano/cssnano (cssnano)

v9.0.4: v9.0.4

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@9.0.3...cssnano@9.0.4

v9.0.3: v9.0.3

Compare Source

What's Changed

  • fix: update color parsing library in #​1964

  • fix: update PostCSS and selector parser

  • fix: update conflict detection and color conversion CSS spec conformance

  • fix: update PostCSS peer dependency

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@9.0.2...cssnano@9.0.3

v9.0.2: v9.0.2

Compare Source

What's Changed

  • fix: add main and types to package manifests in #​1958
  • fix: update postcss-calc

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@9.0.1...cssnano@9.0.2

v9.0.1: v9.0.1

Compare Source

What's Changed

  • refactor: some small performance gains in #​1955

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@9.0.0...cssnano@9.0.1

v9.0.0: v9.0.0

Compare Source

What's Changed

Breaking changes
  • Migrate to ESM and simplify config loading in #​1948

Probably backward-compatible for most users. Some changes to configuration loading documented in migration guide.

Bug fixes
  • Introduce new postcss-calc plugin in 34aec91

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.10...cssnano@9.0.0

v8.0.10: v8.0.10

Compare Source

What's Changed

  • Make charset normalization idempotent in #​1949

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.9...cssnano@8.0.10

v8.0.9: v8.0.9

Compare Source

Bug fixes

Bug fixes coming by way of updating colordx and svgo to the latest release.

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.8...cssnano@8.0.9

v8.0.8: v8.0.8

Compare Source

What's Changed

Bug Fixes
  • fix(postcss-minify-gradients): minify gradients using spec algorithm in #​1941

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.7...cssnano@8.0.8

v8.0.7: v8.0.7

Compare Source

What's Changed

Bug Fixes
  • fix(cssnano): tighten option types in #​1919
  • fix(postcss-discard-empty): better optimize cascade layers in #​1924
Documentation
  • docs: add security information in #​1922
Website playground
  • feat(site): update playground to use a web worker in #​1918

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.6...cssnano@8.0.7

v8.0.6: v8.0.6

Compare Source

What's Changed

Bug Fixes
  • fix(postcss-merge-rules): fix invalid merging in #​1893

  • fix(postcss-merge-rules): use webref data to perform a merge #​1897

  • fix(postcss-reduce-idents): do not break grid-template-areas in #​1898

  • fix: ensure correct repository URL in published packages in #​1900

  • fix(postcss-merge-longhand): improve longhand merging correctness in #​1907

  • fix(postcss-merge-longhand): add a fuzzer and fix the cases it found in #​1914

  • fix: improve selector minification in #​1915

Other Changes

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.5...cssnano@8.0.6

v8.0.5: v8.0.5

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.4...cssnano@8.0.5

v8.0.4: v8.0.4

Compare Source

What's Changed

Bug Fixes

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.3...cssnano@8.0.4

v8.0.3: v8.0.3

Compare Source

What's Changed

Bug Fixes
  • postcss-reduce-initial: update initial properties
  • potcss-minify-gradients: handle more than two stops
  • postcss-normalize-whitespace: preserve whitespace in custom prop
  • postcss-normalize-url: ensure trailing slash is preserved
Other Changes
  • packages now define an exports field in package.json. This prevents any file added to the package to automatically be exposed as a possible import. The has been done in a backward compatible way, so you should be able to import every file you did in the previous release.

  • types have also been regenerated with TypeScript 7.

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.2...cssnano@8.0.3

v8.0.2: v8.0.2

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.1...cssnano@8.0.2

v8.0.1: v8.0.1

Compare Source

What's Changed

  • fix(postcss-minify-selectors): reject :is() fold when divergent middle contains a combinator under a non-empty prefix (closes #​1786) by @​dkryaklin in #​1798
  • fix(postcss-minify-selectors): tighten :is() fold acceptance to a strict allowlist by @​dkryaklin in #​1799

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.0...cssnano@8.0.1

v8.0.0: v8.0.0

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.9...cssnano@8.0.0

v7.1.9: v7.1.9

Compare Source

Bug Fixes

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.8...cssnano@7.1.9

v7.1.8: v7.1.8

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.7...cssnano@7.1.8

v7.1.7: v.7.1.7

Compare Source

This release is idnetical to the previous one, but is being published to ensure that the latest versions of postcss-normalize-repeat-style and postcss-normalize-positions are uploaded to the npm registry.

v7.1.6: v7.1.6

Compare Source

New feature

Bug fixes

  • fix: update colordx and autoprefixer
  • fix: update postcss peer dependency by @​ludofischer in #​1779 Solves possible security issue

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.5...cssnano@7.1.6

v7.1.5: v7.1.5

Compare Source

Bug Fixes

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.4...cssnano@7.1.5

v7.1.4: v7.1.4

Compare Source

Bug Fixes

Update color conversion library to @​colordx/core to fix rounding errors in color conversions #​1755

v7.1.3: v7.1.3

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.2...cssnano@7.1.3

v7.1.2: v7.1.2

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.1...cssnano@7.1.2

v7.1.1: v71.1.1

Compare Source

Bug Fixes

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.0...cssnano@7.1.1

v7.1.0

Compare Source

Changes

  • Update to SVGO 4.0
  • Update browserslist

v7.0.7

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.0.6...cssnano@7.0.7

v7.0.6: v7.0.6

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.0.5...cssnano@7.0.6

v7.0.5: v7.0.5

Compare Source

Bug Fixes

v7.0.4: v7.0.4

Compare Source

Bug fixes

  • fix(postcss-convert-values): preserve percent sign in border-image-width in #​1645

v7.0.3: v7.0.3

Compare Source

Bug Fixes

  • cssnano-preset-default: preserve SVG viewbox and title by default
  • postcss-convert-values: preserve percent sign in arguments of color functions when needed
  • postcss-ordered-values: preserve correct order in animation property
  • postcss-minify-selectors: preserve quotes when escaping selector is required
  • postcss-discard-comments: do not remove strings that only look like comments in selectors

Thanks to @​ota-meshi and @​seiyab for their contributions to this release.

v7.0.2: v7.0.2

Compare Source

Bug Fixes

  • fix invalid output in some cases where selectors contain comments

v7.0.1

Compare Source

v7.0.0: v7.0.0

Compare Source

Breaking changes

This release drops official support for unmaintained long term support Node.js releases 14 and 16. It also drops support for non-long term support releases 19 and 21 and add support for Node.js 22. Only the package.json engines field has been updated. The code should otherwise be identical to the previous 6.1.2 release.

Ensuring support for older Node.js had become difficult as the GitHub actions runners are not available for the latest MacOS and recent pnpm also could not run on CI any more.

v6.1.2: v6.1.2

Compare Source

Bug Fixes

  • preserve correct order of gap and column-gap properties

Patch Changes

  • update autoprefixer

v6.1.1: v6.1.1

Compare Source

Patch changes

  • update selector parser
  • in the minify font plugin, you can pass a function to determine whether a css variable is one of font, font-family, and font-weight to determine whether the variable needs to remove quotes.

v6.1.0: v6.1.0

Compare Source

This release contains a lot of fixes to Browserslist support thanks to @​colinrotherham

Features

  • support Browserslist options in more plugins
  • support overriding autoprefixer options

Additionally, this release includes improved TypeScript types.

v6.0.5: v6.0.5

Compare Source

Bug Fixes

  • correctly minify font declaration in edge cases
  • preserve initial property in -webkit-line-clamp

v6.0.4: v6.0.4

Compare Source

Bug Fixes
  • preserve empty @layer declarations
  • avoid crashing when encountering @layer without any braces afterwards
  • update to latest lilconfig dependency to avoid vulnerability

v6.0.3: v6.0.3

Compare Source

Bug fixes
  • do not sort unknown properties

Other

  • Require latest browserslist and postcss-selector-parser

v6.0.2: v6.0.2

Compare Source

  • fix: update cssnano peer dependency to 8.4.31 to avoid security issue
  • fix: update postcss-calc to 9.0.1 to solve disappearing expressions inside two brackets
  • deps(postcss-svgo): update SVGO to 3.0.5 and update doc
  • chore: update css-declaration-sorter
  • fix(postcss-minify-selectors): prevent mangling of timeline range names
  • fix(postcss-convert-values): keep percent unit in @Property
  • chore(cssnano): update lilconfig to 3.0.0

v6.0.1: v6.0.1

Compare Source

Bug Fixes
  • fix(postcss-merge-rules): do not merge nested rules (eb9a9a1)
  • fix(postcss-reduce-idents): minify grid line names correctly (2af6687)

v6.0.0: v6.0.0

Compare Source

Major Changes

  • 99d1e6a: postcss-normalize-url: remove normalize-url configuration options
  • 4e272f8: postcss-svgo: Upgrade dependency svgo to v3 and increase the minimum supported node version to v14
  • ca9d3f5: Switch minimum supported Node version to 14 for all packages
  • 39a2040: feat!(cssnano): remove undocumented YAML config support

Migration instructions

  • If you're not happy with the defaults for the normalize-url transform, turn it off completely. Options were removed as most would change the meaning of the URL, which is unexpcted in the case of CSS minification.
  • In the unlikely event you're using YAML to configure cssnano, move the cssnano configuration inside the PostCSS config or use a configuration file in CommonJS or JSON format.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Issue or PR by renovate/dependabot label Sep 14, 2026
@renovate
renovate Bot force-pushed the renovate/cssnano-9.x branch from 039fcc3 to e155f98 Compare September 14, 2026 12:33
@leomp12 leomp12 closed this Sep 15, 2026
@leomp12
leomp12 deleted the renovate/cssnano-9.x branch September 15, 2026 11:05
@renovate

renovate Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 9.x releases. But if you manually upgrade to 9.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Issue or PR by renovate/dependabot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant