Releases: davidmigloz/langchain_dart
2025-10-16
Changes
googleai_dart - v1.1.0
- FEAT: Make googleai_dart fully WASM compatible (#808). (07e597f3)
- REFACTOR: Fix pub format warnings (#809). (640cdefb)
anthropic_sdk_dart - v0.3.0+1
chromadb - v0.3.0+1
langchain - v0.8.0+1
langchain_anthropic - v0.3.0+1
langchain_chroma - v0.3.0+1
langchain_community - v0.4.0+1
langchain_core - v0.4.0+1
langchain_firebase - v0.3.0+1
langchain_google - v0.7.0+1
langchain_mistralai - v0.3.0+1
langchain_ollama - v0.4.0+1
langchain_openai - v0.8.0+1
langchain_supabase - v0.2.0+1
mistralai_dart - v0.1.0+1
ollama_dart - v0.3.0+1
openai_dart - v0.6.0+1
openai_realtime_dart - v0.1.0+1
tavily_dart - v0.2.0+1
vertex_ai - v0.2.0+1
2025-10-15
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). ([f28edec](https://github.com/davidmigloz/langch...
2025-08-31
Changes
anthropic_sdk_dart - v0.2.3
chromadb - v0.2.3
googleai_dart - v0.1.3
mistralai_dart - v0.0.6
ollama_dart - v0.2.5
openai_dart - v0.5.5
openai_realtime_dart - v0.0.6
tavily_dart - v0.1.3
2025-08-25
2025-08-26
2025-08-10
2025-07-30
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
anthropic_sdk_dart-v0.2.2chromadb-v0.2.2googleai_dart-v0.1.2langchain-v0.7.8+1langchain_anthropic-v0.2.1+1langchain_chroma-v0.2.2+1langchain_community-v0.3.4+1langchain_core-v0.3.8langchain_firebase-v0.2.2+1langchain_google-v0.6.5+1langchain_mistralai-v0.2.4+1langchain_ollama-v0.3.3+1langchain_openai-v0.7.5langchain_pinecone-v0.1.1+1langchain_supabase-v0.1.2+1mistralai_dart-v0.0.5ollama_dart-v0.2.4openai_dart-v0.5.3openai_realtime_dart-v0.0.5tavily_dart-v0.1.2vertex_ai-v0.1.2
anthropic_sdk_dart - v0.2.2
chromadb - v0.2.2
googleai_dart - v0.1.2
langchain - v0.7.8+1
langchain_anthropic - v0.2.1+1
langchain_chroma - v0.2.2+1
langchain_community - v0.3.4+1
langchain_core - v0.3.8
- FEAT: Make CreateChatCompletionStreamResponse.choices field nullable to support Groq's OpenAI-compatible API (#742). (76fbbdc6)
- FIX: Add multi-LLM compatibility for Tool.fromFunction getInputFromJson (#738). (291a0efc)
- BUILD: Update dependencies (#751). (250a3c6)
langchain_firebase - v0.2.2+1
langchain_google - v0.6.5+1
langchain_mistralai - v0.2.4+1
langchain_ollama - v0.3.3+1
langchain_openai - v0.7.5
- FEAT: Make CreateChatCompletionStreamResponse.choices field nullable to support Groq's OpenAI-compatible API (#742). (76fbbdc6)
- BUILD: Update dependencies (#751). (250a3c6)
langchain_pinecone - v0.1.1+1
langchain_supabase - v0.1.2+1
mistralai_dart - v0.0.5
ollama_dart - v0.2.4
openai_dart - v0.5.3
- FEAT: Make CreateChatCompletionStreamResponse.choices field nullable to support Groq's OpenAI-compatible API (#742). (76fbbdc6)
- BUILD: Update dependencies (#751). (250a3c6)
openai_realtime_dart - v0.0.5
tavily_dart - v0.1.2
vertex_ai - v0.1.2
New Contributors
2025-06-18
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
Packages with dependency updates only:
Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
langchain_openai-v0.7.4+1
openai_dart - v0.5.1
- FEAT: Make ToolCallChunk.index field nullable to support Gemini OpenAI-compatible API (#733). (19cb49c0)
- FEAT: Make Embedding.index field nullable to support Gemini OpenAI-compatible API (#729). (9d22f197)
openai_realtime_dart - v0.0.4+1
2025-06-12
Changes
Packages with changes:
openai_dart-v0.5.0anthropic_sdk_dart-v0.2.1chromadb-v0.2.1googleai_dart-v0.1.1langchain-v0.7.8langchain_anthropic-v0.2.1langchain_chroma-v0.2.2langchain_community-v0.3.4langchain_core-v0.3.7langchain_firebase-v0.2.2langchain_google-v0.6.5langchain_mistralai-v0.2.4langchain_ollama-v0.3.3langchain_openai-v0.7.4langchain_pinecone-v0.1.1langchain_supabase-v0.1.2langgraph-v0.0.1-dev.2mistralai_dart-v0.0.4ollama_dart-v0.2.3openai_realtime_dart-v0.0.4tavily_dart-v0.1.1vertex_ai-v0.1.1
openai_dart - v0.5.0
- BREAKING FEAT: Align OpenAI API changes (#706). (b8b04ca6)
- FEAT: Add support for web search, gpt-image-1 and list chat completions (#716). (269dea03)
- FEAT: Update OpenAI model catalog (#714). (68df4558)
- FEAT: Change the default value of 'reasoning_effort' from medium to null (#713). (f224572e)
- FEAT: Update dependencies (requires Dart 3.6.0) (#709). (9e3467f7)
- REFACTOR: Remove fetch_client dependency in favor of http v1.3.0 (#659). (0e0a685c)
- REFACTOR: Fix linter issues (#708). (652e7c64)
- DOCS: Fix TruncationObject docs typo in openai_dart. (ee5ed4fd)
- DOCS: Document Azure Assistants API base url (#626). (c3459eea)
anthropic_sdk_dart - v0.2.1
- FEAT: Update dependencies (requires Dart 3.6.0) (#709). (9e3467f7)
- REFACTOR: Remove fetch_client dependency in favor of http v1.3.0 (#659). (0e0a685c)
- FIX: Fix linter issues (#656). (88a79c65)
chromadb - v0.2.1
- FEAT: Update dependencies (requires Dart 3.6.0) (#709). (9e3467f7)
- REFACTOR: Remove fetch_client dependency in favor of http v1.3.0 (#659). (0e0a685c)
- FIX: Fix linter issues (#656). (88a79c65)
googleai_dart - v0.1.1
- FEAT: Update dependencies (requires Dart 3.6.0) (#709). (9e3467f7)
- REFACTOR: Remove fetch_client dependency in favor of http v1.3.0 (#659). (0e0a685c)
- FIX: Fix linter issues (#656). (88a79c65)
langchain - v0.7.8
- FEAT: Implement Markdown text splitter (#635). (242e4be2)
- FEAT: Update dependencies (requires Dart 3.6.0) (#709). (9e3467f7)
- FEAT: Add to/fromMap serialization to ChatMessage, PromptValue & ChatHistory (#681). (d239c7c7)
- FIX: Correctly calculate start_index when using chunkOverlap in TextSplitter (#640). (71dd5ac3)
- FIX: Fix linter issues (#656). (88a79c65)
- FIX: Made apiKey optional for
TavilyAnswerToolandTavilySearchResultsTool(#646). (5085ea4a)
langchain_anthropic - v0.2.1
- FEAT: Update dependencies (requires Dart 3.6.0) (#709). (9e3467f7)
- REFACTOR: Remove fetch_client dependency in favor of http v1.3.0 (#659). (0e0a685c)
- FIX: Fix linter issues (#656). (88a79c65)
langchain_chroma - v0.2.2
- FEAT: Update dependencies (requires Dart 3.6.0) (#709). (9e3467f7)
- REFACTOR: Remove fetch_client dependency in favor of http v1.3.0 (#659). (0e0a685c)
- FIX: Fix linter issues (#656). (88a79c65)
langchain_community - v0.3.4
- FEAT: Update dependencies (requires Dart 3.6.0) (#709). (9e3467f7)
- REFACTOR: Remove fetch_client dependency in favor of http v1.3.0 (#659). (0e0a685c)
- FIX: Fix static instance of ObjectBoxVectorStore (#684). (719ead93)
- FIX: Fix langchain_community WASM compatibility (#660). (0be8aae4)
- FIX: Fix linter issues (#656). (88a79c65)
- FIX: Made apiKey optional for
TavilyAnswerToolandTavilySearchResultsTool(#646). ([5085ea4](5085ea4ad8b5...
2024-12-16
Changes
Packages with breaking changes:
- There are no breaking changes in this release.
Packages with other changes:
anthropic_sdk_dart-v0.2.0+1chromadb-v0.2.0+2googleai_dart-v0.1.0+3langchain-v0.7.7+2langchain_anthropic-v0.2.0+1langchain_community-v0.3.3langchain_core-v0.3.6+1langchain_firebase-v0.2.1+4langchain_google-v0.6.4+2langchain_mistralai-v0.2.3+2langchain_ollama-v0.3.2+2langchain_openai-v0.7.3mistralai_dart-v0.0.3+4ollama_dart-v0.2.2+1openai_dart-v0.4.5openai_realtime_dart-v0.0.3+1tavily_dart-v0.1.0+1vertex_ai-v0.1.0+3langchain_chroma-v0.2.1+5langchain_pinecone-v0.1.0+11langchain_supabase-v0.1.1+4
Packages with dependency updates only:
Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
langchain_chroma-v0.2.1+5langchain_pinecone-v0.1.0+11langchain_supabase-v0.1.1+4
langchain - v0.7.7+2
langchain_core - v0.3.6+1
langchain_community - v0.3.3
- FEAT: Add support for DirectoryLoader (#620). (4730f2a3)
- FEAT: Expose internal store in ObjectBoxVectorStore (#611). (c33f2e07)
- FIX: Chinese character support on web loader (#600). (48e64d5b)
- REFACTOR: Add new lint rules and fix issues (#621). (60b10e00)
- REFACTOR: Upgrade api clients generator version (#610). (0c8750e8)
langchain_openai - v0.7.3
- FEAT: Add gpt-4o-2024-11-20 to model catalog in openai_dart (#614). (bf333081)
- REFACTOR: Add new lint rules and fix issues (#621). (60b10e00)
langchain_anthropic - v0.2.0+1
langchain_firebase - v0.2.1+4
langchain_google - v0.6.4+2
langchain_mistralai - v0.2.3+2
langchain_ollama - v0.3.2+2
openai_dart - v0.4.5
- FEAT: Support Predicted Outputs in openai_dart (#613). (315fe0fd)
- FEAT: Support streaming audio responses in chat completions in openai_dart (#615). (6da756a8)
- FEAT: Add gpt-4o-2024-11-20 to model catalog in openai_dart (#614). (bf333081)
- FIX: Default store field to null in openai_dart to support Azure and Groq APIs (#608). (21332960)
- FIX: Make first_id and last_id nullable in list endpoints in openai_dart (#607). (7cfc4ddf)
- DOCS: Update OpenAI endpoints descriptions (#612). (10c66888)
- REFACTOR: Add new lint rules and fix issues (#621). (60b10e00)
- REFACTOR: Upgrade api clients generator version (#610). (0c8750e8)
openai_realtime_dart - v0.0.3+1
- REFACTOR: Add new lint rules and fix issues (#621). (60b10e00)
- REFACTOR: Upgrade api clients generator version (#610). (0c8750e8)
- DOCS: Update openai_spec_official.yaml. (ee2eb35b)
- DOCS: Update README.md. (44291a06)
anthropic_sdk_dart - v0.2.0+1
- REFACTOR: Add new lint rules and fix issues (#621). (60b10e00)
- REFACTOR: Upgrade api clients generator version (#610). (0c8750e8)
chromadb - v0.2.0+2
- REFACTOR: Add new lint rules and fix issues (#621). (60b10e00)
- REFACTOR: Upgrade api clients generator version (#610). (0c8750e8)
googleai_dart - v0.1.0+3
mistralai_dart - v0.0.3+4
- REFACTOR: Add new lint rules and fix issues (#621). (60b10e00)
- REFACTOR: Upgrade api clients generator version (#610). (0c8750e8)