culori breaking changes
culori 4.0.0 (January 19, 2024) is its newest release with breaking changes, 6 of them. The first: Missing color components serialize differently in culori 4.0.0. Every breaking API change we have recorded in culori on npm: 30 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 4.0.2, released June 27, 2025.
Packages on npm run on Node.js. Node.js end of life dates.
- From 3.0.0 to 4.0.0: 6 breaking changes in 1 version.
- From 2.0.0 to 4.0.0: 13 breaking changes in 2 versions.
culori 4.0.0 breaking changes
- Behavior changed
Missing components are serialized as 0 in legacy syntaxes and as none in modern syntaxes. Code that compares or parses serialized output must expect these values. github.com - Behavior changed
Alpha values outside 0 to 1 are now clamped when a color string is parsed. Code that relied on out-of-range alpha values must be updated. github.com - Behavior changed
All color space conversions and gamut mapping functions now use 0 for missing components. Results for colors with missing components may change. github.com - Behavior changed
The numeric ranges of hsl() and hwb() syntaxes changed from 0 to 1 to 0 to 100. Code that passes values in the old range will get different colors. github.com - Behavior changed
The L component of lab() and lch() strings is clamped to 0 to 100, and that of oklab() and oklch() to 0 to 1, when parsed. Out-of-range values now produce different colors. github.com - Behavior changed
averageAngle
averageAngle() now always returns its result in the 0 to 360 range. Code that expected negative or other out-of-range results must be updated. github.com
culori 3.0.0 breaking changes
- Removed
color
Use oklab() instead; the custom identifier can be re-registered with useParser('--oklab', 'oklab'). culorijs.org - Behavior changed
oklab, oklch and lrgb now serialize to oklab(), oklch() and color(srgb-linear) respectively. github.com - Behavior changed
Serialized lab and lch strings now write the L component as a number, not a percentage. github.com - Behavior changed
Percentage component values are now mapped to a reference range for each component, so the same percentage can yield a different value than before. github.com - Behavior changed
color
The color() syntax no longer accepts omitted components that default to 0; code must pass all three components. github.com - Behavior changed
parseHsl
parseHsl no longer parses the legacy comma-separated hsl() syntax; use parseHslLegacy for that. github.com - Behavior changed
parseRgb
parseRgb no longer parses the legacy comma-separated rgb() syntax; use parseRgbLegacy for that. github.com
culori 2.0.0 breaking changes
- Removed
color
Use oklab() instead. The identifier can be re-registered with useParser if needed. culorijs.org - Renamed
convertLabToXyz
Use convertLabToXyz50 in place of convertLabToXyz. culorijs.org - Renamed
convertLuvToXyz
Use convertLuvToXyz50 in place of convertLuvToXyz. culorijs.org - Renamed
convertProphotoToXyz
Use convertProphotoToXyz50 in place of convertProphotoToXyz. culorijs.org - Renamed
convertRgbToXyz
Use convertRgbToXyz50 in place of convertRgbToXyz. culorijs.org - Renamed
convertXyz65ToXyz
Use convertXyz65ToXyz50 in place of convertXyz65ToXyz. culorijs.org - Renamed
convertXyzToLab
Use convertXyz50ToLab in place of convertXyzToLab. culorijs.org - Renamed
convertXyzToLuv
Use convertXyz50ToLuv in place of convertXyzToLuv. culorijs.org - Renamed
convertXyzToProphoto
Use convertXyz50ToProphoto in place of convertXyzToProphoto. culorijs.org - Renamed
convertXyzToRgb
Use convertXyz50ToRgb in place of convertXyzToRgb. culorijs.org
And 7 more in this version. Sign up to see every change
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.