Skip to content

Commit

Permalink
chore(release): publish packages
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmigloz committed Apr 30, 2024
1 parent 6ce75e5 commit c7dc979
Show file tree
Hide file tree
Showing 28 changed files with 148 additions and 46 deletions.
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,57 @@

Check out the #announcements channel in the [LangChain.dart Discord](https://discord.gg/x4qbhqecVR) server for more details about each release.

## 2024-04-30

### Changes

---

Packages with breaking changes:

- [`langchain` - `v0.6.0`](#langchain---v060)
- [`langchain_core` - `v0.2.0`](#langchain_core---v020)

Packages with other changes:

- [`langchain_openai` - `v0.5.1`](#langchain_openai---v051)
- [`openai_dart` - `v0.2.2`](#openai_dart---v022)

Packages with dependency updates only:

- [`langchain_ollama` - `v0.1.0+1`](#langchain_ollama---v0101)
- [`langchain_pinecone` - `v0.1.0+1`](#langchain_pinecone---v0101)
- [`langchain_community` - `v0.1.0+1`](#langchain_community---v0101)
- [`langchain_supabase` - `v0.1.0+1`](#langchain_supabase---v0101)
- [`langchain_chroma` - `v0.2.0+1`](#langchain_chroma---v0201)
- [`langchain_google` - `v0.3.0+1`](#langchain_google---v0301)
- [`langchain_mistralai` - `v0.1.0+1`](#langchain_mistralai---v0101)

---

#### `langchain` - `v0.6.0`

- **FEAT**: Add support for Runnable.mapInputStream ([#393](https://github.com/davidmigloz/langchain_dart/issues/393)). ([a2b6bbb5](https://github.com/davidmigloz/langchain_dart/commit/a2b6bbb5ea7a65c36d1e955f9f96298cf2384afc))
- **FEAT**: Add support for JsonOutputParser ([#392](https://github.com/davidmigloz/langchain_dart/issues/392)). ([c6508f0f](https://github.com/davidmigloz/langchain_dart/commit/c6508f0fadde3fd4d93accbcae5cea37b7beca20))
- **FEAT**: Reduce input stream for PromptTemplate, LLM, ChatModel, Retriever and Tool ([#388](https://github.com/davidmigloz/langchain_dart/issues/388)). ([b59bcd40](https://github.com/davidmigloz/langchain_dart/commit/b59bcd409f4904fb2e16f928b3c7206a186ab3f4))
- **BREAKING** **FEAT**: Support different logic for streaming in RunnableFunction ([#394](https://github.com/davidmigloz/langchain_dart/issues/394)). ([8bb2b8ed](https://github.com/davidmigloz/langchain_dart/commit/8bb2b8ede18bfe3a4f266b78ca32f1dfb83db1b1))
- **DOCS**: Update LangChain Expression Language documentation ([#395](https://github.com/davidmigloz/langchain_dart/issues/395)). ([6ce75e5f](https://github.com/davidmigloz/langchain_dart/commit/6ce75e5fe6492c951f9b5209d7a2c3077ad178d2))

#### `langchain_core` - `v0.2.0`

- **FEAT**: Add support for Runnable.mapInputStream ([#393](https://github.com/davidmigloz/langchain_dart/issues/393)). ([a2b6bbb5](https://github.com/davidmigloz/langchain_dart/commit/a2b6bbb5ea7a65c36d1e955f9f96298cf2384afc))
- **FEAT**: Add support for JsonOutputParser ([#392](https://github.com/davidmigloz/langchain_dart/issues/392)). ([c6508f0f](https://github.com/davidmigloz/langchain_dart/commit/c6508f0fadde3fd4d93accbcae5cea37b7beca20))
- **FEAT**: Reduce input stream for PromptTemplate, LLM, ChatModel, Retriever and Tool ([#388](https://github.com/davidmigloz/langchain_dart/issues/388)). ([b59bcd40](https://github.com/davidmigloz/langchain_dart/commit/b59bcd409f4904fb2e16f928b3c7206a186ab3f4))
- **BREAKING** **FEAT**: Support different logic for streaming in RunnableFunction ([#394](https://github.com/davidmigloz/langchain_dart/issues/394)). ([8bb2b8ed](https://github.com/davidmigloz/langchain_dart/commit/8bb2b8ede18bfe3a4f266b78ca32f1dfb83db1b1))

#### `langchain_openai` - `v0.5.1`

- **FEAT**: Add support for Runnable.mapInputStream ([#393](https://github.com/davidmigloz/langchain_dart/issues/393)). ([a2b6bbb5](https://github.com/davidmigloz/langchain_dart/commit/a2b6bbb5ea7a65c36d1e955f9f96298cf2384afc))

#### `openai_dart` - `v0.2.2`

- **FEAT**: Add temperature, top_p and response format to Assistants API ([#384](https://github.com/davidmigloz/langchain_dart/issues/384)). ([1d18290f](https://github.com/davidmigloz/langchain_dart/commit/1d18290fdaba558e8661fed4f2316c795f20aef8))

## 2024-04-16

### Changes
Expand Down
6 changes: 3 additions & 3 deletions examples/browser_summarizer/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ dependencies:
flutter_bloc: ^8.1.5
flutter_markdown: ^0.6.22
js: ^0.7.1
langchain: ^0.5.0+1
langchain_community: 0.1.0
langchain_openai: ^0.5.0+1
langchain: ^0.6.0
langchain_community: 0.1.0+1
langchain_openai: ^0.5.1
shared_preferences: ^2.2.2

flutter:
Expand Down
14 changes: 7 additions & 7 deletions examples/docs_examples/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
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+1
langchain: ^0.6.0
langchain_chroma: ^0.2.0+1
langchain_community: 0.1.0+1
langchain_google: ^0.3.0+1
langchain_mistralai: ^0.1.0+1
langchain_ollama: ^0.1.0+1
langchain_openai: ^0.5.1
4 changes: 2 additions & 2 deletions examples/hello_world_backend/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
langchain: ^0.5.0+1
langchain_openai: ^0.5.0+1
langchain: ^0.6.0
langchain_openai: ^0.5.1
shelf: ^1.4.1
shelf_router: ^1.1.4
4 changes: 2 additions & 2 deletions examples/hello_world_cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ environment:
sdk: ">=3.0.0 <4.0.0"

dependencies:
langchain: ^0.5.0+1
langchain_openai: ^0.5.0+1
langchain: ^0.6.0
langchain_openai: ^0.5.1
4 changes: 2 additions & 2 deletions examples/hello_world_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dependencies:
sdk: flutter
equatable: ^2.0.5
flutter_bloc: ^8.1.5
langchain: ^0.5.0+1
langchain_openai: ^0.5.0+1
langchain: ^0.6.0
langchain_openai: ^0.5.1

flutter:
uses-material-design: true
11 changes: 11 additions & 0 deletions packages/langchain/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 0.6.0

> Note: This release has breaking changes.
> If you are using `Runnable.fromFunction` check the [migration guide](https://github.com/davidmigloz/langchain_dart/issues/394).
- **FEAT**: Add support for Runnable.mapInputStream ([#393](https://github.com/davidmigloz/langchain_dart/issues/393)). ([a2b6bbb5](https://github.com/davidmigloz/langchain_dart/commit/a2b6bbb5ea7a65c36d1e955f9f96298cf2384afc))
- **FEAT**: Add support for JsonOutputParser ([#392](https://github.com/davidmigloz/langchain_dart/issues/392)). ([c6508f0f](https://github.com/davidmigloz/langchain_dart/commit/c6508f0fadde3fd4d93accbcae5cea37b7beca20))
- **FEAT**: Reduce input stream for PromptTemplate, LLM, ChatModel, Retriever and Tool ([#388](https://github.com/davidmigloz/langchain_dart/issues/388)). ([b59bcd40](https://github.com/davidmigloz/langchain_dart/commit/b59bcd409f4904fb2e16f928b3c7206a186ab3f4))
- **BREAKING** **FEAT**: Support different logic for streaming in RunnableFunction ([#394](https://github.com/davidmigloz/langchain_dart/issues/394)). ([8bb2b8ed](https://github.com/davidmigloz/langchain_dart/commit/8bb2b8ede18bfe3a4f266b78ca32f1dfb83db1b1))
- **DOCS**: Update LangChain Expression Language documentation ([#395](https://github.com/davidmigloz/langchain_dart/issues/395)). ([6ce75e5f](https://github.com/davidmigloz/langchain_dart/commit/6ce75e5fe6492c951f9b5209d7a2c3077ad178d2))

## 0.5.0+1

- **DOCS**: Update README.md. ([8139113a](https://github.com/davidmigloz/langchain_dart/commit/8139113a3ca8faa94145cbb6b1b80ca3bc2f3979))
Expand Down
4 changes: 2 additions & 2 deletions packages/langchain/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langchain
description: Build powerful LLM-based Dart and Flutter applications with LangChain.dart.
version: 0.5.0+1
version: 0.6.0
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
Expand All @@ -19,7 +19,7 @@ dependencies:
characters: ^1.3.0
collection: '>=1.17.0 <1.19.0'
crypto: ^3.0.3
langchain_core: ^0.1.0
langchain_core: ^0.2.0
meta: ^1.11.0
uuid: ^4.3.3

Expand Down
2 changes: 2 additions & 0 deletions packages/langchain_chroma/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 0.2.0+1

## 0.2.0

> Note: This release has breaking changes.
Expand Down
10 changes: 5 additions & 5 deletions packages/langchain_chroma/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langchain_chroma
description: LangChain.dart integration module for Chroma open-source embedding database.
version: 0.2.0
version: 0.2.0+1
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
Expand All @@ -19,12 +19,12 @@ environment:
dependencies:
chromadb: ^0.2.0
http: ^1.1.0
langchain_core: ^0.1.0
langchain_core: ^0.2.0
meta: ^1.11.0
uuid: ^4.3.3

dev_dependencies:
test: ^1.25.2
langchain: ^0.5.0+1
langchain_community: 0.1.0
langchain_openai: ^0.5.0+1
langchain: ^0.6.0
langchain_community: 0.1.0+1
langchain_openai: ^0.5.1
4 changes: 4 additions & 0 deletions packages/langchain_community/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.0+1

- Bump "langchain_community" to `0.1.0+1`.

## 0.1.0

> Note: This release has breaking changes.
Expand Down
4 changes: 2 additions & 2 deletions packages/langchain_community/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langchain_community
description: LangChain.dart third-party integrations that don't have a dedicated package.
version: 0.1.0
version: 0.1.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
Expand All @@ -21,7 +21,7 @@ dependencies:
csv: ^6.0.0
http: ^1.1.0
json_path: ^0.7.1
langchain_core: ^0.1.0
langchain_core: ^0.2.0
math_expressions: ^2.4.0
meta: ^1.11.0

Expand Down
10 changes: 10 additions & 0 deletions packages/langchain_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.2.0

> Note: This release has breaking changes.
> If you are using `Runnable.fromFunction` check the [migration guide](https://github.com/davidmigloz/langchain_dart/issues/394).
- **FEAT**: Add support for Runnable.mapInputStream ([#393](https://github.com/davidmigloz/langchain_dart/issues/393)). ([a2b6bbb5](https://github.com/davidmigloz/langchain_dart/commit/a2b6bbb5ea7a65c36d1e955f9f96298cf2384afc))
- **FEAT**: Add support for JsonOutputParser ([#392](https://github.com/davidmigloz/langchain_dart/issues/392)). ([c6508f0f](https://github.com/davidmigloz/langchain_dart/commit/c6508f0fadde3fd4d93accbcae5cea37b7beca20))
- **FEAT**: Reduce input stream for PromptTemplate, LLM, ChatModel, Retriever and Tool ([#388](https://github.com/davidmigloz/langchain_dart/issues/388)). ([b59bcd40](https://github.com/davidmigloz/langchain_dart/commit/b59bcd409f4904fb2e16f928b3c7206a186ab3f4))
- **BREAKING** **FEAT**: Support different logic for streaming in RunnableFunction ([#394](https://github.com/davidmigloz/langchain_dart/issues/394)). ([8bb2b8ed](https://github.com/davidmigloz/langchain_dart/commit/8bb2b8ede18bfe3a4f266b78ca32f1dfb83db1b1))

## 0.1.0

> Note: This release has breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion packages/langchain_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langchain_core
description: Contains core abstractions of LangChain.dart and the LangChain Expression Language (LCEL).
version: 0.1.0
version: 0.2.0
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
Expand Down
4 changes: 4 additions & 0 deletions packages/langchain_google/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.3.0+1

- Bump "langchain_google" to `0.3.0+1`.

## 0.3.0

> Note: This release has breaking changes.
Expand Down
4 changes: 2 additions & 2 deletions packages/langchain_google/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langchain_google
description: LangChain.dart integration module for Google (VertexAI, PaLM, Matching Engine, etc.).
version: 0.3.0
version: 0.3.0+1
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
Expand All @@ -23,7 +23,7 @@ dependencies:
googleapis: ^12.0.0
googleapis_auth: ^1.5.1
http: ^1.1.0
langchain_core: ^0.1.0
langchain_core: ^0.2.0
meta: ^1.11.0
uuid: ^4.3.3
vertex_ai: ^0.1.0
Expand Down
4 changes: 4 additions & 0 deletions packages/langchain_mistralai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.0+1

- Bump "langchain_mistralai" to `0.1.0+1`.

## 0.1.0

> Note: This release has breaking changes.
Expand Down
4 changes: 2 additions & 2 deletions packages/langchain_mistralai/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langchain_mistralai
description: LangChain.dart integration module for Mistral AI (Mistral-7B, Mixtral 8x7B, embeddings, etc.).
version: 0.1.0
version: 0.1.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
Expand All @@ -19,7 +19,7 @@ environment:
dependencies:
collection: '>=1.17.0 <1.19.0'
http: ^1.1.0
langchain_core: ^0.1.0
langchain_core: ^0.2.0
langchain_tiktoken: ^1.0.1
meta: ^1.11.0
mistralai_dart: ^0.0.3+1
Expand Down
4 changes: 4 additions & 0 deletions packages/langchain_ollama/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.0+1

- Bump "langchain_ollama" to `0.1.0+1`.

## 0.1.0

> Note: This release has breaking changes.
Expand Down
4 changes: 2 additions & 2 deletions packages/langchain_ollama/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langchain_ollama
description: LangChain.dart integration module for Ollama (run Llama 2, Mistral, Vicuna and other models locally).
version: 0.1.0
version: 0.1.0+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
Expand All @@ -19,7 +19,7 @@ environment:
dependencies:
collection: '>=1.17.0 <1.19.0'
http: ^1.1.0
langchain_core: ^0.1.0
langchain_core: ^0.2.0
langchain_tiktoken: ^1.0.1
meta: ^1.11.0
ollama_dart: ^0.0.3+1
Expand Down
4 changes: 4 additions & 0 deletions packages/langchain_openai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.1

- **FEAT**: Add support for Runnable.mapInputStream ([#393](https://github.com/davidmigloz/langchain_dart/issues/393)). ([a2b6bbb5](https://github.com/davidmigloz/langchain_dart/commit/a2b6bbb5ea7a65c36d1e955f9f96298cf2384afc))

## 0.5.0+1

- Update a dependency to the latest release.
Expand Down
10 changes: 5 additions & 5 deletions packages/langchain_openai/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langchain_openai
description: LangChain.dart integration module for OpenAI (GPT-3, GPT-4, Functions, etc.).
version: 0.5.0+1
version: 0.5.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
Expand All @@ -19,13 +19,13 @@ environment:
dependencies:
collection: '>=1.17.0 <1.19.0'
http: ^1.1.0
langchain_core: ^0.1.0
langchain_core: ^0.2.0
langchain_tiktoken: ^1.0.1
meta: ^1.11.0
openai_dart: ^0.2.1
openai_dart: ^0.2.2
uuid: ^4.3.3

dev_dependencies:
langchain: ^0.5.0+1
langchain_community: 0.1.0
langchain: ^0.6.0
langchain_community: 0.1.0+1
test: ^1.25.2
2 changes: 2 additions & 0 deletions packages/langchain_pinecone/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 0.1.0+1

## 0.1.0

> Note: This release has breaking changes.
Expand Down
6 changes: 3 additions & 3 deletions packages/langchain_pinecone/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langchain_pinecone
description: LangChain.dart integration module for Pinecone fully-managed vector database.
version: 0.1.0
version: 0.1.0+1
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
Expand All @@ -18,11 +18,11 @@ environment:

dependencies:
http: ^1.1.0
langchain_core: ^0.1.0
langchain_core: ^0.2.0
meta: ^1.11.0
pinecone: ^0.7.2
uuid: ^4.3.3

dev_dependencies:
test: ^1.25.2
langchain_openai: ^0.5.0+1
langchain_openai: ^0.5.1
2 changes: 2 additions & 0 deletions packages/langchain_supabase/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 0.1.0+1

## 0.1.0

> Note: This release has breaking changes.
Expand Down
10 changes: 5 additions & 5 deletions packages/langchain_supabase/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: langchain_supabase
description: LangChain.dart integration module for Supabase (e.g. Supabase Vector).
version: 0.1.0
version: 0.1.0+1
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
Expand All @@ -18,12 +18,12 @@ environment:

dependencies:
http: ^1.1.0
langchain_core: ^0.1.0
langchain_core: ^0.2.0
meta: ^1.11.0
supabase: ^2.0.8

dev_dependencies:
test: ^1.25.2
langchain: ^0.5.0+1
langchain_community: 0.1.0
langchain_openai: ^0.5.0+1
langchain: ^0.6.0
langchain_community: 0.1.0+1
langchain_openai: ^0.5.1
Loading

0 comments on commit c7dc979

Please sign in to comment.