zod-validation-error breaking changes
zod-validation-error 5.0.0 (November 3, 2025) is its newest release with breaking changes, 2 of them. The first: Error messages now follow a consistent expected/received format in zod-validation-error 5.0.0. Every breaking API change we have recorded in zod-validation-error on npm: 13 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 5.0.0, released November 3, 2025. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
zod-validation-error 5.0.0 breaking changes
- Behavior changed
Validation error messages were rewritten to the 'expected <expectation>, received <realization>' format. Code that matches on the exact wording of these messages must be updated. github.com - Signature changed
ErrorMapOptions
Was type ErrorMapOptions = {dateLocalization: boolean | Intl.LocalesArgument; numberLocalization: boolean | Intl.LocalesArgument; displayInvalidFormatDetails: boolean; allowedValuesSeparator: string; allowedValuesLastSeparator: string |... npmjs.com
zod-validation-error 4.0.0 breaking changes
- Removed
errorMap
errorMap was removed in zod-validation-error 4.0.0 npmjs.com - Default changed
The package's default export is now the v4 API, so code relying on the default import gets v4 behavior. Import the older version explicitly if you need it. github.com - Signature changed
The API was updated to split error mapping and message building into separate parts, so existing calls that combine them need to be updated. github.com - Signature changed
createMessageBuilder
Was function createMessageBuilder(props?: CreateMessageBuilderProps): MessageBuilder; now function createMessageBuilder(partialOptions?: Partial<MessageBuilderOptions>): MessageBuilder. npmjs.com - Signature changed
FromZodErrorOptions
Was type FromZodErrorOptions = {messageBuilder: MessageBuilder;} | CreateMessageBuilderProps; now type FromZodErrorOptions = {messageBuilder: MessageBuilder;} | Partial<MessageBuilderOptions>. npmjs.com - Signature changed
FromZodIssueOptions
Was type FromZodIssueOptions = {messageBuilder: MessageBuilder;} | Omit<CreateMessageBuilderProps, 'maxIssuesInMessage'>; now type FromZodIssueOptions = {messageBuilder: MessageBuilder;} | Partial<Omit<MessageBuilderOptions... npmjs.com - Signature changed
isZodErrorLike
Was function isZodErrorLike(err: unknown): err is zod.ZodError; now function isZodErrorLike(err: unknown): err is zod.$ZodError. npmjs.com - Signature changed
ValidationError.details
Was details: Array<zod.ZodIssue>; now details: Array<zod.$ZodIssue>. npmjs.com - Signature changed
ValidationError.name
Was name: 'ZodValidationError'; now name: typeof ZOD_VALIDATION_ERROR_NAME. npmjs.com - Signature changed
ZodError
Was type ZodError = zod.ZodError; now type ZodError = zod.$ZodError. npmjs.com
And 1 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.