Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v6 #8662

@gr2m

Description

@gr2m

Milestone

v6.0

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.0 branch from latest main, setup releases to latest - patch only (as always)
    • Set releases from main to be <next minor version>-beta.X, e.g. [email protected]
    • document new branching in contributing/branches.md

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

Release process

  • search for // TODO ai sdk 5 and // TODO ai sdk 6 to be sure everything we wanted to was addressed, create issues for remaining comments
  • Create blog post
  • Create demo(s)
  • update release config for main branch to release to latest
  • Release [email protected] and bump all other packages accordingly in latest
  • Make sure @ai-sdk/provider gets released as 3.0.0

Breaking changes

  • in general, compare exports of ai@5 and ai@6

  • ai/test no 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. Use azure.chat() to revert to azure()'s prior behavior feat(azure): update default provider to use responses API #9868

  • output argument for generateText({ output })/streamText({ output }) is now stable and supports array/enum/json

Sub-issues

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions