From 8b9979e107eeb0f016153badd9f4c8d9dbfa0933 Mon Sep 17 00:00:00 2001 From: David Miguel Date: Tue, 16 Apr 2024 23:42:42 +0200 Subject: [PATCH] chore(release): publish packages - langchain@0.5.0+1 - openai_dart@0.2.1 - langchain_openai@0.5.0+1 --- CHANGELOG.md | 43 ++++++++++++++++++++--- examples/browser_summarizer/pubspec.yaml | 4 +-- examples/docs_examples/pubspec.yaml | 4 +-- examples/hello_world_backend/pubspec.yaml | 4 +-- examples/hello_world_cli/pubspec.yaml | 4 +-- examples/hello_world_flutter/pubspec.yaml | 4 +-- packages/langchain/CHANGELOG.md | 4 +++ packages/langchain/pubspec.yaml | 2 +- packages/langchain_chroma/pubspec.yaml | 4 +-- packages/langchain_openai/CHANGELOG.md | 4 +++ packages/langchain_openai/pubspec.yaml | 6 ++-- packages/langchain_pinecone/pubspec.yaml | 2 +- packages/langchain_supabase/pubspec.yaml | 4 +-- packages/openai_dart/CHANGELOG.md | 11 ++++++ packages/openai_dart/pubspec.yaml | 2 +- 15 files changed, 78 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01c2f7d3..23ed39ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,45 @@ Check out the #announcements channel in the [LangChain.dart Discord](https://discord.gg/x4qbhqecVR) server for more details about each release. +## 2024-04-16 + +### Changes + +--- + +Packages with breaking changes: + +- There are no breaking changes in this release. + +Packages with other changes: + +- [`langchain` - `v0.5.0+1`](#langchain---v0501) +- [`openai_dart` - `v0.2.1`](#openai_dart---v021) +- [`langchain_openai` - `v0.5.0+1`](#langchain_openai---v0501) + +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.5.0+1` + +--- + +#### `langchain` - `v0.5.0+1` + +- **DOCS**: Update README.md. ([8139113a](https://github.com/davidmigloz/langchain_dart/commit/8139113a3ca8faa94145cbb6b1b80ca3bc2f3979)) + +#### `openai_dart` - `v0.2.1` + +- **FEAT**: Add support for Batch API in openai_dart ([#383](https://github.com/davidmigloz/langchain_dart/issues/383)). ([6b89f4a2](https://github.com/davidmigloz/langchain_dart/commit/6b89f4a269417441df844545ab670fa67701e7b4)) +- **FEAT**: Support specifying tool choice in Assistant API in openai_dart ([#382](https://github.com/davidmigloz/langchain_dart/issues/382)). ([97d7977a](https://github.com/davidmigloz/langchain_dart/commit/97d7977a2666ed004c0e04d57114538e02849156)) +- **FEAT**: Support JSON mode in Assistant API in openai_dart ([#381](https://github.com/davidmigloz/langchain_dart/issues/381)). ([a864dae3](https://github.com/davidmigloz/langchain_dart/commit/a864dae3d38f49f83975012ecadec5b859dc43c2)) +- **FEAT**: Support max tokens and truncation strategy in Assistant API in openai_dart ([#380](https://github.com/davidmigloz/langchain_dart/issues/380)). ([7153167b](https://github.com/davidmigloz/langchain_dart/commit/7153167b550549155cf7f68af2292d24036fc9f2)) +- **FEAT**: Add streaming support to Assistant API in openai_dart ([#379](https://github.com/davidmigloz/langchain_dart/issues/379)). ([6ef68196](https://github.com/davidmigloz/langchain_dart/commit/6ef68196fbfff233b37eda8f3d1b1d373252613f)) +- **FEAT**: Update models catalog with GPT-4 Turbo with Vision in openai_dart ([#378](https://github.com/davidmigloz/langchain_dart/issues/378)). ([88537540](https://github.com/davidmigloz/langchain_dart/commit/88537540fbab3cd20fd611447519bbdfed950ebe)) +- **FEAT**: Add Weights & Biases fine-tuning integration and seed in openai_dart ([#377](https://github.com/davidmigloz/langchain_dart/issues/377)). ([a5fff1bf](https://github.com/davidmigloz/langchain_dart/commit/a5fff1bf6ec8cc258174f1e7bcf12c00b7201e0e)) +- **FEAT**: Add support for checkpoints in fine-tuning jobs in openai_dart ([#376](https://github.com/davidmigloz/langchain_dart/issues/376)). ([69f8e2f9](https://github.com/davidmigloz/langchain_dart/commit/69f8e2f9137a92683a9eec79f2de1ad03452244a)) + ## 2024-04-10 ### Changes @@ -2074,7 +2113,3 @@ Packages with changes: #### `langchain` - `v0.0.1` - Initial public release. - -Check out the announcement post for all the details: -https://blog.langchaindart.com/introducing-langchain-dart-6b1d34fc41ef -fc41ef diff --git a/examples/browser_summarizer/pubspec.yaml b/examples/browser_summarizer/pubspec.yaml index a1cf33f5..2ae99336 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.5.0 + langchain: ^0.5.0+1 langchain_community: 0.1.0 - langchain_openai: ^0.5.0 + langchain_openai: ^0.5.0+1 shared_preferences: ^2.2.2 flutter: diff --git a/examples/docs_examples/pubspec.yaml b/examples/docs_examples/pubspec.yaml index c46a910b..34f3ded0 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.5.0 + langchain: ^0.5.0+1 langchain_chroma: ^0.2.0 langchain_community: 0.1.0 langchain_google: ^0.3.0 langchain_mistralai: ^0.1.0 langchain_ollama: ^0.1.0 - langchain_openai: ^0.5.0 + langchain_openai: ^0.5.0+1 diff --git a/examples/hello_world_backend/pubspec.yaml b/examples/hello_world_backend/pubspec.yaml index 1d9c783f..109e5ff7 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.5.0 - langchain_openai: ^0.5.0 + langchain: ^0.5.0+1 + langchain_openai: ^0.5.0+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 ae999173..d4c9cc9f 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.5.0 - langchain_openai: ^0.5.0 + langchain: ^0.5.0+1 + langchain_openai: ^0.5.0+1 diff --git a/examples/hello_world_flutter/pubspec.yaml b/examples/hello_world_flutter/pubspec.yaml index d649fce4..04ecff4f 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.5.0 - langchain_openai: ^0.5.0 + langchain: ^0.5.0+1 + langchain_openai: ^0.5.0+1 flutter: uses-material-design: true diff --git a/packages/langchain/CHANGELOG.md b/packages/langchain/CHANGELOG.md index 91a2d8f7..0455ffdc 100644 --- a/packages/langchain/CHANGELOG.md +++ b/packages/langchain/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.0+1 + + - **DOCS**: Update README.md. ([8139113a](https://github.com/davidmigloz/langchain_dart/commit/8139113a3ca8faa94145cbb6b1b80ca3bc2f3979)) + ## 0.5.0 > Note: This release has breaking changes. diff --git a/packages/langchain/pubspec.yaml b/packages/langchain/pubspec.yaml index b7ee5f08..f241b2b4 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.5.0 +version: 0.5.0+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 diff --git a/packages/langchain_chroma/pubspec.yaml b/packages/langchain_chroma/pubspec.yaml index f8dd8ed4..34c66126 100644 --- a/packages/langchain_chroma/pubspec.yaml +++ b/packages/langchain_chroma/pubspec.yaml @@ -25,6 +25,6 @@ dependencies: dev_dependencies: test: ^1.25.2 - langchain: ^0.5.0 + langchain: ^0.5.0+1 langchain_community: 0.1.0 - langchain_openai: ^0.5.0 + langchain_openai: ^0.5.0+1 diff --git a/packages/langchain_openai/CHANGELOG.md b/packages/langchain_openai/CHANGELOG.md index 5b20c912..24c9f1eb 100644 --- a/packages/langchain_openai/CHANGELOG.md +++ b/packages/langchain_openai/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.0+1 + + - Update a dependency to the latest release. + ## 0.5.0 > Note: This release has breaking changes. diff --git a/packages/langchain_openai/pubspec.yaml b/packages/langchain_openai/pubspec.yaml index 4c43785b..307ef33c 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.5.0 +version: 0.5.0+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 @@ -22,10 +22,10 @@ dependencies: langchain_core: ^0.1.0 langchain_tiktoken: ^1.0.1 meta: ^1.11.0 - openai_dart: ^0.2.0 + openai_dart: ^0.2.1 uuid: ^4.3.3 dev_dependencies: - langchain: ^0.5.0 + langchain: ^0.5.0+1 langchain_community: 0.1.0 test: ^1.25.2 diff --git a/packages/langchain_pinecone/pubspec.yaml b/packages/langchain_pinecone/pubspec.yaml index 970be5e9..2dcffe60 100644 --- a/packages/langchain_pinecone/pubspec.yaml +++ b/packages/langchain_pinecone/pubspec.yaml @@ -25,4 +25,4 @@ dependencies: dev_dependencies: test: ^1.25.2 - langchain_openai: ^0.5.0 + langchain_openai: ^0.5.0+1 diff --git a/packages/langchain_supabase/pubspec.yaml b/packages/langchain_supabase/pubspec.yaml index 36364d9c..796f8ef4 100644 --- a/packages/langchain_supabase/pubspec.yaml +++ b/packages/langchain_supabase/pubspec.yaml @@ -24,6 +24,6 @@ dependencies: dev_dependencies: test: ^1.25.2 - langchain: ^0.5.0 + langchain: ^0.5.0+1 langchain_community: 0.1.0 - langchain_openai: ^0.5.0 + langchain_openai: ^0.5.0+1 diff --git a/packages/openai_dart/CHANGELOG.md b/packages/openai_dart/CHANGELOG.md index 0a601856..a5d0bf0b 100644 --- a/packages/openai_dart/CHANGELOG.md +++ b/packages/openai_dart/CHANGELOG.md @@ -1,3 +1,14 @@ +## 0.2.1 + + - **FEAT**: Support for Batch API ([#383](https://github.com/davidmigloz/langchain_dart/issues/383)). ([6b89f4a2](https://github.com/davidmigloz/langchain_dart/commit/6b89f4a269417441df844545ab670fa67701e7b4)) + - **FEAT**: Streaming support for Assistant API ([#379](https://github.com/davidmigloz/langchain_dart/issues/379)). ([6ef68196](https://github.com/davidmigloz/langchain_dart/commit/6ef68196fbfff233b37eda8f3d1b1d373252613f)) + - **FEAT**: Option to specify tool choice in Assistant API ([#382](https://github.com/davidmigloz/langchain_dart/issues/382)). ([97d7977a](https://github.com/davidmigloz/langchain_dart/commit/97d7977a2666ed004c0e04d57114538e02849156)) + - **FEAT**: JSON mode in Assistant API ([#381](https://github.com/davidmigloz/langchain_dart/issues/381)). ([a864dae3](https://github.com/davidmigloz/langchain_dart/commit/a864dae3d38f49f83975012ecadec5b859dc43c2)) + - **FEAT**: Max tokens and truncation strategy in Assistant API ([#380](https://github.com/davidmigloz/langchain_dart/issues/380)). ([7153167b](https://github.com/davidmigloz/langchain_dart/commit/7153167b550549155cf7f68af2292d24036fc9f2)) + - **FEAT**: Updated models catalog with GPT-4 Turbo with Vision ([#378](https://github.com/davidmigloz/langchain_dart/issues/378)). ([88537540](https://github.com/davidmigloz/langchain_dart/commit/88537540fbab3cd20fd611447519bbdfed950ebe)) + - **FEAT**: Weights & Biases integration for fine-tuning and seed options ([#377](https://github.com/davidmigloz/langchain_dart/issues/377)). ([a5fff1bf](https://github.com/davidmigloz/langchain_dart/commit/a5fff1bf6ec8cc258174f1e7bcf12c00b7201e0e)) + - **FEAT**: Support for checkpoints in fine-tuning jobs ([#376](https://github.com/davidmigloz/langchain_dart/issues/376)). ([69f8e2f9](https://github.com/davidmigloz/langchain_dart/commit/69f8e2f9137a92683a9eec79f2de1ad03452244a)) + ## 0.2.0 - **FEAT**: Sync OpenAI API ([#347](https://github.com/davidmigloz/langchain_dart/issues/347)). ([f296eef6](https://github.com/davidmigloz/langchain_dart/commit/f296eef68bfd81305f87475c802705fe3ef477c3)) diff --git a/packages/openai_dart/pubspec.yaml b/packages/openai_dart/pubspec.yaml index 727eb4dc..d959a216 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.2.0 +version: 0.2.1 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