Packages

valibot

1.5.0 · 9 Sep 2026MIT32M / weekRepositoryHomepagenpmAtom feed

Your version

1.1.0

6 May 2025Where it was published

1.5.0 is the newest release of 1.x.

In short

8 new1 fixed2 changed

Security

2 advisories affect 1.1.0; 1.4.2 fixes them

Release note

Many thanks to @EltonLobo07, @sacrosanctic, @muningis, @EskiMojo14, @MOZGIII, @vktrl and @jasperteo for contributing to this release.

Read the release notes on our website for a quick overview of the most exciting new features in this release.

  • Add message method to overwrite local error message configuration of a schema (pull request #1103)

  • Add summarize method to summarize issues into a pretty-printable multi-line string (pull request #1158)

  • Add getTitle, getDescription and getMetadata methods to extract metadata of a schema (pull request #1154)

  • Add minEntries and maxEntries validation action to validate number of object entries (pull request #1100)

  • Add entries and notEntries validation action to validate number of object entries (pull request #1156)

  • Add parseJson and stringifyJson transformation action to parse and stringify JSON (pull request #1137)

  • Add flavor transformation action to flavor the output type of a schema (pull request #950)

  • Add support for bigints to multipleOf validation action (pull request #1164)

  • Change implementation of variant and variantAsync schema to improve performance by aborting validation of discriminators early (pull request #1110)

  • Change name of NanoIDAction and NanoIDIssue interface to NanoIdAction and NanoIdIssue (pull request #1171)

  • Fix internal MarkOptional type to fix input and output type of objects in edge cases (issue #1176)