Releases: open-circle/valibot
Releases · open-circle/valibot
v1.3.1
v1.6.0 (to-json-schema)
- Add support for
neverschema (pull request #1430) - Add support for
endsWith,gtValue,hash,includes,isoTimeSecond,isoWeek,isrc,ltValue,mac,mac48,mac64,notValue,notValues,rfcEmail,safeInteger,slug,startsWithandvaluesactions (pull request #1430) - Add JSON compatibility validation for the requirements of
value,values,notValueandnotValuesactions (pull request #1430) - Add inferred
typeforenumandpicklistschemas (pull request #1430) - Change Valibot peer dependency to v1.3.0
v1.3.0
Many thanks to @EskiMojo14, @yslpn, @alexilyaev, @idleberg, @BerkliumBirb and @frenzzy for contributing to this release.
Read the release notes on our website for a quick overview of the most exciting new features in this release.
- Add
guardtransformation action to narrow types using type predicates (pull request #1204) - Add
parseBooleantransformation action to parse boolean values from strings and other types (pull request #1251) - Add
isrcvalidation action to validate ISRC codes (pull request #1373) - Add
cachemethod for caching schema output by input (pull request #1170) - Add
domainvalidation action to validate domain names (pull request #1284) - Add
jwsCompactvalidation action to validate JWS compact strings (pull request #1348) - Fix
creditCardvalidation action to allow 13-digit Visa card numbers (pull request #1347) - Fix
isoTimestampvalidation action to allow optional space before UTC offset for PostgreSQLtimestamptzcompatibility (pull request #1195) - Fix types for deeply readonly default and fallback values
v1.1.0 (i18n)
Many thanks to @mreleftheros, @adamvx, @illispi, @Abilovv599, @mtergel, @yslpn, @martinzilak, @jhirvioja, @komu, @ganaena and @tats-u for contributing to this release.
- Add Greek (el) translations (pull request #1311)
- Add Slovak (sk) translations (pull request #1334)
- Add Finnish (fi) translations (pull request #1318)
- Add Azerbaijani (az) translations (pull request #1409)
- Add Mongolian (mn) translations (pull request #1224)
- Add new and missing actions to translations (pull request #1306)
- Change Valibot peer dependency to
^1.3.0 - Fix ISO 639-1 code for Korean (
ko) (pull request #1306)
v1.5.0 (to-json-schema)
- Add support for JSON Schema draft-2020-12 and OpenAPI 3.0 Schema Object format
- Add
propertyNamessupport to record schemas for key validation constraints - Add support for
toBigint,toBoolean,toDate,toNumberandtoStringactions fortypeMode: 'input' - Add new
toStandardJsonSchemafunction to convert Valibot schemas to Standard JSON Schema format - Change return type from
JSONSchema7to a customJsonSchematype
v0.1.2 (zod-to-valibot)
- Fix CLI usage to use scoped package name
@valibot/zod-to-valibot
v0.1.1 (zod-to-valibot)
- Fix CLI
jscodeshiftresolution when installed vianpx
v0.1.0 (zod-to-valibot)
- Initial release
v1.4.0 (to-json-schema)
Many thanks to @stefanprobst, @sruenwg and @cruzdanilo for contributing to this release.
- Add support for
examplesaction - Add support for
integerwhen used withminValueandmaxValueactions (pull request #1367) - Change Valibot peer dependency to v1.2.0
- Fix conversion of
exactOptionalobject properties (pull request #1220) - Fix conversion of
variantto useoneOfinstead ofanyOf(pull request #1193)
v1.2.0
Many thanks to @EskiMojo14, @makenowjust, @ysknsid25 and @jacekwilczynski for contributing to this release.
Read the release notes on our website for a quick overview of the most exciting new features in this release.
- Add
toBigint,toBoolean,toDate,toNumberandtoStringtransformation actions (pull request #1212) - Add
examplesaction to add example values to a schema (pull request #1199) - Add
getExamplesmethod to extract example values from a schema (pull request #1199) - Add
isbnvalidation action to validate ISBN-10 and ISBN-13 strings (pull request #1097) - Add exports for
RawCheckAddIssue,RawCheckContext,RawCheckIssueInfo,RawTransformAddIssue,RawTransformContextandRawTransformIssueInfotypes for better developer experience withrawCheckandrawTransformactions (pull request #1359) - Change build step to tsdown
- Fix ReDoS vulnerability in
EMOJI_REGEXused byemojiaction