Skip to content

Releases: fabian-hiller/valibot

v0.31.0-rc.6

29 May 00:19
Compare
Choose a tag to compare
v0.31.0-rc.6 Pre-release
Pre-release

Many thanks to @devcaeg, @EltonLobo07, @vladshcherbin and @ammarriq for contributing to this release.

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

  • Change object check to be less stringent, making object schemas more compatible and flexible for different environments and use cases (issue #587, #602, #608)
  • Fix _stringify util for custom and modified objects (issue #608)

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-to-v0.31.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-to-v0.31.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-to-v0.31.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-to-v0.31.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-to-v0.31.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-to-v0.31.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)