From 0df70d2100d5a06c9a1526627f214457eaa650ec Mon Sep 17 00:00:00 2001 From: Brage Sekse Aarset Date: Wed, 25 Feb 2026 11:17:58 +0200 Subject: [PATCH] chore: release 0.15.0 --- CHANGELOG.md | 21 ++++++++++++++++++++- package-lock.json | 4 ++-- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ef4b7ada..2deb5d136 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,26 @@ _This changelog follows the [keep a changelog][keep-a-changelog]_ format to maintain a human readable changelog. -## [0.14.4](https://github.com/typestack/class-validator/compare/v0.14.3...v0.14.4) (2026-01-13) +## [0.15.0](https://github.com/typestack/class-validator/compare/v0.14.4...v0.15.0) (2026-02-25) + +### BREAKING CHANGES + +- Added options argument to IsIBAN validator ([#2618](https://github.com/typestack/class-validator/pull/2618)), which breaks any existing usage of this decorator that pass an argument to the decorator, e.g. `@IsIBAN({forbidUnknownValues: false})` + +### Fixed + +- Updated lockfile to patch vulnerabilities ([#2669](https://github.com/typestack/class-validator/pull/2669)) +- Fixed a small grammatical error in the docs ([#2596](https://github.com/typestack/class-validator/pull/2596)) + +### Added + +- Added `validateIf` option to all validators, providing a lot more flexibility in using conditional validation ([#1579](https://github.com/typestack/class-validator/pull/1579)) +- Added IsISO31661Numeric validator for country codes ([#2657](https://github.com/typestack/class-validator/pull/2657)) +- Added IsISO6391 validator for language codes ([#2626](https://github.com/typestack/class-validator/pull/2626)) +- Added more versions to IsUUID validator options. ([#2647](https://github.com/typestack/class-validator/pull/2647)) +- + +## [0.14.4](https://github.com/typestack/class-validator/compare/v0.14.3...v0.14.4) (2026-02-25) - Updated validator.js to 13.15.22 ([#2649](https://github.com/typestack/class-validator/pull/2649)) diff --git a/package-lock.json b/package-lock.json index 68568d22b..7d0ac0d41 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "class-validator", - "version": "0.14.4", + "version": "0.15.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "class-validator", - "version": "0.14.4", + "version": "0.15.0", "license": "MIT", "dependencies": { "@types/validator": "^13.15.3",