NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
Provider interface specification for the AI SDK Dart port. Defines the LanguageModelV4, EmbeddingModelV2, and ImageModelV3 interfaces that all provider packages must implement.
Last release 4 days ago
04 Oct 2026
Ships fairly regularly
a new release about every 2 months
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
6 months old
6 releases · first in 2026
One column per month.
LanguageModelV4AbortSignal remains as a deprecated alias of AbortSignal for the whole 3.x line.
AI SDK Dart 3.0 is a coordinated major release across 17 packages, including four new packages.
AbortSignal reaches the live HTTP request in every built-in provider. A stream that ends early fails with a typed truncation error.responseMessages now contains only the messages that the current call generated. embedMany separates batch size from concurrency and validates the rows it gets back.ai_sdk_conversation: versioned, immutable conversation snapshots with a JSON persistence codec.ai_sdk_remote: Vercel AI UI-message stream transport for trusted backends.ai_sdk_json_schema: optional local JSON Schema validation (Draft 7 and 2020-12) for structured output.ai_sdk_telemetry: bounded OTLP/HTTP JSON metric export.Upgrade every ai_sdk package together. Custom embedding models must declare maxEmbeddingsPerCall and supportsParallelCalls. A decoder alone no longer means JSON Schema validation: use Schema.decoderOnly or ai_sdk_json_schema. LanguageModelV4AbortSignal remains as a deprecated alias of AbortSignal for the whole 3.x line.
Read the 2.x to 3.x migration guide before you upgrade. Each package's CHANGELOG lists its own changes.
All 17 packages are published on pub.dev. ai_sdk_realtime stays unpublished until it completes qualification.
Full Changelog: 2.0.0...3.0.0
AbortSignal observation and shared Dio cancellation scopes for provider
request lifetimes.embedMany
requests with stable result order.AI SDK Dart 2.0 is a coordinated major release across all 13 packages.
AI SDK Dart 2.0 is a coordinated major release across all 13 packages.
Upgrade every ai_sdk package together. The obsolete V3 language-model contract, experimental API names, video surface, and old provider call fields were removed without compatibility shims.
Read the 2.0 migration guide before upgrading.
All 13 packages are published on pub.dev.
Full Changelog: 1.2.0...2.0.0
LanguageModelV4 and
removed the obsolete V3 language-model paths.Coordinated 1.2.0 release across all 13 packages — now live on pub.dev. A v6 hardening pass that makes the AI SDK Dart port more complete, honest, and
Coordinated 1.2.0 release across all 13 packages — now live on pub.dev. A v6 hardening pass that makes the AI SDK Dart port more complete, honest, and tested.
Non-2xx provider responses now throw a typed AiApiCallError carrying the provider's message, type, code, statusCode, raw body, and an isRetryable flag — consistently across every provider. The AiSdkError hierarchy moved into ai_sdk_provider (re-exported by ai_sdk_dart, so the public surface is unchanged).
ai_sdk_openai_compatible base (new package)A shared OpenAI Chat Completions implementation now powers OpenAI / Azure / Groq / Mistral. All 8 providers support tool use + multimodal image input; Cohere & Ollama gained them natively.
Real Server-Sent-Events streaming transport (SseClientTransport) plus a plain request/response HttpClientTransport; web-safe — dart:io is isolated behind conditional imports, so the client runs on Flutter web.
19 prebuilt, themeable Material widgets plus hardened controllers (ObjectStreamController.submit, ChatController.isStreaming, streaming-error surfacing). A restrained Material 3 redesign — bubbleless assistant transcript, an AiMotion motion/haptics vocabulary, and a first-class reduced-motion path. Fixed a PressableScale crash-on-dispose under reduced motion.
onAbort now interrupts an in-flight streamText; stopWhen can extend the tool loop past maxSteps. Removed the unusable generateVideo / VideoModelV1 (no backing provider). OpenAI image generation no longer sends response_format to gpt-image-1.
1,057 tests (924 Dart + 133 Flutter), 99.9% line coverage (11 of 12 packages at 100%), enforced by a CI coverage gate.
ai_sdk_provider · ai_sdk_dart · ai_sdk_openai_compatible · ai_sdk_openai · ai_sdk_anthropic · ai_sdk_google · ai_sdk_azure · ai_sdk_cohere · ai_sdk_groq · ai_sdk_mistral · ai_sdk_ollama · ai_sdk_mcp · ai_sdk_flutter_ui
See each package's CHANGELOG.md for full details.
Full Changelog: 1.1.0...1.2.0
AiSdkError hierarchy now lives here (relocated from ai_sdk_dart) so that every
provider package — which depends on ai_sdk_provider, not ai_sdk_dart — can throw the same
typed errors. ai_sdk_dart re-exports the hierarchy, so its public surface is unchanged.AiApiCallError is enriched with statusCode, url, responseBody, responseHeaders,
type, code, isRetryable, and cause, plus an AiApiCallError.fromResponse(...) factory
that tolerantly parses each provider's error-body shape (OpenAI/Groq/Mistral, Anthropic, Google,
Cohere, Ollama). The original positional-message constructor stays const and backward-compatible.VideoModelV1 and its VideoModelV1CallOptions / VideoModelV1GenerateResult types. No
provider ever implemented video generation, so the interface was dead surface area. The matching
generateVideo entry point was removed from ai_sdk_dart in the same release.Development environment setup: fix dependency conflict + add AGENTS.md by @codenameakshay in #1
Full Changelog: 1.0.0+1...1.1.0
LanguageModelV3CallOptions.outputSchema — new optional Map<String, dynamic>? field. When non-null, providers that support native structured output (e.g. OpenAI response_format: json_schema) should use it to request schema-validated responses directly from the model API.First stable release. Defines the provider interface contract for all AI SDK Dart providers.
First stable release. Defines the provider interface contract for all AI SDK Dart providers.
LanguageModelV3 — doGenerate / doStream interface.EmbeddingModelV2<VALUE> — doEmbed interface.ImageModelV3 — doGenerate interface.SpeechModelV1 — doGenerate interface.TranscriptionModelV1 — doGenerate interface.RerankModelV1 — doRerank interface.LanguageModelV3StreamPart sealed class hierarchy (text, tool call, reasoning, source, file, finish, error parts).LanguageModelV3CallOptions with all v6 call-time options.LanguageModelV3GenerateResult and LanguageModelV3StreamResult.JsonValue, ProviderMetadata, content parts, finish reasons, tool definitions, usage.Full Changelog : https://github.com/codenameakshay/ai_sdk_dart/commits/1.0.0+1
Full Changelog: https://github.com/codenameakshay/ai_sdk_dart/commits/1.0.0+1
example/example.md with usage examples and links to runnable apps.Your coding agent can read these notes before it upgrades. Set up the MCP server →