@ai-sdk/langchain 3.0.0-canary.176 → 3.0.1

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +107 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,112 @@
1
1
  # @ai-sdk/langchain
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ai@7.0.1
8
+
9
+ ## 3.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (`"type": "module"`). Consumers using `require()` must switch to ESM `import` syntax.
14
+ - 8359612: Start v7 pre-release
15
+
16
+ ### Patch Changes
17
+
18
+ - b567a6c: dependency updates
19
+ - 62ae6c7: fix(langchain): recognize Python `AIMessageChunk` plain message objects from RemoteGraph streams
20
+
21
+ 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`.
22
+
23
+ - c1afaed: fix(langchain): prevent polluting global object.prototype
24
+ - 3711955: fix(langchain): reset streamEvents text between model invocations
25
+ - 6e23bf2: fix(langchain): register key mapping for tool calls emitted via messages mode for HITL interrupt matching
26
+ - 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`.
27
+ - f6fc2fb: Add support for translating LangGraph tools stream progress into preliminary tool outputs.
28
+ - 9f0e36c: trigger release for all packages after provenance setup
29
+ - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
30
+ - 0c4c275: trigger initial canary release
31
+ - 9bd6512: feat(provider): change file part data property to be tagged with a type and remove the image part type
32
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
33
+ - b8396f0: trigger initial beta release
34
+ - ff5eba1: feat: roll `image-*` tool output types into their equivalent `file-*` types
35
+
36
+ ## 3.0.0-beta.187
37
+
38
+ ### Patch Changes
39
+
40
+ - ai@7.0.0-beta.187
41
+
42
+ ## 3.0.0-beta.186
43
+
44
+ ### Patch Changes
45
+
46
+ - ai@7.0.0-beta.186
47
+
48
+ ## 3.0.0-beta.185
49
+
50
+ ### Patch Changes
51
+
52
+ - Updated dependencies [75763b0]
53
+ - ai@7.0.0-beta.185
54
+
55
+ ## 3.0.0-beta.184
56
+
57
+ ### Patch Changes
58
+
59
+ - Updated dependencies [0416e3e]
60
+ - ai@7.0.0-beta.184
61
+
62
+ ## 3.0.0-beta.183
63
+
64
+ ### Patch Changes
65
+
66
+ - ai@7.0.0-beta.183
67
+
68
+ ## 3.0.0-beta.182
69
+
70
+ ### Patch Changes
71
+
72
+ - Updated dependencies [cc6ab90]
73
+ - ai@7.0.0-beta.182
74
+
75
+ ## 3.0.0-beta.181
76
+
77
+ ### Patch Changes
78
+
79
+ - Updated dependencies [6a2caf9]
80
+ - ai@7.0.0-beta.181
81
+
82
+ ## 3.0.0-beta.180
83
+
84
+ ### Patch Changes
85
+
86
+ - Updated dependencies [81a284b]
87
+ - ai@7.0.0-beta.180
88
+
89
+ ## 3.0.0-beta.179
90
+
91
+ ### Patch Changes
92
+
93
+ - ai@7.0.0-beta.179
94
+
95
+ ## 3.0.0-beta.178
96
+
97
+ ### Patch Changes
98
+
99
+ - Updated dependencies [b097c52]
100
+ - ai@7.0.0-beta.178
101
+
102
+ ## 3.0.0-beta.177
103
+
104
+ ### Patch Changes
105
+
106
+ - b8396f0: trigger initial beta release
107
+ - Updated dependencies [b8396f0]
108
+ - ai@7.0.0-beta.177
109
+
3
110
  ## 3.0.0-canary.176
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-canary.176",
3
+ "version": "3.0.1",
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-canary.176"
28
+ "ai": "7.0.1"
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-canary.48",
36
+ "@ai-sdk/provider-utils": "5.0.0",
37
37
  "@vercel/ai-tsconfig": "0.0.0"
38
38
  },
39
39
  "peerDependencies": {