Packages

yup

1.7.1 · 21 Sep 2025MIT16.7M / weekRepositorynpmAtom feed

Upgrading yup from 0.6.3 to 0.7.0

1 release in betweenevery note read

Other targets from 0.6.3Newest 0.x0.32.11Latest1.7.1
0
changes to make
0
advisories fixed
2
new
0
fixes

Release by release

  1. 0.7.0

    21 Apr 20152 new
    • new

      Expose advanced signature for custom validation tests, gives finer grained control over how tests are added

    • new

      Added the abortEarly (default: true) option

3 other lines we could not sort, mostly version bumps
  • The validation() method has been renamed to test() and has a new signature requiring a name argument

    0.7.0
  • Exclusive validations now trump the previous one instead of defering to it e.g: string().max(10).max(15) has a max of 15 instead of 10

    0.7.0
  • Transforms are passed an addition parameter: 'originalValue' you allow recovering from a bad transform further up the chain (provided no one mutated the value)

    0.7.0