lightningcss breaking changes
lightningcss 1.33.0 (July 20, 2026) is its newest release with breaking changes, 11 of them. The first: Removed Rotate.angle. Every breaking API change we have recorded in lightningcss on npm: 26 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.33.0, released July 20, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
lightningcss 1.33.0 breaking changes
- Removed
Rotate.angle
Rotate.angle was removed in lightningcss 1.33.0 npmjs.com - Removed
Rotate.x
Rotate.x was removed in lightningcss 1.33.0 npmjs.com - Removed
Rotate.y
Rotate.y was removed in lightningcss 1.33.0 npmjs.com - Removed
Rotate.z
Rotate.z was removed in lightningcss 1.33.0 npmjs.com - Signature changed
Declaration
Was type Declaration = | {property: "background-color"; value: CssColor;} | {property: "background-image"; value: Image[];} | {property: "background-position-x"; value: PositionComponentFor_HorizontalPositionKeyword[];} | {property... npmjs.com - Signature changed
PropertyId
Was type PropertyId = | {property: "background-color";} | {property: "background-image";} | {property: "background-position-x";} | {property: "background-position-y";} | {property: "background-position";} | {property: "background-size";} |... npmjs.com - Signature changed
PseudoClass
Was type PseudoClass = | {kind: "lang"; languages: String[];} | {direction: Direction; kind: "dir";} | {kind: "hover";} | {kind: "active";} | {kind: "focus";} | {kind: "focus-visible";} | {kind: "focus-within";} | {kind: "current";} |... npmjs.com - Signature changed
PseudoElement
Was type PseudoElement = | {kind: "after";} | {kind: "before";} | {kind: "first-line";} | {kind: "first-letter";} | {kind: "details-content";} | {kind: "target-text";} | {kind: "selection"; vendorPrefix: VendorPrefix;} | {kind... npmjs.com - Signature changed
Resolver.resolve
Was resolve?: (specifier: string, originatingFile: string) => string | Promise<string>; now resolve?: (specifier: string, originatingFile: string) => MaybePromise<string | {external: string}>. npmjs.com - Signature changed
Rotate
Was interface Rotate; now type Rotate = | "none" | {xyz: {angle: Angle; x: number; y: number; z: number;};}. npmjs.com - Signature changed
Rule
Was type Rule<D = Declaration, M = MediaQuery> = | {type: "media"; value: MediaRule<D, M>;} | {type: "import"; value: ImportRule<M>;} | {type: "style"; value: StyleRule<D, M>;} | {type: "keyframes"; value: KeyframesRule<D>;} | {type... npmjs.com
lightningcss 1.32.0 breaking changes
- Signature changed
BundleOptions.visitor
Was visitor?: Visitor<C>; now visitor?: Visitor<C> | VisitorFunction<C>. npmjs.com - Signature changed
composeVisitors
Was function composeVisitors<C extends CustomAtRules>(visitors: Visitor<C>[]): Visitor<C>; now function composeVisitors<C extends CustomAtRules>(visitors: (Visitor<C> | VisitorFunction<C>)[]): Visitor<C> | VisitorFunction<C>. npmjs.com - Signature changed
Dependency
Was type Dependency = ImportDependency | UrlDependency; now type Dependency = ImportDependency | UrlDependency | FileDependency | GlobDependency. npmjs.com - Signature changed
TransformAttributeOptions.visitor
Was visitor?: Visitor<never>; now visitor?: Visitor<never> | VisitorFunction<never>. npmjs.com - Signature changed
TransformOptions.visitor
Was visitor?: Visitor<C>; now visitor?: Visitor<C> | VisitorFunction<C>. npmjs.com
lightningcss 1.31.0 breaking changes
- Signature changed
ContainerCondition
Was type ContainerCondition<D = Declaration> = | {type: "feature"; value: QueryFeatureFor_ContainerSizeFeatureId;} | {type: "not"; value: ContainerCondition<D>;} | {conditions: ContainerCondition<D>[]; operator: Operator; type... npmjs.com - Signature changed
ContainerRule.condition
Was condition: ContainerCondition<D>; now condition?: ContainerCondition<D> | null. npmjs.com - Signature changed
ContainerType
Was type ContainerType = "normal" | "inline-size" | "size"; now type ContainerType = "normal" | "inline-size" | "size" | "scroll-state". npmjs.com - Signature changed
Declaration
Was type Declaration = | {property: "background-color"; value: CssColor;} | {property: "background-image"; value: Image[];} | {property: "background-position-x"; value: PositionComponentFor_HorizontalPositionKeyword[];} | {property... npmjs.com - Signature changed
MediaCondition
Was type MediaCondition = | {type: "feature"; value: QueryFeatureFor_MediaFeatureId;} | {type: "not"; value: MediaCondition;} | {conditions: MediaCondition[]; operator: Operator; type: "operation";}; now type MediaCondition = | {type... npmjs.com - Signature changed
ParsedComponent
Was type ParsedComponent = | {type: "length"; value: Length;} | {type: "number"; value: number;} | {type: "percentage"; value: number;} | {type: "length-percentage"; value: DimensionPercentageFor_LengthValue;} | {type: "color"; value... npmjs.com - Signature changed
PropertyId
Was type PropertyId = | {property: "background-color";} | {property: "background-image";} | {property: "background-position-x";} | {property: "background-position-y";} | {property: "background-position";} | {property: "background-size";} |... npmjs.com - Signature changed
PseudoClass
Was type PseudoClass = | {kind: "lang"; languages: String[];} | {direction: Direction; kind: "dir";} | {kind: "hover";} | {kind: "active";} | {kind: "focus";} | {kind: "focus-visible";} | {kind: "focus-within";} | {kind: "current";} |... npmjs.com - Signature changed
PseudoElement
Was type PseudoElement = | {kind: "after";} | {kind: "before";} | {kind: "first-line";} | {kind: "first-letter";} | {kind: "details-content";} | {kind: "target-text";} | {kind: "selection"; vendorPrefix: VendorPrefix;} | {kind... npmjs.com - Signature changed
SyntaxComponentKind
Was type SyntaxComponentKind = | {type: "length";} | {type: "number";} | {type: "percentage";} | {type: "length-percentage";} | {type: "color";} | {type: "image";} | {type: "url";} | {type: "integer";} | {type: "angle";} | {type: "time";}... npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.