[PR #317] [MERGED] Introduce json-based checkpoint serialization #1380

Closed
opened 2026-02-20 17:44:35 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/317
Author: @nfcampos
Created: 4/17/2024
Status: Merged
Merged: 4/24/2024
Merged by: @nfcampos

Base: mainHead: nc/17apr/serde


📝 Commits (10+)

📊 Changes

9 files changed (+1041 additions, -852 deletions)

View changed files

📝 langgraph/checkpoint/aiosqlite.py (+2 -2)
📝 langgraph/checkpoint/base.py (+8 -13)
📝 langgraph/checkpoint/memory.py (+0 -3)
📝 langgraph/checkpoint/sqlite.py (+11 -2)
langgraph/serde/__init__.py (+0 -0)
langgraph/serde/base.py (+17 -0)
langgraph/serde/jsonplus.py (+96 -0)
📝 poetry.lock (+817 -832)
tests/test_jsonplus.py (+90 -0)

📄 Description

Replaces previous usage of pickle. Configurable for advanced use cases, eg. #293


🔄 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/langgraph/pull/317 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 4/17/2024 **Status:** ✅ Merged **Merged:** 4/24/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/17apr/serde` --- ### 📝 Commits (10+) - [`6125ea6`](https://github.com/langchain-ai/langgraph/commit/6125ea68f55ba5156ffc7b8b9b230a8f5dd60c86) WIP - [`3ad0204`](https://github.com/langchain-ai/langgraph/commit/3ad0204a9075c5f609ca2e03b7e45e113aefec8b) Add test - [`c6a199a`](https://github.com/langchain-ai/langgraph/commit/c6a199abc21ef4cb3b0d1d3de2fc9be3bd1f799c) Skip py39 - [`2824541`](https://github.com/langchain-ai/langgraph/commit/282454110238c0c0247abfcf3de96afec5f80eb7) Fix - [`9bf9044`](https://github.com/langchain-ai/langgraph/commit/9bf90442e0b19c8d74683aac2d2d1bbe93a83151) Undo - [`d4982eb`](https://github.com/langchain-ai/langgraph/commit/d4982eb02200477c808308c9b56dc0f84037a34a) Fix - [`e45c461`](https://github.com/langchain-ai/langgraph/commit/e45c461d9913f58d9b3071b9b364ec71030c324c) Fix - [`f9646b6`](https://github.com/langchain-ai/langgraph/commit/f9646b6a579f5851b0a33b87228c50271eede4a0) Use by default in sqlite adapters - [`5337847`](https://github.com/langchain-ai/langgraph/commit/53378476cecfa5ee6743ab316723eb5d681a8f35) Lock - [`a08eaf1`](https://github.com/langchain-ai/langgraph/commit/a08eaf1a77756a3a89cd9b7c1f9ef01496e90fe6) Fix ### 📊 Changes **9 files changed** (+1041 additions, -852 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/checkpoint/aiosqlite.py` (+2 -2) 📝 `langgraph/checkpoint/base.py` (+8 -13) 📝 `langgraph/checkpoint/memory.py` (+0 -3) 📝 `langgraph/checkpoint/sqlite.py` (+11 -2) ➕ `langgraph/serde/__init__.py` (+0 -0) ➕ `langgraph/serde/base.py` (+17 -0) ➕ `langgraph/serde/jsonplus.py` (+96 -0) 📝 `poetry.lock` (+817 -832) ➕ `tests/test_jsonplus.py` (+90 -0) </details> ### 📄 Description Replaces previous usage of `pickle`. Configurable for advanced use cases, eg. #293 --- <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-20 17:44:35 -05:00
yindo closed this issue 2026-02-20 17:44:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1380