[PR #1185] [MERGED] checkpoint: switch thread_ts -> checkpoint_id, add checkpoint_ns, change serializer protocol #1930

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/1185
Author: @vbarda
Created: 8/1/2024
Status: Merged
Merged: 8/1/2024
Merged by: @vbarda

Base: mainHead: vb/langgraph-checkpoint-breaking-changes


📝 Commits (10+)

  • 5d23a4b langgraph checkpoint: new library for checkpoint interfaces
  • 2dde86c langgraph: switch to langgraph_checkpoint
  • d1cfc96 lint & test
  • c5b1a7e Merge branch 'vb/switch-to-new-lib' into vb/langgraph-checkpoint
  • a085783 denest
  • 69ef381 add dev dependency & update tests
  • 891a59a update README & other docs
  • 27cf8a6 Merge branch 'main' into vb/langgraph-checkpoint
  • e6fb874 add serde to readme
  • e4ca7ab more docs

📊 Changes

22 files changed (+1491 additions, -458 deletions)

View changed files

📝 libs/checkpoint/README.md (+5 -5)
📝 libs/checkpoint/langgraph/checkpoint/base/__init__.py (+22 -6)
📝 libs/checkpoint/langgraph/checkpoint/memory.py (+72 -40)
📝 libs/checkpoint/langgraph/checkpoint/serde/base.py (+28 -0)
📝 libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py (+9 -0)
📝 libs/checkpoint/langgraph/checkpoint/sqlite/__init__.py (+89 -48)
📝 libs/checkpoint/langgraph/checkpoint/sqlite/aio.py (+85 -44)
📝 libs/checkpoint/langgraph/checkpoint/sqlite/utils.py (+6 -32)
📝 libs/checkpoint/tests/test_aiosqlite.py (+49 -3)
📝 libs/checkpoint/tests/test_jsonplus.py (+5 -5)
📝 libs/checkpoint/tests/test_memory.py (+37 -2)
📝 libs/checkpoint/tests/test_sqlite.py (+38 -4)
📝 libs/langgraph/langgraph/constants.py (+2 -0)
📝 libs/langgraph/langgraph/graph/graph.py (+12 -1)
📝 libs/langgraph/langgraph/graph/state.py (+7 -1)
📝 libs/langgraph/langgraph/pregel/__init__.py (+16 -2)
📝 libs/langgraph/langgraph/pregel/algo.py (+24 -10)
📝 libs/langgraph/langgraph/pregel/debug.py (+4 -2)
📝 libs/langgraph/langgraph/pregel/loop.py (+17 -3)
📝 libs/langgraph/tests/memory_assert.py (+22 -18)

...and 2 more files

📄 Description

No description provided


🔄 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/1185 **Author:** [@vbarda](https://github.com/vbarda) **Created:** 8/1/2024 **Status:** ✅ Merged **Merged:** 8/1/2024 **Merged by:** [@vbarda](https://github.com/vbarda) **Base:** `main` ← **Head:** `vb/langgraph-checkpoint-breaking-changes` --- ### 📝 Commits (10+) - [`5d23a4b`](https://github.com/langchain-ai/langgraph/commit/5d23a4b752fde3cf093d77a80a774d48ec9f7dff) langgraph checkpoint: new library for checkpoint interfaces - [`2dde86c`](https://github.com/langchain-ai/langgraph/commit/2dde86c775b9ce7f37a0a8edf5784b36c3c45178) langgraph: switch to langgraph_checkpoint - [`d1cfc96`](https://github.com/langchain-ai/langgraph/commit/d1cfc96ae8e78900cdd40e7ca9863ad531b4ae9d) lint & test - [`c5b1a7e`](https://github.com/langchain-ai/langgraph/commit/c5b1a7e3d5989d347bb7aef95bc94d3bb1961639) Merge branch 'vb/switch-to-new-lib' into vb/langgraph-checkpoint - [`a085783`](https://github.com/langchain-ai/langgraph/commit/a085783d3029a847a16f27764a2f15f59ebfd9d1) denest - [`69ef381`](https://github.com/langchain-ai/langgraph/commit/69ef3818efc670f086e88c660a55ea182930d387) add dev dependency & update tests - [`891a59a`](https://github.com/langchain-ai/langgraph/commit/891a59a527420abaaf1e54a0c258b616184720b5) update README & other docs - [`27cf8a6`](https://github.com/langchain-ai/langgraph/commit/27cf8a6565571fa2f67de346a07d7acb4a308e97) Merge branch 'main' into vb/langgraph-checkpoint - [`e6fb874`](https://github.com/langchain-ai/langgraph/commit/e6fb874d2e6d54883121204a01c4bcfb6d2a25ea) add serde to readme - [`e4ca7ab`](https://github.com/langchain-ai/langgraph/commit/e4ca7ab69c599fd77dd4f0d47280849d715392cc) more docs ### 📊 Changes **22 files changed** (+1491 additions, -458 deletions) <details> <summary>View changed files</summary> 📝 `libs/checkpoint/README.md` (+5 -5) 📝 `libs/checkpoint/langgraph/checkpoint/base/__init__.py` (+22 -6) 📝 `libs/checkpoint/langgraph/checkpoint/memory.py` (+72 -40) 📝 `libs/checkpoint/langgraph/checkpoint/serde/base.py` (+28 -0) 📝 `libs/checkpoint/langgraph/checkpoint/serde/jsonplus.py` (+9 -0) 📝 `libs/checkpoint/langgraph/checkpoint/sqlite/__init__.py` (+89 -48) 📝 `libs/checkpoint/langgraph/checkpoint/sqlite/aio.py` (+85 -44) 📝 `libs/checkpoint/langgraph/checkpoint/sqlite/utils.py` (+6 -32) 📝 `libs/checkpoint/tests/test_aiosqlite.py` (+49 -3) 📝 `libs/checkpoint/tests/test_jsonplus.py` (+5 -5) 📝 `libs/checkpoint/tests/test_memory.py` (+37 -2) 📝 `libs/checkpoint/tests/test_sqlite.py` (+38 -4) 📝 `libs/langgraph/langgraph/constants.py` (+2 -0) 📝 `libs/langgraph/langgraph/graph/graph.py` (+12 -1) 📝 `libs/langgraph/langgraph/graph/state.py` (+7 -1) 📝 `libs/langgraph/langgraph/pregel/__init__.py` (+16 -2) 📝 `libs/langgraph/langgraph/pregel/algo.py` (+24 -10) 📝 `libs/langgraph/langgraph/pregel/debug.py` (+4 -2) 📝 `libs/langgraph/langgraph/pregel/loop.py` (+17 -3) 📝 `libs/langgraph/tests/memory_assert.py` (+22 -18) _...and 2 more files_ </details> ### 📄 Description _No description provided_ --- <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:45:53 -05:00
yindo closed this issue 2026-02-20 17:45:53 -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#1930