Update dependency cssnano to v7 - abandoned #45

Closed
renovate-bot wants to merge 1 commits from renovate/cssnano-7.x into next
Collaborator

This PR contains the following updates:

Package Change Age Confidence
cssnano ^5.0.1 -> ^7.0.0 age confidence

Release Notes

cssnano/cssnano (cssnano)

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: v7.0.1

Compare Source

Patch changes

Update postcss-calc dependency to latest version

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: Branch creation - At any time (no schedule defined), 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [cssnano](https://github.com/cssnano/cssnano) | [`^5.0.1` -> `^7.0.0`](https://renovatebot.com/diffs/npm/cssnano/5.1.15/7.1.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cssnano/7.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cssnano/5.1.15/7.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>cssnano/cssnano (cssnano)</summary> ### [`v7.1.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.1.2): v7.1.2 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@7.1.1...cssnano@7.1.2) #### What's Changed - fix: enhanced recognition of css comments by [@&#8203;Nirvana-Jie](https://github.com/Nirvana-Jie) in [#&#8203;1730](https://github.com/cssnano/cssnano/pull/1730) - chore: use npm trusted publishing by [@&#8203;ludofischer](https://github.com/ludofischer) in [#&#8203;1731](https://github.com/cssnano/cssnano/pull/1731) - fix: update browserslist by [@&#8203;ludofischer](https://github.com/ludofischer) in [#&#8203;1733](https://github.com/cssnano/cssnano/pull/1733) **Full Changelog**: <https://github.com/cssnano/cssnano/compare/cssnano@7.1.1...cssnano@7.1.2> ### [`v7.1.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.1.1): v71.1.1 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@7.1.0...cssnano@7.1.1) #### Bug Fixes - fix(convert-values): exclude `linear()` from stripping `%` from value 0 by [@&#8203;cernymatej](https://github.com/cernymatej) in [#&#8203;1720](https://github.com/cssnano/cssnano/pull/1720) **Full Changelog**: <https://github.com/cssnano/cssnano/compare/cssnano@7.1.0...cssnano@7.1.1> ### [`v7.1.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.1.0) [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@7.0.7...cssnano@7.1.0) #### Changes - Update to SVGO 4.0 - Update browserslist ### [`v7.0.7`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.7) [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@7.0.6...cssnano@7.0.7) #### What's Changed - fix: update browserslist by [@&#8203;ludofischer](https://github.com/ludofischer) in [#&#8203;1675](https://github.com/cssnano/cssnano/pull/1675) - fix: update postcss peer dependency to version without vulnerabilities by [@&#8203;ludofischer](https://github.com/ludofischer) in [#&#8203;1676](https://github.com/cssnano/cssnano/pull/1676) - fix: update TypeScript declarations by [@&#8203;ludofischer](https://github.com/ludofischer) in [#&#8203;1685](https://github.com/cssnano/cssnano/pull/1685) - perf: load default preset in startup by [@&#8203;43081j](https://github.com/43081j) in [#&#8203;1691](https://github.com/cssnano/cssnano/pull/1691) - Add support for selector order preservation to postcss-minify-selectors by [@&#8203;ezzak](https://github.com/ezzak) in [#&#8203;1688](https://github.com/cssnano/cssnano/pull/1688) - fix(postcss-convert-values): preserve percent sign in percentage values in at-rules with double quotes by [@&#8203;aramikuto](https://github.com/aramikuto) in [#&#8203;1695](https://github.com/cssnano/cssnano/pull/1695) **Full Changelog**: <https://github.com/cssnano/cssnano/compare/cssnano@7.0.6...cssnano@7.0.7> ### [`v7.0.6`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.6): v7.0.6 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@7.0.5...cssnano@7.0.6) #### What's Changed - Update postcss-calc and selector-parser by [@&#8203;ludofischer](https://github.com/ludofischer) in [#&#8203;1663](https://github.com/cssnano/cssnano/pull/1663) - fix(postcss-convert-values): convert `0ms` to `0s` by [@&#8203;btea](https://github.com/btea) in [#&#8203;1665](https://github.com/cssnano/cssnano/pull/1665) **Full Changelog**: <https://github.com/cssnano/cssnano/compare/cssnano@7.0.5...cssnano@7.0.6> ### [`v7.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.5): v7.0.5 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@7.0.4...cssnano@7.0.5) #### Bug Fixes - Fix layer rule deduping [#&#8203;1656](https://github.com/cssnano/cssnano/pull/1656) ### [`v7.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.4): v7.0.4 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@7.0.3...cssnano@7.0.4) #### Bug fixes - fix(postcss-convert-values): preserve percent sign in border-image-width in [#&#8203;1645](https://github.com/cssnano/cssnano/pull/1645) ### [`v7.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.3): v7.0.3 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@7.0.2...cssnano@7.0.3) #### 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 [@&#8203;ota-meshi](https://github.com/ota-meshi) and [@&#8203;seiyab](https://github.com/seiyab) for their contributions to this release. ### [`v7.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.2): v7.0.2 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@7.0.1...cssnano@7.0.2) #### Bug Fixes - fix invalid output in some cases where selectors contain comments ### [`v7.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.1): v7.0.1 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@7.0.0...cssnano@7.0.1) #### Patch changes Update postcss-calc dependency to latest version ### [`v7.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.0): v7.0.0 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@6.1.2...cssnano@7.0.0) #### 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`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.2): v6.1.2 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@6.1.1...cssnano@6.1.2) #### Bug Fixes - preserve correct order of `gap` and `column-gap` properties #### Patch Changes - update autoprefixer ### [`v6.1.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.1): v6.1.1 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@6.1.0...cssnano@6.1.1) ### 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`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.0): v6.1.0 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@6.0.5...cssnano@6.1.0) This release contains a lot of fixes to Browserslist support thanks to [@&#8203;colinrotherham](https://github.com/colinrotherham) #### Features - support Browserslist options in more plugins - support overriding autoprefixer options Additionally, this release includes improved TypeScript types. ### [`v6.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.5): v6.0.5 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@6.0.4...cssnano@6.0.5) #### Bug Fixes - correctly minify `font` declaration in edge cases - preserve `initial` property in `-webkit-line-clamp` ### [`v6.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.4): v6.0.4 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@6.0.3...cssnano@6.0.4) ##### 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`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.3): v6.0.3 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@6.0.2...cssnano@6.0.3) ##### Bug fixes - do not sort unknown properties #### Other - Require latest browserslist and postcss-selector-parser ### [`v6.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.2): v6.0.2 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@6.0.1...cssnano@6.0.2) - 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`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.1): v6.0.1 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@6.0.0...cssnano@6.0.1) #### Bug Fixes - fix(postcss-merge-rules): do not merge nested rules ([`eb9a9a1`](https://github.com/cssnano/cssnano/commit/eb9a9a18132d360cb8639f0ca6be4d24401bcde9)) - fix(postcss-reduce-idents): minify grid line names correctly ([`2af6687`](https://github.com/cssnano/cssnano/commit/2af6687e63978a7b0a08f97d095aa9e6b593eb4f)) ### [`v6.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.0): v6.0.0 [Compare Source](https://github.com/cssnano/cssnano/compare/cssnano@5.1.15...cssnano@6.0.0) #### Major Changes - [`99d1e6a`](https://github.com/cssnano/cssnano/commit/99d1e6ab): postcss-normalize-url: remove normalize-url configuration options - [`4e272f8`](https://github.com/cssnano/cssnano/commit/4e272f88): postcss-svgo: Upgrade dependency svgo to v3 and increase the minimum supported node version to v14 - [`ca9d3f5`](https://github.com/cssnano/cssnano/commit/ca9d3f55): Switch minimum supported Node version to 14 for all packages - [`39a2040`](https://github.com/cssnano/cssnano/commit/39a20405): 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. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTIuNyIsInVwZGF0ZWRJblZlciI6IjQxLjE2NS40IiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2025-10-19 14:01:41 +02:00
Update dependency cssnano to v7
Some checks failed
Lint / lint (push) Failing after 12s
Build / build (pull_request) Failing after 23s
1d6510bbad
renovate-bot changed title from Update dependency cssnano to v7 to Update dependency cssnano to v7 - abandoned 2025-11-04 01:27:35 +01:00
Author
Collaborator

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

### Autoclosing Skipped This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.
Thilawyn closed this pull request 2025-11-04 01:30:04 +01:00
Some checks failed
Lint / lint (push) Failing after 12s
Build / build (pull_request) Failing after 23s

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Thilawyn/website#45