@fluidframework/tree-agent-langchain 2.100.0 → 2.101.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @fluidframework/tree-agent-langchain
2
2
 
3
+ ## 2.101.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Upgrade LangChain dependencies to v1 ([#27259](https://github.com/microsoft/FluidFramework/pull/27259)) [eeebc233c69](https://github.com/microsoft/FluidFramework/commit/eeebc233c692e875fcbf2539fffdcc4f1d28af8b)
8
+
9
+ `@fluidframework/tree-agent-langchain` (and the LangChain dev-dependencies on `@fluidframework/tree-agent`) now target the LangChain v1 line:
10
+ - `@langchain/core`: `^0.3.80` → `^1.1.44`
11
+ - `@langchain/anthropic`: `^0.3.24` → `^1.3.28`
12
+ - `@langchain/google-genai`: `^0.2.16` → `^2.1.30`
13
+ - `@langchain/openai`: `^0.6.12` → `^1.4.5`
14
+
15
+ LangChain v1 is backward-compatible for the message, tool, and chat-model APIs that `tree-agent-langchain` consumes
16
+ (`BaseChatModel`, `BaseMessage`, `AIMessage` / `HumanMessage` / `SystemMessage` / `ToolMessage`, `tool()`, `bindTools()`).
17
+ No source changes are required for consumers using these APIs.
18
+ The new `contentBlocks` content-block API is opt-in.
19
+
20
+ Consumers of `createLangchainChatModel` who currently install `@langchain/core@^0.3` should bump to `@langchain/core@^1.1.43`
21
+ (the lowest version that satisfies the peer ranges of all v1 sibling integrations—`@langchain/google-genai@2.1.30` requires `^1.1.43`).
22
+
3
23
  ## 2.100.0
4
24
 
5
25
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/tree-agent-langchain",
3
- "version": "2.100.0",
3
+ "version": "2.101.0",
4
4
  "description": "LangChain integration helpers for @fluidframework/tree-agent",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -69,25 +69,25 @@
69
69
  "temp-directory": "nyc/.nyc_output"
70
70
  },
71
71
  "dependencies": {
72
- "@fluidframework/telemetry-utils": "~2.100.0",
73
- "@fluidframework/tree-agent": "~2.100.0",
74
- "@fluidframework/type-factory": "~2.100.0",
75
- "@langchain/core": "^0.3.80"
72
+ "@fluidframework/telemetry-utils": "~2.101.0",
73
+ "@fluidframework/tree-agent": "~2.101.0",
74
+ "@fluidframework/type-factory": "~2.101.0",
75
+ "@langchain/core": "^1.1.44"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@arethetypeswrong/cli": "^0.18.2",
79
79
  "@biomejs/biome": "~2.4.5",
80
- "@fluid-internal/mocha-test-setup": "~2.100.0",
80
+ "@fluid-internal/mocha-test-setup": "~2.101.0",
81
81
  "@fluid-tools/build-cli": "^0.65.0",
82
82
  "@fluidframework/build-common": "^2.0.3",
83
83
  "@fluidframework/build-tools": "^0.65.0",
84
- "@fluidframework/core-utils": "~2.100.0",
84
+ "@fluidframework/core-utils": "~2.101.0",
85
85
  "@fluidframework/eslint-config-fluid": "^9.0.0",
86
- "@fluidframework/runtime-utils": "~2.100.0",
87
- "@fluidframework/tree": "~2.100.0",
88
- "@langchain/anthropic": "^0.3.24",
89
- "@langchain/google-genai": "^0.2.16",
90
- "@langchain/openai": "^0.6.12",
86
+ "@fluidframework/runtime-utils": "~2.101.0",
87
+ "@fluidframework/tree": "~2.101.0",
88
+ "@langchain/anthropic": "^1.3.28",
89
+ "@langchain/google-genai": "^2.1.30",
90
+ "@langchain/openai": "^1.4.5",
91
91
  "@microsoft/api-extractor": "7.58.1",
92
92
  "@types/mocha": "^10.0.10",
93
93
  "@types/node": "~22.19.17",