Releases: fabian-hiller/valibot
v1.0.0-beta.6
v1.0.0-beta.3 (to-json-schema)
Many thanks to @hongkongkiwi for contributing to this release.
- Fix peer dependency specification (issue #928)
v1.0.0-beta.5
Many thanks to @NiklasPor and @ssalbdivad for contributing to this release.
- Fix output type of
optional
,optionalAsync
,nullable
,nullableAsync
,nullish
andnullishAsync
schema - Fix implementation of
nonOptional
,nonOptionalAsync
,nonNullable
,nonNullableAsync
,nonNullish
andnonNullishAsync
schema in edge cases (issue #909)
v1.0.0-beta.4
Many thanks to @ruiaraujo012, @colinhacks and @ssalbdivad for contributing to this release.
- Add new overload signature to
pipe
andpipeAync
method to support unlimited pipe items of same input and output type (issue #852) - Change Standard Schema spec implementation to new version
v1.0.0-beta.1 (i18n)
Many thanks to @Hasan-Mir, @ImMo3n, @ivan-mihalic, @ferdinandurban and @rnovacek for contributing to this release.
v1.0.0-beta.3
Many thanks to @hanakannzashi for contributing to this release.
- Change type and behaviour of
nullable
,nullableAsync
,nullish
,nullishAsync
,optional
,optionalAsync
,undefinedable
andundefinedableAsync
for undefined default value (issue #878)
v1.0.0-beta.2 (to-json-schema)
v1.0.0-beta.1 (to-json-schema)
- Add support for
undefinedable
schema - Change extraction of default value from
nullable
,nullish
andoptional
schema
v1.0.0-beta.2
v1.0.0-beta.1
Many thanks to @gcornut, @EltonLobo07, @remonke, @ktkk and @fabulousgk for contributing to this release.
Since we changed the type signature, you may experience TypeScript errors when using Valibot v1 with other libraries. We are committed to helping update the libraries in our ecosystem. We recommend that you check if the libraries you are using have already been updated. Except for the type signature, any breaking changes should only be related to our internal implementation.
- Add
assert
method to assert values (issue #862) - Add
checkItemsAsync
action (pull request #856) - Add
graphemes
,maxGraphemes
,minGraphemes
andnotGraphemes
action (pull request #853) - Add
words
,maxWords
,minWords
andnotWords
action - Add
args
andreturns
action to transform functions (issue #243) - Change behaviour of
minValue
andmaxValue
forNaN
(pull request #843) - Refactor
bytes
,maxBytes
,minBytes
andnotBytes
action