Skip to content

checkpointsqlite==1.0.1

Choose a tag to compare

langgraph-checkpoint-sqlite 1.0.1

Summary of Changes

  • Improved checkpoint retrieval by including write operations in checkpoint tuples returned by list() and alist() methods (PR #1436)
  • Changed writes storage behavior to use INSERT OR IGNORE instead of INSERT OR REPLACE for better consistency (PR #1436)
  • Enhanced search functionality to be more flexible when handling checkpoint namespace parameters (PR #1436)
  • Updated documentation to clarify terminology, consistently using "checkpoint ID" instead of "timestamp" (PR #1277)

Detailed Changes

langgraph.checkpoint.sqlite.SqliteSaver

  • Enhanced list() method to include write operations in returned checkpoint tuples (PR #1436)
  • Modified get_tuple() to properly order writes by task_id and idx (PR #1436)
  • Changed put_writes() to use INSERT OR IGNORE and leverage WRITES_IDX_MAP for consistent channel indexing (PR #1436)
  • Updated docstrings to clarify that checkpoint tuples are ordered by checkpoint ID in descending order (newest first) (PR #1277)

langgraph.checkpoint.sqlite.aio.AsyncSqliteSaver

  • Updated alist() method to include write operations in returned checkpoint tuples (PR #1436)
  • Modified aget_tuple() to properly order writes by task_id and idx (PR #1436)
  • Changed aput_writes() to use INSERT OR IGNORE and leverage WRITES_IDX_MAP for consistent channel indexing (PR #1436)
  • Improved parameter documentation for better clarity, especially regarding new_versions being of type ChannelVersions (PR #1277)

langgraph.checkpoint.sqlite.utils.search_where

  • Enhanced to handle checkpoint_ns being None for more flexible searching (PR #1436)
  • Added support for filtering by checkpoint ID when provided in the configuration (PR #1436)