lightningcss
1.33.0 · 20 Jul 2026MPL-2.0259.9M / weekRepositoryHomepagenpmAtom feed
Upgrading lightningcss From 1.29.3 to 1.30.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 5
- new
- 7
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.30.0
Release by release
- Breaking
Update relative color parsing to latest spec: colors now support numbers in addition to percentages, and calcs in colors are now always numbers. Note that this was technically a breaking change in the spec. You may need to update code using relative color calculations on percentages to use numbers instead. See the PR for details. – #465
- New
Update nesting implementation for new spec: It is now possible to nest selectors with pseudo elements, and declarations and nested rules can be interleaved. See web.dev/blog/css-nesting-cssnesteddeclarations for more details. – 6c465c1
- New
Skip generating unnecessary
@supportsrules when already nested in a@supportsrule – #878, d398c1b86439dfd243a6c2ba627a8e7981118a44 - New
Improve error recovery for media queries – #954
- Breaking
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.