You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
langgraph-checkpoint-postgres 2.0.7
Summary of Changes
Improved vector search capabilities with more efficient namespace filtering and correct ordering for different distance types (PR #2594)
Added support for configurable vector indices (HNSW, IVFFlat, flat) with appropriate configuration options (PR #2598)
Enhanced migration handling in PostgresSaver to be more resilient when tables don't exist (PR #2600)
Detailed Changes
langgraph.store.postgres.base.Migration
Added a new condition field to allow conditional migrations based on store configuration (PR #2598)
langgraph.store.postgres.base.ANNIndexConfig
Added a kind field to specify the type of index to use: 'hnsw', 'ivfflat', or 'flat' (PR #2598)
langgraph.store.postgres.base.HNSWConfig
Added new configuration class for HNSW (Hierarchical Navigable Small World) indices with parameters for maximum connections per layer (m) and dynamic candidate list size (ef_construction) (PR #2598)
langgraph.store.postgres.base.IVFFlatConfig
Added new configuration class for IVFFlat indices with parameter for number of inverted lists/clusters (nlist) (PR #2598)
langgraph.store.postgres.base.BasePostgresStore
Improved vector search implementation with more efficient namespace filtering (PR #2594)
Added conditional migration execution based on store configuration (PR #2598)
Added automatic vector index creation based on configuration (PR #2598)
Modified to return a tuple of SQL expressions instead of a single string, separating the operator used for ordering and the post-processing expression (PR #2594)
Improved compatibility with ascending/descending ordering and different distance types (l2, inner_product, cosine) (PR #2594)
langgraph.checkpoint.postgres.PostgresSaver
Enhanced migration handling to always create tables if they don't exist rather than catching exceptions (PR #2600)