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 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)
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