Adonisjs Validator Versions Save

Schema based validator for AdonisJS

v13.0.2

4 months ago

Please see the following the following releases to learn more about breaking changes and additions :

[!IMPORTANT] This validator is now legacy and has been ported to facilitate migration to AdonisJS 6. We now recommend migrating to VineJS and also using it for new projects.

Docs : https://v6-migration.adonisjs.com/guides/validator-introduction

Commits

  • Merge branch 'develop' ab3c110
  • chore: publish under latest tag 8ec7567
  • Merge pull request #180 from adonisjs/next f0fbb2e
  • chore: update readme fe08b54
  • fix: remove duplicate code 03754d1
  • style: lint 05a47a2
  • Merge branch 'develop' into next abcfef0
  • feat: BigInt support 81aa868
  • style: lint aaeb7ff
  • fix: request module augmentation with validate 423a15f
  • fix: type errors coming from validatorJs 5c89c2e
  • chore: update dependencies 2fb440f
  • style: lint files 1017157
  • chore(release): 12.6.0 5b3356f
  • feat(validation/bigint): allow to cast a number to bigint 233d206
  • fix(validation/bigint): cast bigint like string to bigint 792dcd2
  • feat: add bigint type validation d51a7d3
  • fix: correct tests e15605d
  • chore: bump version c24981f
  • chore: update dependencies f910de0
  • chore: update dependencies 4f7333f
  • fix: handle infinite values and fail validation d1b41ae

https://github.com/adonisjs/validator/compare/v13.0.2-3...v13.0.2

New Contributors

Full Changelog: https://github.com/adonisjs/validator/compare/v12.4.2...v13.0.2

v12.6.0

6 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/adonisjs/validator/compare/12.5.0...v12.6.0

12.5.0

9 months ago

What's Changed

Full Changelog: https://github.com/adonisjs/validator/compare/v12.4.2...12.5.0

v13.0.2-3

10 months ago

With this release, we pull @adonisjs/validator out of the core and do not recommend it for v6 apps. v6 apps should use VineJS.

However, existing apps migrating to v6 can install this package and continue using it.

Commits.

  • chore: publish providers folder ee4eaf2
  • feat: make adonisjs/validator to be usable directly 7a53283
  • chore: add engines to package.json file 1411721
  • chore: do not publish source files 5eed18d
  • chore: use @adonisjs/tooling presets for tooling config a0b2318
  • chore: upgrade japa to v3 4c34266
  • chore: update dependencies 623d90a

Full Changelog: https://github.com/adonisjs/validator/compare/v13.0.2-2...v13.0.2-3

v13.0.2-2

1 year ago
  • chore: update dependencies a0beabb

Full Changelog: https://github.com/adonisjs/validator/compare/v13.0.2-1...v13.0.2-2

v13.0.2-1

1 year ago
  • chore: publish source and generate delcaration map 32fe3c4
  • docs: update License file 198061d
  • chore: update dependencies 33daa47
  • chore: update dependencies 60f93a0

Full Changelog: https://github.com/adonisjs/validator/compare/v13.0.2-0...v13.0.2-1

v13.0.2-0

1 year ago
  • chore: update dependencies 1d9031d

Full Changelog: https://github.com/adonisjs/validator/compare/v13.0.1-0...v13.0.2-0

v13.0.1-0

1 year ago
  • chore: update dependencies 588ac12
  • chore: update dependencies ad7fa4f

Full Changelog: https://github.com/adonisjs/validator/compare/v13.0.0-0...v13.0.1-0

v13.0.0-0

1 year ago

Breaking changes

  • The package is pure ESM and cannot be imported inside CJS projects
  • Removed @ioc imports in favor of standard imports. You can re-write the validator import as follows.
    -  import { schema, validator, rules } from '@ioc:Adonis/Core/Validator'
    +  import { schema, validator, rules } from '@adonisjs/core/validator'
    

That's all! There are no other breaking changes

Side notes

We have some plans to drastically improve the validator, but given how widespread the validator is used in every AdonisJS project, we are not planning to have any breaking changes in v6.

Post v6, we will publish an alternate package with the new API and the performance improvements. So that you can incrementally move from existing validator to the new one.

Commits

  • docs: update readme 369a744
  • refactor: update benchmarks code df96c6b
  • test: improve testing ac6f140
  • style: update license docblock 5cb3365
  • chore: add missing peer dependencies 681d4d1
  • chore: update dependencies 34f0837
  • refactor: first phase of cleanup for v6 5d3b734

Full Changelog: https://github.com/adonisjs/validator/compare/v12.4.2...v13.0.0-0

v12.4.2

1 year ago
  • fix: mutating a value should recompute the existence of the value eb321b5
  • chore: update dependencies a1a69bc

https://github.com/adonisjs/validator/compare/v12.4.1...v12.4.2