Releases: fabian-hiller/valibot
v0.35.0
v0.34.0
Many thanks to @Saeris, @Jimdooz, @Kenzo-Wada and @sillvva for contributing to this release.
- Add
file
,function
andpromise
schema - Add
awaitAsync
action to await promise in pipeline - Add
operation
property tofilterItems
,findItem
,mapItems
,reduceItems
andsortItem
action - Rename
action
argument offilterItems
,findItem
,mapItems
,reduceItems
andsortItem
action tooperation
- Rename
action
argument and property oftransform
andtransformAsync
action tooperation
- Change and improve implementation of
_stringify
util
v0.33.3
v0.33.2
Many thanks to @allezxandre for contributing to this release.
- Fix type exports for JSR and Deno (pull request #663)
v0.33.1
- Fix types of
partialCheck
andpartialCheckAsync
action
v0.33.0
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
andpartialCheckAsync
action (issue #76, #145, #260) - Add
checkItems
,filterItems
,findItem
,mapItems
,reduceItems
andsortItem
action (issue #595) - Rename
every
andsome
action toeveryItem
andsomeItem
- Rename
_isAllowedObjectKey
to_isValidObjectKey
and add check for inherited properties - Remove
RecordPathItem
andTuplePathItem
type and refactor code - Fix
received
property of issue indate
schema for invalid dates (issue #654)
v0.32.0
Many thanks to @ruiaraujo012, @jansedlon, @ksjitendra18 and @megacherry for contributing to this release.
- Add
rawCheck
,rawCheckAsync
,rawTransform
andrawTransformAsync
action (issue #597) - Change
FlatErrors
type for better developer experience (discussion #640) - Change
pipe
andpipeAsync
method to mark output as untyped only when necessary (discussion #613) - Remove unused
skipPipe
option fromConfig
type and refactor library - Fix
this
reference inlooseTuple
,looseTupleAsync
,strictTuple
,strictTupleAsync
,tuple
,tupleAsync
,tupleWithRest
andtupleWithRestAsync
schema (pull request #649) - Fix type of
options
key inEnumSchema
interface
v0.31.1
v0.31.0
Many thanks to @Afsoon, @AlexXanderGrib, @Andarist, @AndreyYolkin, @ariskemper, @Demivan, @DylanThomasFr, @EltonLobo07, @GabrielHangor, @Hugos68, @IlyaSemenov, @MohammedEsafi, @MrGeniusProgrammer, @Saeris, @Sandros94, @Sec-ant, @alexbit-codemod, @ammarriq, @anuraghazra, @arybitskiy, @bingtsingw, @brandonpittman, @brenelz, @chertik77, @chimame, @christophsturm, @dboune, @devcaeg, @dusty, @fredericoo, @gmaxlev, @homersimpsons, @jansedlon, @jchatard, @joshwashywash, @jsudelko, @juliusmarminge, @kovalchukq, @linkb15, @lukemorton, @macarie, @morgante, @mtt-artis, @mutewinter, @mxdvl, @nakanoasaservice, @naveen-bharathi, @sacrosanctic, @samualtnorman, @saturnonearth, @seren5240, @sillvva, @ssalbdivad, @vladshcherbin, @xcfox, @yudinmaxim, @znycheporuk and many others for contributing to this release.
To migrate from an older version, please see the official migration guide and our announcement post.
v0.31.0-rc.12
To migrate from an older version, please see the official migration guide: https://valibot.dev/guides/migrate-to-v0.31.0/
- Add
getDotPath
util and refactorflatten
method - Change key and generic of
FlatErrors
type offlatten
method