npm / postcss-custom-properties
postcss-custom-properties
What changed in postcss-custom-properties 15, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.
3 breaking2 performance2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpostcss-custom-properties 157 changes
Breaking changes 3
A single expansion budget is shared across all declarations.
Throws when a custom property expansion exceeds the maximum size.
Throws when @layer nesting exceeds a safe depth.
Performance 2
Avoids a quadratic sibling scan when checking for an existing fallback declaration.
Sorting a long chain of custom properties is faster and avoids a stack overflow.
Fixes and other changes 2
Custom properties in @function bodies are ignored.
Fix exponential growth of cascade layer names for deeply nested @layer rules.