Bump class-validator and routing-controllers in /catalog
Bumps class-validator to 0.14.0 and updates ancestor dependency routing-controllers. These dependencies need to be updated together.
Updates class-validator from 0.12.2 to 0.14.0
Changelog
Sourced from class-validator's changelog.
0.14.0 (2022-12-09)
Added
- add
@IsTimeZonedecorator to check if given string is valid IANA time zone- add
@IsISO4217CurrencyCodedecorator to check if the string is an ISO 4217 currency code- add
@IsStrongPassworddecorator to check if given password matches specific complexity criteria- add
@IsBase58decorator to check if a string is base58 encoded- add
@IsTaxIddecorator to check if a given string is a valid tax ID in a given locale- add support for passing function as date generator in
@MinDateand@MaxDatedecorators- add option to print constraint error message instead of constraint type in validation error
- improve decorator metadata lookup performance
- return possible values in error message for
@IsEnumdecoratorFixed
- re-added
@types/validatoras dependency- fix error generation when using
@NestedValidation- pass validation options correctly to validator in
@IsDateStringdecorator- support passing
Symbolas parameter in error message generation- specify supported locales for
@IsAlphanumericdecorator- correctly assign decorator name in metadata instead of loosing it
- fix various spelling errors in documentation
- fix various spelling errors and inconsistencies in JSDoc for decorators
Changed
- enable
forbidUnknownValuesoption by default- remove documentation about deprecated schema based validation and added warning
- update warning message logged about missing decorator metadata
- update
libphonenumber-jsto^1.10.14from^1.9.43- update various dev-dependencies
BREAKING CHANGES
forbidUnknownValuesoption is enabled by defaultFrom this release the
forbidUnknownValuesis enabled by default. This is the desired behavior for majority of use-cases, but this change may break validation for some. The two scenarios that results in failed validation:
- when attempting to validate a class instance without metadata for it
- when using group validation and the specified validation group results in zero validation applied
The old behavior can be restored via specifying
forbidUnknownValues: falseoption when calling the validate functions.For more details see [PR #1798](typestack/class-validator#1798) and #1422 (comment).
@NestedValidationdecorator correctly assigns validation errorsUntil now the errors from a nested validation in some cases were incorrectly assigned
... (truncated)
Commits
5f0d424merge: release 0.14.0 (#1841)e3d0708build: bump version to 0.14.0ad76890docs: add changelog for 0.14.09a775c5build(deps-dev): bump@types/nodefrom 18.11.11 to 18.11.12 (#1840)53bc9f6build(deps-dev): bump@typescript-eslint/eslint-plugin(#1837)d9b4072build(deps-dev): bump@typescript-eslint/parserfrom 5.45.1 to 5.46.0 (#1838)f993e9ebuild(deps-dev): bump typescript from 4.9.3 to 4.9.4 (#1835)ad1a41dbuild(deps-dev): bump@rollup/plugin-commonjsfrom 23.0.3 to 23.0.4 (#1836)42b4f7fbuild(deps-dev): bump prettier from 2.8.0 to 2.8.1 (#1834)0c986d4build(deps-dev): bump@types/nodefrom 18.11.10 to 18.11.11 (#1833)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by typestack-release-bot, a new releaser for class-validator since your current version.
Updates routing-controllers from 0.9.0 to 0.10.3
Changelog
Sourced from routing-controllers's changelog.
0.10.3 (2023-04-17)
Changed
globpackage updated to10.1.0from8.1.0koapackage updated to2.14.2from2.14.1koa-bodyparsepackage updated to4.4.0from4.3.0- updated various dev dependencies
Fixed
- Fixed koa uploaded file accessor
0.10.2 (2023-03-06)
Changed
globpackage updated to8.1.0from8.0.3body-parserpackage updated to1.20.2from1.20.1multerpackage updated to1.4.5-lts.1from1.4.4
- Note: This fixes vulnerability CVE-2022-24434
- updated various dev dependencies
Fixed
- Added normalization to glob pattern resolver to fix Windows paths
0.10.1 (2023-01-13)
Changed
class-validatorpackage updated to0.14.0from0.13.2
- Note: class-validator 0.14.0 enables
forbidUnknownValuesby default, but this is overridden in routing-controllers to prevent a breaking change. You can still enable it like before.koapackage updated to2.14.1from2.13.4- updated various dev dependencies
0.10.0 (2022-12-9)
Added
isArrayoption for@QueryParamChanged
class-transformerpackage updated to0.5.1from0.3.1class-validatorpackage updated to0.13.2from0.12.2cookiepackage updated to0.5.0from0.4.0globpackage updated to8.0.3from7.1.4expresspackage updated to4.18.2from4.17.1and moved tooptionalDependenciesexpress-sessionpackage updated to1.17.1from1.17.3and moved tooptionalDependencies
... (truncated)
Commits
9a2428bmerge: release v0.10.3 (#1111)866602bbuild(deps-dev): bump@typescript-eslint/parserfrom 5.58.0 to 5.59.0 (#1110)30c9e3cbuild: bump version to v0.10.3118886cdocs: add changelog for v0.10.30ff11ccbuild(deps): bump glob from 10.0.0 to 10.1.0 (#1108)037bdc8build(deps): bump koa from 2.14.1 to 2.14.2 (#1107)9bcbe99fix: koa uploaded file decorators (#1103)6767942build(deps-dev): bump eslint from 8.37.0 to 8.38.0 (#1106)62c135fbuild(deps-dev): bump@typescript-eslint/parserfrom 5.57.1 to 5.58.0 (#1105)e0e4113build(deps-dev): bump@typescript-eslint/eslint-plugin(#1104)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.