Skip to content

File tree

52 files changed

+332
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+332
-113
lines changed

CHANGELOG.md

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,133 @@
22

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

5+
## 2024-07-02
6+
7+
### Changes
8+
9+
---
10+
11+
New packages:
12+
13+
- [`langchain_anthropic` - `v0.1.0`](#langchain_anthropic---v010)
14+
- [`tavily_dart` - `v0.1.0`](#tavily_dart---v010)
15+
16+
Packages with breaking changes:
17+
18+
- [`langchain_firebase` - `v0.2.0`](#langchain_firebase---v020)
19+
- [`langchain_google` - `v0.6.0`](#langchain_google---v060)
20+
21+
Packages with other changes:
22+
23+
- [`langchain` - `v0.7.3`](#langchain---v073)
24+
- [`langchain_core` - `v0.3.3`](#langchain_core---v033)
25+
- [`langchain_community` - `v0.2.2`](#langchain_community---v022)
26+
- [`langchain_chroma` - `v0.2.1`](#langchain_chroma---v021)
27+
- [`langchain_mistralai` - `v0.2.1`](#langchain_mistralai---v021)
28+
- [`langchain_ollama` - `v0.2.2+1`](#langchain_ollama---v0221)
29+
- [`langchain_openai` - `v0.6.3`](#langchain_openai---v063)
30+
- [`langchain_pinecone` - `v0.1.0+6`](#langchain_pinecone---v0106)
31+
- [`langchain_supabase` - `v0.1.1`](#langchain_supabase---v011)
32+
- [`anthropic_sdk_dart` - `v0.1.0`](#anthropic_sdk_dart---v010)
33+
- [`googleai_dart` - `v0.1.0+2`](#googleai_dart---v0102)
34+
- [`mistralai_dart` - `v0.0.3+3`](#mistralai_dart---v0033)
35+
- [`ollama_dart` - `v0.1.2`](#ollama_dart---v012)
36+
- [`openai_dart` - `v0.3.3+1`](#openai_dart---v0331)
37+
38+
---
39+
40+
#### `langchain` - `v0.7.3`
41+
42+
> Note: Anthropic integration (`ChatAnthropic`) is available in the new [`langchain_anthropic`](https://pub.dev/packages/langchain_anthropic) package.
43+
44+
- **FEAT**: Add support for TavilySearchResultsTool and TavilyAnswerTool ([#467](https://github.com/davidmigloz/langchain_dart/issues/467)). ([a9f35755](https://github.com/davidmigloz/langchain_dart/commit/a9f35755dfac9d257efb251c4a6c5948673c2f6c))
45+
- **DOCS**: Document existing integrations in README.md. ([cc4246c8](https://github.com/davidmigloz/langchain_dart/commit/cc4246c8ab907de2c82843bff145edfffe32d302))
46+
47+
#### `langchain_core` - `v0.3.3`
48+
49+
- **FEAT**: Add support for ChatToolChoiceRequired ([#474](https://github.com/davidmigloz/langchain_dart/issues/474)). ([bf324f36](https://github.com/davidmigloz/langchain_dart/commit/bf324f36f645c53458d5891f8285991cd50f2649))
50+
- **FEAT**: Update ChatResult.id concat logic ([#477](https://github.com/davidmigloz/langchain_dart/issues/477)). ([44c7fafd](https://github.com/davidmigloz/langchain_dart/commit/44c7fafd934bf6517e285830b1ca98282127cb7d))
51+
52+
#### `langchain_community` - `v0.2.2`
53+
54+
- **FEAT**: Add support for TavilySearchResultsTool and TavilyAnswerTool ([#467](https://github.com/davidmigloz/langchain_dart/issues/467)). ([a9f35755](https://github.com/davidmigloz/langchain_dart/commit/a9f35755dfac9d257efb251c4a6c5948673c2f6c))
55+
56+
#### `langchain_anthropic` - `v0.1.0`
57+
58+
- **FEAT**: Add ChatAnthropic integration ([#477](https://github.com/davidmigloz/langchain_dart/issues/477)). ([44c7fafd](https://github.com/davidmigloz/langchain_dart/commit/44c7fafd934bf6517e285830b1ca98282127cb7d))
59+
60+
#### `langchain_firebase` - `v0.2.0`
61+
62+
> Note: `ChatFirebaseVertexAI` now uses `gemini-1.5-flash` model by default.
63+
64+
- **BREAKING** **FEAT**: Update ChatFirebaseVertexAI default model to gemini-1.5-flash ([#458](https://github.com/davidmigloz/langchain_dart/issues/458)). ([d3c96c52](https://github.com/davidmigloz/langchain_dart/commit/d3c96c52e95e889ba6955e3de80a83978b27618b))
65+
- **FEAT**: Add support for ChatToolChoiceRequired ([#474](https://github.com/davidmigloz/langchain_dart/issues/474)). ([bf324f36](https://github.com/davidmigloz/langchain_dart/commit/bf324f36f645c53458d5891f8285991cd50f2649))
66+
- **FEAT**: Support response MIME type in ChatFirebaseVertexAI ([#461](https://github.com/davidmigloz/langchain_dart/issues/461)) ([#463](https://github.com/davidmigloz/langchain_dart/issues/463)). ([c3452721](https://github.com/davidmigloz/langchain_dart/commit/c3452721c78ba3071ed2510a243f9c824a291c34))
67+
- **FEAT**: Add support for Firebase Auth in ChatFirebaseVertexAI ([#460](https://github.com/davidmigloz/langchain_dart/issues/460)). ([6d137290](https://github.com/davidmigloz/langchain_dart/commit/6d137290ca0f56c9fcc725e6211e838a3e3c6d16))
68+
- **FEAT**: Add support for usage metadata in ChatFirebaseVertexAI ([#457](https://github.com/davidmigloz/langchain_dart/issues/457)). ([2587f9e2](https://github.com/davidmigloz/langchain_dart/commit/2587f9e2bcbcc2bf5e2295dce409e92a89bf3c44))
69+
- **REFACTOR**: Simplify how tools are passed to the internal Firebase client ([#459](https://github.com/davidmigloz/langchain_dart/issues/459)). ([7f772396](https://github.com/davidmigloz/langchain_dart/commit/7f77239601fb216a01ec9d25680ec4d3dc4b97c7))
70+
71+
#### `langchain_google` - `v0.6.0`
72+
73+
> Note: `ChatGoogleGenerativeAI` now uses `gemini-1.5-flash` model by default.
74+
75+
- **BREAKING** **FEAT**: Update ChatGoogleGenerativeAI default model to gemini-1.5-flash ([#462](https://github.com/davidmigloz/langchain_dart/issues/462)). ([c8b30c90](https://github.com/davidmigloz/langchain_dart/commit/c8b30c906a17751547cc340f987b6670fbd67e69))
76+
- **FEAT**: Add support for ChatToolChoiceRequired ([#474](https://github.com/davidmigloz/langchain_dart/issues/474)). ([bf324f36](https://github.com/davidmigloz/langchain_dart/commit/bf324f36f645c53458d5891f8285991cd50f2649))
77+
- **FEAT**: Support response MIME type and schema in ChatGoogleGenerativeAI ([#461](https://github.com/davidmigloz/langchain_dart/issues/461)). ([e258399e](https://github.com/davidmigloz/langchain_dart/commit/e258399e03437e8abe25417a14671dfb719cb273))
78+
- **REFACTOR**: Migrate conditional imports to js_interop ([#453](https://github.com/davidmigloz/langchain_dart/issues/453)). ([a6a78cfe](https://github.com/davidmigloz/langchain_dart/commit/a6a78cfe05fb8ce68e683e1ad4395ca86197a6c5))
79+
80+
#### `langchain_openai` - `v0.6.3`
81+
82+
- **FEAT**: Add support for ChatToolChoiceRequired ([#474](https://github.com/davidmigloz/langchain_dart/issues/474)). ([bf324f36](https://github.com/davidmigloz/langchain_dart/commit/bf324f36f645c53458d5891f8285991cd50f2649))
83+
84+
#### `langchain_ollama` - `v0.2.2+1`
85+
86+
- **DOCS**: Update ChatOllama API docs. ([cc4246c8](https://github.com/davidmigloz/langchain_dart/commit/cc4246c8ab907de2c82843bff145edfffe32d302))
87+
88+
#### `langchain_chroma` - `v0.2.1`
89+
90+
- Update a dependency to the latest release.
91+
92+
#### `langchain_mistralai` - `v0.2.1`
93+
94+
- Update a dependency to the latest release.
95+
96+
#### `langchain_pinecone` - `v0.1.0+6`
97+
98+
- Update a dependency to the latest release.
99+
100+
#### `langchain_supabase` - `v0.1.1`
101+
102+
- Update a dependency to the latest release.
103+
104+
#### `anthropic_sdk_dart` - `v0.1.0`
105+
106+
- **FEAT**: Add support for tool use in anthropic_sdk_dart client ([#469](https://github.com/davidmigloz/langchain_dart/issues/469)). ([81896cfd](https://github.com/davidmigloz/langchain_dart/commit/81896cfdfce116b010dd51391994251d2a836333))
107+
- **FEAT**: Add extensions on ToolResultBlockContent in anthropic_sdk_dart ([#476](https://github.com/davidmigloz/langchain_dart/issues/476)). ([8d92d9b0](https://github.com/davidmigloz/langchain_dart/commit/8d92d9b008755ff9b9ca3545eb26fc49a296a909))
108+
- **REFACTOR**: Improve schemas names in anthropic_sdk_dart ([#475](https://github.com/davidmigloz/langchain_dart/issues/475)). ([8ebeacde](https://github.com/davidmigloz/langchain_dart/commit/8ebeacded02ab92885354c9447b1a55e024b56d1))
109+
- **REFACTOR**: Migrate conditional imports to js_interop ([#453](https://github.com/davidmigloz/langchain_dart/issues/453)). ([a6a78cfe](https://github.com/davidmigloz/langchain_dart/commit/a6a78cfe05fb8ce68e683e1ad4395ca86197a6c5))
110+
111+
#### `ollama_dart` - `v0.1.2`
112+
113+
- **FEAT**: Add support for listing running Ollama models ([#451](https://github.com/davidmigloz/langchain_dart/issues/451)). ([cfaa31fb](https://github.com/davidmigloz/langchain_dart/commit/cfaa31fb8ce1dc128570c95d403809f71e0199d9))
114+
- **REFACTOR**: Migrate conditional imports to js_interop ([#453](https://github.com/davidmigloz/langchain_dart/issues/453)). ([a6a78cfe](https://github.com/davidmigloz/langchain_dart/commit/a6a78cfe05fb8ce68e683e1ad4395ca86197a6c5))
115+
116+
#### `tavily_dart` - `v0.1.0`
117+
118+
- **FEAT**: Implement tavily_dart, a Dart client for Tavily API ([#456](https://github.com/davidmigloz/langchain_dart/issues/456)). ([fbfb79ba](https://github.com/davidmigloz/langchain_dart/commit/fbfb79bad81dbbd5844a90938fda79b201f20047))
119+
120+
#### `googleai_dart` - `v0.1.0+2`
121+
122+
- **REFACTOR**: Migrate conditional imports to js_interop ([#453](https://github.com/davidmigloz/langchain_dart/issues/453)). ([a6a78cfe](https://github.com/davidmigloz/langchain_dart/commit/a6a78cfe05fb8ce68e683e1ad4395ca86197a6c5))
123+
124+
#### `mistralai_dart` - `v0.0.3+3`
125+
126+
- **REFACTOR**: Migrate conditional imports to js_interop ([#453](https://github.com/davidmigloz/langchain_dart/issues/453)). ([a6a78cfe](https://github.com/davidmigloz/langchain_dart/commit/a6a78cfe05fb8ce68e683e1ad4395ca86197a6c5))
127+
128+
#### `openai_dart` - `v0.3.3+1`
129+
130+
- **REFACTOR**: Migrate conditional imports to js_interop ([#453](https://github.com/davidmigloz/langchain_dart/issues/453)). ([a6a78cfe](https://github.com/davidmigloz/langchain_dart/commit/a6a78cfe05fb8ce68e683e1ad4395ca86197a6c5))
131+
5132
## 2024-06-01
6133

7134
### Changes

examples/browser_summarizer/pubspec.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,28 +233,28 @@ packages:
233233
path: "../../packages/langchain"
234234
relative: true
235235
source: path
236-
version: "0.7.2"
236+
version: "0.7.3"
237237
langchain_community:
238238
dependency: "direct main"
239239
description:
240240
path: "../../packages/langchain_community"
241241
relative: true
242242
source: path
243-
version: "0.2.1+1"
243+
version: "0.2.2"
244244
langchain_core:
245245
dependency: "direct overridden"
246246
description:
247247
path: "../../packages/langchain_core"
248248
relative: true
249249
source: path
250-
version: "0.3.2"
250+
version: "0.3.3"
251251
langchain_openai:
252252
dependency: "direct main"
253253
description:
254254
path: "../../packages/langchain_openai"
255255
relative: true
256256
source: path
257-
version: "0.6.2"
257+
version: "0.6.3"
258258
langchain_tiktoken:
259259
dependency: transitive
260260
description:
@@ -325,7 +325,7 @@ packages:
325325
path: "../../packages/openai_dart"
326326
relative: true
327327
source: path
328-
version: "0.3.3"
328+
version: "0.3.3+1"
329329
path:
330330
dependency: transitive
331331
description:
@@ -497,7 +497,7 @@ packages:
497497
path: "../../packages/tavily_dart"
498498
relative: true
499499
source: path
500-
version: "0.0.1-dev.1"
500+
version: "0.1.0"
501501
term_glyph:
502502
dependency: transitive
503503
description:

examples/browser_summarizer/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ dependencies:
1313
flutter_bloc: ^8.1.5
1414
flutter_markdown: ^0.6.22
1515
js: ^0.7.1
16-
langchain: ^0.7.2
17-
langchain_community: 0.2.1+1
18-
langchain_openai: ^0.6.2
16+
langchain: ^0.7.3
17+
langchain_community: 0.2.2
18+
langchain_openai: ^0.6.3
1919
shared_preferences: ^2.2.2
2020

2121
flutter:

examples/docs_examples/pubspec.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ packages:
1515
path: "../../packages/anthropic_sdk_dart"
1616
relative: true
1717
source: path
18-
version: "0.0.1"
18+
version: "0.1.0"
1919
args:
2020
dependency: transitive
2121
description:
@@ -245,42 +245,42 @@ packages:
245245
path: "../../packages/langchain"
246246
relative: true
247247
source: path
248-
version: "0.7.2"
248+
version: "0.7.3"
249249
langchain_anthropic:
250250
dependency: "direct main"
251251
description:
252252
path: "../../packages/langchain_anthropic"
253253
relative: true
254254
source: path
255-
version: "0.0.1-dev.1"
255+
version: "0.1.0"
256256
langchain_chroma:
257257
dependency: "direct main"
258258
description:
259259
path: "../../packages/langchain_chroma"
260260
relative: true
261261
source: path
262-
version: "0.2.0+5"
262+
version: "0.2.1"
263263
langchain_community:
264264
dependency: "direct main"
265265
description:
266266
path: "../../packages/langchain_community"
267267
relative: true
268268
source: path
269-
version: "0.2.1+1"
269+
version: "0.2.2"
270270
langchain_core:
271271
dependency: "direct overridden"
272272
description:
273273
path: "../../packages/langchain_core"
274274
relative: true
275275
source: path
276-
version: "0.3.2"
276+
version: "0.3.3"
277277
langchain_google:
278278
dependency: "direct main"
279279
description:
280280
path: "../../packages/langchain_google"
281281
relative: true
282282
source: path
283-
version: "0.5.1"
283+
version: "0.6.0"
284284
langchain_mistralai:
285285
dependency: "direct main"
286286
description:
@@ -294,14 +294,14 @@ packages:
294294
path: "../../packages/langchain_ollama"
295295
relative: true
296296
source: path
297-
version: "0.2.2"
297+
version: "0.2.2+1"
298298
langchain_openai:
299299
dependency: "direct main"
300300
description:
301301
path: "../../packages/langchain_openai"
302302
relative: true
303303
source: path
304-
version: "0.6.2"
304+
version: "0.6.3"
305305
langchain_tiktoken:
306306
dependency: transitive
307307
description:
@@ -340,7 +340,7 @@ packages:
340340
path: "../../packages/mistralai_dart"
341341
relative: true
342342
source: path
343-
version: "0.0.3+2"
343+
version: "0.0.3+3"
344344
objectbox:
345345
dependency: transitive
346346
description:
@@ -355,14 +355,14 @@ packages:
355355
path: "../../packages/ollama_dart"
356356
relative: true
357357
source: path
358-
version: "0.1.1"
358+
version: "0.1.2"
359359
openai_dart:
360360
dependency: "direct overridden"
361361
description:
362362
path: "../../packages/openai_dart"
363363
relative: true
364364
source: path
365-
version: "0.3.3"
365+
version: "0.3.3+1"
366366
path:
367367
dependency: transitive
368368
description:
@@ -433,7 +433,7 @@ packages:
433433
path: "../../packages/tavily_dart"
434434
relative: true
435435
source: path
436-
version: "0.0.1-dev.1"
436+
version: "0.1.0"
437437
term_glyph:
438438
dependency: transitive
439439
description:

examples/docs_examples/pubspec.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ environment:
77
sdk: ">=3.0.0 <4.0.0"
88

99
dependencies:
10-
langchain: ^0.7.2
11-
langchain_anthropic: ^0.0.1-dev.1
12-
langchain_chroma: ^0.2.0+5
13-
langchain_community: 0.2.1+1
14-
langchain_google: ^0.5.1
10+
langchain: ^0.7.3
11+
langchain_anthropic: ^0.1.0
12+
langchain_chroma: ^0.2.1
13+
langchain_community: 0.2.2
14+
langchain_google: ^0.6.0
1515
langchain_mistralai: ^0.2.1
16-
langchain_ollama: ^0.2.2
17-
langchain_openai: ^0.6.2
16+
langchain_ollama: ^0.2.2+1
17+
langchain_openai: ^0.6.3

examples/hello_world_backend/pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,21 +119,21 @@ packages:
119119
path: "../../packages/langchain"
120120
relative: true
121121
source: path
122-
version: "0.7.2"
122+
version: "0.7.3"
123123
langchain_core:
124124
dependency: "direct overridden"
125125
description:
126126
path: "../../packages/langchain_core"
127127
relative: true
128128
source: path
129-
version: "0.3.2"
129+
version: "0.3.3"
130130
langchain_openai:
131131
dependency: "direct main"
132132
description:
133133
path: "../../packages/langchain_openai"
134134
relative: true
135135
source: path
136-
version: "0.6.2"
136+
version: "0.6.3"
137137
langchain_tiktoken:
138138
dependency: transitive
139139
description:
@@ -156,7 +156,7 @@ packages:
156156
path: "../../packages/openai_dart"
157157
relative: true
158158
source: path
159-
version: "0.3.3"
159+
version: "0.3.3+1"
160160
path:
161161
dependency: transitive
162162
description:

examples/hello_world_backend/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ environment:
77
sdk: ">=3.0.0 <4.0.0"
88

99
dependencies:
10-
langchain: ^0.7.2
11-
langchain_openai: ^0.6.2
10+
langchain: ^0.7.3
11+
langchain_openai: ^0.6.3
1212
shelf: ^1.4.1
1313
shelf_router: ^1.1.4

0 commit comments

Comments
 (0)