serialize-error breaking changes
serialize-error 13.0.0 (January 16, 2026) is its newest release with breaking changes, 4 of them. The first: serialize-error 13.0.0 requires Node.js 20 or later. Every breaking API change we have recorded in serialize-error on npm: 16 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 13.1.0. Source repository
Its 13.0.0 release requires Node.js 20 or later. Node.js end of life dates.
- From 12.0.0 to 13.0.0: 4 breaking changes in 1 version.
- From 9.0.0 to 13.0.0: 14 breaking changes in 4 versions.
serialize-error 13.0.0 breaking changes
- Removed
The package now requires Node.js 20. Users on older Node.js versions must upgrade Node.js before using this release. github.com - Behavior changed
Values that are not Error instances are now serialized to a NonError error instead of their previous output. Code that depends on the old output must be updated. github.com - Signature changed
addKnownErrorConstructor
Was function addKnownErrorConstructor(constructor: BaseErrorConstructor): void; now function addKnownErrorConstructor<T extends Error>(constructor: new () => T, factory?: ErrorFactory<T>): void function addKnownErrorConstructor<T extends... npmjs.com - Signature changed
serializeError
Was function serializeError<ErrorType>(error: ErrorType, options?: Options): ErrorType extends Primitive ? ErrorType : unknown extends ErrorType ? unknown : ErrorObject; now function serializeError(error: unknown, options?: Options)... npmjs.com
serialize-error 12.0.0 breaking changes
- Removed
errorConstructors
errorConstructors was removed in serialize-error 12.0.0 npmjs.com - Behavior changed
The package now requires Node.js 18+; users on older Node.js versions must upgrade before installing this release. github.com - Behavior changed
Error determination is stricter, so some values previously serialized as errors may now be handled differently. github.com - Behavior changed
Properties that are not Error instances' own properties were previously made non-enumerable; they now stay enumerable, which can change serialized output. github.com - Signature changed
Options
Was interface Options; now type Options = {readonly maxDepth?: number; readonly useToJSON?: boolean;}. npmjs.com - Signature changed
serializeError
Was function serializeError<ErrorType>(error: ErrorType, options?: Options): ErrorType extends Primitive ? ErrorType : ErrorObject; now function serializeError<ErrorType>(error: ErrorType, options?: Options): ErrorType extends Primitive ?... npmjs.com
serialize-error 11.0.0 breaking changes
- Behavior changed
Only objects with a message property at a minimum are now interpreted as Errors when deserializing. Check that serialized input includes a message property. github.com
serialize-error 10.0.0 breaking changes
- Removed
The package now requires Node.js 14. Users on older Node.js versions must upgrade their runtime. github.com - Default changed
Built-in errors such as TypeError are now deserialized as their original type instead of plain Error. Code relying on the old Error type must be updated. github.com - Signature changed
ErrorObject
Was type ErrorObject = {name?: string; stack?: string; message?: string; code?: string;} & JsonObject; now type ErrorObject = {name?: string; message?: string; stack?: string; cause?: unknown; code?: string;} & JsonObject. npmjs.com
serialize-error 9.0.0 breaking changes
- Removed
The package now requires Node.js 12.20 or later. Users on older Node.js versions must upgrade Node.js before using this release. github.com - Behavior changed
The package ships only as ES modules, so code that loads it with require() must switch to import, as described in the linked migration guide. github.com
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.