Releases: fabian-hiller/valibot
v0.42.0
Many thanks to @ajfhs812, @andrew-d-jackson and @declanlscott for contributing to this release.
- Add
metadata
action to add custom metadata to a schema - Add
title
metadata action to add a title to a schema (discussion #826) - Add
decimal
action to validate integer and float strings (pull request #823) - Rename
decimal
action todigits
(pull request #823) - Rename
NoPipe
type toSchemaWithoutPipe
- Fix inference of generics in
IssueDotPath
type (issue #814)
v0.2.0 (to-json-schema)
v0.1.1 (to-json-schema)
Many thanks to @gcornut for contributing to this release.
- Fix maximum call stack bug for recursive schemas
- Fix invalid JSON Schema ouput for recursive schemas
v0.1.0 (to-json-schema)
Many thanks to @gcornut for contributing to this release.
- Initial release
v0.41.0
Many thanks to @EltonLobo07, @ZerNico, @Andarist, @ruiaraujo012 and @merodiro for contributing to this release.
v0.40.0
Many thanks to @jasperteo, @alecmev and @cruzdanilo for contributing to this release.
v0.39.0
Many thanks to @tpetry, @incompletude, @ComradeVanti, @istonikula and @ShlokDesai33 for contributing to this release.
v0.38.0
Many thanks to @EltonLobo07, @samuba, @alecmev, @gflohr, @threehams and @carcinocron for contributing to this release.
- Change
expects
andexpected
property by enclosing combined values in parentheses - Change question mark handling for
optional
,optionalAsync
,nullish
andnullishAsync
schemas in objects - Fix TypeScript errors in
TuplePath
andQuestionMarkSchema
type (issue #659, #776) - Fix missing TypeScript errors in
pipe
andpipeAsync
method (pull request #785)
v0.37.0
Many thanks to @morinokami, @xcfox, @devcaeg, @shayneo, @sandros94, @slevithan, @thecotne and @EltonLobo07 for contributing to this release.
- Add
base64
action to validate Base64 strings (pull request #644) - Add
description
metadata action (pull request #747) - Add metadata feature to
pipe
andpipeAsync
method (pull request #747) - Refactor
HEXADECIMAL_REGEX
(pull request #666) - Change
unknown[]
inLengthInput
type toArrayLike<unknown>
- Change
ArrayInput
andContentInput
type to useMaybeReadonly
- Change
EMOJI_REGEX
to be more accurate and strict (pull request #666) - Fix bug in
fallback
andfallbackAsync
method for specific schemas (pull request #752) - Fix bug in
fallbackAsync
method for async schemas (pull request #732)
v0.36.0
Many thanks to @N0tExisting, @ksv90, @peterbe, @foster-hangdaan and @zougari47 for contributing to this release.