[PR #142] [MERGED] Rename thread_ts to checkpoint_id #522

Closed
opened 2026-02-15 19:14:56 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/142
Author: @nfcampos
Created: 5/15/2024
Status: Merged
Merged: 5/15/2024
Merged by: @nfcampos

Base: nc/14may/conditional-entryHead: nc/15may/checkpoint-id


📝 Commits (4)

  • c93b41b Rename thread_ts to checkpoint_id
  • 3da0996 Use uuid6 for checkpoint id
  • 635f5c6 Compat w node 18
  • 988b66a Merge pull request #144 from langchain-ai/nc/15may/checkpoint-id-uuid6

📊 Changes

18 files changed (+557 additions, -297 deletions)

View changed files

📝 CONTRIBUTING.md (+58 -51)
📝 langgraph/package.json (+3 -1)
📝 langgraph/src/channels/base.ts (+8 -5)
📝 langgraph/src/checkpoint/base.ts (+16 -50)
langgraph/src/checkpoint/id.ts (+44 -0)
📝 langgraph/src/checkpoint/index.ts (+0 -1)
📝 langgraph/src/checkpoint/memory.ts (+17 -17)
📝 langgraph/src/checkpoint/sqlite.ts (+34 -34)
📝 langgraph/src/graph/graph.ts (+9 -5)
📝 langgraph/src/graph/state.ts (+9 -5)
📝 langgraph/src/index.ts (+0 -1)
📝 langgraph/src/pregel/index.ts (+18 -17)
📝 langgraph/src/pregel/read.ts (+0 -16)
📝 langgraph/src/pregel/write.ts (+0 -15)
📝 langgraph/src/tests/checkpoints.test.ts (+66 -22)
📝 langgraph/src/tests/pregel.test.ts (+264 -48)
📝 langgraph/src/tests/utils.ts (+7 -7)
📝 yarn.lock (+4 -2)

📄 Description

  • Also rework any objects that will be saved in db / server over api to use snake_case keys (to match py)

Fixes # (issue)


🔄 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/142 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 5/15/2024 **Status:** ✅ Merged **Merged:** 5/15/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `nc/14may/conditional-entry` ← **Head:** `nc/15may/checkpoint-id` --- ### 📝 Commits (4) - [`c93b41b`](https://github.com/langchain-ai/langgraphjs/commit/c93b41bef0afcf0911a2364d9dbcc438eac784dd) Rename thread_ts to checkpoint_id - [`3da0996`](https://github.com/langchain-ai/langgraphjs/commit/3da0996f45aef6cb1d32c50af40a1f219181470b) Use uuid6 for checkpoint id - [`635f5c6`](https://github.com/langchain-ai/langgraphjs/commit/635f5c6d74ab6eaaa6cb773845549ad2b59346e6) Compat w node 18 - [`988b66a`](https://github.com/langchain-ai/langgraphjs/commit/988b66a88df15637e7bbc8979006be7d8aa86ce0) Merge pull request #144 from langchain-ai/nc/15may/checkpoint-id-uuid6 ### 📊 Changes **18 files changed** (+557 additions, -297 deletions) <details> <summary>View changed files</summary> 📝 `CONTRIBUTING.md` (+58 -51) 📝 `langgraph/package.json` (+3 -1) 📝 `langgraph/src/channels/base.ts` (+8 -5) 📝 `langgraph/src/checkpoint/base.ts` (+16 -50) ➕ `langgraph/src/checkpoint/id.ts` (+44 -0) 📝 `langgraph/src/checkpoint/index.ts` (+0 -1) 📝 `langgraph/src/checkpoint/memory.ts` (+17 -17) 📝 `langgraph/src/checkpoint/sqlite.ts` (+34 -34) 📝 `langgraph/src/graph/graph.ts` (+9 -5) 📝 `langgraph/src/graph/state.ts` (+9 -5) 📝 `langgraph/src/index.ts` (+0 -1) 📝 `langgraph/src/pregel/index.ts` (+18 -17) 📝 `langgraph/src/pregel/read.ts` (+0 -16) 📝 `langgraph/src/pregel/write.ts` (+0 -15) 📝 `langgraph/src/tests/checkpoints.test.ts` (+66 -22) 📝 `langgraph/src/tests/pregel.test.ts` (+264 -48) 📝 `langgraph/src/tests/utils.ts` (+7 -7) 📝 `yarn.lock` (+4 -2) </details> ### 📄 Description - Also rework any objects that will be saved in db / server over api to use snake_case keys (to match py) <!-- Thank you for contributing to LangGraph.js! Your PR will appear in our next release under the title you set above. Please make sure it highlights your valuable contribution. To help streamline the review process, please make sure you read our contribution guidelines: https://github.com/langchain-ai/langgraphjs/blob/main/CONTRIBUTING.md Replace this block with a description of the change, the issue it fixes (if applicable), and relevant context. Finally, we'd love to show appreciation for your contribution - if you'd like us to shout you out on Twitter, please also include your handle below! --> <!-- Remove if not applicable --> Fixes # (issue) --- <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 19:14:56 -05:00
yindo closed this issue 2026-02-15 19:14:56 -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#522