Skip to content

Commit c4d0533

Browse files
authored
ref(ai-sdk)!: Remove AI SDK v3 support (#2474)
1 parent af89d9f commit c4d0533

36 files changed

Lines changed: 677 additions & 10905 deletions

‎.changeset/remove-ai-sdk-v3.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"braintrust": major
3+
---
4+
5+
ref(ai-sdk)!: Remove AI SDK v3 support

‎e2e/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Wrapper scenarios often create a root span with `testRunId` metadata and then le
8080
- Find the scenario root span first.
8181
- Scope raw payload snapshots by `root_span_id` using `payloadRowsForRootSpan(...)`.
8282
- Prefer normalized span-tree snapshots from `matchSpanTreeSnapshot(...)`. The `.json` sibling is the structural contract, and the `.txt` sibling is the ASCII tree for review; both are asserted and should be updated together.
83-
- If the wrapper has an explicit support matrix, reuse one shared test across version-specific scenario entries instead of duplicating the assertions. The AI SDK wrapper scenario uses this for supported v3-v6 package combinations.
83+
- If the wrapper has an explicit support matrix, reuse one shared test across version-specific scenario entries instead of duplicating the assertions. The AI SDK wrapper scenario uses this for its supported package combinations.
8484

8585
### Runner-wrapper scenario pattern
8686

‎e2e/config/pr-comment-scenarios.json‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -531,14 +531,6 @@
531531
"label": "AI SDK Instrumentation",
532532
"metadataScenario": "ai-sdk-instrumentation",
533533
"variants": [
534-
{
535-
"variantKey": "ai-sdk-v3",
536-
"label": "v3 pinned"
537-
},
538-
{
539-
"variantKey": "ai-sdk-v3-latest",
540-
"label": "v3 latest"
541-
},
542534
{
543535
"variantKey": "ai-sdk-v4",
544536
"label": "v4 pinned"

‎e2e/scenarios/ai-sdk-instrumentation/__cassettes__/ai-sdk-v3-latest.cassette.json‎

Lines changed: 0 additions & 1148 deletions
This file was deleted.

‎e2e/scenarios/ai-sdk-instrumentation/__cassettes__/ai-sdk-v3.cassette.json‎

Lines changed: 0 additions & 1151 deletions
This file was deleted.

0 commit comments

Comments
 (0)