Packages

yup

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

Your version

0.32.0

3 Dec 2020Where it was published

0.32.11 is the newest release of 0.32.x.

In short

2 breaking1 new

  • breaking

    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

  • breaking

    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'

Release note

Features

  • Typescript support

Breaking changes

  • breaking

    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

  • breaking

    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'