Skip to content

checkpoint==2.0.14

Choose a tag to compare

@github-actions github-actions released this 14 Feb 20:32

langgraph-checkpoint 2.0.14

Summary of Changes

  • Performance improvements and bug fixes for AsyncBatchedBaseStore to better handle async operations queuing, detect orphaned tasks, and improve error handling (PR #3445)

Detailed Changes

langgraph.store.base.batch.AsyncBatchedBaseStore

  • Replaced dictionary-based operation queue with a proper asyncio.Queue for more reliable operation batching
  • Added assertions to detect when operations are queued after the processing task has terminated
  • Completely redesigned the async operation runner to:
    • Properly batch operations scheduled in the same event loop tick
    • Eliminate polling via asyncio.sleep(0) in favor of queue-based waiting
    • Improve error handling and resource cleanup
    • Fix potential race conditions in the original implementation