Skip to content

Releases: fabian-hiller/valibot

v0.36.0

05 Jul 14:13
Compare
Choose a tag to compare

Many thanks to @N0tExisting, @ksv90, @peterbe, @foster-hangdaan and @zougari47 for contributing to this release.

  • Add normalize action to normalize strings (issue #691)
  • Add support for async schemas to entriesFromList util
  • Add support for numbers and symbols to entriesFromList util (issue #492)
  • Add key property to SetPathItem type to improve DX (issue #693, #694)
  • Remove FunctionReference type and refactor code

v0.35.0

25 Jun 15:01
Compare
Choose a tag to compare

Many thanks to @jindong-zhannng, @dyljhd and @TeChn4K for contributing to this release.

  • Increase argument limit of pipe and pipeAsync method to 19 (issue #643)

v0.34.0

24 Jun 15:04
Compare
Choose a tag to compare

Many thanks to @Saeris, @Jimdooz, @Kenzo-Wada and @sillvva for contributing to this release.

  • Add file, function and promise schema
  • Add awaitAsync action to await promise in pipeline
  • Add operation property to filterItems, findItem, mapItems, reduceItems and sortItem action
  • Rename action argument of filterItems, findItem, mapItems, reduceItems and sortItem action to operation
  • Rename action argument and property of transform and transformAsync action to operation
  • Change and improve implementation of _stringify util

v0.33.3

19 Jun 21:04
Compare
Choose a tag to compare

Many thanks to @Demivan for contributing to this release.

  • Fix _isPartiallyTyped util of partialCheck and partialCheckAsync action

v0.33.2

19 Jun 11:10
Compare
Choose a tag to compare

Many thanks to @allezxandre for contributing to this release.

  • Fix type exports for JSR and Deno (pull request #663)

v0.33.1

18 Jun 21:20
Compare
Choose a tag to compare
  • Fix types of partialCheck and partialCheckAsync action

v0.33.0

18 Jun 17:58
Compare
Choose a tag to compare

Many thanks to @Demivan, @ruiaraujo012, @Karakatiza666, @micahjon, @unlinking, @demarchenac, @xsjcTony, @ziyak97 and @Lukasz17git for contributing to this release.

  • Add export alias with reserved keywords for functions with underscore suffix
  • Add partialCheck and partialCheckAsync action (issue #76, #145, #260)
  • Add checkItems, filterItems, findItem, mapItems, reduceItems and sortItem action (issue #595)
  • Rename every and some action to everyItem and someItem
  • Rename _isAllowedObjectKey to _isValidObjectKey and add check for inherited properties
  • Remove RecordPathItem and TuplePathItem type and refactor code
  • Fix received property of issue in date schema for invalid dates (issue #654)

v0.32.0

14 Jun 16:14
Compare
Choose a tag to compare

Many thanks to @ruiaraujo012, @jansedlon, @ksjitendra18 and @megacherry for contributing to this release.

  • Add rawCheck, rawCheckAsync, rawTransform and rawTransformAsync action (issue #597)
  • Change FlatErrors type for better developer experience (discussion #640)
  • Change pipe and pipeAsync method to mark output as untyped only when necessary (discussion #613)
  • Remove unused skipPipe option from Config type and refactor library
  • Fix this reference in looseTuple, looseTupleAsync, strictTuple, strictTupleAsync, tuple, tupleAsync, tupleWithRest and tupleWithRestAsync schema (pull request #649)
  • Fix type of options key in EnumSchema interface

v0.31.1

08 Jun 13:13
Compare
Choose a tag to compare

Many thanks to @Omochice for contributing to this release.

  • Fix missing file extension for Deno (pull request #637)

v0.31.0

06 Jun 12:52
Compare
Choose a tag to compare