Skip to content

checkpointpostgres==2.0.4

Choose a tag to compare

@github-actions github-actions released this 26 Nov 01:59
8f649ab

langgraph-checkpoint-postgres 2.0.4

Summary of Changes

  • Added connection pooling support for improved performance in high-concurrency scenarios (#2494)
  • Added pipeline optimization for database operations to improve throughput (#2494)
  • Added thread safety mechanisms for concurrent operations (#2494)
  • Improved inheritance support in PostgreSQL savers (#2494)
  • Implemented last-write-wins strategy for operations on the same key (#2494)
  • Refactored connection handling to dedicated internal modules (#2494)

Detailed Changes

langgraph.store.postgres.base.PoolConfig

  • Added new TypedDict to configure PostgreSQL connection pools with settings for min/max connections and additional connection parameters (#2494)

langgraph.store.postgres.base.PostgresStore

  • Added connection pooling support for better performance with high concurrency (#2494)
  • Added pipeline support for optimized database operations (#2494)
  • Added thread locking for safe concurrent access (#2494)
  • Added deduplication of operations with last-write-wins semantics (#2494)
  • Improved cursor management with a new _cursor context manager (#2494)

langgraph.store.postgres.aio.AsyncPostgresStore

  • Added connection pooling support similar to the synchronous version (#2494)
  • Added pipeline optimization for async database operations (#2494)
  • Added async locks for safe concurrent access (#2494)
  • Improved cursor management with async context managers (#2494)

langgraph.checkpoint.postgres.PostgresSaver

  • Updated to use internal connection handling module for better organization (#2494)
  • Modified to use cls instead of hardcoded class names for better inheritance support (#2494)

langgraph.checkpoint.postgres.aio.AsyncPostgresSaver

  • Updated to use internal async connection handling module (#2494)
  • Modified parent config handling for improved consistency (#2494)
  • Improved inheritance support similar to PostgresSaver (#2494)