valibot
1.5.0 · 9 Sep 2026MIT32M / weekRepositoryHomepagenpmAtom feed
Upgrading valibot from 0.29.0 to 0.30.0
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 3
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- breaking0.30.0
- breaking0.30.0
Security
1 advisory still affects 0.30.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
DefaultandDefaultAsynctype and refactor codebase - new
Add
FallbackandFallbackAsynctype and refactor codebase - new
Add
isOfTypetype guard util to check the type of an object - fixed
Fix
NestedPathtype offlattenfor async schemas (issue #456) - fixed
Fix implementation of
DefaultValuetype for transformed values
- new
1 other line we could not sort, mostly version bumps
- 0.30.0
Refactor
getDefaultsandgetDefaultsAsyncmethod (pull request #259)