You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
langgraph-checkpoint 2.0.6
Summary of Changes
Added support for listing namespaces in AsyncBatchedBaseStore with a new method alist_namespaces#2534
Improved performance of batch operations in AsyncBatchedBaseStore with operation deduplication #2534
Fixed bug in InMemorySaver.put_writes() to handle missing checkpoint namespace gracefully #2404
Added "fork" as a new source type in CheckpointMetadata for checkpoints created as copies of other checkpoints
Detailed Changes
langgraph.store.base.batch.AsyncBatchedBaseStore
Added alist_namespaces method to query namespaces with filtering options for prefix, suffix, depth, and pagination #2534
Implemented operation deduplication logic with new _dedupe_ops function that optimizes batch performance by:
Deduplicating identical get/search operations
Consolidating multiple put operations to the same key
Preserving operation order for consistent results #2534
langgraph.checkpoint.memory.InMemorySaver
Updated put_writes method to gracefully handle cases where "checkpoint_ns" is not present in the configuration by using .get("checkpoint_ns", "") instead of direct access #2404
langgraph.checkpoint.base.CheckpointMetadata
Extended the source field to include "fork" as a valid option
Added documentation for "fork" value: "The checkpoint was created as a copy of another checkpoint"