immer breaking changes
immer 11.2.14 (November 29, 2026) is its newest release with breaking changes, 3 of them. The first: Behavior changed current. Every breaking API change we have recorded in immer on npm: 40 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 11.2.14, released November 29, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 10.2.0 to 11.2.14: 13 breaking changes in 7 versions.
- From 10.0.0 to 11.2.14: 21 breaking changes in 10 versions.
immer 11.2.14 breaking changes
- Behavior changed
current
current() returns untouched parts of the original state as is instead of deep-copying them. If you mutate its result while the original state is not frozen, you may now mutate your original state, so treat the result as read-only or copy... github.com - Behavior changed
set
When a prototype in the chain defines a setter with the same name, assignments on a draft now write an own data property rather than calling that setter. Code that relied on the prototype setter must change. github.com - Behavior changed
setUseStrictIteration
The finalize walk now follows useStrictIteration again, so with the default loose mode drafts nested under symbol or non-enumerable keys of new objects are no longer finalized. Call setUseStrictIteration(true) to keep them finalized. github.com
immer 11.2.6 breaking changes
- Signature changed
WritableDraft
Was type WritableDraft<T> = T extends any[] ? number extends T["length"] ? IsPlainArray<T> extends true ? Draft<T[number]>[] : WritableNonArrayDraft<T> : WritableNonArrayDraft<T> : WritableNonArrayDraft<T>; now type WritableDraft<T> = T... npmjs.com
immer 11.1.9 breaking changes
- Behavior changed
Access through constructor.prototype is now blocked to prevent prototype pollution. Code relying on that access pattern may behave differently. github.com
immer 11.1.8 breaking changes
- Signature changed
current
Was function current<T>(value: T): T; now function current<T>(value: Draft<T>): T. npmjs.com - Signature changed
original
Was function original<T>(value: T): T | undefined; now function original<T>(value: Draft<T>): T. npmjs.com
immer 11.1.7 breaking changes
- Signature changed
WritableDraft
Was type WritableDraft<T> = T extends any[] ? number extends T["length"] ? Draft<T[number]>[] : WritableNonArrayDraft<T> : WritableNonArrayDraft<T>; now type WritableDraft<T> = T extends any[] ? number extends T["length"] ? IsPlainArray<T>... npmjs.com
immer 11.1.3 breaking changes
- Signature changed
WritableDraft
Was type WritableDraft<T> = {-readonly [K in keyof T]: Draft<T[K]>;}; now type WritableDraft<T> = T extends any[] ? number extends T["length"] ? Draft<T[number]>[] : WritableNonArrayDraft<T> : WritableNonArrayDraft<T>. npmjs.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
immer 11.0.0 breaking changes
- Default changed
Immer 11 turns on loose iteration by default, so code that relied on the previous iteration behavior of drafts may behave differently and should be tested. github.com - Signature changed
castDraft
Was function castDraft<T>(value: T): Draft<T>; now let castDraft: <T>(value: T) => Draft<T>. npmjs.com
And 2 more in this version.
immer 10.2.0 breaking changes
- Signature changed
Immer.constructor
Was constructor(config?: {autoFreeze?: boolean; useStrictShallowCopy?: StrictMode;}); now constructor(config?: {autoFreeze?: boolean; useStrictShallowCopy?: StrictMode; useStrictIteration?: boolean;}). npmjs.com
immer 10.1.1 breaking changes
- Signature changed
applyPatches
Was const applyPatches: <T extends Objectish>(base: T, patches: Patch[]) => T; now const applyPatches: <T extends Objectish>(base: T, patches: readonly Patch[]) => T. npmjs.com - Signature changed
Immer.applyPatches
Was applyPatches<T extends Objectish>(base: T, patches: Patch[]): T; now applyPatches<T extends Objectish>(base: T, patches: readonly Patch[]): T. npmjs.com
immer 10.1.0 breaking changes
- Behavior changed
Non-strict mode now handles class instances faster, which slightly changes Immer's behavior with classes in obscure corner cases. To keep the old behavior, call setUseStrictShallowCopy("class_only"). github.com - Signature changed
Immer.constructor
Was constructor(config?: {autoFreeze?: boolean; useStrictShallowCopy?: boolean;}); now constructor(config?: {autoFreeze?: boolean; useStrictShallowCopy?: StrictMode;}). npmjs.com
And 3 more in this version.
immer 10.0.0 breaking changes
- Removed
The UMD build is no longer exposed. Load the ESM or CJS build instead. github.com - Removed
Producers that return a Promise no longer work. Use createDraft and finishDraft instead. github.com
And 17 more in this version.
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.