Skip to content

Releases: AmauryD/fastest-validator-decorators

v2.2.0

13 Oct 08:55
ef1c358
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.1...v2.2.0

v2.1.1

23 Feb 08:25
Compare
Choose a tag to compare

What's Changed

  • Use Nested options validator as priority validator by @alexhutsau in #39

New Contributors

Full Changelog: v2.1.0...v2.1.1

2.1.0

12 Feb 20:05
Compare
Choose a tag to compare

Features

  • Add @Multi decorator for multi type.

2.0.1

27 Sep 20:19
Compare
Choose a tag to compare

BugFixes

  • Added an error message and how to resolve the issue when Reflect fails to get "design:type" of class property.

Others

  • Tests in Node 16, 18 & 20.
  • Update dependencies.

V2.0.0

22 Oct 14:55
Compare
Choose a tag to compare

Need help to migrate to 2.x ? See MIGRATING.

Breaking changes 💥

  • @Schema now only accepts an object parameter.
  • @Schema second parameter is now all the options possible for the FastestValidator.
  • SchemaBase has been removed.
  • fastest-validator has been moved to peerDependencies.
  • Decorators only apply "type" property to Schema.

Features 🆕

  • All decorators are fully typed.
  • @NestedArray decorator, same behavior as @Nested but for arrays.

v2.0.0-alpha.0

10 Sep 07:04
Compare
Choose a tag to compare
v2.0.0-alpha.0 Pre-release
Pre-release

Hello everyone,

I'm releasing an alpha for the 2.x version. It will be a pleasure to have some feedback about the changes made from 1.x.

How to migrate from 1.x is explained in the README.md.

Because it's an alpha, some things are subject to breaking changes.

Breaking changes 💥

  • @Schema now only accepts an object parameter.
  • @Schema second parameter is now all the options possible for the FastestValidator.
  • SchemaBase has been removed.
  • fastest-validator has been moved to peerDependencies.
  • All decorators are fully typed.
  • Decorators only apply "type" property to schema.

How do i use this release ?

<pnpm|yarn|npm> add [email protected]

1.3.1

03 Sep 12:48
Compare
Choose a tag to compare

Fixes

Other

  • Bump fastest-validator to 1.15.0
  • Bump dev dependencies

v1.3.0

06 Jul 20:23
Compare
Choose a tag to compare

Features

  • Async validation support #26

Bugfixes

  • Fix schema properties inheritance #21

Other

  • Documentation #13
  • New maintainer
  • Github actions CI
  • Upgrade dependencies

v1.3.0-beta.0

06 Jul 15:48
Compare
Choose a tag to compare
v1.3.0-beta.0 Pre-release
Pre-release
some comments