All Versions
11
Latest Version
Avg Release Cycle
54 days
Latest Release
95 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.32.0 Changes
March 09, 2026โ Added
- ๐ Enable custom resolvers to mark imports as external. Resolvers may now return
{external: string}to mark an import as external. This will leave the@importin the output CSS instead of bundling it. See the docs for details. - ๐ Allow visitors to add dependencies. Visitors may now be functions which receive an
addDependencyfunction as an option. Dependencies may be used by tools that call Lightning CSS such as bundlers to implement file watching or caching. See the docs for details. - ๐ Add
mix-blend-modeproperty support
๐ Fixed
- Output unknown
color-schemekeywords as-is instead ofnormal - Improved serialization of the rotate property
- keep a single space between functions when formatting
transformvalues - Fix additionally inserted whitespace in
var(--foo,)andenv(--foo,) - Convert the percentage in the
scaleproperty orscale()to a number - โก๏ธ update compat data
- ๐ Enable custom resolvers to mark imports as external. Resolvers may now return
-
v1.31.0 Changes
January 20, 2026๐ Features
- Implement scroll-state container queries
- Allow @property to be nested inside at-rules
- ๐จ Support print-color-adjust property
- ๐ Support
<string>in @property syntax - ๐ Add :state() pseudo-class support
- Reduce min(), max() and clamp() with number arguments
- ๐ Support name-only @container queries
๐ Fixes
- Ensure compiled range media queries are correctly parenthesised
- Add quotes to font-families with multiple consecutive spaces
- ๐ Do not remove whitespace in token lists
- Fix whitespace handling in view transition pseudos
- Ensure interleave nested declarations have a semicolon when needed
- Fix casing for camel-cased svg values
- Improve grid-template-areas handling and grid shorthand
- Fix background-position minification and handling for various cases
- โก๏ธ Update browser compat data
-
v1.30.2 Changes
September 29, 2025 -
v1.30.1 Changes
May 14, 2025๐ Fixed crash on process exit when lightningcss was loaded inside a Node.js worker thread on Linux
-
v1.30.0 Changes
May 11, 2025๐ Features
- โก๏ธ 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
- โก๏ธ 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 https://web.dev/blog/css-nesting-cssnesteddeclarations for more details. โ 6c465c1
- ๐ Skip generating unnecessary
@supportsrules when already nested in a@supportsrule โ #878, d398c1b - ๐ Improve error recovery for media queries โ #954
- โ Add support for ::picker, ::picker-icon and ::checkmark โ #957
- โ Add build support for Android โ #932
๐ Fixes
- ๐ Fix error message for invalid composes selectors โ #948
- โก๏ธ Update browserslist โ #961
- ๐ Fix linear-gradient direction conversion for legacy vendor-prefixed values โ #936
- Prevent new lines in license comments from breaking source maps โ #971
- Do not inline layers before imports โ 33ea2c1
- ๐ Statically link Visual Studio redistributables on Windows builds โ e5c4139
- โก๏ธ update browser compat data โ 17bdc80
-
v1.29.3 Changes
March 14, 2025- ๐ Support for
::details-contentand::target-textselectors โ @philipp-spiess in #930 - โก๏ธ Update
:placeholder-shownselector name across browsers โ @Marukome0743 in #929 - Support
/* cssmodules-pure-no-check */comments โ @jantimon in #898 - โก๏ธ Update browser compatibility data โ c03a7e7
- ๐ Support for
-
v1.29.2 Changes
March 06, 2025- โก๏ธ Update detect-libc for better compatibility by @nicksrandall in #923
- ๐ Fix broken minification for non-opaque oklab colors by @lfesp in #901
- โฌ๏ธ Bump browserslist-rs 0.17.0 by @chenjiahan in #912
- โ Add wasm compilation cfg for
Browsers::load_browserslistby @CPunisher in #895 - ๐ Fix parsing style container queries without a value โ 2284653
-
v1.29.0 Changes
January 09, 2025โ Added
- ๐ Implement view transitions level 2, including the
@view-transitionrule,view-transition-classandview-transition-groupproperties, and class selector features of the view transition pseudo elements. This enables CSS module scoping and better minification when using these features. โ #885 - ๐ Support parsing the
@font-feature-valuesrule โ #840 - โ Add a feature flag to explicitly enable or disable transpiling the
light-dark()function โ 3043896
๐ Fixed
- ๐ Compile media query range syntax with boolean logic instead of fractional pixels. Fixes issues with rounding certain values. โ 7f29035
- ๐ Fix parsing the
list-styleshorthand property โ 97891d8 - ๐ Fix hashing of
:nth-child(an + b of X)selectors in CSS modules โ ed9e659 - โก๏ธ Update napi-rs to fix issue with
\0characters in filenames โ 43707c3 - ๐ Fix CustomAtRule.loc TypeScript type โ #876
- ๐
Call StyleSheet / StyleSheetExit / Rule.custom.* in visitors passed to
composeVisitorsโ #875 - โก๏ธ Update browser compat data โ cdbf0d4
- ๐ Implement view transitions level 2, including the
-
v1.28.2 Changes
November 25, 2024๐ Fixes
- ๐ Fix duplicate prefixed properties in
transition-propertyโ #850 (thanks @RobinMalfait and @LeoniePhiline!) - ๐ Fix mapping original name from source maps โ 78f2fc4
- โฌ๏ธ Bump browser compat data โ 4159bc5
- Ensure consistent order of custom properties when
allproperty is set โ d4eec35
- ๐ Fix duplicate prefixed properties in
-
v1.28.0 Changes
November 03, 2024โ Added
- โ Add option to avoid hashing
@containernames in CSS Modules by @kdy1 in #835 - ๐ Improve error message of
input:placeholderby @kdy1 in #813 - โ Add an error for the deprecated
@valueat-rule of CSS Modules by @kdy1 in #842
๐ Fixed
- Don't panic when passing system-color to color-mix by @inottn in #819
- โก๏ธ Dependency updates by @kornelski in #814
- ๐ Fix order of fallback width, height, and other size related properties โ 22a8b6f
- ๐ Fix stack overflow parsing
calcexpression โ e3c8e12 - ๐ Fix crash when parsing an invalid
calcexpression โ 378955e - Skip
clampfunction reduction when the comparison between preferred and max value is unknown โ ddc9ce8 - โก๏ธ Update browser compatibility data โ f6b033f
- ๐ docs: Update help command docs by @DylanPiercey in #812
- ๐ docs: fix link to visitor type definitions by @mayank99 in #823
- โ Add option to avoid hashing