[PR #1456] [MERGED] feat(checkpoint): allow async serialization / deserialization #1472

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

📋 Pull Request Information

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

Base: 0.4Head: dqbd/async-serde


📝 Commits (1)

  • d8d4f03 feat(checkpoint): allow async serialization / deserialization

📊 Changes

10 files changed (+133 additions, -103 deletions)

View changed files

.changeset/tricky-rules-give.md (+5 -0)
📝 libs/checkpoint-mongodb/src/index.ts (+27 -20)
📝 libs/checkpoint-postgres/src/index.ts (+46 -36)
📝 libs/checkpoint-sqlite/src/index.ts (+21 -22)
📝 libs/checkpoint/src/memory.ts (+21 -14)
📝 libs/checkpoint/src/serde/base.ts (+2 -2)
📝 libs/checkpoint/src/serde/jsonplus.ts (+1 -1)
📝 libs/checkpoint/src/serde/tests/jsonplus.test.ts (+2 -2)
📝 libs/langgraph/src/tests/python_port/checkpoint.test.ts (+7 -5)
📝 libs/langgraph/src/tests/utils.ts (+1 -1)

📄 Description

Deserialization was already async (which was hidden due to our usage of any). This implements async serialization as well.

Closes Allowing asynchronous serialization and deserialization within checkpoint savers #529


🔄 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/1456 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 7/28/2025 **Status:** ✅ Merged **Merged:** 7/28/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `0.4` ← **Head:** `dqbd/async-serde` --- ### 📝 Commits (1) - [`d8d4f03`](https://github.com/langchain-ai/langgraphjs/commit/d8d4f0312416a3e0df743f4adf2fb7e87ccc146e) feat(checkpoint): allow async serialization / deserialization ### 📊 Changes **10 files changed** (+133 additions, -103 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/tricky-rules-give.md` (+5 -0) 📝 `libs/checkpoint-mongodb/src/index.ts` (+27 -20) 📝 `libs/checkpoint-postgres/src/index.ts` (+46 -36) 📝 `libs/checkpoint-sqlite/src/index.ts` (+21 -22) 📝 `libs/checkpoint/src/memory.ts` (+21 -14) 📝 `libs/checkpoint/src/serde/base.ts` (+2 -2) 📝 `libs/checkpoint/src/serde/jsonplus.ts` (+1 -1) 📝 `libs/checkpoint/src/serde/tests/jsonplus.test.ts` (+2 -2) 📝 `libs/langgraph/src/tests/python_port/checkpoint.test.ts` (+7 -5) 📝 `libs/langgraph/src/tests/utils.ts` (+1 -1) </details> ### 📄 Description Deserialization was already async (which was hidden due to our usage of `any`). This implements async serialization as well. Closes Allowing asynchronous serialization and deserialization within checkpoint savers #529 --- <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:53 -05:00
yindo closed this issue 2026-02-15 20:15:54 -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#1472