Releases
checkpoint==2.0.15
Compare
Sorry, something went wrong.
No results found
langgraph-checkpoint 2.0.15
Summary of Changes
Added a new function get_checkpoint_metadata to standardize checkpoint metadata handling across different implementations (#3448 )
Fixed potential RuntimeError in AsyncBatchedBaseStore during garbage collection (#3448 )
Simplified checkpoint metadata handling in InMemorySaver (#3448 )
Detailed Changes
langgraph.checkpoint.base.get_checkpoint_metadata
Added a new function to extract and process checkpoint metadata from a RunnableConfig in a backward-compatible manner
Implemented filtering of excluded and private metadata keys
Only includes primitive types (string, int, boolean, float) in the metadata
langgraph.checkpoint.memory.InMemorySaver
Refactored the put method to use the new get_checkpoint_metadata function
Simplified metadata handling by removing custom metadata construction code
Ensures consistent metadata handling across different checkpoint implementations
langgraph.store.base.batch.AsyncBatchedBaseStore
Added error handling in the __del__ method to prevent RuntimeError exceptions when canceling tasks during garbage collection
This fixes potential issues that could occur if the event loop is already closed when the object is being destroyed
You can’t perform that action at this time.