-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
11 / 1211 of 12 issues completedDescription
Milestone
Note
Please do not comment on this issue if you run into any problems with v6 beta. File separate issues instead. We want to keep the noise down in this issue as users subscribe to it.
Setup
- branching
- Create
v5.0branch from latest main, setup releases tolatest- patch only (as always) - Set releases from
mainto be<next minor version>-beta.X, e.g.[email protected] - document new branching in
contributing/branches.md
- Create
Main features
See sub issues below
- Direct support for multiple validation libraries
- Preliminary Tool Outputs
- Experimental Context Object
- Experimental Download Function
- Warning Logger (feat(ai): log warnings #8343)
Secondary features
Pre-release requirements
- add tests for v2 -> v3 transforms, see preparations in fix(provider): add specificationVersion to ProviderV3 #9820
- v5.ai-sdk-dev. Update URLs from [bugfix] improve error message #11057
Release process
- search for
// TODO ai sdk 5and// TODO ai sdk 6to be sure everything we wanted to was addressed, create issues for remaining comments - Create blog post
- Create demo(s)
- update release config for
mainbranch to release to latest - Release
[email protected]and bump all other packages accordingly in latest - Make sure
@ai-sdk/providergets released as 3.0.0
Breaking changes
-
in general, compare exports of
ai@5andai@6 -
ai/testno longer exports v2 mock classes now. Use the new v3 mock classes instead.Before
import { MockEmbeddingModelV2, MockImageModelV2, MockLanguageModelV2, MockProviderV2, MockSpeechModelV2, MockTranscriptionModelV2, } from "ai/test";
After
import { MockEmbeddingModelV3, MockImageModelV3, MockLanguageModelV3, MockProviderV3, MockSpeechModelV3, MockTranscriptionModelV3, } from "ai/test";
-
@ai-sdk/azure:azure()now uses the Responses API. Useazure.chat()to revert toazure()'s prior behavior feat(azure): update default provider to use responses API #9868 -
outputargument forgenerateText({ output })/streamText({ output })is now stable and supports array/enum/json
calvinalkan, lgrammel, imranbarbhuiya, soichisumi, saeedseyfi and 15 moreFranciscoMoretti, saymondamasio, ImAbdullahJan and glacierwave