chore(deps): update dependency cssnano to v8 - #1146
Conversation
doistbot
left a comment
There was a problem hiding this comment.
Bumps cssnano from 5.1.15 to 8.0.2 in package.json and the lockfile — a straightforward Renovate dependency update.
Few things worth tightening:
- Node version floor: cssnano 8 requires
^24.11.0, but.node-versionstill says24. Withengine-strict=truein.npmrc, installs on Node 24.0–24.10 will fail. Update.node-versionto24.11to match. - Build minifier unchanged:
rollup-plugin-styles@4pinscssnano ^5, so npm nests a full cssnano 5.1.15 tree under it — meaning the production build's CSS minification still runs on 5.1.15. Add an npm override ("rollup-plugin-styles": { "cssnano": "$cssnano" }) to dedupe and move the build off cssnano 5.
| "classnames": "2.5.1", | ||
| "conventional-changelog-conventionalcommits": "9.3.1", | ||
| "cssnano": "5.1.15", | ||
| "cssnano": "8.0.2", |
There was a problem hiding this comment.
This bump only updates the top-level cssnano; it doesn't reach the build's CSS minifier.
rollup-plugin-styles@4 pins cssnano: ^5.0.15 as a hard dependency (package-lock.json L22352). Since 8.0.2 doesn't satisfy that range, npm now nests a complete cssnano 5.1.15 tree under rollup-plugin-styles/node_modules/ — cssnano, cssnano-preset-default, cssnano-utils, the full postcss-* 5.x set, svgo 2.x, csso 4.x, css-tree 1.x — all newly added in this lockfile. The production build's minification (minimize: true in rollup.config.mjs) still resolves to that nested 5.1.15, so the upgrade only affects direct consumers like postcss.config.js. To dedupe and actually move the build off cssnano 5, add an npm override to package.json: "rollup-plugin-styles": { "cssnano": "$cssnano" }. rollup-plugin-styles consumes cssnano as a standard postcss plugin, so the 8.x API is compatible.
This PR contains the following updates:
5.1.15→8.0.2Release Notes
cssnano/cssnano (cssnano)
v8.0.2: v8.0.2Compare 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.1Compare Source
What's Changed
Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@8.0.0...cssnano@8.0.1
v8.0.0: v8.0.0Compare 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.9Compare Source
Bug Fixes
Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.8...cssnano@7.1.9
v7.1.8: v7.1.8Compare 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.7Compare Source
This release is idnetical to the previous one, but is being published to ensure that the latest versions of
postcss-normalize-repeat-styleandpostcss-normalize-positionsare uploaded to the npm registry.v7.1.6: v7.1.6Compare Source
New feature
Bug fixes
Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.5...cssnano@7.1.6
v7.1.5: v7.1.5Compare Source
Bug Fixes
Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.4...cssnano@7.1.5
v7.1.4: v7.1.4Compare Source
Bug Fixes
Update color conversion library to @colordx/core to fix rounding errors in color conversions #1755
v7.1.3: v7.1.3Compare 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.2Compare 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.1Compare Source
Bug Fixes
linear()from stripping%from value 0 by @cernymatej in #1720Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.1.0...cssnano@7.1.1
v7.1.0Compare Source
Changes
v7.0.7Compare 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.6Compare Source
What's Changed
0msto0sby @btea in #1665Full Changelog: https://github.com/cssnano/cssnano/compare/cssnano@7.0.5...cssnano@7.0.6
v7.0.5: v7.0.5Compare Source
Bug Fixes
v7.0.4: v7.0.4Compare Source
Bug fixes
v7.0.3: v7.0.3Compare Source
Bug Fixes
Thanks to @ota-meshi and @seiyab for their contributions to this release.
v7.0.2: v7.0.2Compare Source
Bug Fixes
v7.0.1Compare Source
v7.0.0: v7.0.0Compare 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.jsonenginesfield 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.2Compare Source
Bug Fixes
gapandcolumn-gappropertiesPatch Changes
v6.1.1: v6.1.1Compare Source
Patch changes
v6.1.0: v6.1.0Compare Source
This release contains a lot of fixes to Browserslist support thanks to @colinrotherham
Features
Additionally, this release includes improved TypeScript types.
v6.0.5: v6.0.5Compare Source
Bug Fixes
fontdeclaration in edge casesinitialproperty in-webkit-line-clampv6.0.4: v6.0.4Compare Source
Bug Fixes
@layerdeclarations@layerwithout any braces afterwardsv6.0.3: v6.0.3Compare Source
Bug fixes
Other
v6.0.2: v6.0.2Compare Source
@Propertyv6.0.1: v6.0.1Compare Source
Bug Fixes
eb9a9a1)2af6687)v6.0.0: v6.0.0Compare Source
Major Changes
99d1e6a: postcss-normalize-url: remove normalize-url configuration options4e272f8: postcss-svgo: Upgrade dependency svgo to v3 and increase the minimum supported node version to v14ca9d3f5: Switch minimum supported Node version to 14 for all packages39a2040: feat!(cssnano): remove undocumented YAML config supportMigration instructions
Configuration
📅 Schedule: (UTC)
* * * * 1-5)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.