yup
1.7.1 · 21 Sep 2025MIT16.7M / weekRepositorynpmAtom feed
0.32.11 is the newest release of 0.32.x.
In short
2 breaking1 new
- breaking
concatdoesn't check for "unset" nullable or presence when merging meaning the nullability and presence will always be the same as the schema passed toconcat(). 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
concatdoesn't check for "unset" nullable or presence when merging meaning the nullability and presence will always be the same as the schema passed toconcat(). 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'