langgraph-checkpoint==4.2.0
LangGraph checkpoint version 4.2.0 introduces an opt-in 'omit_expired' parameter for Postgres to filter expired rows during read operations. It also includes a critical fix for delta channel history to correctly collect writes at plain-value seeds.
Verified State Diff
Impact & Verification Analysis
Developers building stateful agentic applications using LangGraph, specifically those utilizing Postgres for checkpoint persistence.
The 'omit_expired' feature improves database query efficiency for large-scale agent deployments, while the bug fix ensures state consistency in complex multi-step workflows.
Full Fact Overview
This release focuses on state management reliability and database performance optimization. The addition of 'omit_expired' in 'checkpoint-postgres' allows developers to reduce overhead by ignoring expired state rows during retrieval, which is critical for long-running agentic workflows. The fix for delta channel history addresses a specific bug in how writes are collected, ensuring data integrity when using plain-value seeds in state transitions. Additionally, the release includes standard maintenance tasks such as dependency updates and linting enforcement (PLC0415, RUF100) to improve codebase maintainability.