Skip to content

checkpoint==2.0.10

Choose a tag to compare

@github-actions github-actions released this 15 Jan 19:23

langgraph-checkpoint 2.0.10

Summary of Changes

  • Added task path tracking to checkpoint system, improving the organization of checkpoints in complex nested task structures (PR #3049)
  • Enhanced sorting of pending sends based on task path and task ID, providing a consistent order when retrieving checkpoints (PR #3049)
  • Updated type annotations to use more modern Python typing patterns (PR #3049)

Detailed Changes

langgraph.checkpoint.base.BaseCheckpointSaver

  • Added new task_path parameter (defaulting to empty string) to put_writes and aput_writes methods to track the nested path of tasks creating writes (PR #3049)

langgraph.checkpoint.memory.InMemorySaver

  • Implemented the new task_path parameter in put_writes and aput_writes methods, storing it as part of write metadata (PR #3049)
  • Modified checkpoint retrieval to sort pending sends by task path, task ID, and sequence number, ensuring consistent ordering (PR #3049)
  • Updated internal storage format to include task path information in write tuples (PR #3049)