unstale

npm / lightningcss

lightningcss

What changed in lightningcss 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-17.

12 new APIs and options1 performance2 behavior and defaults19 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

lightningcss 134 changes

New APIs and options 12

  • Adds support for the alpha() relative color function.

    1.33.0release notes

  • Adds support for the ::highlight pseudo-element.

    1.33.0release notes

  • Adds support for the @position-try at-rule.

    1.33.0release notes

  • Adds support for ::search-text and :current::search-text.

    1.33.0release notes

  • Adds support for the :target-before, :target-after, and :target-current pseudo-classes.

    1.33.0release notes

  • Visitors can receive an addDependency function so tools that call Lightning CSS can implement file watching or caching.

    1.32.0release notes

  • Adds support for the mix-blend-mode property.

    1.32.0release notes

  • Adds external to the return type of resolve.

    1.32.0release notesrelease notes

  • Adds support for name-only @container queries.

    1.31.0release notes

  • Adds support for the print-color-adjust property.

    1.31.0release notes

  • Adds support for scroll-state container queries in CSS.

    1.31.0release notes

  • Adds support for the :state() pseudo-class.

    1.31.0release notes

Performance 1

  • Reduces min(), max(), and clamp() when their arguments are numbers.

    1.31.0release notes

Behavior and default changes 2

  • Allows @property to be nested inside at-rules.

    1.31.0release notes

  • Supports <string> in the syntax descriptor for @property.

    1.31.0release notes

Fixes and other changes 19

  • Collapses light-dark(x, x) to x.

    1.33.0release notes

  • Fixes minification of negative scientific notation dimensions.

    1.33.0release notes

  • Fixes #rrggbbaa support on older versions of Android.

    1.33.0release notes

  • Prints unknown at-rules in the same location.

    1.33.0release notes

  • Unknown color-scheme keywords are output as-is instead of being changed to normal.

    1.32.0release notes

  • Avoids inserting additional whitespace in env(--foo,).

    1.32.0release notes

  • Serialization of the rotate property is improved.

    1.32.0release notes

  • Converts percentages in the scale property or scale() to numbers.

    1.32.0release notes

  • Formatting keeps a single space between functions in transform values.

    1.32.0release notes

  • Avoids inserting additional whitespace in var(--foo,).

    1.32.0release notes

  • Fixes minification and handling for various background-position cases.

    1.31.0release notes

  • Updates browser compatibility data.

    1.31.0release notes

  • Adds quotes to font families containing multiple consecutive spaces.

    1.31.0release notes

  • Improves grid-template-areas handling and the grid shorthand.

    1.31.0release notes

  • Ensures interleaved nested declarations have a semicolon when needed.

    1.31.0release notes

  • Ensures compiled range media queries are correctly parenthesised.

    1.31.0release notes

  • Fixes casing for camel-cased SVG values.

    1.31.0release notes

  • Preserves whitespace in token lists.

    1.31.0release notes

  • Fixes whitespace handling in view transition pseudos.

    1.31.0release notes