Skip to content

v5.12.0

Choose a tag to compare

@github-actions github-actions released this 21 Sep 09:46
3bb661b

5.12.0 (2026-09-18)

Features

  • Streaming WebSockets: All Voice Agent, Listen v1/v2, and Speak v1/v2 sockets now support for await...of. Callback handlers remain usable alongside iteration, and breaking from the loop closes the connection. (#550)
  • Voice Agent: Add FunctionCallCancelled messages and the defer_until_eot function setting, allowing integrations to avoid responding to invalidated calls and defer irreversible actions until end of turn. (#557)
  • Examples: Add a production-grade Listen v1 reconnection example with bounded audio buffering, jittered backoff, close-code handling, and timestamp continuity. (#539)

Improvements

  • Streaming WebSockets: Add off(event, callback) and per-close shouldReconnect control. Flux Listen v2 now treats the expected no-status (1005) close after sendCloseStream() as terminal. Existing on() replacement semantics are unchanged. (#557)

Documentation

  • Document the complete streaming WebSocket surface in the packaged README, including lifecycle and typed send methods. (#542)