Packages

valibot

1.5.0 · 9 Sep 2026MIT32M / weekRepositoryHomepagenpmAtom feed

Upgrading valibot from 0.19.0 to 0.20.0

1 release in betweenevery note read

Other targets from 0.19.0Newest 0.x0.42.1Clears its advisory1.4.2Latest1.5.0
1
change to make
0
advisories fixed
8
new
1
fix

Before you upgrade

Tick each one off as you go
  • deprecated0.20.0

Security

1 advisory still affects 0.20.0

Upgrading to 1.4.2 clears it.

Release by release

  1. 0.20.0

    31 Oct 20238 new · 1 fix
    • new

      Add getRestAndDefaultArgs utility function

    • new

      Add rest argument to object and objectAsync schema

    • new

      Add variant and variantAsync schema (issue #90, #216)

    • new

      Add getFallback property to schema in fallback method (pull request #177)

17 other lines we could not sort, mostly version bumps
  • Improve security of regular expressions (pull request #202)

    0.20.0
  • Improve optional, optionalAsync, nullable, nullableAsync, nullish and nullishAsync schema

    0.20.0
  • Change ObjectSchema and ObjectSchemaAsync type

    0.20.0
  • Change type check in tuple and tupleAsync to be less strict

    0.20.0
  • Change return type of action argument in coerce and coerceAsync to unknown

    0.20.0
  • Change type of brand, getDefault, transform and transformAsync method

    0.20.0
  • Change type of array, arrayAsync, intersection, intersectionAsync, map, mapAsync, object, objectAsync, union, unionAsync, record, recordAsync, set, setAsync, tuple and tupleAsync schema

    0.20.0
  • Rename schema property of every schema type to type

    0.20.0
  • Rename intersection and intersectionAsync schema to intersect and intersectAsync

    0.20.0
  • Rename enumType and enumTypeAsync schema to picklist and picklistAsync

    0.20.0