valibot
1.5.0 · 9 Sep 2026MIT32M / weekRepositoryHomepagenpmAtom feed
Upgrading valibot from 0.21.0 to 0.22.0
1 release in betweenevery note read
Security
1 advisory still affects 0.22.0
- Valibot: record() issue paths can make flatten() throw for inherited Object property namesmoderate · GHSA-5qjj-4xww-7phc
Upgrading to 1.4.2 clears it.
Release by release
- new
Add support for boolean to
notValuevalidation (pull request #261) - new
Add
.typedto schema validation result and execute pipeline of complex schemas if output is typed (issue #76, #145) - new
Add
skipPipeoption toistype guard method (pull request #166) - fixed
Fix
RecordInputandRecordOuputtype when usingunionAsyncas key - fixed
Fix output type for
nullable,nullableAsync,nullish,nullishAsync,optionalandoptionalAsyncwhen using a default value (issue #271)
- new
2 other lines we could not sort, mostly version bumps
- 0.22.0
Change return type of
safeParseandsafeParseAsyncmethod - 0.22.0
Rename and change util functions and refactor codebase