Skip to content

checkpoint==1.0.8

Choose a tag to compare

@github-actions github-actions released this 30 Aug 23:14

langgraph-checkpoint 1.0.8

Summary of Changes

  • Improved object serialization and deserialization in JsonPlusSerializer by adding fallback methods for object construction and enhancing error handling

Detailed Changes

langgraph.checkpoint.serde.jsonplus.JsonPlusSerializer

  • Enhanced the serialization mechanism to support fallback methods for Pydantic and other model-based objects
  • Modified the _default method to pass a list of constructors ([None, "model_construct"] or [None, "construct"]) instead of a single method name
  • Improved the _reviver method to attempt multiple construction methods in sequence if earlier attempts fail
  • Broadened exception handling to gracefully recover from a wider range of errors during deserialization