@ai-sdk/valibot
A validation adapter package in the Vercel AI SDK ecosystem. It serves as a bridge layer that translates the AI SDK's internal data structure conventions into schemas understood by the valibot validation library, and is used for structured validation of LLM output.
Core Facts
AI SDK's framework adapter packages keep their patch version numbers aligned with the core package (for example, ai@7.0.140 corresponds to @ai-sdk/svelte@5.0.140).
@ai-sdk/provider-utils, as the underlying shared utility package, is jointly depended upon by multiple upper-layer adapter packages such as @ai-sdk/valibot and @ai-sdk/zod.
This update upgrades the dependency ai to 7.0.102 and @ai-sdk/provider-utils to 5.0.41.
Timeline (last 90 days)
@ai-sdk/valibot 3.0.83 does not involve the adapter's own logic and has no impact on how schemas are defined or on validation behavior.
All provider adapter packages (including @ai-sdk/valibot, @ai-sdk/zod, etc.) depend on @ai-sdk/provider-utils to ensure consistent behavior.
For developers using @ai-sdk/vue, upgrading to 3.0.330 requires no extra migration steps and carries low upgrade risk, but it is still recommended to run existing test cases after the lockfile is updated.
The changelog for @ai-sdk/valibot 3.0.72 contains only two "Updated dependencies" entries, pointing to commits 7716e18 and 5c247e9, with the affected dependency being @ai-sdk/provider-utils@5.0.72.
For projects using multiple AI SDK-related packages, aligning the Valibot adapter package to the same patch number helps reduce duplicate versions in the dependency tree, and upgrading to 3.0.72 is a low-risk operation.
@ai-sdk/valibot's role is to let developers define tool parameters and structured output with Valibot schemas, thereby obtaining type safety and runtime validation when calling models.
For wrapper-layer packages like @ai-sdk/valibot, dependency drift may cause two sets of validation logic to coexist in the same process, and the problem usually surfaces at runtime rather than at install time.
For the vast majority of projects, upgrading to 2.0.64 requires no changes to business code, and it is recommended to include it in the routine dependency update process rather than scheduling a separate upgrade window.
The @ai-sdk/rsc package released version 3.0.156, which is a patch update automatically published by GitHub Actions and contains 5 commits.
For projects using @ai-sdk/valibot, it is recommended to declare a ^3.0.70 range in package.json and pin the version with a lockfile.
40 more timeline events
All Facts (20)
AI SDK's framework adapter packages keep their patch version numbers aligned with the core package (for example, ai@7.0.140 corresponds to @ai-sdk/svelte@5.0.140).
90%Verified@ai-sdk/provider-utils, as the underlying shared utility package, is jointly depended upon by multiple upper-layer adapter packages such as @ai-sdk/valibot and @ai-sdk/zod.
90%VerifiedThis update upgrades the dependency ai to 7.0.102 and @ai-sdk/provider-utils to 5.0.41.
90%VerifiedThis release record was completed by a GitHub Actions automated workflow and carries an official GitHub verified signature (Verified).
90%VerifiedThe Vercel AI SDK adopts a Monorepo single-repository management model, with the core package ai and various framework adapter packages (such as @ai-sdk/vue, @ai-sdk/react, and @ai-sdk/svelte) released in coordination.
90%Verified@ai-sdk/valibot is a Valibot integration module provided by the Vercel AI SDK, allowing developers to use Valibot to define data structures and integrate them into the AI SDK's generation pipeline.
85%VerifiedWithin the AI SDK ecosystem, there exists an adapter package @ai-sdk/zod similar to @ai-sdk/valibot, with both providing the same public interface.
80%VerifiedWhen the version of provider-utils that an adapter depends on is inconsistent with that of the main package, hidden failures such as mismatched type definitions and differences in the behavior of runtime utility functions may occur.
75%VerifiedWhen a foundational package such as @ai-sdk/provider-utils that is depended upon by multiple packages is updated, Changeset automatically marks the packages that depend on it for a patch version bump, which is why @ai-sdk/valibot publishes a new version even though its own code has not changed.
75%VerifiedIt is recommended to run the full test suite after upgrading, especially when the project simultaneously locks the versions of related dependencies such as ai and @ai-sdk/provider.
75%VerifiedThe @ai-sdk/zai package released version 3.0.8, which is a patch change.
90%VerifiedThe @ai-sdk/svelte@5.0.93 update is categorized as a Patch Change, with its core content being the synchronization of nine upstream dependency updates and the upgrade of the core package ai to version 7.0.93.
90%Verified@ai-sdk/voyage has released version 2.0.62, a patch update marked as Patch Changes, released on October 16.
80%Verified@ai-sdk/valibot 3.0.59 is a Patch-level patch release that introduces no breaking changes and does not change the public API shape.
75%Partially VerifiedVersion 3.0.40 contains documentation maintenance commit e729d58, which updates README.md to unify formatting and avoid duplicate content.
90%UnverifiedThe patch update locks in a set of verified version combinations, effectively an official compatibility snapshot.
70%UnverifiedThe role of @ai-sdk/valibot is to automatically convert Valibot Schema definitions into the JSON Schema required by the AI SDK and to perform runtime type validation after the model returns results
70%UnverifiedThis update is a pure build tool migration with no API changes or new features added, and theoretically introduces no breaking changes.
70%Unverified@ai-sdk/valibot converts Valibot schemas into the AI SDK's internal unified schema description format, enabling core APIs such as generateObject and streamObject to use Valibot for type constraints and runtime validation of structured outputs.
70%Unverified@ai-sdk/valibot 3.0.83 does not involve the adapter's own logic and has no impact on how schemas are defined or on validation behavior.
50%