Skip to content

Releases: adonisjs/validator

Pass all email validation options down to validator.js

09 Sep 18:09
Compare
Choose a tag to compare
  • fix: pass all email validation options to validator.js 9125abe
  • chore: update dependencies (#155) 14d309c

What's Changed

Full Changelog: v12.4.0...v12.4.1

Add alpha numeric rule

09 Aug 05:22
Compare
Choose a tag to compare
  • chore: update dependencies 6315ce1
  • feat: add numeric allow for alpha rule (#148) 4577e93
  • chore: update dependencies c2c6ef1
  • ci: add --unhandled-rejections flag to capture exceptions 9caaf76

v12.3.2...v12.4.0

Fix minLength and maxLength rules to use mutated value

17 May 07:23
Compare
Choose a tag to compare

Using the original value was required before adding the trim and the escape rules. 7a0402e

Commits

  • fix: use the mutated value for validating minLength and maxLength 80081bb
  • chore: update dependencies 2d63698

Full Changelog: v12.3.1...v12.3.2

Move deprecated overloads to the bottom to have least priority

13 Apr 13:41
Compare
Choose a tag to compare
  • refactor: move deprecated overloads to the bottom to have least priority 5ea2b60

v12.3.0...v12.3.1

Add new rules and deprecate sanitization options in url and email options

07 Apr 04:32
Compare
Choose a tag to compare

New rules

  • trim - Use it instead of using the options.trim in string data type
  • escape - Use it instead of using options.escape in string data type
  • normalizeUrl - Use it instead of passing normalization options to the url rule.
  • normalizeEmail - Use it instead of passing normalization options to the email rule

Commits

  • test: fix flaky test ef5ae20
  • feat: add normalizeUrl rule and deprecate normalization options in url rule 380f8ac
  • fix: types for mobile validation rule 60b84cc
  • feat: add normalize email address rule 807e10e
  • refactor: do not use deprecated code in tests 8a723da
  • fix: pass format to the validation error message options f60dea0
  • feat: add escape and trim rules 7a0402e
  • chore: update dependencies 763aebc

v12.2.3...v12.3.0

Update dependencies

24 Mar 12:45
Compare
Choose a tag to compare
  • chore: update dependencies 50b1d84

v12.2.2...v12.2.3

Update bodyparser

25 Feb 08:32
Compare
Choose a tag to compare
  • chore: update dependencies 1c82cdd

v12.2.1...v12.2.2

Add beforeOrEqual and afterOrEqual rules

25 Feb 02:41
Compare
Choose a tag to compare

Commits

  • test: upgrade to newer version of japa 363e60b
  • refactor: reorganize meta config fd4a5e4
  • chore: update dependencies b3d55b1
  • chore: add zod to benchmarks 63db820
  • feat: Add beforeOrEqual & afterOrEqual validators (#132) 3c7e4a1
  • docs(CONTRIBUTING): update issue template links (#134) 6a27e67

New Contributors

Full Changelog: v12.2.0...v12.2.1

Add support for nullable modifier

07 Dec 10:17
Compare
Choose a tag to compare

Commits

  • test: add first testing fixture 2c1a798
  • feat: add support for nullable modifier c9a0e3a
  • chore: update dependencies 6ad7d47
  • feat: add extra options to email rule (#127) 7bebffe

New Contributors

Full Changelog: v12.1.1...v12.2.0

Re-publishing as npm had outage during last release

11 Oct 16:51
Compare
Choose a tag to compare