Skip to content

checkpointpostgres==1.0.2

Choose a tag to compare

@github-actions github-actions released this 08 Aug 17:04
da6462e

langgraph-checkpoint-postgres 1.0.2

Summary of Changes

  • Breaking change: Users must now explicitly call .setup() method on Postgres checkpointers to create required tables (PR #1277)
  • Fixed bug in checkpoint blob storage by removing redundant parameter and improving handling of empty/missing values (PR #1270)
  • Added comprehensive documentation for all public methods (PR #1277)
  • Made blob column nullable in the database schema, allowing proper handling of empty values (PR #1277)

Detailed Changes

langgraph.checkpoint.postgres.PostgresSaver

  • Breaking change: .setup() method must now be explicitly called by users when first using the checkpointer (PR #1277)
  • Fixed bug in .put() method by removing redundant channel_versions parameter when storing blobs (PR #1270)
  • Added comprehensive docstrings with examples for .list(), .get_tuple(), .put(), and .put_writes() methods (PR #1277)

langgraph.checkpoint.postgres.aio.AsyncPostgresSaver

  • Breaking change: .setup() method must now be explicitly called by users when first using the checkpointer (PR #1277)
  • Fixed bug in .aput() method by removing redundant channel_versions parameter when storing blobs (PR #1270)
  • Added comprehensive docstrings with examples for .alist(), .aget_tuple(), .aput(), and .aput_writes() methods (PR #1277)

langgraph.checkpoint.postgres.base.BasePostgresSaver

  • Modified _dump_blobs() method to handle missing values, now storing an "empty" type with None value instead of skipping those keys (PR #1270)
  • Updated _load_blobs() method to filter out entries with "empty" type (PR #1277)
  • Added database schema migration to make the blob column nullable (PR #1277)