yup
1.7.1 · 21 Sep 2025MIT16.7M / weekRepositorynpmAtom feed
0.32.11 is the newest release of 0.27.x.
In short
2 breaking7 new4 fixed1 internal
- breaking
reach() no longer resolves the returned schema meaning it's conditions have not been processed yet; prefer validateAt/castAt where it makes sense
- breaking
Required no longer shows up twice in describe() output for array and strings, which also no longer override required
Release note
Bug Fixes
Change @babel/runtime version to be a range (#488) (1c9b362), closes #486
Concat of mixed and subtype
Default message for test with object
noUnknown() overriding
Features
Add _isFilled as overrideable
mixedmethod to control required behaviorAliases
optional()andunknown()Allow toggling strict()
Allow withMutation() nesting
Do concat in mutation mode
Finalize resolve()
Support self references (#443) (1cac515), closes /github.com/jquense/yup/blob/d02ff5e59e004b4c5189d1b9fc0055cff45c61df/src/Reference.js#L3
Breaking changes
- breaking
reach() no longer resolves the returned schema meaning it's conditions have not been processed yet; prefer validateAt/castAt where it makes sense
- breaking
Required no longer shows up twice in describe() output for array and strings, which also no longer override required