chore(langgraph): make Zod a peer dependency

This commit is contained in:
Tat Dat Duong
2025-08-27 16:39:56 +02:00
parent 8f6bec9683
commit 445c2aede8
2 changed files with 9 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@langchain/langgraph": major
---
Make Zod a peer dependency of @langchain/langgraph
+4 -4
View File
@@ -34,12 +34,12 @@
"dependencies": {
"@langchain/langgraph-checkpoint": "^0.1.0",
"@langchain/langgraph-sdk": "~0.0.111",
"uuid": "^10.0.0",
"zod": "^3.25.32"
"uuid": "^10.0.0"
},
"peerDependencies": {
"@langchain/core": ">=0.3.58 < 0.4.0",
"zod-to-json-schema": "^3.x"
"zod-to-json-schema": "^3.x",
"zod": "^3.25.32 || ^4.1.0"
},
"peerDependenciesMeta": {
"zod-to-json-schema": {
@@ -187,4 +187,4 @@
"zod/schema.d.ts",
"zod/schema.d.cts"
]
}
}