@ai-sdk/langchain 3.0.0-canary.175 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +107 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,112 @@
|
|
|
1
1
|
# @ai-sdk/langchain
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
|
|
8
|
+
- 8359612: Start v7 pre-release
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- b567a6c: dependency updates
|
|
13
|
+
- 62ae6c7: fix(langchain): recognize Python `AIMessageChunk` plain message objects from RemoteGraph streams
|
|
14
|
+
|
|
15
|
+
Python `langchain-core` serializes streaming message chunks with `type: "AIMessageChunk"`, while TypeScript `langchain-core` uses `type: "ai"`. The `toUIMessageStream` adapter previously only matched the TypeScript form, silently dropping text deltas and tool-call events when streaming from Python LangGraph servers via `RemoteGraph`.
|
|
16
|
+
|
|
17
|
+
- c1afaed: fix(langchain): prevent polluting global object.prototype
|
|
18
|
+
- 3711955: fix(langchain): reset streamEvents text between model invocations
|
|
19
|
+
- 6e23bf2: fix(langchain): register key mapping for tool calls emitted via messages mode for HITL interrupt matching
|
|
20
|
+
- c231e42: Surface LangChain citation annotations as spec-compliant `source-url` / `source-document` UI message parts. Previously, citations attached to text content blocks (e.g. from web search or RAG) were dropped entirely instead of being emitted as AI SDK source parts. Citation metadata (`citedText`, `startIndex`, `endIndex`, `source`) is preserved under `providerMetadata.langchain`.
|
|
21
|
+
- f6fc2fb: Add support for translating LangGraph tools stream progress into preliminary tool outputs.
|
|
22
|
+
- 9f0e36c: trigger release for all packages after provenance setup
|
|
23
|
+
- 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
|
|
24
|
+
- 0c4c275: trigger initial canary release
|
|
25
|
+
- 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
|
|
26
|
+
- 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
|
|
27
|
+
- b8396f0: trigger initial beta release
|
|
28
|
+
- ff5eba1: feat: roll `image-*` tool output types into their equivalent `file-*` types
|
|
29
|
+
|
|
30
|
+
## 3.0.0-beta.187
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- ai@7.0.0-beta.187
|
|
35
|
+
|
|
36
|
+
## 3.0.0-beta.186
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- ai@7.0.0-beta.186
|
|
41
|
+
|
|
42
|
+
## 3.0.0-beta.185
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [75763b0]
|
|
47
|
+
- ai@7.0.0-beta.185
|
|
48
|
+
|
|
49
|
+
## 3.0.0-beta.184
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- Updated dependencies [0416e3e]
|
|
54
|
+
- ai@7.0.0-beta.184
|
|
55
|
+
|
|
56
|
+
## 3.0.0-beta.183
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- ai@7.0.0-beta.183
|
|
61
|
+
|
|
62
|
+
## 3.0.0-beta.182
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- Updated dependencies [cc6ab90]
|
|
67
|
+
- ai@7.0.0-beta.182
|
|
68
|
+
|
|
69
|
+
## 3.0.0-beta.181
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- Updated dependencies [6a2caf9]
|
|
74
|
+
- ai@7.0.0-beta.181
|
|
75
|
+
|
|
76
|
+
## 3.0.0-beta.180
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- Updated dependencies [81a284b]
|
|
81
|
+
- ai@7.0.0-beta.180
|
|
82
|
+
|
|
83
|
+
## 3.0.0-beta.179
|
|
84
|
+
|
|
85
|
+
### Patch Changes
|
|
86
|
+
|
|
87
|
+
- ai@7.0.0-beta.179
|
|
88
|
+
|
|
89
|
+
## 3.0.0-beta.178
|
|
90
|
+
|
|
91
|
+
### Patch Changes
|
|
92
|
+
|
|
93
|
+
- Updated dependencies [b097c52]
|
|
94
|
+
- ai@7.0.0-beta.178
|
|
95
|
+
|
|
96
|
+
## 3.0.0-beta.177
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- b8396f0: trigger initial beta release
|
|
101
|
+
- Updated dependencies [b8396f0]
|
|
102
|
+
- ai@7.0.0-beta.177
|
|
103
|
+
|
|
104
|
+
## 3.0.0-canary.176
|
|
105
|
+
|
|
106
|
+
### Patch Changes
|
|
107
|
+
|
|
108
|
+
- ai@7.0.0-canary.176
|
|
109
|
+
|
|
3
110
|
## 3.0.0-canary.175
|
|
4
111
|
|
|
5
112
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/langchain",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"ai": "7.0.0
|
|
28
|
+
"ai": "7.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@langchain/core": "^1.1.46",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@types/node": "22.19.19",
|
|
34
34
|
"tsup": "^8.5.1",
|
|
35
35
|
"typescript": "5.8.3",
|
|
36
|
-
"@ai-sdk/provider-utils": "5.0.0
|
|
36
|
+
"@ai-sdk/provider-utils": "5.0.0",
|
|
37
37
|
"@vercel/ai-tsconfig": "0.0.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|