Packages

lightningcss

1.33.0 · 20 Jul 2026MPL-2.0259.9M / weekRepositoryHomepagenpmAtom feed

Upgrading lightningcss From 1.21.8 to 1.33.0

23 releases in betweennotes for 20

Reading releases, release notes and advisories…

  1. 1.21.8yours
  2. 16 releases
  3. 1.30.0breaking
  4. 5 releases
  5. 1.33.0target
1+
change to make
0
advisories fixed
46+
new
76+
fixes

Counted from 20 of 23 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking1.30.0

Release by release

  1. 1.33.0

    20 Jul 20267 new · 6 fixes
    • New

      Add support for ::highlight

    • New

      Add support for @position-try at-rule #851

    • New

      Add support for ::search-text and :current::search-text

    • New

      Collapse light-dark(x, x) to x

  2. 1.32.0

    9 Mar 20263 new · 6 fixes
  3. 1.31.1no release note

  4. 1.30.1nothing new or fixed in the note

  5. 1.30.0

    Migration needed11 May 20255 new · 7 fixes
    • 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 @supports rules when already nested in a @supports rule – #878, d398c1b86439dfd243a6c2ba627a8e7981118a44

    • New

      Improve error recovery for media queries – #954

  6. 1.29.3

    14 Mar 20252 new
    • New

      Support for ::details-content and ::target-text selectors – @philipp-spiess

    • New

      Support /* cssmodules-pure-no-check */ comments – @jantimon

8 other lines we could not sort, mostly version bumps
  • Update :placeholder-shown selector name across browsers – @Marukome0743

    1.29.3
  • Update browser compatibility data – c03a7e7f7cfe7a8d487f9402e3194a1d732f9a04

    1.29.3
  • Update detect-libc for better compatibility

    1.29.2
  • Bump browserslist-rs 0.17.0

    1.29.2
  • Disabled CSS transform optimizations using matrix(), which could break transitions and animations. – #694

    1.24.1
  • Merge @supports declarations with the same property (minus vendor prefix) and value – 6bd2761badb9d5434783acffcae35ef6c3311e06

    1.24.1
  • Init Wasm module only once in browsers – #615

    1.22.1
  • Update compat data – e25521014691ebc13ee889a4ebf5b78f14ea1b6a

    1.22.1

5 internal lines (docs, tests, tooling) left out.

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.