Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 22 Jul 13:44
7fe6d46

0.7.0 (2026-07-22)

⚠ BREAKING CHANGES

  • regen: flux stt numerals + aura-2 voices; remove AgentV1LatencyReport.stt_latency (#78)

Features

  • regen: flux stt numerals + aura-2 voices; remove AgentV1LatencyReport.stt_latency (#78) (5cafdac)

What's in this release

SDK regeneration for the 2026-07-20 Fern run (java-sdk generator 4.10.1, CLI 5.44.6, spec ff8fd2b7).

⚠ Breaking: AgentV1LatencyReport.getSttLatency() removed

  • The API spec removed stt_latency from the LatencyReport schema (docs #1006). The getSttLatency() getter, the sttLatency(...) builder methods, and the constructor arg are gone.
  • AgentV1LatencyReport is a server-emitted, read-only message, so there is no request/wire impact — but this is source-breaking for any caller of getSttLatency(). Any inbound stt_latency now lands in additionalProperties rather than a typed getter.
  • Unlike the Python SDK (which re-added the field as a read-side compat shim), the Java 0.x line permits breaking changes across minor bumps (precedent: #66 → 0.6.0), so the removal is accepted here and shipped as a minor bump.
  • Migration guide: docs/Migrating-v0.6-to-v0.7.md (before/after), linked from the README.

Flux STT numerals (additive)

  • New types/ListenV2Numerals.java (true / false, forward-compatible enum) plus a numerals query param on listen().v2().v2WebSocket().connect(...) via the new V2ConnectOptions. Connection-time only.
  • New wire test ListenV2ConnectWireTest.java pins that /v2/listen serializes numerals=true when set and omits it when absent (the handshake previously had no wire test). Demonstrated in examples/listen/LiveStreamingV2.java.

New Aura-2 multilingual TTS voices (additive)

  • SpeakV1Model and AudioGenerateRequestModel each grow 63 → 103 constants (es / de / nl / fr / it / ja). Zero removed constants/enum members.

Verification

  • ./gradlew test compileExamplesBUILD SUCCESSFUL: 81 tests, 0 failures, 0 errors, 1 skipped; examples compile.
  • Numerals verified end-to-end against the live API: identical Flux input rendered digits with numerals=true and spelled-out words without it.