fix(deps): update dependency valibot to v0.42.1 #1309
+17
−8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.21.0
->0.42.1
Release Notes
fabian-hiller/valibot (valibot)
v0.42.1
Compare Source
_run
propertyv0.42.0
Compare Source
Many thanks to @ajfhs812, @andrew-d-jackson and @declanlscott for contributing to this release.
metadata
action to add custom metadata to a schematitle
metadata action to add a title to a schema (discussion #826)decimal
action to validate integer and float strings (pull request #823)decimal
action todigits
(pull request #823)NoPipe
type toSchemaWithoutPipe
IssueDotPath
type (issue #814)v0.41.0
Compare Source
Many thanks to @EltonLobo07, @ZerNico, @Andarist, @ruiaraujo012 and @merodiro for contributing to this release.
reference
property of all action base types to be less strict (issue #799)variant
andvariantAsync
to improve performance and issues generation for nested variants with different discriminators (pull request #809)v0.40.0
Compare Source
Many thanks to @jasperteo, @alecmev and @cruzdanilo for contributing to this release.
nanoid
action to validate Nano IDs (pull request #789)undefinedable
andundefinedableAsync
schema (issue #385)v0.39.0
Compare Source
Many thanks to @tpetry, @incompletude, @ComradeVanti, @istonikula and @ShlokDesai33 for contributing to this release.
exactOptionalPropertyTypes
config (issue #385)IssueDotPath
type forpipe
andpipeAsync
method (issue #793)IssueDotPath
type forvariant
andvariantAsync
schema (issue #700)v0.38.0
Compare Source
Many thanks to @EltonLobo07, @samuba, @alecmev, @gflohr, @threehams and @carcinocron for contributing to this release.
expects
andexpected
property by enclosing combined values in parenthesesoptional
,optionalAsync
,nullish
andnullishAsync
schemas in objectsTuplePath
andQuestionMarkSchema
type (issue #659, #776)pipe
andpipeAsync
method (pull request #785)v0.37.0
Compare Source
Many thanks to @morinokami, @xcfox, @devcaeg, @shayneo, @Sandros94, @slevithan, @thecotne and @EltonLobo07 for contributing to this release.
base64
action to validate Base64 strings (pull request #644)description
metadata action (pull request #747)pipe
andpipeAsync
method (pull request #747)HEXADECIMAL_REGEX
(pull request #666)unknown[]
inLengthInput
type toArrayLike<unknown>
ArrayInput
andContentInput
type to useMaybeReadonly
EMOJI_REGEX
to be more accurate and strict (pull request #666)fallback
andfallbackAsync
method for specific schemas (pull request #752)fallbackAsync
method for async schemas (pull request #732)v0.36.0
Compare Source
Many thanks to @N0tExisting, @ksv90, @peterbe, @foster-hangdaan and @zougari47 for contributing to this release.
normalize
action to normalize strings (issue #691)entriesFromList
utilentriesFromList
util (issue #492)key
property toSetPathItem
type to improve DX (issue #693, #694)FunctionReference
type and refactor codev0.35.0
Compare Source
Many thanks to @jindong-zhannng, @dyljhd and @TeChn4K for contributing to this release.
pipe
andpipeAsync
method to 19 (issue #643)v0.34.0
Compare Source
Many thanks to @Saeris, @Jimdooz, @Kenzo-Wada and @sillvva for contributing to this release.
file
,function
andpromise
schemaawaitAsync
action to await promise in pipelineoperation
property tofilterItems
,findItem
,mapItems
,reduceItems
andsortItem
actionaction
argument offilterItems
,findItem
,mapItems
,reduceItems
andsortItem
action tooperation
action
argument and property oftransform
andtransformAsync
action tooperation
_stringify
utilv0.33.3
Compare Source
Many thanks to @Demivan for contributing to this release.
_isPartiallyTyped
util ofpartialCheck
andpartialCheckAsync
actionv0.33.2
Compare Source
Many thanks to @allezxandre for contributing to this release.
v0.33.1
Compare Source
partialCheck
andpartialCheckAsync
actionv0.33.0
Compare Source
Many thanks to @Demivan, @ruiaraujo012, @Karakatiza666, @micahjon, @unlinking, @demarchenac, @xsjcTony, @ziyak97 and @Lukasz17git for contributing to this release.
partialCheck
andpartialCheckAsync
action (issue #76, #145, #260)checkItems
,filterItems
,findItem
,mapItems
,reduceItems
andsortItem
action (issue #595)every
andsome
action toeveryItem
andsomeItem
_isAllowedObjectKey
to_isValidObjectKey
and add check for inherited propertiesRecordPathItem
andTuplePathItem
type and refactor codereceived
property of issue indate
schema for invalid dates (issue #654)v0.32.0
Compare Source
Many thanks to @ruiaraujo012, @jansedlon, @ksjitendra18 and @megacherry for contributing to this release.
rawCheck
,rawCheckAsync
,rawTransform
andrawTransformAsync
action (issue #597)FlatErrors
type for better developer experience (discussion #640)pipe
andpipeAsync
method to mark output as untyped only when necessary (discussion #613)skipPipe
option fromConfig
type and refactor librarythis
reference inlooseTuple
,looseTupleAsync
,strictTuple
,strictTupleAsync
,tuple
,tupleAsync
,tupleWithRest
andtupleWithRestAsync
schema (pull request #649)options
key inEnumSchema
interfacev0.31.1
Compare Source
Many thanks to @Omochice for contributing to this release.
v0.31.0
Compare Source
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.30.0
Compare Source
Many thanks to @Saeris, @ariskemper, @mxdvl, @romeerez and @niccholaspage for contributing to this release.
Default
andDefaultAsync
type and refactor codebaseFallback
andFallbackAsync
type and refactor codebaseisOfType
type guard util to check the type of an objectgetDefaults
andgetDefaultsAsync
method (pull request #259)getFallbacks
andgetFallbacksAsync
method (pull request #259)type
tointerface
(pull request #259, #451)safeParse
andsafeParseAsync
methodNestedPath
type offlatten
for async schemas (issue #456)DefaultValue
type for transformed valuesv0.29.0
Compare Source
Many thanks to @Mini-ghost, @ivands and @Demivan for contributing to this release.
every
andsome
pipeline validation actioninput
of schema togetter
function ofrecursive
andrecursiveAsync
schema (pull request #441)transform
andtransformAsync
method to only run transformations if there are no issues (issue #436)recursive
andrecursiveAsync
schema tolazy
andlazyAsync
(issue #440)i18n
util when usingsetSchemaMessage
v0.28.1
Compare Source
Many thanks to @compulim for contributing to this release.
union
andunionAsync
schema for transformed inputs (issue #420)v0.28.0
Compare Source
Many thanks to @LorisSigrist, @samuelstroschein, @gmaxlev, @thundermiracle, @ivanhofer, @CanRau, @zkulbeda, @lucaschultz, @paoloricciuti, @hyunbinseo, and @bertez for contributing to this release.
number
andbigint
toPicklistOptions
type (issue #378)forwardAsync
method (issue #412)v0.27.1
Compare Source
Many thanks to @Omochice for contributing to this release.
v0.27.0
Compare Source
Many thanks to @pschiffmann for contributing to this release.
NonNullable
,NonNullish
andNonOptional
typeNonNullableInput
,NonNullableOutput
,NonNullishInput
,NonNullishOutput
,NonOptionalInput
andNonOptionalOutput
typeomit
,omitAsync
,pick
andpickAsync
schema to also allow read-only object keys (issue #380)pipe
argument atintersect
andintersectAsync
schemav0.26.0
Compare Source
Many thanks to @WtfJoke, @dboune, @alexabw and @aypotu for contributing to this release.
enum_
andenumAsync
schema by caching valuesunion
,unionAsync
,variant
andvariantAsync
schema to improve developer experiencegetDefaults
,getDefaultsAsync
,getFallbacks
andgetFallbacksAsync
schema for falsy but notundefined
values (issue #356)pipe
argument atunion
,unionAsync
,variant
andvariantAsync
schemaunion
,unionAsync
,variant
andvariantAsync
schema (issue #364)startsWith
validation action (pull request #375)Migration guide
The changes in
union
,unionAsync
,variant
andvariantAsync
are breaking changes and may result in different behavior when returning issues. Please create an issue if you have questions about this.v0.25.0
Compare Source
Many thanks to @ariskemper, @ewautr, @cuberoot @lo1tuma and @richardvanbergen for contributing to this release.
creditCard
,decimal
,hash
,hexadecimal
,hexColor
andoctal
pipeline validation action (pull request #292, #304, #307, #308, #309)pipe
parameter tointersect
,intersectAsync
,union
,unionAsync
,variant
andvariantAsync
schema (discussion #297)variant
andvariantAsync
schema (issue #310)variant
andvariantAsync
schema is missing (issue #235, #303)PicklistOptions
type and generics ofpicklist
andpicklistAsync
schemav0.24.1
Compare Source
Many thanks to @NotWorkingCode for contributing to this release.
object
andobjectAsync
entries with default value (issue #286)nullable
,nullableAsync
,nullish
,nullishAsync
,optional
andoptionalAsync
schema with default value (issue #286)v0.24.0
Compare Source
Many thanks to @genki and @NotWorkingCode for contributing to this release.
special
schema as key ofrecord
schema (issue #291)special
andspecialAsync
schema as key ofrecordAsync
schema (issue #291)v0.23.0
Compare Source
Many thanks to @ariskemper, @ivands and @emilgpa for contributing to this release.
bic
validation function (pull request #284)mac
,mac48
andmac64
validation function (pull request #270)PicklistOptions
,UnionOptions
andUnionOptionsAsync
type from tuple to array (issue #279)IntersectOptions
,IntersectOptionsAsync
,UnionOptions
andUnionOptionsAsync
type to support readonly values (issue #279)ObjectInput
andObjectOutput
type (issue #242)v0.22.0
Compare Source
Many thanks to @ecyrbe, @Demivan, @GriefMoDz, @demarchenac, @TFX0019, @AbePlays, @irg1008, @skotenko, @dukeofsoftware, @xxxhussein, @JortsEnjoyer0, @Karakatiza666, @micahjon, @lulucas, @xsjcTony, @ziyak97, @micha149, @anhzf and @jonlambert for contributing to this release.
notValue
validation (pull request #261).typed
to schema validation result and execute pipeline of complex schemas if output is typed (issue #76, #145)forward
method that forwards issues of pipelines to nested fields (issue #76, #145)skipPipe
option tois
type guard method (pull request #166)safeParse
andsafeParseAsync
methodRecordInput
andRecordOuput
type when usingunionAsync
as keynullable
,nullableAsync
,nullish
,nullishAsync
,optional
andoptionalAsync
when using a default value (issue #271)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.