LangGraph 1.2.16 发布,修复恢复流程并新增 Postgres 检查点清理
原标题:langgraph==1.2.16
AI 摘要
LangGraph 发布 1.2.16 版本,主要修复了恢复(resume)流程中的多个问题,包括无效恢复值时让其他任务正常结束、恢复的 Command 更新只应用一次、子图恢复时不再重跑已完成任务、以及恢复退出运行的待写入只保存一次。同时发布 prebuilt 1.1.1、checkpoint-postgres 3.2.0 和 checkpoint-sqlite 3.1.2,其中 PostgresSaver 和 AsyncPostgresSaver 新增 prune 功能。
正文节选
Changes since 1.2.15 * release(langgraph): 1.2.16 (#9334) * fix(langgraph): let other tasks finish when a resume value is invalid (#9265) * fix(langgraph): apply a resumed Command's update once (#9322) * fix(langgraph): stop a subgraph from rerunning its finished tasks on resume (#9315) * fix(langgraph): save a resumed exit run's pending writes once (#9314) * release(prebuilt): 1.1.1 (#9316) * release(checkpoint-postgres): 3.2.0 (#9313) * feat(checkpoint-postgres): add prune to PostgresSaver an