Skip to content

0.3.25

Choose a tag to compare

@github-actions github-actions released this 03 Apr 20:31
2d13904

langgraph 0.3.25

Summary of Changes

  • Added new UI messaging system for LangGraph, enabling developers to send and manage UI component updates during graph execution (#4157)

Detailed Changes

langgraph.graph.ui

  • Added new UIMessage TypedDict to represent UI component updates with properties and metadata (#4157)
  • Added RemoveUIMessage TypedDict for removing UI components from the current state (#4157)
  • Added AnyUIMessage Union type combining both message types (#4157)
  • Added push_ui_message() function to create and send UI messages for rendering components (#4157)
  • Added delete_ui_message() function to remove UI components by ID (#4157)
  • Added ui_message_reducer() function to merge UI message lists, handling both additions and removals (#4157)