All Versions
81
Latest Version
Avg Release Cycle
33 days
Latest Release
84 days ago

Changelog History
Page 1

  • v0.32.9 Changes

    February 17, 2021

    ๐Ÿ› Bug Fixes

  • v0.32.6 Changes

    December 08, 2020

    ๐Ÿ› Bug Fixes

  • v0.32.5 Changes

    December 07, 2020

    ๐Ÿ› Bug Fixes

    • types: change base.default() to any (01c6930)
  • v0.32.4 Changes

    December 07, 2020

    ๐Ÿ› Bug Fixes

    • types: rm base pick/omit types as they conflict with more specific ones (14e2c8c)

    ๐Ÿ”‹ Features

    • โž• add additional functions to Lazy class (#1148) (ecad1a3)
  • v0.32.3 Changes

    December 07, 2020

    ๐Ÿ› Bug Fixes

    • types: AnyObjectSchema anys (1c54665)
  • v0.32.2 Changes

    December 07, 2020

    ๐Ÿ› Bug Fixes

  • v0.32.1 Changes

    December 04, 2020

    ๐Ÿ› Bug Fixes

  • v0.32.0 Changes

    December 03, 2020

    ๐Ÿ”‹ Features

    ๐Ÿ’ฅ BREAKING CHANGES

    • ๐Ÿ”€ concat doesn't check for "unset" nullable or presence when merging meaning the nullability and presence will always be the same as the schema passed to concat(). They can be overridden if needed after concatenation
    • schema factory functions are no longer constructors. The classes are now also exported for extension or whatever else. e.g. import { StringSchema, string } from 'yup'
  • v0.31.1 Changes

    December 01, 2020

    ๐Ÿ› Bug Fixes

    • โœ… swallowed errors on nested schema with no tests (5316ab9), closes #1127

    ๐Ÿ”‹ Features

    • โž• add isTrue and isFalse checks on boolean (#910) (630a641)
  • v0.31.0 Changes

    November 23, 2020

    ๐Ÿ› Bug Fixes

    ๐Ÿ”‹ Features

    • โž• add array.length() and treat empty arrays as valid for required() (fbc158d)
    • โž• add object.pick and object.omit (425705a)
    • ๐Ÿ—„ deprecate the getter overload of default() (#1119) (5dae837)
    • more strictly coerce strings, exclude arrays and plain objects (963d2e8)

    ๐Ÿ’ฅ BREAKING CHANGES

    • array().required() will no longer consider an empty array missing and required checks will pass.

    To maintain the old behavior change to:

    array().required().min(1)
    
    • plain objects and arrays are no long cast to strings automatically

    to recreate the old behavior:

    string().transform((_, input) => input != null && input.toString ? input.toString() : value);