@langchain/langgraph-api 1.0.1 → 1.0.3
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 +15 -0
- package/dist/api/assistants.mjs +1 -1
- package/dist/api/runs.mjs +1 -1
- package/dist/api/threads.mjs +1 -1
- package/dist/experimental/embed.mjs +1 -1
- package/dist/graph/load.mjs +1 -1
- package/dist/schemas.d.mts +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/server.d.mts +1 -1
- package/dist/server.mjs +1 -1
- package/dist/ui/load.mjs +1 -1
- package/dist/utils/runnableConfig.mjs +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @langchain/langgraph-api
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6cd8ecb: Remove Zod 3.x dependency constraint to allow Zod 4.x and avoid installing duplicate Zod packages
|
|
8
|
+
- Updated dependencies [6cd8ecb]
|
|
9
|
+
- @langchain/langgraph-ui@1.0.3
|
|
10
|
+
|
|
11
|
+
## 1.0.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- ebe5ae7: Add back support for older versions of LangChain / LangGraph
|
|
16
|
+
- @langchain/langgraph-ui@1.0.2
|
|
17
|
+
|
|
3
18
|
## 1.0.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/api/assistants.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { zValidator } from "@hono/zod-validator";
|
|
2
2
|
import { Hono } from "hono";
|
|
3
3
|
import { v4 as uuid } from "uuid";
|
|
4
|
-
import { z } from "zod";
|
|
4
|
+
import { z } from "zod/v3";
|
|
5
5
|
import { getAssistantId, getCachedStaticGraphSchema, getGraph, } from "../graph/load.mjs";
|
|
6
6
|
import { getRuntimeGraphSchema } from "../graph/parser/index.mjs";
|
|
7
7
|
import { HTTPException } from "hono/http-exception";
|
package/dist/api/runs.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { Hono } from "hono";
|
|
|
3
3
|
import { HTTPException } from "hono/http-exception";
|
|
4
4
|
import { streamSSE } from "hono/streaming";
|
|
5
5
|
import { v4 as uuid4 } from "uuid";
|
|
6
|
-
import { z } from "zod";
|
|
6
|
+
import { z } from "zod/v3";
|
|
7
7
|
import { getAssistantId } from "../graph/load.mjs";
|
|
8
8
|
import { logError, logger } from "../logging.mjs";
|
|
9
9
|
import * as schemas from "../schemas.mjs";
|
package/dist/api/threads.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { zValidator } from "@hono/zod-validator";
|
|
2
2
|
import { Hono } from "hono";
|
|
3
3
|
import { v4 as uuid4 } from "uuid";
|
|
4
|
-
import { z } from "zod";
|
|
4
|
+
import { z } from "zod/v3";
|
|
5
5
|
import * as schemas from "../schemas.mjs";
|
|
6
6
|
import { stateSnapshotToThreadState } from "../state.mjs";
|
|
7
7
|
import { threads } from "../storage/context.mjs";
|
|
@@ -3,7 +3,7 @@ import { zValidator } from "@hono/zod-validator";
|
|
|
3
3
|
import { streamSSE } from "hono/streaming";
|
|
4
4
|
import { v4 as uuidv4 } from "uuid";
|
|
5
5
|
import * as schemas from "../schemas.mjs";
|
|
6
|
-
import { z } from "zod";
|
|
6
|
+
import { z } from "zod/v3";
|
|
7
7
|
import { streamState } from "../stream.mjs";
|
|
8
8
|
import { serialiseAsDict, serializeError } from "../utils/serde.mjs";
|
|
9
9
|
import { getDisconnectAbortSignal, jsonExtra } from "../utils/hono.mjs";
|
package/dist/graph/load.mjs
CHANGED
package/dist/schemas.d.mts
CHANGED
package/dist/schemas.mjs
CHANGED
package/dist/server.d.mts
CHANGED
package/dist/server.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import assistants from "./api/assistants.mjs";
|
|
|
8
8
|
import store from "./api/store.mjs";
|
|
9
9
|
import meta from "./api/meta.mjs";
|
|
10
10
|
import { zValidator } from "@hono/zod-validator";
|
|
11
|
-
import { z } from "zod";
|
|
11
|
+
import { z } from "zod/v3";
|
|
12
12
|
import { queue } from "./queue.mjs";
|
|
13
13
|
import { logger, requestLogger, registerRuntimeLogFormatter, registerSdkLogger, } from "./logging.mjs";
|
|
14
14
|
import { checkpointer } from "./storage/checkpoint.mjs";
|
package/dist/ui/load.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langchain/langgraph-api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^18.19.0 || >=20.16.0"
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@babel/code-frame": "^7.26.2",
|
|
65
65
|
"@hono/node-server": "^1.12.0",
|
|
66
66
|
"@hono/zod-validator": "^0.2.2",
|
|
67
|
-
"@langchain/langgraph-ui": "1.0.
|
|
67
|
+
"@langchain/langgraph-ui": "1.0.3",
|
|
68
68
|
"@types/json-schema": "^7.0.15",
|
|
69
69
|
"@typescript/vfs": "^1.6.0",
|
|
70
70
|
"dedent": "^1.5.3",
|
|
@@ -80,13 +80,13 @@
|
|
|
80
80
|
"uuid": "^10.0.0",
|
|
81
81
|
"winston": "^3.17.0",
|
|
82
82
|
"winston-console-format": "^1.0.8",
|
|
83
|
-
"zod": "^3.
|
|
83
|
+
"zod": "^3.25.76 || ^4"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@langchain/core": "^1.0.1",
|
|
86
|
+
"@langchain/core": "^0.3.59 || ^1.0.1",
|
|
87
87
|
"@langchain/langgraph": "^0.2.57 || ^0.3.0 || ^0.4.0 || ^1.0.0-alpha || ^1.0.0",
|
|
88
|
-
"@langchain/langgraph-checkpoint": "~1.0.0",
|
|
89
|
-
"@langchain/langgraph-sdk": "~1.0.0",
|
|
88
|
+
"@langchain/langgraph-checkpoint": "~0.0.16 || ^0.1.0 || ~1.0.0",
|
|
89
|
+
"@langchain/langgraph-sdk": "~0.0.16 || ^0.1.0 || ~1.0.0",
|
|
90
90
|
"typescript": "^5.5.4"
|
|
91
91
|
},
|
|
92
92
|
"peerDependenciesMeta": {
|