Skip to content
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

postcss-preset-env v10 #1369

Merged
merged 32 commits into from
Aug 3, 2024
Merged

Conversation

romainmenke
Copy link
Member

@romainmenke romainmenke commented Apr 20, 2024

@romainmenke
Copy link
Member Author

@Antonio-Laguna This has been open for some time and I haven't encountered any other spec changes that require a breaking change.

This change would be limited to the changes in nesting and a bump of our minimum node version.

Is there any thing you would still like to change?

If not, I suggest we ship this next week 🚀
We shipped 9.0.0 around 2023-07, so that gives us a nice interval.


A good explanation for the aspect of nesting that was most recently changed can be found here: https://drafts.csswg.org/css-nesting/#nested-declarations-rule%E2%91%A0

We eagerly added support for this in the 2024-02 edition, even when it had not yet landed in the spec text (#1305)

I am choosing not to re-order declarations and nested rules in this new edition because we actually know that this is a major pain point and I want to give users hands on experience with what it could be if w3c/csswg-drafts#8738 is adopted.

With the recent spec edits our 2024-02 editions aligns with https://drafts.csswg.org/css-nesting/

@romainmenke romainmenke marked this pull request as ready for review July 30, 2024 17:47
@github-actions github-actions bot added the e2e label Aug 3, 2024
@romainmenke romainmenke merged commit d96e735 into main Aug 3, 2024
7 checks passed
@romainmenke romainmenke deleted the v10--gregarious-seahorse-86cb98a9ed branch August 3, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli common-tools e2e experimental plugin-packs/postcss-bundler plugin-packs/postcss-preset-env plugins/css-blank-pseudo plugins/css-has-pseudo plugins/css-prefers-color-scheme plugins/media-queries-aspect-ratio-number-values plugins/postcss-media-queries-aspect-ratio-number-values plugins/postcss-attribute-case-insensitive plugins/postcss-browser-comments plugins/postcss-cascade-layers plugins/postcss-color-function plugins/postcss-color-functional-notation plugins/postcss-color-hex-alpha plugins/postcss-color-mix-function plugins/postcss-color-rebeccapurple plugins/postcss-conditional-values plugins/postcss-content-alt-text plugins/postcss-contrast-color-function plugins/postcss-custom-media plugins/postcss-custom-properties plugins/postcss-custom-selectors plugins/postcss-design-tokens plugins/postcss-dir-pseudo-class plugins/postcss-double-position-gradients plugins/postcss-env-function plugins/postcss-exponential-functions plugins/postcss-extract plugins/postcss-focus-visible plugins/postcss-focus-within plugins/postcss-font-format-keywords plugins/postcss-gamut-mapping plugins/postcss-gap-properties plugins/postcss-global-data plugins/postcss-gradients-interpolation-method plugins/postcss-hwb-function plugins/postcss-ic-unit plugins/postcss-image-set-function plugins/postcss-initial plugins/postcss-is-pseudo-class plugins/postcss-lab-function plugins/postcss-light-dark-function plugins/postcss-logical plugins/postcss-logical-float-and-clear plugins/postcss-logical-resize plugins/postcss-logical-viewport-units plugins/postcss-media-minmax plugins/postcss-minify plugins/postcss-nested-calc plugins/postcss-nesting plugins/postcss-normalize-display-values plugins/postcss-oklab-function plugins/postcss-overflow-shorthand plugins/postcss-place plugins/postcss-progressive-custom-properties plugins/postcss-pseudo-class-any-link plugins/postcss-rebase-url plugins/postcss-relative-color-syntax plugins/postcss-rewrite-url plugins/postcss-scope-pseudo-class plugins/postcss-selector-not plugins/postcss-slow-plugins plugins/postcss-stepped-value-functions PostCSS Stepped Value Functions plugins/postcss-text-decoration-shorthand plugins/postcss-trigonometric-functions PostCSS Trigonometric Functions plugins/postcss-unset-value sites/postcss-preset-env stylelint-plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant