From 621663a15772a9ff5b55544bcc78d1ba3ed4ec09 Mon Sep 17 00:00:00 2001 From: David Miguel Date: Tue, 14 May 2024 23:21:04 +0200 Subject: [PATCH] chore(release): publish packages - langchain@0.7.1 - langchain_core@0.3.1 - langchain_community@0.2.0+1 - langchain_google@0.5.0 - langchain_firebase@0.1.0 - langchain_openai@0.6.1 - langchain_ollama@0.2.1 - langchain_chroma@0.2.0+4 - langchain_mistralai@0.2.0+1 - langchain_pinecone@0.1.0+4 - langchain_supabase@0.1.0+4 - googleai_dart@0.1.0 - openai_dart@0.3.2 - ollama_dart@0.1.0 --- CHANGELOG.md | 104 ++++++++++++++++++ examples/browser_summarizer/pubspec.yaml | 6 +- examples/docs_examples/pubspec.yaml | 14 +-- examples/hello_world_backend/pubspec.yaml | 4 +- examples/hello_world_cli/pubspec.yaml | 4 +- examples/hello_world_flutter/pubspec.yaml | 4 +- packages/googleai_dart/CHANGELOG.md | 4 + packages/googleai_dart/pubspec.yaml | 2 +- packages/langchain/CHANGELOG.md | 7 ++ packages/langchain/pubspec.yaml | 4 +- packages/langchain_chroma/CHANGELOG.md | 4 + packages/langchain_chroma/pubspec.yaml | 10 +- packages/langchain_community/CHANGELOG.md | 4 + packages/langchain_community/pubspec.yaml | 4 +- packages/langchain_core/CHANGELOG.md | 5 + packages/langchain_core/pubspec.yaml | 2 +- packages/langchain_firebase/CHANGELOG.md | 5 + .../langchain_firebase/example/pubspec.yaml | 4 +- packages/langchain_firebase/pubspec.yaml | 4 +- packages/langchain_google/CHANGELOG.md | 10 ++ packages/langchain_google/pubspec.yaml | 4 +- packages/langchain_mistralai/CHANGELOG.md | 4 + packages/langchain_mistralai/pubspec.yaml | 4 +- packages/langchain_ollama/CHANGELOG.md | 7 ++ packages/langchain_ollama/pubspec.yaml | 6 +- packages/langchain_openai/CHANGELOG.md | 5 + packages/langchain_openai/pubspec.yaml | 10 +- packages/langchain_pinecone/CHANGELOG.md | 4 + packages/langchain_pinecone/pubspec.yaml | 6 +- packages/langchain_supabase/CHANGELOG.md | 4 + packages/langchain_supabase/pubspec.yaml | 10 +- packages/ollama_dart/CHANGELOG.md | 8 ++ packages/ollama_dart/pubspec.yaml | 2 +- packages/openai_dart/CHANGELOG.md | 7 ++ packages/openai_dart/pubspec.yaml | 2 +- 35 files changed, 235 insertions(+), 53 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf0d86d6..a668f597 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,110 @@ Check out the #announcements channel in the [LangChain.dart Discord](https://discord.gg/x4qbhqecVR) server for more details about each release. +## 2024-05-14 + +### Changes + +--- + +Packages with breaking changes: + +- [`langchain_google` - `v0.5.0`](#langchain_google---v050) +- [`googleai_dart` - `v0.1.0`](#googleai_dart---v010) +- [`ollama_dart` - `v0.1.0`](#ollama_dart---v010) + +Packages with other changes: + +- [`langchain` - `v0.7.1`](#langchain---v071) +- [`langchain_core` - `v0.3.1`](#langchain_core---v031) +- [`langchain_community` - `v0.2.0+1`](#langchain_community---v0201) +- [`langchain_firebase` - `v0.1.0`](#langchain_firebase---v010) +- [`langchain_openai` - `v0.6.1`](#langchain_openai---v061) +- [`langchain_ollama` - `v0.2.1`](#langchain_ollama---v021) +- [`langchain_chroma` - `v0.2.0+4`](#langchain_chroma---v0204) +- [`langchain_mistralai` - `v0.2.0+1`](#langchain_mistralai---v0201) +- [`langchain_pinecone` - `v0.1.0+4`](#langchain_pinecone---v0104) +- [`langchain_supabase` - `v0.1.0+4`](#langchain_supabase---v0104) +- [`openai_dart` - `v0.3.2`](#openai_dart---v032) + +--- + +#### `langchain` - `v0.7.1` + +> Note: VertexAI for Firebase (`ChatFirebaseVertexAI`) is available in the new [`langchain_firebase`](https://pub.dev/packages/langchain_firebase) package. + +- **DOCS**: Add docs for ChatFirebaseVertexAI ([#422](https://github.com/davidmigloz/langchain_dart/issues/422)). ([8d0786bc](https://github.com/davidmigloz/langchain_dart/commit/8d0786bc6228ce86de962d30e9c2cc9728a08f3f)) +- **DOCS**: Update ChatOllama docs ([#417](https://github.com/davidmigloz/langchain_dart/issues/417)). ([9d30b1a1](https://github.com/davidmigloz/langchain_dart/commit/9d30b1a1c811d73cfa27110b8c3c10b10da1801e)) + +#### `langchain_core` - `v0.3.1` + +- **FEAT**: Add equals to ChatToolChoiceForced ([#422](https://github.com/davidmigloz/langchain_dart/issues/422)). ([8d0786bc](https://github.com/davidmigloz/langchain_dart/commit/8d0786bc6228ce86de962d30e9c2cc9728a08f3f)) +- **FIX**: Fix finishReason null check ([#406](https://github.com/davidmigloz/langchain_dart/issues/406)). ([5e2b0ecc](https://github.com/davidmigloz/langchain_dart/commit/5e2b0eccd54c6c1dc15af8ff6d62c395f12fbd90)) + +#### `langchain_community` - `v0.2.0+1` + +- Update a dependency to the latest release. + +#### `langchain_google` - `v0.5.0` + +> Note: `ChatGoogleGenerativeAI` and `GoogleGenerativeAIEmbeddings` now use the version `v1beta` of the Gemini API (instead of `v1`) which support the latest models (`gemini-1.5-pro-latest` and `gemini-1.5-flash-latest`). +> +> VertexAI for Firebase (`ChatFirebaseVertexAI`) is available in the new [`langchain_firebase`](https://pub.dev/packages/langchain_firebase) package. + +- **FEAT**: Add support for tool calling in ChatGoogleGenerativeAI ([#419](https://github.com/davidmigloz/langchain_dart/issues/419)). ([df41f38a](https://github.com/davidmigloz/langchain_dart/commit/df41f38aab64651a06a42fc41d9c35f33250a3e9)) +- **DOCS**: Add Gemini 1.5 Flash to models list ([#423](https://github.com/davidmigloz/langchain_dart/issues/423)). ([40f4c9de](https://github.com/davidmigloz/langchain_dart/commit/40f4c9de9c25804e298fd481c80f8c52d53302fb)) +- **BREAKING** **FEAT**: Migrate internal client from googleai_dart to google_generative_ai ([#407](https://github.com/davidmigloz/langchain_dart/issues/407)). ([fa4b5c37](https://github.com/davidmigloz/langchain_dart/commit/fa4b5c376a191fea50c3f8b1d6b07cef0480a74e)) + +#### `langchain_firebase` - `v0.1.0` + +- **FEAT**: Add support for ChatFirebaseVertexAI ([#422](https://github.com/davidmigloz/langchain_dart/issues/422)). ([8d0786bc](https://github.com/davidmigloz/langchain_dart/commit/8d0786bc6228ce86de962d30e9c2cc9728a08f3f)) +- **DOCS**: Add Gemini 1.5 Flash to models list ([#423](https://github.com/davidmigloz/langchain_dart/issues/423)). ([40f4c9de](https://github.com/davidmigloz/langchain_dart/commit/40f4c9de9c25804e298fd481c80f8c52d53302fb)) + +#### `langchain_openai` - `v0.6.1` + +- **FEAT**: Add GPT-4o to model catalog ([#420](https://github.com/davidmigloz/langchain_dart/issues/420)). ([96214307](https://github.com/davidmigloz/langchain_dart/commit/96214307ec8ae045dade687d4c623bd4dc1be896)) +- **FEAT**: Include usage stats when streaming with OpenAI and ChatOpenAI ([#406](https://github.com/davidmigloz/langchain_dart/issues/406)). ([5e2b0ecc](https://github.com/davidmigloz/langchain_dart/commit/5e2b0eccd54c6c1dc15af8ff6d62c395f12fbd90)) + +#### `langchain_ollama` - `v0.2.1` + +- **FEAT**: Handle finish reason in ChatOllama ([#416](https://github.com/davidmigloz/langchain_dart/issues/416)). ([a5e1af13](https://github.com/davidmigloz/langchain_dart/commit/a5e1af13ef4d2db690ab599dbf5e42f28659a059)) +- **FEAT**: Add keepAlive option to OllamaEmbeddings ([#415](https://github.com/davidmigloz/langchain_dart/issues/415)). ([32e19028](https://github.com/davidmigloz/langchain_dart/commit/32e19028a7e19ef5fc32a410061eb85bc6e27c39)) +- **FEAT**: Update Ollama default model from llama2 to llama3 ([#417](https://github.com/davidmigloz/langchain_dart/issues/417)). ([9d30b1a1](https://github.com/davidmigloz/langchain_dart/commit/9d30b1a1c811d73cfa27110b8c3c10b10da1801e)) +- **REFACTOR**: Remove deprecated Ollama options ([#414](https://github.com/davidmigloz/langchain_dart/issues/414)). ([861a2b74](https://github.com/davidmigloz/langchain_dart/commit/861a2b7430d33718340676ec2804a7aaccb2a08a)) + +#### `openai_dart` - `v0.3.2` + +- **FEAT**: Add GPT-4o to model catalog ([#420](https://github.com/davidmigloz/langchain_dart/issues/420)). ([96214307](https://github.com/davidmigloz/langchain_dart/commit/96214307ec8ae045dade687d4c623bd4dc1be896)) +- **FEAT**: Add support for different content types in Assistants API and other fixes ([#412](https://github.com/davidmigloz/langchain_dart/issues/412)). ([97acab45](https://github.com/davidmigloz/langchain_dart/commit/97acab45a5770422c666795ad3443c083fa08895)) +- **FEAT**: Add support for completions and embeddings in batch API in openai_dart ([#425](https://github.com/davidmigloz/langchain_dart/issues/425)). ([16fe4c68](https://github.com/davidmigloz/langchain_dart/commit/16fe4c6814a828fb0d271a6793598f8369da259d)) +- **FEAT**: Add incomplete status to RunObject in openai_dart ([#424](https://github.com/davidmigloz/langchain_dart/issues/424)). ([71b116e6](https://github.com/davidmigloz/langchain_dart/commit/71b116e6252a9dce5a92e979164e0af8fe96efc3)) + +#### `ollama_dart` - `v0.1.0` + +- **BREAKING** **FEAT**: Align Ollama client to the Ollama v0.1.36 API ([#411](https://github.com/davidmigloz/langchain_dart/issues/411)). ([326212ce](https://github.com/davidmigloz/langchain_dart/commit/326212ce4e4b035f7b29f4c810f447d5cf1731c4)) +- **FEAT**: Update Ollama default model from llama2 to llama3 ([#417](https://github.com/davidmigloz/langchain_dart/issues/417)). ([9d30b1a1](https://github.com/davidmigloz/langchain_dart/commit/9d30b1a1c811d73cfa27110b8c3c10b10da1801e)) +- **FEAT**: Add support for done reason ([#413](https://github.com/davidmigloz/langchain_dart/issues/413)). ([cc5b1b02](https://github.com/davidmigloz/langchain_dart/commit/cc5b1b021636379f32f215546b78547ace87d150)) + +#### `googleai_dart` - `v0.1.0` + +- **REFACTOR**: Minor changes ([#407](https://github.com/davidmigloz/langchain_dart/issues/407)). ([fa4b5c37](https://github.com/davidmigloz/langchain_dart/commit/fa4b5c376a191fea50c3f8b1d6b07cef0480a74e)) + +#### `langchain_chroma` - `v0.2.0+4` + +- Update a dependency to the latest release. + +#### `langchain_mistralai` - `v0.2.0+1` + +- Update a dependency to the latest release. + +#### `langchain_pinecone` - `v0.1.0+4` + +- Update a dependency to the latest release. + +#### `langchain_supabase` - `v0.1.0+4` + +- Update a dependency to the latest release. + ## 2024-05-09 ### Changes diff --git a/examples/browser_summarizer/pubspec.yaml b/examples/browser_summarizer/pubspec.yaml index 7e1a4dbc..9a2c4936 100644 --- a/examples/browser_summarizer/pubspec.yaml +++ b/examples/browser_summarizer/pubspec.yaml @@ -13,9 +13,9 @@ dependencies: flutter_bloc: ^8.1.5 flutter_markdown: ^0.6.22 js: ^0.7.1 - langchain: ^0.7.0 - langchain_community: 0.2.0 - langchain_openai: ^0.6.0+2 + langchain: ^0.7.1 + langchain_community: 0.2.0+1 + langchain_openai: ^0.6.1 shared_preferences: ^2.2.2 flutter: diff --git a/examples/docs_examples/pubspec.yaml b/examples/docs_examples/pubspec.yaml index 9df8d311..0b57edbc 100644 --- a/examples/docs_examples/pubspec.yaml +++ b/examples/docs_examples/pubspec.yaml @@ -7,10 +7,10 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - langchain: ^0.7.0 - langchain_chroma: ^0.2.0+3 - langchain_community: 0.2.0 - langchain_google: ^0.4.0 - langchain_mistralai: ^0.2.0 - langchain_ollama: ^0.2.0 - langchain_openai: ^0.6.0+2 + langchain: ^0.7.1 + langchain_chroma: ^0.2.0+4 + langchain_community: 0.2.0+1 + langchain_google: ^0.5.0 + langchain_mistralai: ^0.2.0+1 + langchain_ollama: ^0.2.1 + langchain_openai: ^0.6.1 diff --git a/examples/hello_world_backend/pubspec.yaml b/examples/hello_world_backend/pubspec.yaml index 6a0b37be..fa43a6d8 100644 --- a/examples/hello_world_backend/pubspec.yaml +++ b/examples/hello_world_backend/pubspec.yaml @@ -7,7 +7,7 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - langchain: ^0.7.0 - langchain_openai: ^0.6.0+2 + langchain: ^0.7.1 + langchain_openai: ^0.6.1 shelf: ^1.4.1 shelf_router: ^1.1.4 diff --git a/examples/hello_world_cli/pubspec.yaml b/examples/hello_world_cli/pubspec.yaml index 5abdc013..581a3927 100644 --- a/examples/hello_world_cli/pubspec.yaml +++ b/examples/hello_world_cli/pubspec.yaml @@ -7,5 +7,5 @@ environment: sdk: ">=3.0.0 <4.0.0" dependencies: - langchain: ^0.7.0 - langchain_openai: ^0.6.0+2 + langchain: ^0.7.1 + langchain_openai: ^0.6.1 diff --git a/examples/hello_world_flutter/pubspec.yaml b/examples/hello_world_flutter/pubspec.yaml index a6b9b82c..c000d972 100644 --- a/examples/hello_world_flutter/pubspec.yaml +++ b/examples/hello_world_flutter/pubspec.yaml @@ -11,8 +11,8 @@ dependencies: sdk: flutter equatable: ^2.0.5 flutter_bloc: ^8.1.5 - langchain: ^0.7.0 - langchain_openai: ^0.6.0+2 + langchain: ^0.7.1 + langchain_openai: ^0.6.1 flutter: uses-material-design: true diff --git a/packages/googleai_dart/CHANGELOG.md b/packages/googleai_dart/CHANGELOG.md index bfeab217..8277d0d5 100644 --- a/packages/googleai_dart/CHANGELOG.md +++ b/packages/googleai_dart/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.0 + +- **REFACTOR**: Minor changes ([#407](https://github.com/davidmigloz/langchain_dart/issues/407)). ([fa4b5c37](https://github.com/davidmigloz/langchain_dart/commit/fa4b5c376a191fea50c3f8b1d6b07cef0480a74e)) + ## 0.0.4 - **FEAT**: Support generateContent for tuned model in googleai_dart client ([#358](https://github.com/davidmigloz/langchain_dart/issues/358)). ([b4641a09](https://github.com/davidmigloz/langchain_dart/commit/b4641a09af7f6d67d503d526451a370eca920c5c)) diff --git a/packages/googleai_dart/pubspec.yaml b/packages/googleai_dart/pubspec.yaml index 96cea9a2..ca8f0f00 100644 --- a/packages/googleai_dart/pubspec.yaml +++ b/packages/googleai_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: googleai_dart description: Dart Client for the Google AI API (Gemini Pro, Gemini Pro Vision, embeddings, etc.). -version: 0.0.4 +version: 0.1.0 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/googleai_dart issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:googleai_dart homepage: https://github.com/davidmigloz/langchain_dart diff --git a/packages/langchain/CHANGELOG.md b/packages/langchain/CHANGELOG.md index 0cd80c0f..47e5a89d 100644 --- a/packages/langchain/CHANGELOG.md +++ b/packages/langchain/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.7.1 + +> Note: VertexAI for Firebase (`ChatFirebaseVertexAI`) is available in the new [`langchain_firebase`](https://pub.dev/packages/langchain_firebase) package. + + - **DOCS**: Add docs for ChatFirebaseVertexAI ([#422](https://github.com/davidmigloz/langchain_dart/issues/422)). ([8d0786bc](https://github.com/davidmigloz/langchain_dart/commit/8d0786bc6228ce86de962d30e9c2cc9728a08f3f)) + - **DOCS**: Update ChatOllama docs ([#417](https://github.com/davidmigloz/langchain_dart/issues/417)). ([9d30b1a1](https://github.com/davidmigloz/langchain_dart/commit/9d30b1a1c811d73cfa27110b8c3c10b10da1801e)) + ## 0.7.0 > Note: This release has breaking changes. diff --git a/packages/langchain/pubspec.yaml b/packages/langchain/pubspec.yaml index 94a2e14b..0c0a2a58 100644 --- a/packages/langchain/pubspec.yaml +++ b/packages/langchain/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain description: Build powerful LLM-based Dart and Flutter applications with LangChain.dart. -version: 0.7.0 +version: 0.7.1 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain issue_tracker: https://github.com/davidmigloz/langchain_dart/issues homepage: https://github.com/davidmigloz/langchain_dart @@ -19,7 +19,7 @@ dependencies: characters: ^1.3.0 collection: '>=1.17.0 <1.19.0' crypto: ^3.0.3 - langchain_core: ^0.3.0 + langchain_core: ^0.3.1 meta: ^1.11.0 uuid: ^4.3.3 diff --git a/packages/langchain_chroma/CHANGELOG.md b/packages/langchain_chroma/CHANGELOG.md index 857e0a4c..266080ac 100644 --- a/packages/langchain_chroma/CHANGELOG.md +++ b/packages/langchain_chroma/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.0+4 + + - Update a dependency to the latest release. + ## 0.2.0+3 - Update a dependency to the latest release. diff --git a/packages/langchain_chroma/pubspec.yaml b/packages/langchain_chroma/pubspec.yaml index bdd4345f..3da841ef 100644 --- a/packages/langchain_chroma/pubspec.yaml +++ b/packages/langchain_chroma/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain_chroma description: LangChain.dart integration module for Chroma open-source embedding database. -version: 0.2.0+3 +version: 0.2.0+4 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_chroma issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_chroma homepage: https://github.com/davidmigloz/langchain_dart @@ -19,12 +19,12 @@ environment: dependencies: chromadb: ^0.2.0 http: ^1.1.0 - langchain_core: ^0.3.0 + langchain_core: ^0.3.1 meta: ^1.11.0 uuid: ^4.3.3 dev_dependencies: test: ^1.25.2 - langchain: ^0.7.0 - langchain_community: 0.2.0 - langchain_openai: ^0.6.0+2 + langchain: ^0.7.1 + langchain_community: 0.2.0+1 + langchain_openai: ^0.6.1 diff --git a/packages/langchain_community/CHANGELOG.md b/packages/langchain_community/CHANGELOG.md index 68789021..7f48bd87 100644 --- a/packages/langchain_community/CHANGELOG.md +++ b/packages/langchain_community/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.0+1 + +- Update a dependency to the latest release. + ## 0.2.0 > Note: This release has breaking changes. diff --git a/packages/langchain_community/pubspec.yaml b/packages/langchain_community/pubspec.yaml index 0ed89a6b..29fbdb15 100644 --- a/packages/langchain_community/pubspec.yaml +++ b/packages/langchain_community/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain_community description: LangChain.dart third-party integrations that don't have a dedicated package. -version: 0.2.0 +version: 0.2.0+1 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_community issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_community homepage: https://github.com/davidmigloz/langchain_dart @@ -21,7 +21,7 @@ dependencies: csv: ^6.0.0 http: ^1.1.0 json_path: ^0.7.1 - langchain_core: ^0.3.0 + langchain_core: ^0.3.1 math_expressions: ^2.4.0 meta: ^1.11.0 diff --git a/packages/langchain_core/CHANGELOG.md b/packages/langchain_core/CHANGELOG.md index 0882fe4c..25cf9ffd 100644 --- a/packages/langchain_core/CHANGELOG.md +++ b/packages/langchain_core/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.3.1 + + - **FEAT**: Add equals to ChatToolChoiceForced ([#422](https://github.com/davidmigloz/langchain_dart/issues/422)). ([8d0786bc](https://github.com/davidmigloz/langchain_dart/commit/8d0786bc6228ce86de962d30e9c2cc9728a08f3f)) + - **FIX**: Fix finishReason null check ([#406](https://github.com/davidmigloz/langchain_dart/issues/406)). ([5e2b0ecc](https://github.com/davidmigloz/langchain_dart/commit/5e2b0eccd54c6c1dc15af8ff6d62c395f12fbd90)) + ## 0.3.0 > Note: This release has breaking changes. diff --git a/packages/langchain_core/pubspec.yaml b/packages/langchain_core/pubspec.yaml index 31a45d99..65650ce8 100644 --- a/packages/langchain_core/pubspec.yaml +++ b/packages/langchain_core/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain_core description: Contains core abstractions of LangChain.dart and the LangChain Expression Language (LCEL). -version: 0.3.0 +version: 0.3.1 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_core issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_core homepage: https://github.com/davidmigloz/langchain_dart diff --git a/packages/langchain_firebase/CHANGELOG.md b/packages/langchain_firebase/CHANGELOG.md index d7abe8e1..862156b6 100644 --- a/packages/langchain_firebase/CHANGELOG.md +++ b/packages/langchain_firebase/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.1.0 + + - **FEAT**: Add support for ChatFirebaseVertexAI ([#422](https://github.com/davidmigloz/langchain_dart/issues/422)). ([8d0786bc](https://github.com/davidmigloz/langchain_dart/commit/8d0786bc6228ce86de962d30e9c2cc9728a08f3f)) + - **DOCS**: Add Gemini 1.5 Flash to models list ([#423](https://github.com/davidmigloz/langchain_dart/issues/423)). ([40f4c9de](https://github.com/davidmigloz/langchain_dart/commit/40f4c9de9c25804e298fd481c80f8c52d53302fb)) + ## 0.0.1-dev.1 - Bootstrap `langchain_firebase` package. diff --git a/packages/langchain_firebase/example/pubspec.yaml b/packages/langchain_firebase/example/pubspec.yaml index 6c95e7cb..76900f0d 100644 --- a/packages/langchain_firebase/example/pubspec.yaml +++ b/packages/langchain_firebase/example/pubspec.yaml @@ -13,8 +13,8 @@ dependencies: flutter: sdk: flutter flutter_markdown: ^0.6.22 - langchain: 0.7.0 - langchain_firebase: 0.0.1-dev.1 + langchain: 0.7.1 + langchain_firebase: 0.1.0 dev_dependencies: flutter_lints: ^3.0.0 diff --git a/packages/langchain_firebase/pubspec.yaml b/packages/langchain_firebase/pubspec.yaml index 4ec359e6..279bc37a 100644 --- a/packages/langchain_firebase/pubspec.yaml +++ b/packages/langchain_firebase/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain_firebase description: LangChain.dart integration module for Firebase (VertexAI for Firebase, Firestore, etc.). -version: 0.0.1-dev.1 +version: 0.1.0 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_firebase issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_firebase homepage: https://github.com/davidmigloz/langchain_dart @@ -22,7 +22,7 @@ dependencies: firebase_app_check: ^0.2.2+5 firebase_core: ^2.31.0 firebase_vertexai: ^0.1.0 - langchain_core: ^0.3.0 + langchain_core: ^0.3.1 meta: ^1.11.0 uuid: ^4.3.3 diff --git a/packages/langchain_google/CHANGELOG.md b/packages/langchain_google/CHANGELOG.md index ca7b3283..b61c71d8 100644 --- a/packages/langchain_google/CHANGELOG.md +++ b/packages/langchain_google/CHANGELOG.md @@ -1,3 +1,13 @@ +## 0.5.0 + +> Note: `ChatGoogleGenerativeAI` and `GoogleGenerativeAIEmbeddings` now use the version `v1beta` of the Gemini API (instead of `v1`) which support the latest models (`gemini-1.5-pro-latest` and `gemini-1.5-flash-latest`). +> +> VertexAI for Firebase (`ChatFirebaseVertexAI`) is available in the new [`langchain_firebase`](https://pub.dev/packages/langchain_firebase) package. + + - **FEAT**: Add support for tool calling in ChatGoogleGenerativeAI ([#419](https://github.com/davidmigloz/langchain_dart/issues/419)). ([df41f38a](https://github.com/davidmigloz/langchain_dart/commit/df41f38aab64651a06a42fc41d9c35f33250a3e9)) + - **DOCS**: Add Gemini 1.5 Flash to models list ([#423](https://github.com/davidmigloz/langchain_dart/issues/423)). ([40f4c9de](https://github.com/davidmigloz/langchain_dart/commit/40f4c9de9c25804e298fd481c80f8c52d53302fb)) + - **BREAKING** **FEAT**: Migrate internal client from googleai_dart to google_generative_ai ([#407](https://github.com/davidmigloz/langchain_dart/issues/407)). ([fa4b5c37](https://github.com/davidmigloz/langchain_dart/commit/fa4b5c376a191fea50c3f8b1d6b07cef0480a74e)) + ## 0.4.0 > Note: This release has breaking changes. diff --git a/packages/langchain_google/pubspec.yaml b/packages/langchain_google/pubspec.yaml index d0c76c70..da3c7388 100644 --- a/packages/langchain_google/pubspec.yaml +++ b/packages/langchain_google/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain_google description: LangChain.dart integration module for Google (VertexAI, PaLM, Matching Engine, etc.). -version: 0.4.0 +version: 0.5.0 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_google issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_google homepage: https://github.com/davidmigloz/langchain_dart @@ -24,7 +24,7 @@ dependencies: googleapis: ^12.0.0 googleapis_auth: ^1.5.1 http: ^1.1.0 - langchain_core: ^0.3.0 + langchain_core: ^0.3.1 meta: ^1.11.0 uuid: ^4.3.3 vertex_ai: ^0.1.0 diff --git a/packages/langchain_mistralai/CHANGELOG.md b/packages/langchain_mistralai/CHANGELOG.md index ebb6932b..c87fd2db 100644 --- a/packages/langchain_mistralai/CHANGELOG.md +++ b/packages/langchain_mistralai/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.0+1 + + - Update a dependency to the latest release. + ## 0.2.0 > Note: This release has breaking changes. diff --git a/packages/langchain_mistralai/pubspec.yaml b/packages/langchain_mistralai/pubspec.yaml index bb99e8a8..0059b2db 100644 --- a/packages/langchain_mistralai/pubspec.yaml +++ b/packages/langchain_mistralai/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain_mistralai description: LangChain.dart integration module for Mistral AI (Mistral-7B, Mixtral 8x7B, embeddings, etc.). -version: 0.2.0 +version: 0.2.0+1 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_mistralai issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_mistralai homepage: https://github.com/davidmigloz/langchain_dart @@ -19,7 +19,7 @@ environment: dependencies: collection: '>=1.17.0 <1.19.0' http: ^1.1.0 - langchain_core: ^0.3.0 + langchain_core: ^0.3.1 langchain_tiktoken: ^1.0.1 meta: ^1.11.0 mistralai_dart: ^0.0.3+1 diff --git a/packages/langchain_ollama/CHANGELOG.md b/packages/langchain_ollama/CHANGELOG.md index 068fe733..6f38a23b 100644 --- a/packages/langchain_ollama/CHANGELOG.md +++ b/packages/langchain_ollama/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.2.1 + + - **FEAT**: Handle finish reason in ChatOllama ([#416](https://github.com/davidmigloz/langchain_dart/issues/416)). ([a5e1af13](https://github.com/davidmigloz/langchain_dart/commit/a5e1af13ef4d2db690ab599dbf5e42f28659a059)) + - **FEAT**: Add keepAlive option to OllamaEmbeddings ([#415](https://github.com/davidmigloz/langchain_dart/issues/415)). ([32e19028](https://github.com/davidmigloz/langchain_dart/commit/32e19028a7e19ef5fc32a410061eb85bc6e27c39)) + - **FEAT**: Update Ollama default model from llama2 to llama3 ([#417](https://github.com/davidmigloz/langchain_dart/issues/417)). ([9d30b1a1](https://github.com/davidmigloz/langchain_dart/commit/9d30b1a1c811d73cfa27110b8c3c10b10da1801e)) + - **REFACTOR**: Remove deprecated Ollama options ([#414](https://github.com/davidmigloz/langchain_dart/issues/414)). ([861a2b74](https://github.com/davidmigloz/langchain_dart/commit/861a2b7430d33718340676ec2804a7aaccb2a08a)) + ## 0.2.0 > Note: This release has breaking changes. diff --git a/packages/langchain_ollama/pubspec.yaml b/packages/langchain_ollama/pubspec.yaml index cd731ec8..a8c94263 100644 --- a/packages/langchain_ollama/pubspec.yaml +++ b/packages/langchain_ollama/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain_ollama description: LangChain.dart integration module for Ollama (run Llama 3, Phi-3, WizardLM-2, Mistral 7B, Gemma and other models locally). -version: 0.2.0 +version: 0.2.1 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_ollama issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_ollama homepage: https://github.com/davidmigloz/langchain_dart @@ -19,10 +19,10 @@ environment: dependencies: collection: '>=1.17.0 <1.19.0' http: ^1.1.0 - langchain_core: ^0.3.0 + langchain_core: ^0.3.1 langchain_tiktoken: ^1.0.1 meta: ^1.11.0 - ollama_dart: ^0.0.3+1 + ollama_dart: ^0.1.0 uuid: ^4.3.3 dev_dependencies: diff --git a/packages/langchain_openai/CHANGELOG.md b/packages/langchain_openai/CHANGELOG.md index b9acb5d6..2d1e113a 100644 --- a/packages/langchain_openai/CHANGELOG.md +++ b/packages/langchain_openai/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.6.1 + + - **FEAT**: Add GPT-4o to model catalog ([#420](https://github.com/davidmigloz/langchain_dart/issues/420)). ([96214307](https://github.com/davidmigloz/langchain_dart/commit/96214307ec8ae045dade687d4c623bd4dc1be896)) + - **FEAT**: Include usage stats when streaming with OpenAI and ChatOpenAI ([#406](https://github.com/davidmigloz/langchain_dart/issues/406)). ([5e2b0ecc](https://github.com/davidmigloz/langchain_dart/commit/5e2b0eccd54c6c1dc15af8ff6d62c395f12fbd90)) + ## 0.6.0+2 - Update a dependency to the latest release. diff --git a/packages/langchain_openai/pubspec.yaml b/packages/langchain_openai/pubspec.yaml index 542c3987..9b7be49d 100644 --- a/packages/langchain_openai/pubspec.yaml +++ b/packages/langchain_openai/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain_openai description: LangChain.dart integration module for OpenAI (GPT-3, GPT-4, Functions, etc.). -version: 0.6.0+2 +version: 0.6.1 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_openai issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_openai homepage: https://github.com/davidmigloz/langchain_dart @@ -19,13 +19,13 @@ environment: dependencies: collection: '>=1.17.0 <1.19.0' http: ^1.1.0 - langchain_core: ^0.3.0 + langchain_core: ^0.3.1 langchain_tiktoken: ^1.0.1 meta: ^1.11.0 - openai_dart: ^0.3.1 + openai_dart: ^0.3.2 uuid: ^4.3.3 dev_dependencies: - langchain: ^0.7.0 - langchain_community: 0.2.0 + langchain: ^0.7.1 + langchain_community: 0.2.0+1 test: ^1.25.2 diff --git a/packages/langchain_pinecone/CHANGELOG.md b/packages/langchain_pinecone/CHANGELOG.md index 7468b494..276d2616 100644 --- a/packages/langchain_pinecone/CHANGELOG.md +++ b/packages/langchain_pinecone/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.0+4 + + - Update a dependency to the latest release. + ## 0.1.0+3 - Update a dependency to the latest release. diff --git a/packages/langchain_pinecone/pubspec.yaml b/packages/langchain_pinecone/pubspec.yaml index be7f9b1c..141a96f4 100644 --- a/packages/langchain_pinecone/pubspec.yaml +++ b/packages/langchain_pinecone/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain_pinecone description: LangChain.dart integration module for Pinecone fully-managed vector database. -version: 0.1.0+3 +version: 0.1.0+4 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_pinecone issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_pinecone homepage: https://github.com/davidmigloz/langchain_dart @@ -18,11 +18,11 @@ environment: dependencies: http: ^1.1.0 - langchain_core: ^0.3.0 + langchain_core: ^0.3.1 meta: ^1.11.0 pinecone: ^0.7.2 uuid: ^4.3.3 dev_dependencies: test: ^1.25.2 - langchain_openai: ^0.6.0+2 + langchain_openai: ^0.6.1 diff --git a/packages/langchain_supabase/CHANGELOG.md b/packages/langchain_supabase/CHANGELOG.md index e931fcdb..d98b5fe3 100644 --- a/packages/langchain_supabase/CHANGELOG.md +++ b/packages/langchain_supabase/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.0+4 + + - Update a dependency to the latest release. + ## 0.1.0+3 - Update a dependency to the latest release. diff --git a/packages/langchain_supabase/pubspec.yaml b/packages/langchain_supabase/pubspec.yaml index a3a491c8..c480cdc7 100644 --- a/packages/langchain_supabase/pubspec.yaml +++ b/packages/langchain_supabase/pubspec.yaml @@ -1,6 +1,6 @@ name: langchain_supabase description: LangChain.dart integration module for Supabase (e.g. Supabase Vector). -version: 0.1.0+3 +version: 0.1.0+4 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/langchain_supabase issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:langchain_supabase homepage: https://github.com/davidmigloz/langchain_dart @@ -18,12 +18,12 @@ environment: dependencies: http: ^1.1.0 - langchain_core: ^0.3.0 + langchain_core: ^0.3.1 meta: ^1.11.0 supabase: ^2.0.8 dev_dependencies: test: ^1.25.2 - langchain: ^0.7.0 - langchain_community: 0.2.0 - langchain_openai: ^0.6.0+2 + langchain: ^0.7.1 + langchain_community: 0.2.0+1 + langchain_openai: ^0.6.1 diff --git a/packages/ollama_dart/CHANGELOG.md b/packages/ollama_dart/CHANGELOG.md index 41afd588..4b5ff033 100644 --- a/packages/ollama_dart/CHANGELOG.md +++ b/packages/ollama_dart/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.1.0 + +> Note: This release has breaking changes. + + - **BREAKING** **FEAT**: Align Ollama client to the Ollama v0.1.36 API ([#411](https://github.com/davidmigloz/langchain_dart/issues/411)). ([326212ce](https://github.com/davidmigloz/langchain_dart/commit/326212ce4e4b035f7b29f4c810f447d5cf1731c4)) + - **FEAT**: Update Ollama default model from llama2 to llama3 ([#417](https://github.com/davidmigloz/langchain_dart/issues/417)). ([9d30b1a1](https://github.com/davidmigloz/langchain_dart/commit/9d30b1a1c811d73cfa27110b8c3c10b10da1801e)) + - **FEAT**: Add support for done reason ([#413](https://github.com/davidmigloz/langchain_dart/issues/413)). ([cc5b1b02](https://github.com/davidmigloz/langchain_dart/commit/cc5b1b021636379f32f215546b78547ace87d150)) + ## 0.0.3+1 - **FIX**: Have the == implementation use Object instead of dynamic ([#334](https://github.com/davidmigloz/langchain_dart/issues/334)). ([89f7b0b9](https://github.com/davidmigloz/langchain_dart/commit/89f7b0b94144c216de19ec7244c48f3c34c2c635)) diff --git a/packages/ollama_dart/pubspec.yaml b/packages/ollama_dart/pubspec.yaml index b11a6661..30f792f5 100644 --- a/packages/ollama_dart/pubspec.yaml +++ b/packages/ollama_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: ollama_dart description: Dart Client for the Ollama API (run Llama 3, Phi-3, WizardLM-2, Mistral 7B, Gemma and other models locally). -version: 0.0.3+1 +version: 0.1.0 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/ollama_dart issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:ollama_dart homepage: https://github.com/davidmigloz/langchain_dart diff --git a/packages/openai_dart/CHANGELOG.md b/packages/openai_dart/CHANGELOG.md index 34fd03b9..632fa141 100644 --- a/packages/openai_dart/CHANGELOG.md +++ b/packages/openai_dart/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.3.2 + + - **FEAT**: Add GPT-4o to model catalog ([#420](https://github.com/davidmigloz/langchain_dart/issues/420)). ([96214307](https://github.com/davidmigloz/langchain_dart/commit/96214307ec8ae045dade687d4c623bd4dc1be896)) + - **FEAT**: Add support for different content types in Assistants API and other fixes ([#412](https://github.com/davidmigloz/langchain_dart/issues/412)). ([97acab45](https://github.com/davidmigloz/langchain_dart/commit/97acab45a5770422c666795ad3443c083fa08895)) + - **FEAT**: Add support for completions and embeddings in batch API in openai_dart ([#425](https://github.com/davidmigloz/langchain_dart/issues/425)). ([16fe4c68](https://github.com/davidmigloz/langchain_dart/commit/16fe4c6814a828fb0d271a6793598f8369da259d)) + - **FEAT**: Add incomplete status to RunObject in openai_dart ([#424](https://github.com/davidmigloz/langchain_dart/issues/424)). ([71b116e6](https://github.com/davidmigloz/langchain_dart/commit/71b116e6252a9dce5a92e979164e0af8fe96efc3)) + ## 0.3.1 - **FEAT**: Add support for stream_options in openai_dart ([#405](https://github.com/davidmigloz/langchain_dart/issues/405)). ([c15714ca](https://github.com/davidmigloz/langchain_dart/commit/c15714ca2df9e30873bc8e4901482faa2d858d8a)) diff --git a/packages/openai_dart/pubspec.yaml b/packages/openai_dart/pubspec.yaml index d7f443dd..a6fd761e 100644 --- a/packages/openai_dart/pubspec.yaml +++ b/packages/openai_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: openai_dart description: Dart Client for the OpenAI API (completions, chat, embeddings, etc.). -version: 0.3.1 +version: 0.3.2 repository: https://github.com/davidmigloz/langchain_dart/tree/main/packages/openai_dart issue_tracker: https://github.com/davidmigloz/langchain_dart/issues?q=label:p:openai_dart homepage: https://github.com/davidmigloz/langchain_dart