Back to Explore

open-circle/valibot

GitHub
8 updates · last 90 days1 watchersOpen source

Last release: 2 weeks ago

Valibot is a modular, type-safe TypeScript library for validating and transforming structured data at runtime using schemas. It is useful for checking incoming data (for example server requests, form inputs, or configuration files) with small bundles and a no-dependencies approach, providing APIs like parse, safeParse, and type guards.

Project status

  • The source appears actively maintained, with a very recent upstream push on 2026-06-06 and multiple documented updates in May 2026 (including code and tooling/documentation changes).
  • Apparent update cadence from the provided entries looks active but bursty, with updates clustered around 2026-05-05 (two related items) and another on 2026-05-24, then continued activity evidenced by the 2026-06-06 push.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.4.1

    2 weeks ago

    Release v1.4.1 documents a type inference fix for the `intersect` schema when options are provided as a non-tuple array. The code diff also includes multiple undocumented website and tooling changes, including a syntax highlighting migration from `@mapbox/rehype-prism` to Shiki.

  • v1.7.0-to-json-schema

    1 month ago

    This release bumps the published versions of the monorepo packages @valibot/to-json-schema (v1.7.0) and @valibot/i18n (v1.2.0) and updates their peer dependency on Valibot to ^1.4.0. The provided release notes only mention the ES2020 build target change and the Valibot peer bump, but the code diff also includes additional compatibility details from Valibot v1.4.

    Breaking
  • v1.2.0-i18n

    1 month ago

    The v1.2.0-i18n release notes document two changes: adding Uzbek (uz) translations and updating the Valibot peer dependency to ^1.4.0. However, the actual code diff includes many additional changes, including new exports/actions and several type and runtime behavior adjustments that are not mentioned in the release notes.

    BreakingFeatures
  • v1.4.0

    1 month ago

    Valibot v1.4.0 adds new ISO datetime validation for timestamps with seconds and introduces string case transformation actions. The release also includes multiple runtime and TypeScript type-performance improvements, plus fixes to edge-case behaviors in issue flattening, credit card validation, and schema intersection input handling.

    BreakingFeatures
  • v1.3.1

    2 months ago

    v1.3.1 release notes state that specific MAC-related regexes (MAC48_REGEX, MAC64_REGEX, MAC_REGEX) were updated to drop the `i` flag for JSON Schema compatibility, and that the `hash` action was updated to use case-expanded character classes instead of the `i` flag. However, the provided code diff shows additional regex constants were modified beyond what the release notes describe. The diff also includes unrelated i18n package changes adding Greek translations and updating package versions/exports.

  • v1.1.0-i18n

    2 months ago

    Release v1.1.0-i18n, per the release notes, focuses on adding more i18n translations and a Valibot peer dependency tweak. However, the provided code diff shows substantial new validation actions and multiple behavioral changes to existing validators that are not described in the release notes.

    Features
  • v1.6.0-to-json-schema

    2 months ago

    v1.6.0-to-json-schema adds conversion support for the new Valibot `never` schema and multiple additional action types (string/content actions, MAC/ISRC, time variants, numeric comparisons, and hash-based actions). It also expands JSON Schema compatibility checks for `value`, `values`, `notValue`, and `notValues`, and updates the `valibot` peer dependency to v1.3.0.

    BreakingFeatures
  • v1.3.0

    2 months ago

    v1.3.0 adds several new validation and transformation actions, including guard-based type narrowing, parseBoolean, ISRC, domain, and JWS compact validation. It also introduces a cache method to cache schema output by input, and includes fixes to specific validation behaviors and some type definitions.

    Features
  • v1.5.0-to-json-schema

    5 months ago

    v1.5.0 adds support for generating JSON Schema draft-2020-12 and OpenAPI 3.0 Schema Object output, including record `propertyNames` validation and additional input-only `to*` actions. It also introduces `toStandardJsonSchema` and changes the exported JSON Schema type from `JSONSchema7` to a custom `JsonSchema` type.

    BreakingFeatures
  • v0.1.2-zod-to-valibot

    6 months ago

    Release v0.1.2 updates the codemod CLI documentation and usage examples to reference the scoped package name `@valibot/zod-to-valibot`. The code diff also updates internal website usage to import the transform from the scoped package.

    Breaking