Skip to content

Conversation

@continue
Copy link
Contributor

@continue continue bot commented Dec 10, 2025

Summary

Updates documentation in VERCEL_AI_SDK.md to reflect the AI SDK v5.0.52 upgrade in PR #9116.

Changes

  • Document the upgrade from v4.3.19 to v5.0.52
  • List key changes:
    • New @ai-sdk/gateway package
    • Breaking changes in @ai-sdk/provider (v2.0.0) and @ai-sdk/provider-utils (v3.0.9)
    • Updated zod peer dependency requirement (^3.25.76 || ^4)
    • React dependencies removed
  • Add migration notes for zod version requirements
  • Clarify that breaking changes are handled internally

Context

This PR should be merged into the dependabot PR branch before #9116 is merged to main, ensuring the documentation stays in sync with the dependency updates.


This agent session was co-authored by nate and Continue.


Summary by cubic

Updates Vercel AI SDK docs to v5.0.52 and highlights the key changes. Adds zod migration guidance; no consumer code changes needed.

  • Dependencies

    • Upgraded to Vercel AI SDK v5.0.52 (from v4.3.19)
    • Added @ai-sdk/gateway
    • Updated @ai-sdk/provider to v2.0.0 (breaking from v1.x)
    • Updated @ai-sdk/provider-utils to v3.0.9 (breaking from v2.x)
    • zod now requires ^3.25.76 or ^4
    • Removed React-related deps (@ai-sdk/react, @ai-sdk/ui-utils, swr, throttleit)
  • Migration

    • If using zod <3.25.76, upgrade to ^3.25.76 or ^4
    • Breaking provider changes are handled inside openai-adapters; no app code changes required

Written for commit 7cd5af8. Summary will update automatically on new commits.

Document the AI SDK v5.0.52 upgrade with key changes:
- New @ai-sdk/gateway package
- Breaking changes in @ai-sdk/provider (v2.0.0) and @ai-sdk/provider-utils (v3.0.9)
- Updated zod peer dependency requirement (^3.25.76 || ^4)
- React dependencies removed

Add migration notes for consumers about zod version requirements.

Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <[email protected]>
Co-authored-by: nate <[email protected]>
@continue continue bot requested a review from a team as a code owner December 10, 2025 23:09
@continue continue bot requested review from sestinj and removed request for a team December 10, 2025 23:09
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Dec 10, 2025
@continue
Copy link
Contributor Author

continue bot commented Dec 10, 2025

Closing this documentation PR as the base PR #9116 has compilation failures due to breaking changes in AI SDK v5.

The openai-adapters code needs to be updated first to handle the v5 API changes:

  • maxTokensmaxCompletionTokens
  • Tool call properties changed
  • Usage token property names changed

Once the code is updated to be compatible with v5, this documentation PR can be reopened and merged.

@continue continue bot closed this Dec 10, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Dec 10, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

0 participants