Skip to content

v7.18.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 12:57
6baa047

7.18.0 (2026-11-10)

Features

  • core: Preserve unknown Agent V1, Listen V1/V2, and Speak V2 WebSocket messages as raw dictionary payloads instead of dropping them; Listen V1/V2 binary frames are now typed. Responses from with_raw_response() expose the underlying httpx.Response as .response. To avoid replaying a request the server may already have applied, httpx.RemoteProtocolError is no longer retried by default; opt in for safe requests with request_options={"retry_remote_protocol_errors": True}. (#826) (3b3679c)

Highlights

  • Unknown Agent V1, Listen V1/V2, and Speak V2 WebSocket frames now reach applications as raw dictionary payloads when the SDK does not recognize their variant.
  • with_raw_response() wrappers now expose the underlying httpx.Response through .response.
  • httpx.RemoteProtocolError retries are opt-in through request_options={"retry_remote_protocol_errors": True} to prevent accidental replay of a request that the server may have already applied.