Skip to content

checkpointpostgres==2.0.3

Choose a tag to compare

@github-actions github-actions released this 18 Nov 21:59
016a9c1

langgraph-checkpoint-postgres 2.0.3

Summary of Changes

  • Added fallback to transaction mode when PostgreSQL doesn't support pipeline mode PR #2455
  • Fixed ordering of checkpoint writes in SQL queries to ensure consistent results PR #2455

Detailed Changes

langgraph.checkpoint.postgres.PostgresSaver

  • Added detection of pipeline support via Capabilities().has_pipeline()
  • Enhanced the _cursor method to gracefully fall back to transaction context manager when pipeline mode is not supported
  • Improved documentation for the _cursor method to better explain the pipeline parameter

langgraph.checkpoint.postgres.aio.AsyncPostgresSaver

  • Added detection of pipeline support via Capabilities().has_pipeline()
  • Enhanced the _cursor method to gracefully fall back to transaction context manager when pipeline mode is not supported
  • Improved documentation for the _cursor method to better explain the pipeline parameter

langgraph.checkpoint.postgres.base.BasePostgresSaver

  • Added supports_pipeline class variable to track pipeline support capability
  • Fixed SQL query ordering to use both task_id and idx for more consistent checkpoint write retrieval