Skip to content

checkpoint==1.0.10

Choose a tag to compare

@github-actions github-actions released this 16 Sep 22:01

langgraph-checkpoint 1.0.10

Summary of Changes

  • Added support for tracking scheduled task status in the checkpoint system via a new special channel (#1716)
  • Added get_next_version method to InMemorySaver to generate consistent version identifiers (#1685)
  • Improved serialization performance with MessagePack integration as an alternative to JSON (#1716)
  • Enhanced the JsonPlusSerializer with better handling of various Python types and more robust serialization logic (#1702)
  • Added support for serializing named tuples via the _asdict() method (#1685)

Detailed Changes

langgraph.checkpoint.base.BaseCheckpointSaver

  • Added support for tracking scheduled tasks with a new SCHEDULED special channel constant in WRITES_IDX_MAP with value -2 (#1716)
  • Improved documentation to clarify that special writes map to negative indices to avoid conflicts with regular writes

langgraph.checkpoint.memory.InMemorySaver

  • Added a new get_next_version method that generates version strings for channels based on current version (#1685)
  • The method handles incrementing version numbers and adds a random component for uniqueness

langgraph.checkpoint.serde.jsonplus.JsonPlusSerializer

  • Added MessagePack integration as a faster alternative to JSON serialization (#1716)
  • Created specialized handlers for efficiently serializing various Python types with MessagePack
  • Implemented a pooling mechanism for MessagePack encoders to improve performance
  • Refactored _encode_constructor_args to more efficiently build output dictionaries (#1702)
  • Changed list[Any] type hint to Sequence[Any] for better type flexibility
  • Added support for objects with _asdict() method (like namedtuples) (#1685)
  • Improved the _reviver method to more safely access dictionary keys