Packages

valibot

1.5.0 · 9 Sep 2026MIT32M / weekRepositoryHomepagenpmAtom feed

Upgrading valibot from 0.42.1 to 1.0.0

1 release in betweenevery note read

Other targets from 0.42.1Clears its 2 advisories1.4.2Latest1.5.0
The note of 1.0.0 lists no breaking change or deprecation, which is rare for a major.
?
changes to make
0
advisories fixed
14
new
5
fixes

Security

Release by release

  1. 1.0.0

    19 Mar 202514 new · 5 fixes
    • new

      Add assert method to assert values (issue #862)

    • new

      Add checkItemsAsync action (pull request #856)

    • new

      Add graphemes, maxGraphemes, minGraphemes and notGraphemes action (pull request #853)

    • new

      Add words, maxWords, minWords and notWords action

15 other lines we could not sort, mostly version bumps
  • Change types and implementation to support Standard Schema

    1.0.0
  • Change behaviour of minValue and maxValue for NaN (pull request #843)

    1.0.0
  • Change type and behaviour of nullable, nullableAsync, nullish, nullishAsync, optional, optionalAsync, undefinedable and undefinedableAsync for undefined default value (issue #878)

    1.0.0
  • Change type signature of partialCheck and partialCheckAsync action to add .pathList property in a type-safe way

    1.0.0
  • Change type signature of findItem action to support type predicates (issue #867)

    1.0.0
  • Change MarkOptional type to fix order of entries and TS error when using generic schemas (issue #1021)

    1.0.0
  • Change VariantOption and VariantOptionAsync type to fix TS error when using generic schemas (issue #842)

    1.0.0
  • Change implementation of variant and variantAsync to support optional discriminators using exactOptional, exactOptionalAsync, optional, optionalAsync, nullish or nullishAsync

    1.0.0
  • Change _addIssue to not ignore empty strings as error message (pull request #1065)

    1.0.0
  • Change ISO_DATE_TIME_REGEX and ISO_TIMESTAMP_REGEX to support space as separator (pull request #1064)

    1.0.0