Conversation
- Upgraded ai from 6.0.0-beta.159 to 6.0.1 (stable) - Upgraded @ai-sdk/react from 3.0.0-beta.162 to 3.0.1 (stable) - Upgraded @ai-sdk/gateway from 2.0.0-beta.85 to 3.0.0 (stable) - Upgraded @ai-sdk/provider from 3.0.0-beta.27 to 3.0.0 (stable) Breaking changes resolved: - Updated LanguageModelV3FinishReason from string to structured object - Renamed Experimental_GeneratedImage to GeneratedFile Fixes vercel#1366
|
@blacksheep-git is attempting to deploy a commit to the v0-evals-vtest314 Team on Vercel. A member of the Team first needs to authorize it. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR upgrades the project from AI SDK 6 beta to the stable 6.0.1 release, resolving all breaking changes introduced in the stable version.
- Updated four AI SDK packages from beta to stable versions (6.0.1 for core
aipackage, 3.0.1 for@ai-sdk/react, and 3.0.0 for@ai-sdk/gatewayand@ai-sdk/provider) - Migrated
finishReasonfrom string type to structured object withunifiedandrawproperties - Renamed
Experimental_GeneratedImagetoGeneratedFile(now stable API)
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated AI SDK dependencies from beta to stable versions |
| pnpm-lock.yaml | Lockfile updates reflecting the stable dependency versions and their transitive dependencies |
| lib/ai/models.test.ts | Updated mock model finishReason values to use new object structure in test models |
| tests/prompts/utils.ts | Updated finishReason in test utility to use new object structure with unified and raw properties |
| components/elements/image.tsx | Renamed type import from Experimental_GeneratedImage to stable GeneratedFile |
| components/ai-elements/image.tsx | Renamed type import from Experimental_GeneratedImage to stable GeneratedFile |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 6 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
Upgrades the project to AI SDK 6 stable release with all breaking changes resolved.
Changes
Dependencies Updated
ai: 6.0.0-beta.159 → 6.0.1 (stable)@ai-sdk/react: 3.0.0-beta.162 → 3.0.1 (stable)@ai-sdk/gateway: 2.0.0-beta.85 → 3.0.0 (stable)@ai-sdk/provider: 3.0.0-beta.27 → 3.0.0 (stable)Breaking Changes Resolved
LanguageModelV3FinishReason Type Change
unifiedandrawpropertiesType Renames
Experimental_GeneratedImagetoGeneratedFile(now stable)Fixes #1366