Skip to content

0.1.17

Choose a tag to compare

@github-actions github-actions released this 31 Jul 01:35

langgraph 0.1.17

Summary of Changes

  • Improved state management by allowing empty state updates in Pregel.update_state(), preserving configuration between updates
  • Enhanced checkpoint handling to support maintaining state when no values are provided

Detailed Changes

langgraph.pregel.Pregel

  • Modified the update_state() method to accept None as a valid value for the values parameter, enabling state updates that preserve configuration without changing values
  • Improved step counting logic to ensure proper incrementation when updating state
  • Enhanced configuration preservation between updates by properly merging configurable fields from previous checkpoints

Checkpoint Creation (Internal)

  • Updated internal checkpoint creation logic to handle cases where channels are not provided, allowing for checkpoint preservation while updating configuration