@ant-design/cssinjs breaking changes
@ant-design/cssinjs 2.0.0 (November 17, 2025) is its newest release with breaking changes, 5 of them. The first: Removed StyleProviderProps.autoClear. Every breaking API change we have recorded in @ant-design/cssinjs on npm: 6 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.2.0, released November 16, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 2.0.0-alpha.6 to 2.0.0: 5 breaking changes in 1 version.
@ant-design/cssinjs 2.0.0 breaking changes
- Removed
StyleProviderProps.autoClear
StyleProviderProps.autoClear was removed in @ant-design/cssinjs 2.0.0 npmjs.com - Signature changed
StyleProviderProps
Was type StyleProviderProps = Partial<StyleContextProps> & {children?: React.ReactNode;}; now type StyleProviderProps = Partial<Omit<StyleContextProps, 'autoPrefix'>> & {children?: React.ReactNode;}. npmjs.com - Signature changed
useCacheToken
Was function useCacheToken<DerivativeToken = object, DesignToken = DerivativeToken>(theme: Theme<any, any>, tokens: Partial<DesignToken>[], option?: Option<DerivativeToken, DesignToken>): TokenCacheValue<DerivativeToken>; now function... npmjs.com - Signature changed
useCSSVarRegister
Was const useCSSVarRegister: <V, T extends Record<string, V>>(config: {path: string[]; key: string; prefix?: string; unitless?: Record<string, boolean>; ignore?: Record<string, boolean>; scope?: string; token: any;}, fn: () => T) =>... npmjs.com - Signature changed
useStyleRegister
Was function useStyleRegister(info: {theme: Theme<any, any>; token: any; path: string[]; hashId?: string; layer?: LayerConfig; nonce?: string | (() => string); clientOnly?: boolean; order?: number;}, styleFn: () => CSSInterpolation)... npmjs.com
@ant-design/cssinjs 2.0.0-alpha.6 breaking changes
- Behavior changed
Style render order is preserved during server-side rendering; a fix that changes output order for SSR users. github.com
Related packages
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.