valibot
1.5.0 · 9 Sep 2026MIT32M / weekRepositoryHomepagenpmAtom feed
Upgrading valibot from 1.0.0 to 1.1.0
1 release in betweenevery note read
Security
2 advisories still affect 1.1.0
- Valibot: record() issue paths can make flatten() throw for inherited Object property namesmoderate · GHSA-5qjj-4xww-7phc
- Valibot has a ReDoS vulnerability in `EMOJI_REGEX`high · GHSA-vqpr-j7v3-hqw9
Upgrading to 1.4.2 clears them.
Release by release
- new
Add
messagemethod to overwrite local error message configuration of a schema (pull request #1103) - new
Add
summarizemethod to summarize issues into a pretty-printable multi-line string (pull request #1158) - new
Add
getTitle,getDescriptionandgetMetadatamethods to extract metadata of a schema (pull request #1154) - new
Add
minEntriesandmaxEntriesvalidation action to validate number of object entries (pull request #1100)
- new
2 other lines we could not sort, mostly version bumps
- 1.1.0
Change implementation of
variantandvariantAsyncschema to improve performance by aborting validation of discriminators early (pull request #1110) - 1.1.0
Change name of
NanoIDActionandNanoIDIssueinterface toNanoIdActionandNanoIdIssue(pull request #1171)