[PR #1402] [MERGED] feat(langgraph): add UpdateType type utility for Zod, improve Zod 4 and Zod 4 mini support #1434

Closed
opened 2026-02-15 20:15:45 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1402
Author: @dqbd
Created: 7/15/2025
Status: Merged
Merged: 7/15/2025
Merged by: @dqbd

Base: mainHead: dqbd/zod-v4-mini


📝 Commits (4)

  • 8677bde feat(langgraph): add UpdateType type utility for Zod, extend Zod and Zod 4 support
  • f9d1518 Add changeset
  • ab700d7 Add prebuilt
  • 1149be3 Update whole-dots-retire.md

📊 Changes

6 files changed (+197 additions, -12 deletions)

View changed files

.changeset/whole-dots-retire.md (+5 -0)
📝 libs/langgraph/src/graph/messages_annotation.ts (+22 -12)
📝 libs/langgraph/src/graph/zod/meta.ts (+21 -0)
📝 libs/langgraph/src/graph/zod/zod-registry.ts (+28 -0)
libs/langgraph/src/tests/zod_state.test-d.ts (+120 -0)
📝 libs/langgraph/src/web.ts (+1 -0)

📄 Description

Also add tests for Zod 3, 4 and 4 mini.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/1402 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 7/15/2025 **Status:** ✅ Merged **Merged:** 7/15/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/zod-v4-mini` --- ### 📝 Commits (4) - [`8677bde`](https://github.com/langchain-ai/langgraphjs/commit/8677bdecfd8e5d12579506d8a4df95429f4d3b34) feat(langgraph): add UpdateType type utility for Zod, extend Zod and Zod 4 support - [`f9d1518`](https://github.com/langchain-ai/langgraphjs/commit/f9d1518d0e806e824abe98ef9fd3139003aba590) Add changeset - [`ab700d7`](https://github.com/langchain-ai/langgraphjs/commit/ab700d77bdae32fb1b308bcc36456d3d4f0f7598) Add prebuilt - [`1149be3`](https://github.com/langchain-ai/langgraphjs/commit/1149be30b1681e975d4b6934ef730fbf8ffa12d4) Update whole-dots-retire.md ### 📊 Changes **6 files changed** (+197 additions, -12 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/whole-dots-retire.md` (+5 -0) 📝 `libs/langgraph/src/graph/messages_annotation.ts` (+22 -12) 📝 `libs/langgraph/src/graph/zod/meta.ts` (+21 -0) 📝 `libs/langgraph/src/graph/zod/zod-registry.ts` (+28 -0) ➕ `libs/langgraph/src/tests/zod_state.test-d.ts` (+120 -0) 📝 `libs/langgraph/src/web.ts` (+1 -0) </details> ### 📄 Description Also add tests for Zod 3, 4 and 4 mini. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:45 -05:00
yindo closed this issue 2026-02-15 20:15:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#1434