Skip to content

sdk==0.1.28

Choose a tag to compare

@github-actions github-actions released this 21 Aug 21:17
1907646

langgraph-sdk 0.1.28

Summary of Changes

  • Added support for custom headers in get_client, allowing users to set additional HTTP headers for API requests (PR #1416)
  • Renamed thread_ts to checkpoint_id and added checkpoint_ns field in state configurations for better naming consistency (PR #1268)

Detailed Changes

get_client

  • Added a new headers parameter to allow setting custom HTTP headers when creating a client (PR #1416)
  • Refactored header handling into a new internal _get_headers function
  • Added validation to prevent overriding reserved headers like "x-api-key"

LangGraphClient.get_state and LangGraphClient.create

  • Renamed the thread_ts field to checkpoint_id in various configurations to better represent its purpose (PR #1268)
  • Added a new checkpoint_ns field to provide namespace support for checkpoints