2025-10-15
·
4 commits
to main
since this release
Changes
googleai_dart - v1.0.0
TL;DR: Complete reimplementation with a new architecture, minimal dependencies, unified resource-based API, and full Gemini API coverage. Includes new Files, Batches, Caching, Corpora/RAG, RAG Stores, Dynamic Content, Permissions, Tuned Models, and Prediction (Veo) support.
What's new
- Unified client for both:
- Google AI Gemini Developer API
- Vertex AI Gemini API
- Complete API coverage: 78 endpoints.
- Files API: upload, list, get, delete, download.
- Generated Files API: list, get, getOperation (video outputs).
- Cached Contents: full CRUD.
- Batch operations: batchGenerateContent, batchEmbedContents, asyncBatchEmbedContent with LRO polling.
- Corpora & RAG: corpus CRUD (Google AI); documents/chunks/query, metadata filters, batch chunk ops (Vertex AI only).
- RAG Stores: documents list/create/get/delete/query + operations.
- Dynamic Content: generate/stream content with dynamic model IDs.
- Permissions: create/list/get/update/delete/transferOwnership for eligible resources.
- Tuned Models: list, get, listOperations, generation APIs.
- Prediction (Veo): predict, predictLongRunning, operation polling, RAI filtering.
- Architecture:
- Interceptor chain (Auth → Logging → Error).
- Authentication: API key, Bearer token, custom OAuth via
AuthProvider. - Retry with exponential backoff + jitter.
- Abortable requests via
abortTrigger(streaming and non-streaming). - SSE streaming parser.
- Central
GoogleAIConfig(timeouts, retry policy, log level, baseUrl).
- Testing:
- 560+ tests covering all endpoints, error branches, streaming/abort flows.
anthropic_sdk_dart - v0.3.0
- FIX: Handle optional space after colon in SSE parser in anthropic_sdk_dart (#790). (b31fbead)
- FEAT: Add extended thinking support to anthropic_sdk_dart (#803). (1ccb74a6)
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
ollama_dart - v0.3.0
- FEAT: Enhance CreateModelRequest with new fields in ollama_dart (#802). (c5c73549)
- FEAT: Add tool_name and index support in ollama_dart (#800). (f0f77286)
- FEAT: Add remote_model and remote_host support in ollama_dart (#799). (36b9d5f2)
- FEAT: Add truncate and shift support in ollama_dart (#798). (098a0815)
- FEAT: Support high, medium, low for think in ollama_dart (#797). (1cbe3fcf)
- FEAT: Support JSON schema in ResponseFormat in ollama_dart (#796). (2f399465)
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING REFACTOR: Improve factory names in ollama_dart (#806). (fbfa7acb)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
openai_dart - v0.6.0
- FIX: Correct text content serialization in CreateMessageRequest in openai_dart (#805). (e4569c96)
- FIX: Handle optional space after colon in SSE parser in openai_dart (#779). (9defa827)
- FEAT: Add OpenRouter provider routing support in openai_dart (#794). (6d306bc1)
- FEAT: Add OpenAI-compatible vendor reasoning content support (#793). (e0712c38)
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
chromadb - v0.3.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langchain - v0.8.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langchain_anthropic - v0.3.0
- FEAT: Add extended thinking support to langchain_anthropic (#804). (0e58fd31)
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langchain_chroma - v0.3.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langchain_community - v0.4.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langchain_core - v0.4.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langchain_firebase - v0.3.0
langchain_google - v0.7.0
- REFACTOR: Migrate langchain_google to the new googleai_dart client (#788). (f28edec9)
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langchain_mistralai - v0.3.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langchain_ollama - v0.4.0
- FEAT: Add think support to Ollama and ChatOllama (#801). (553c7282)
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING REFACTOR: Improve factory names in ollama_dart (#806). (fbfa7acb)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langchain_openai - v0.8.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langchain_supabase - v0.2.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
langgraph - v0.0.1-dev.3
mistralai_dart - v0.1.0
- FIX: Add missing usage field to ChatCompletionStreamResponse in mistralai_dart (#795). (4da75561)
- FIX: Handle optional space after colon in SSE parser in mistralai_dart (#791). (cefb1d2f)
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
openai_realtime_dart - v0.1.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
tavily_dart - v0.2.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)
vertex_ai - v0.2.0
- FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
- BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)