Skip to content

Releases: fabian-hiller/valibot

v0.31.0-rc.5

25 May 04:25
Compare
Choose a tag to compare
v0.31.0-rc.5 Pre-release
Pre-release

Many thanks to @naveen-bharathi for contributing to this release.

To migrate from an older version, please see the official migration guide: https://valibot.dev/guides/migrate-from-v0.30.0/

  • Fix input and output type of intersect schema (issue #601)

v0.31.0-rc.4

24 May 19:08
Compare
Choose a tag to compare
v0.31.0-rc.4 Pre-release
Pre-release

Many thanks to @AlexXanderGrib, @chertik77 and @chimame for contributing to this release.

To migrate from an older version, please see the official migration guide: https://valibot.dev/guides/migrate-from-v0.30.0/

  • Change emoji regex to support older JS runtimes (issue #599, #594, #596)

v0.31.0-rc.3

24 May 18:40
Compare
Choose a tag to compare
v0.31.0-rc.3 Pre-release
Pre-release

Many thanks to @chimame for contributing to this release.

To migrate from an older version, please see the official migration guide: https://valibot.dev/guides/migrate-from-v0.30.0/

  • Fix context reference of options variable in variant schema (pull request #600)

v0.31.0-rc.2

24 May 16:42
Compare
Choose a tag to compare
v0.31.0-rc.2 Pre-release
Pre-release

Many thanks to @jansedlon for contributing to this release.

To migrate from an older version, please see the official migration guide: https://valibot.dev/guides/migrate-from-v0.30.0/

  • Fix Default type for optional, nullable and nullish schema (issue #593)

v0.31.0-rc.1

23 May 16:55
Compare
Choose a tag to compare
v0.31.0-rc.1 Pre-release
Pre-release

Many thanks to @jansedlon and @mutewinter for contributing to this release.

To migrate from an older version, please see the official migration guide: https://valibot.dev/guides/migrate-from-v0.30.0/

  • Fix output type of optional, nullable and nullish schema (issue #593, #363)

v0.31.0-rc.0

20 May 22:33
Compare
Choose a tag to compare
v0.31.0-rc.0 Pre-release
Pre-release

Many thanks to @Demivan, @EltonLobo07, @xcfox, @mxdvl, @Afsoon, @IlyaSemenov, @Saeris, @devcaeg, @AndreyYolkin, @MrGeniusProgrammer, @znycheporuk, @macarie and many others for contributing to this release.

To migrate from an older version, please see the official migration guide: https://valibot.dev/guides/migrate-from-v0.30.0/

v0.30.0

07 Mar 03:31
Compare
Choose a tag to compare

Many thanks to @Saeris, @ariskemper, @mxdvl, @romeerez and @niccholaspage for contributing to this release.

  • Add Default and DefaultAsync type and refactor codebase
  • Add Fallback and FallbackAsync type and refactor codebase
  • Add isOfType type guard util to check the type of an object
  • Refactor getDefaults and getDefaultsAsync method (pull request #259)
  • Refactor getFallbacks and getFallbacksAsync method (pull request #259)
  • Change type definitions from type to interface (pull request #259, #451)
  • Remove deprecated properties of safeParse and safeParseAsync method
  • Remove any deprecated method, schema and validation functions
  • Fix NestedPath type of flatten for async schemas (issue #456)
  • Fix implementation of DefaultValue type for transformed values

v0.29.0

20 Feb 04:33
Compare
Choose a tag to compare

Many thanks to @Mini-ghost, @ivands and @Demivan for contributing to this release.

  • Add every and some pipeline validation action
  • Add input of schema to getter function of recursive and recursiveAsync schema (pull request #441)
  • Change implementation of transform and transformAsync method to only run transformations if there are no issues (issue #436)
  • Rename recursive and recursiveAsync schema to lazy and lazyAsync (issue #440)
  • Fix bug in i18n util when using setSchemaMessage

v0.28.1

06 Feb 17:50
Compare
Choose a tag to compare

Many thanks to @compulim for contributing to this release.

  • Fix bug in union and unionAsync schema for transformed inputs (issue #420)

v0.28.0

06 Feb 01:45
Compare
Choose a tag to compare

Many thanks to @LorisSigrist, @samuelstroschein, @gmaxlev, @thundermiracle, @ivanhofer, @CanRau, @zkulbeda, @lucaschultz, @paoloricciuti, @hyunbinseo, and @bertez for contributing to this release.

Note: The library has been revised and refactored. Therefore, not every change is listed in detail.

  • Add i18n feature, global configurations and improve error messages (pull request #397)
  • Add number and bigint to PicklistOptions type (issue #378)
  • Fix missing export of forwardAsync method (issue #412)