Skip to content

Update dependency postcss-nesting to v13 #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
postcss-nesting (source) ^7.0.1 -> ^13.0.0 age adoption passing confidence

Release Notes

csstools/postcss-plugins (postcss-nesting)

v13.0.1

Compare Source

October 23, 2024

v13.0.0

Compare Source

August 3, 2024

v12.1.5

Compare Source

May 23, 2024

  • Fix nested rules within @scope

v12.1.4

Compare Source

May 13, 2024

v12.1.3

Compare Source

May 11, 2024

v12.1.2

Compare Source

April 21, 2024

  • Edition 2024-02:
    • Do not rewrite selectors for declarations in conditional rules to a form with :is()

This will work:

::before, ::after {
	color: blue;

	@​media screen { color: cyan; }
}

This still wont work:

::before, ::after {
	color: blue;

	&:hover { color: cyan; }
}

v12.1.1

Compare Source

March 31, 2024

v12.1.0

Compare Source

March 6, 2024

  • Add the edition plugin option to control which CSS nesting specification version should be used. The default is 2021 but you can also set it to the newer 2024-02 edition to have more modern behavior.

v12.0.4

Compare Source

February 26, 2024

  • Fix order of final CSS with complex usage of both nesting and mixins, by @​pciarach

v12.0.3

Compare Source

February 19, 2024

v12.0.2

Compare Source

December 15, 2023

v12.0.1

Compare Source

August 5, 2023

  • Fix nesting of @starting-style rules

v12.0.0

Compare Source

July 3, 2023

v11.3.0

Compare Source

June 14, 2023

  • Add support for nested selectors that that begin with a letter
  • Add warning when using the deprecated @nest rule
    • you can silence this warning with a new silenceAtNestWarning plugin option
    • you can migrate your code to the latest syntax with our Stylelint Plugin

v11.2.2

Compare Source

March 25, 2023

  • Improved: support for mixins

v11.2.1

Compare Source

February 16, 2023

  • Skip nested rules that have a selector that begins with a letter
  • Better warning when nested rules have a selector that begins with a letter

v11.2.0

Compare Source

February 13, 2023

  • Added: support for & at the root
  • Improved: support for mixins

v11.1.0

Compare Source

January 31, 2023

  • Implement latest specification
    • relative selector syntax
    • @nest is obsolete, all selectors can be written without it (sometimes you will need :is())
    • allow declarations after nested rules.

⚠️ We advice everyone to migrate their codebase now to nested CSS without @nest.
Future versions of this plugin will warn and then error on @nest.

v11.0.1

Compare Source

January 28, 2023

  • Improve types declaration in package.json

v11.0.0

Compare Source

January 24, 2023

  • Updated: Support for Node v14+ (major).
  • Fix: Do not throw when a selector is invalid, show a warning instead.
  • Removed: Support for Deno (breaking)

v10.2.0

Compare Source

September 14, 2022

  • Added: TypeScript typings

v10.1.10

Compare Source

June 30, 2022

  • Partially revert the changes to pseudo element selectors from 10.1.9.
.anything::before {
	@​nest .something_else > & {
		order: 1;
	}
}

/* becomes */

- .something_else > :is(.anything::before) { /* 10.1.9 */
+ .something_else > .anything::before { /* previous and restored behavior */
		order: 1;
}

The exact behavior of this pattern is unspecified and might change in the future.
We are reverting to the previous behavior until the specification is clarified.

v10.1.9

Compare Source

June 23, 2022

  • Fix selector order with any pseudo element.
  • Fix semicolons being removed #​497.

v10.1.8

Compare Source

June 4, 2022

  • Update @csstools/selector-specificity (major)

v10.1.7

Compare Source

May 20, 2022

  • Add tentative support for @layer. The actual behavior is poorly defined and may change in the future. Use with caution.

v10.1.6

Compare Source

May 17, 2022

  • Fix selector order with :before and other pseudo elements.

v10.1.5

Compare Source

May 11, 2022

  • Use @csstools/selector-specificity for specificity calculations.

v10.1.4

Compare Source

April 4, 2022

  • Improved : compound selector order with pseudo elements
  • Improved : selector specificity calculation.

v10.1.3

Compare Source

March 4, 2022

  • Avoid creating duplicate selectors containing only comments.
.alpha {
	/* loose comment */
	& .beta {
		order: 1;
	}
}

/* becomes */

- .alpha {
-   /* loose comment */
- }
+ /* loose comment */
.alpha .beta {
	order: 1;
}

v10.1.2

Compare Source

January 12, 2022

  • Improved : selector specificity calculation

v10.1.1

Compare Source

June 30, 2022

  • Partially revert the changes to pseudo element selectors from 10.1.9.
.anything::before {
	@​nest .something_else > & {
		order: 1;
	}
}

/* becomes */

- .something_else > :is(.anything::before) { /* 10.1.9 */
+ .something_else > .anything::before { /* previous and restored behavior */
		order: 1;
}

The exact behavior of this pattern is unspecified and might change in the future.
We are reverting to the previous behavior until the specification is clarified.

v10.1.0

Compare Source

December 22, 2021

  • Added: noIsPseudoSelector plugin option.
  • Changed: :is() pseudo is now avoided as much as possible by default.
  • Updated: documentation

more info on noIsPseudoSelector

postcssNesting({
	noIsPseudoSelector: true
})

v10.0.3

Compare Source

December 13, 2021

  • Updated: documentation

v10.0.2

Compare Source

November 18, 2021

  • Fixed: Support for Deno. Ensuring we pack mod.js so it can be accessible by CDNs.

v10.0.1

Compare Source

November 17, 2021

  • Removed: Support for allowDeclarationsAfterNestedRules.

We've realised that enforcing this rule from the spec was going to be problematic
in the long run given how plugins work and the whole ecosystem around mixins and
other features. Treating this as a patch given that this was introduced in the
previous version and was starting to break projects that were using other features.

v10.0.0

Compare Source

November 16, 2021

  • Added: Support for allowDeclarationsAfterNestedRules to deviate from spec.

  • Added: .npmrc file.

  • Updated: Aligning completely with the spec updates.

  • Updated: esbuild to 0.13.12 (minor)

  • Removed: Support for PostCSS 7

v9.0.0

Compare Source

October 27, 2021

  • Added: Support for Deno
  • Fixed: Issue with PostCSS 8 compatibility using the RuleExit listener

v8.0.1

Compare Source

May 1, 2021

  • Fixed: Compatibility issue with CommonJS.

v8.0.0

Compare Source

April 26, 2021

  • Updated: Support for PostCSS 8+.
  • Updated: Support for Node v12+.
  • Updated: Support for the @container at-rule.

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 class: dependencies Pull requests that update a dependency file renovate PRs and Issues created by the RenovateBot labels May 2, 2025
@renovate renovate bot enabled auto-merge (squash) May 2, 2025 07:40
@renovate renovate bot force-pushed the renovate/postcss-nesting-13.x branch from ab6a4be to 258a625 Compare May 8, 2025 21:46
@renovate renovate bot force-pushed the renovate/postcss-nesting-13.x branch from 258a625 to 54d14a7 Compare May 25, 2025 06:51
@renovate renovate bot force-pushed the renovate/postcss-nesting-13.x branch from 54d14a7 to f079f85 Compare June 1, 2025 01:44
@matronator matronator merged commit 28bd4b4 into master Jun 1, 2025
1 of 2 checks passed
@matronator matronator deleted the renovate/postcss-nesting-13.x branch June 1, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
class: dependencies Pull requests that update a dependency file renovate PRs and Issues created by the RenovateBot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant