class-validator breaking changes
class-validator 0.15.1 (February 26, 2026) is its newest release with breaking changes, 3 of them. The first: Signature changed isIBAN. Every breaking API change we have recorded in class-validator on npm: 47 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 0.15.1, released February 26, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
class-validator 0.15.1 breaking changes
- Signature changed
isIBAN
Was function isIBAN(value: unknown): boolean; now function isIBAN(value: unknown, options?: IsIBANOptions): boolean. npmjs.com - Signature changed
isUUID
Was function isUUID(value: unknown, version?: ValidatorJS.UUIDVersion): boolean; now function isUUID(value: unknown, version?: IsUUIDVersion): boolean. npmjs.com - Signature changed
IsUUID
Was function IsUUID(version?: ValidatorJS.UUIDVersion, validationOptions?: ValidationOptions): PropertyDecorator; now function IsUUID(version?: IsUUIDVersion, validationOptions?: ValidationOptions): PropertyDecorator. npmjs.com
class-validator 0.15.0 breaking changes
- Signature changed
IsIBAN
The IsIBAN decorator gained an IsIBANOptions argument, and the commit is marked as a breaking change. Review existing IsIBAN usages. npmjs.com
class-validator 0.14.2 breaking changes
- Default changed
forbidUnknownValues
When no validatorOptions are passed, forbidUnknownValues now defaults to true, so objects with no matching validation metadata fail validation. Pass forbidUnknownValues: false explicitly to keep the previous behavior. github.com
class-validator 0.14.0 breaking changes
- Behavior changed
@NestedValidation
Nested validation errors were previously sometimes attached to the parent; they are now attached to the child being validated, so code reading error locations may need updating. github.com - Default changed
forbidUnknownValues
Validation now forbids unknown values by default, so classes without metadata or groups that apply no validation will fail. Pass forbidUnknownValues: false to restore the old behavior. github.com - Signature changed
IsAlpha
Was function IsAlpha(locale?: string, validationOptions?: ValidationOptions): PropertyDecorator; now function IsAlpha(locale?: ValidatorJS.AlphaLocale, validationOptions?: ValidationOptions): PropertyDecorator. npmjs.com - Signature changed
IsAlphanumeric
Was function IsAlphanumeric(locale?: string, validationOptions?: ValidationOptions): PropertyDecorator; now function IsAlphanumeric(locale?: ValidatorJS.AlphanumericLocale, validationOptions?: ValidationOptions): PropertyDecorator. npmjs.com - Signature changed
isArray
Was function isArray(value: unknown): boolean; now function isArray<T = any>(value: unknown): value is Array<T>. npmjs.com - Signature changed
isBoolean
Was function isBoolean(value: unknown): boolean; now function isBoolean(value: unknown): value is boolean. npmjs.com - Signature changed
isDate
Was function isDate(value: unknown): boolean; now function isDate(value: unknown): value is Date. npmjs.com - Signature changed
isInt
Was function isInt(val: unknown): boolean; now function isInt(val: unknown): val is Number. npmjs.com - Signature changed
isNumber
Was function isNumber(value: unknown, options?: IsNumberOptions): boolean; now function isNumber(value: unknown, options?: IsNumberOptions): value is number. npmjs.com - Signature changed
isObject
Was function isObject(value: unknown): value is object; now function isObject<T = object>(value: unknown): value is T. npmjs.com
And 6 more in this version. Sign up to see every change
class-validator 0.13.0 breaking changes
- Removed
LENGTH
LENGTH was removed in class-validator 0.13.0 npmjs.com - Behavior changed
IsDateString
The IsDateString decorator now validates the same way as IsISO8601, so values it accepted before may be checked differently. Review code that relies on its previous results. github.com - Signature changed
isDateString
Was function isDateString(value: unknown): boolean; now function isDateString(value: unknown, options?: ValidatorJS.IsISO8601Options): boolean. npmjs.com - Signature changed
IsDateString
Was function IsDateString(validationOptions?: ValidationOptions): PropertyDecorator; now function IsDateString(options?: ValidatorJS.IsISO8601Options, validationOptions?: ValidationOptions): PropertyDecorator. npmjs.com - Signature changed
IsEnum
Was function IsEnum(entity: Object, validationOptions?: ValidationOptions): PropertyDecorator; now function IsEnum(entity: object, validationOptions?: ValidationOptions): PropertyDecorator. npmjs.com - Signature changed
isIn
Was function isIn(value: unknown, possibleValues: unknown[]): boolean; now function isIn(value: unknown, possibleValues: readonly unknown[]): boolean. npmjs.com - Signature changed
IsIn
Was function IsIn(values: any[], validationOptions?: ValidationOptions): PropertyDecorator; now function IsIn(values: readonly any[], validationOptions?: ValidationOptions): PropertyDecorator. npmjs.com - Signature changed
isMobilePhone
Was function isMobilePhone(value: unknown, locale?: validator.MobilePhoneLocale, options?: validator.IsMobilePhoneOptions): boolean; now function isMobilePhone(value: unknown, locale?: ValidatorJS.MobilePhoneLocale, options?... npmjs.com - Signature changed
IsMobilePhone
Was function IsMobilePhone(locale?: validator.MobilePhoneLocale, options?: validator.IsMobilePhoneOptions, validationOptions?: ValidationOptions): PropertyDecorator; now function IsMobilePhone(locale?: ValidatorJS.MobilePhoneLocale... npmjs.com - Signature changed
isNotEmptyObject
Was function isNotEmptyObject(value: unknown): boolean; now function isNotEmptyObject(value: unknown, options?: {nullable?: boolean;}): boolean. npmjs.com
And 16 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.