Never miss a release that matters
AI-powered summaries of every GitHub release.
AI Summaries
Changelogs condensed into clear, actionable insights.
Always Free
Track up to 5 packages at no cost, forever.
Weekly Digest
A curated summary of every release, delivered weekly.
TL;DR
Valibot now correctly infers types for array options within schema intersections, resolving a previous issue where types were incorrectly set to never.
Fixes Worth Knowing
intersect schemas now correctly infer input and output types for non-tuple array options, improving type safety and developer experience (schema composition).
TL;DR
Valibot now generates JSON Schema compatible with a wider range of environments, improving interoperability with tools that consume schema definitions (data validation tools).
Breaking
- Valibot requires peer dependency v1.4.0 or higher (minimum required version).
New
- JSON Schema generation is improved for broader compatibility (standard data format).
TL;DR
Valibot now supports validation error messages in Uzbek, improving accessibility for users in that region.
New
- Added Uzbek (uz) translations for validation errors.
Before You Upgrade
- Ensure your project uses Valibot peer dependency version 1.4.0 or higher.
TL;DR
Valibot now supports adding descriptive metadata (like titles) to schemas and validating decimal numbers, improving schema clarity and data validation capabilities.
Breaking
NoPipetype renamed toSchemaWithoutPipe(internal type change).decimalaction renamed todigits(affects code using this validator).
New
- Add
metadataaction to associate custom data with schemas (for documentation/tooling). - Add
digitsaction to validate strings as integers or floats (supports numeric input).
Fixes Worth Knowing
- Improved type inference for error paths (improves error message accuracy).
TL;DR
Valibot gains new input types and parsing methods, improving flexibility when defining and validating schemas, especially for complex data structures.
Breaking
- Object schema checks are less strict (schema definition).
_stringifyutility now handles custom objects (data serialization).
New
- Added
parserandsafeParsermethods (data parsing functions). - Introduced new input types:
ContentInput,ContentRequirement,LengthInput,SizeInput, andValueInput(schema definition). - Added a
configmethod (schema configuration).
Fixes Worth Knowing
- Fixed a bug in the
forwardmethod (error handling). - Improved compatibility with various environments by relaxing object checks.
- Corrected
_stringifyfor modified objects.
Before You Upgrade
- Review the official migration guide at https://valibot.dev/guides/migrate-to-v0.31.0/ to understand changes to object schema validation and stringification.