Skip to content

checkpointpostgres==2.0.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 20:19
5c3ac5d

langgraph-checkpoint-postgres 2.0.0

Summary of Changes

  • Removed PostgreSQL ltree extension dependency: Now using standard text columns with LIKE queries instead of specialized ltree type, improving compatibility with PostgreSQL instances (PR #1948)
  • Fixed search operations: Corrected namespace handling in both sync and async store implementations (PR #1935)
  • Enhanced namespace processing: Improved handling of different data types and patterns for namespaces (PR #1948)
  • Upgraded dependency: Now depends on langgraph-checkpoint 2.0.0

Detailed Changes

langgraph.store.postgres.base.BasePostgresStore

  • Removed requirement for PostgreSQL ltree extension (PR #1948)
  • Changed prefix column type from ltree to text (PR #1948)
  • Updated database index from gist to btree with text_pattern_ops for prefix lookups (PR #1948)
  • Replaced ltree-specific namespace queries with standard SQL LIKE queries (PR #1948)
  • Improved handling of wildcard patterns in namespaces (PR #1948)

langgraph.store.postgres.base.PostgresStore

  • Fixed search operations to correctly handle namespace prefixes (PR #1935)
  • Enhanced namespace decoding with the new _decode_ns_bytes utility function (PR #1935)

langgraph.store.postgres.aio.AsyncPostgresStore

  • Fixed search operations to correctly handle namespace prefixes (PR #1935)
  • Enhanced namespace decoding with the new _decode_ns_bytes utility function (PR #1935)

langgraph.store.postgres.base.Row

  • Updated type definition to use string for prefix instead of bytes (PR #1948)