Skip to content

0.3.17

Choose a tag to compare

@github-actions github-actions released this 19 Mar 18:35
a146df7

langgraph 0.3.17

Summary of Changes

  • Added new bulk state update functionality for more efficient sequential state updates (#3737)
  • Performance improvements for state management and task processing (#3912)

Detailed Changes

langgraph.pregel.Pregel

  • Added new bulk_update_state and abulk_update_state methods to allow applying multiple updates to a graph state in sequence (#3737)
  • Refactored existing update_state and aupdate_state methods to use the new bulk update functionality (#3737)
  • Improved error handling for multiple update scenarios with clear error messages (#3737)

langgraph.types.StateUpdate

  • Added new StateUpdate type as a NamedTuple with fields values and as_node to represent individual state updates (#3737)

langgraph.pregel.algo

  • Optimized how triggers are handled by sorting process triggers for more consistent behavior (#3912)
  • Improved memory usage by accessing scratchpad directly from parameters instead of through config (#3912)
  • Enhanced performance by using immutable data structures in task preparation (#3912)