Versioning and Deprecating Design Tokens

Versioning and Deprecating Design Tokens

A token set other teams reference is a published dependency. Here is the breaking-vs-non-breaking line, the silent meaning-shift case, and how to deprecate and rename safely.

A token set that other teams reference is a published dependency with a public API surface, so a change to it needs the same care as a change to any package. Adding a token or changing a value the name still describes truthfully is non-breaking; renaming, removing, or shifting a value so the name no longer holds is breaking — including the silent case where nothing errors but the meaning moved. Deprecate before you remove, alias the old name through a transition window, name the blast radius of a rename before doing it, and ship a token-level changelog. Some breaking changes are unavoidable; versioning makes them survivable, not free. This guide gives you the classification and the release habits behind it.

A token set is a published dependency

The moment a second team references your tokens by name, you have published an API. Consumers write color.action.primary or space.4 into their components and ship them; those names are now a contract you are on the hook to keep. A token set is not a private file you can rearrange at will — it is a dependency, and every consumer upgrade is a bet that the names still mean what they meant.

Versioning is how you communicate what a change will do to a consumer before they take it. A version number is a promise about compatibility: it tells a team whether they can upgrade without reading the diff, or whether they need to set aside time to migrate. Without that signal, every upgrade is a gamble and teams pin to an old version out of fear, which is how a token set ossifies.

The intent behind semantic versioning maps onto tokens cleanly (Semantic Versioning, semver.org, as of Jul 2026). SemVer defines the levels by compatibility of the public API: a patch is for backward-compatible bug fixes only, a minor adds backward-compatible functionality (and SemVer also requires a minor when public API functionality is marked as deprecated), and a major is for backward-incompatible changes. Those definitions apply once the major version is 1 or higher: SemVer reserves major version zero (0.y.z) for initial development, where anything MAY change at any time. Applied to tokens, a patch or minor change is one a consumer can take without touching their code; a major change is one that may require them to. The table below is this guide's application of those rules to tokens, not SemVer's own wording. What counts as which is the whole question, and it comes down to whether a name still tells the truth after the change.

ChangeSemver intent (major version 1 or higher)What the consumer must do
Add a new tokenMinorNothing; it is additive
Change a value the name still describesPatch (SemVer's patch level is for backward-compatible bug fixes only)Nothing; the contract holds
Change a value so the name no longer fitsMajorAudit usage; the meaning moved
Rename a tokenMajorUpdate every reference
Remove a tokenMajorMigrate off it first

Breaking versus non-breaking

The line between breaking and non-breaking is not about whether a value changed — it is about whether the name still holds after it changes.

Non-breaking changes leave the contract intact. Adding a token gives consumers something new without taking anything away. Changing a value that the name still describes truthfully — nudging color.neutral.100 from one near-white to a slightly different near-white — keeps the promise the name made, so consumers inherit the improvement without doing anything. These are the changes you want most of your releases to be.

Breaking changes void the contract. Renaming a token invalidates every reference to the old name at once. Removing a token deletes something consumers depend on. And changing a value so the name no longer fits — retargeting color.action.primary from a blue to a green, or redefining space.4 from a small gap to a large one — breaks the meaning even though the name still resolves.

That last case is easy to miss, because nothing errors. The build passes, the token resolves, and every consumer silently renders a different result than they did yesterday. A value change that shifts meaning is breaking precisely because it is invisible: there is no compile error to catch it, only surprised users and a confused bug report. Treat a meaning-shifting value change as major even though the tooling will happily let it through as a patch.

Deprecation and rename ripple

When a token genuinely must change name or go away, the move is to deprecate before removing, never to delete in place. Deprecation keeps the old name working while pointing consumers at its replacement, so nobody's build breaks the day the change lands.

The mechanic is aliasing across a transition window. The old name stays in the set but resolves to the new one, marked as deprecated so the build and the docs can surface a warning. Consumers keep shipping while they migrate on their own schedule, and only after the window closes does the old name get removed. Marking the deprecation in the source itself — the DTCG format defines a $deprecated property, set to true or to an explanatory string, that a build can read for exactly this (Design Tokens Format Module 2025.10, as of November 2026) — is what lets the warning appear automatically instead of living in a wiki nobody checks. In the excerpt below, from a larger set where color.action.primary is defined, the old name is kept as a deprecated alias to the new one during the window.

json
{
  "color": {
    "brand": {
      "$type": "color",
      "$value": "{color.action.primary}",
      "$deprecated": "Renamed to color.action.primary; removed in the next major."
    }
  }
}

Before any rename, name the blast radius. A token name is not referenced in one place — it can appear across platform builds, consumer codebases, and the design tool's variables. Renaming it ripples to all of them, and the count of references is the real cost of the change. The rename is cheap to type and expensive to land, because names are the contract; the article on token naming covers why names are worth this much care, but the versioning consequence is concrete: measure the reach before you commit, because you are signing up to update every one of those references or to carry an alias until they are.

Migration that consumers can follow

A version bump on its own tells a consumer that something broke, not what. The changelog is where a release earns the upgrade, and for a token set it has to be token-level: which tokens were added, which values changed, which names were deprecated, and which were removed. "Bumped to 3.0" is not actionable; "renamed color.brand to color.action.primary, deprecated for one minor, removed here" is.

Where the change is mechanical, hand the consumer the mechanism. A rename that is a pure find-and-replace should ship with the replacement map, and a change large enough to warrant it should ship with a codemod. The point is to move the migration cost off each consumer and onto the one team that understands the change — you did the rename, so you know the mapping, and publishing it turns every consumer's migration from investigation into execution.

And there is a limit worth stating plainly. Some breaking changes are unavoidable: a design system evolves, meanings genuinely shift, and no versioning scheme makes that free. What versioning buys is survivability — a breaking change becomes a planned, communicated, alias-cushioned event instead of a surprise outage. The discipline does not eliminate the cost of change. It makes the cost predictable, schedulable, and paid by the people who chose it, which is the most a published dependency can honestly promise.

Project Inquiry