Skip to content

[vercel-ai-sdk-typescript] breaking: remove the pre-2.0 replay gates - #586

Merged
campoy merged 1 commit into
mainfrom
breaking/vercel-ai-sdk-remove-pre-2-gates
Nov 16, 2026
Merged

campoy merged 1 commit into
mainfrom
breaking/vercel-ai-sdk-remove-pre-2-gates

Conversation

@campoy

@campoy campoy commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What was changed

The next Vercel AI SDK release is 2.0.0, so its current major is 2, and replay is promised only within a major. Two patches only keep 1.x runs on their old paths, so let's remove them before 2.0:

The README drops both patch notes and says which 1.x runs don't replay.

What will you notice? (Breaking)

Two kinds of 1.x run don't replay on 2.0. Let them finish on 1.x Workers before you upgrade, or keep them there with Worker Versioning:

  • A run in which an experimental_download function scheduled an Activity for a URL. On 2.0 the model call comes first: [TMPRL1100] Activity type of scheduled event 'downloadNotes' does not match activity type of activity command 'invokeModel'.
  • A run in which a signal aborted while a model or embedding call ran. On 1.x the abort sent no command, and on 2.0 it cancels the Activity, so sdk-core fails the replay with Fatal error in workflow machines: ActivityMachine in state ScheduledActivityCancelCommandCreated says the transition is invalid.

A run on a main build since #468 or #470 that took the new path recorded the marker, so it doesn't replay either. No release wrote those markers.

Why?

We decided that replay is promised only within a major, and that a gate that only protects an older major's runs is removed before the next major ships. The Vercel AI SDK plugin's next release is 2.0.0, so these gates go before it.

Checklist

  1. No issue.

  2. How was this tested:

  3. Any docs updates needed? The README changes are here.

@campoy campoy changed the title Breaking: vercel-ai-sdk: remove the pre-2.0 replay gates [vercel-ai-sdk-typescript] breaking: remove the pre-2.0 replay gates Nov 16, 2026
Base automatically changed from replay/major-scoped-histories to main November 16, 2026 18:15
Replay is promised only within a major, and the next Vercel AI SDK
release is 2.0.0. Two patches only kept 1.x runs on their old paths, so
they go:

- vercel-ai-sdk-download-urls-in-model-activity (#468): the model always
  reports that it supports every URL, so the model Activity downloads them.
- vercel-ai-sdk-abort-signal-cancels-model-activity (#470): a caller's
  abortSignal always cancels the model Activity.

The README says which 1.x runs don't replay.
@campoy
campoy force-pushed the breaking/vercel-ai-sdk-remove-pre-2-gates branch from 38fe95c to 22ada76 Compare November 16, 2026 18:23
@campoy
campoy marked this pull request as ready for review November 16, 2026 18:39
@campoy
campoy requested a review from a team as a code owner November 16, 2026 18:39
@campoy
campoy merged commit b8d4ef3 into main Nov 16, 2026
29 checks passed
@campoy
campoy deleted the breaking/vercel-ai-sdk-remove-pre-2-gates branch November 16, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants