stack.pulse
#stacks/vercel-ai-sdk/ai

Vercel AI SDK release notes, breaking changes, and upgrade notes.

The AI toolkit for TypeScript StackPulse turns upstream changelogs into scannable summaries with risky changes, deprecations, migration notes, and source links.

releases
20
breaking
1
security
1
deprecated
1
migrations
3

Get source-linked upgrade notes and occasional sponsor recommendations. No GitHub login required.

what stackpulse tracks

Vercel AI SDK releases from GitHub

StackPulse watches Vercel AI SDK release notes and keeps the original source link close to every summary.

upgrade risk

Breaking changes and deprecations

Risky changes are separated from normal feature notes so you can scan upgrade impact before changing production dependencies.

migration notes

Source-backed next steps

Migration steps and recommended actions are only shown when the upstream release notes support them.

# latest_releases

source-backed
ai@7.0.0highbreakingdeprecationmigrationfeaturesecurityJun 25, 2026

ai@7.0.0

This major release introduces significant changes including the stabilization of telemetry, removal of deprecated APIs, and a shift to ESM-only modules. It also adds new features like provider skill uploads and a new OpenTelemetry package.

affected

Users relying on CommonJS, deprecated APIs, or system messages in prompts will need to migrate to new patterns.

action

Review breaking changes and deprecations, update code to use ESM imports, and migrate to new APIs as described in the release notes.

release_signals
-Removed CommonJS exports; all packages are now ESM-only
-Removed deprecated `ToolCallOptions` export; use `ToolExecutionOptions` instead
-Renamed `ModelCallStreamPart` to `LanguageModelStreamPart`
-Removed experimental_customProvider
-Rejected system messages in messages or prompt by default (opt-in)
!System messages in `prompt` or `messages` fields are rejected by default to prevent prompt injection attacks
!Added `allowSystemInMessages` option to `ToolLoopAgent` to explicitly allow system messages
!Validated tool context against contextSchema at runtime to ensure security invariants
!Deprecated `streamText` result `fullStream` in favor of `stream`
!Deprecated `system` prompt option in favor of `instructions`
!Deprecated `result.toUIMessageStream`, `result.toUIMessageStreamResponse`, and related methods
+Stabilized experimental_telemetry as stable telemetry
+Added support for uploading provider skills using provider references
+Introduced a new OpenTelemetry package (@ai-sdk/otel)
+Added a new 'custom' content type for providers
+Aligned tool result output content file part types with top-level message file part types
migration_steps4 steps
  1. 01Switch from `require()` to ESM `import` syntax
  2. 02Replace `ToolCallOptions` with `ToolExecutionOptions`
  3. 03Migrate from `system` to `instructions` for prompt options
  4. 04Use `toUIMessageStream` and `toTextStream` helpers for custom stream transformations
view source on github->