Releases
checkpointpostgres==1.0.8
checkpointpostgres==1.0.8
Compare
Sorry, something went wrong.
No results found
langgraph-checkpoint-postgres 1.0.8
Summary of Changes
Enhanced type annotations throughout the package for better type safety and developer experience #1815
Fixed bug in migration handling when no previous migrations exist #1815
Added safety check in AsyncPostgresSaver to prevent blocking when called from the main thread #1815
Updated dependency on langgraph-checkpoint to version 1.0.11 #1815
Detailed Changes
langgraph.checkpoint.postgres.PostgresSaver
Improved type annotations with new Conn type alias for connection parameters
Fixed bug in setup() method to properly handle case when no migration rows exist
Changed parameter types from List to more flexible Sequence for better API compatibility
langgraph.checkpoint.postgres.aio.AsyncPostgresSaver
Improved type annotations with new Conn type alias for async connection parameters
Fixed bug in setup() method to properly handle case when no migration rows exist
Added thread safety check in get_tuple() to raise a clear error message when called from the main thread which would block execution
Changed parameter types from List to more flexible Sequence for better API compatibility
langgraph.checkpoint.postgres.base.BasePostgresSaver
Enhanced generic type parameters, specifying BasePostgresSaver[str]
Improved type hints with more specific types like ChannelVersions and CheckpointMetadata
Added better return type annotations for improved type checking
You can’t perform that action at this time.