Skip to content

checkpoint==1.0.3

Choose a tag to compare

@github-actions github-actions released this 15 Aug 17:23
855139d

langgraph-checkpoint 1.0.3

Summary of Changes

  • Improved type hints in BaseCheckpointSaver.put and aput to specify that new_versions is of type ChannelVersions instead of generic dict (#1277)
  • Enhanced JsonPlusSerializer with support for additional Python data types, making serialization more robust (#1277)

Detailed Changes

langgraph.checkpoint.base.BaseCheckpointSaver

  • Improved documentation for put and aput methods to specify that the new_versions parameter is of type ChannelVersions rather than a generic dict, providing better type clarity (#1277)

langgraph.checkpoint.serde.jsonplus.JsonPlusSerializer

  • Added serialization support for many new Python types (#1277):
    • pathlib.Path objects
    • Regular expressions (re.Pattern)
    • decimal.Decimal values
    • deque collections
    • IP address types: IPv4Address, IPv4Interface, IPv4Network, IPv6Address, IPv6Interface, IPv6Network
    • Time-related types: date, time, ZoneInfo
  • Improved error handling in the deserialization process to gracefully handle missing modules or attributes, returning None instead of raising exceptions