Skip to content

checkpointpostgres==1.0.10

Choose a tag to compare

@github-actions github-actions released this 30 Sep 21:30
97f79fc

langgraph-checkpoint-postgres 1.0.10

Summary of Changes

  • Added new PostgreSQL-based storage implementation with both synchronous and asynchronous APIs (#1906)
  • Fixed parent configuration structure in PostgresSaver to use tuples instead of dictionaries (#1906)
  • Added explicit exports via __all__ for better module organization (#1906)

Detailed Changes

langgraph.checkpoint.postgres.PostgresSaver

  • Modified the parent configuration structure in list() and get_tuple() methods to be wrapped in a tuple for better type safety

langgraph.store.postgres.base.PostgresStore

  • Added new synchronous PostgreSQL store implementation
  • Provides methods for batching database operations (get, put, search)
  • Includes functionality for listing namespaces and querying data
  • Offers a context manager from_conn_string() for easy connection management
  • Includes a setup() method to initialize the database schema and run migrations

langgraph.store.postgres.aio.AsyncPostgresStore

  • Added new asynchronous PostgreSQL store implementation
  • Provides the same functionality as PostgresStore but with async/await pattern
  • Uses asyncio for non-blocking database operations
  • Includes async versions of all methods from the synchronous counterpart
  • Provides an asyncio context manager for connection handling