v0.7.0
0.7.0 (2026-07-22)
⚠ BREAKING CHANGES
- regen: flux stt numerals + aura-2 voices; remove AgentV1LatencyReport.stt_latency (#78)
Features
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_latencyfrom the LatencyReport schema (docs #1006). ThegetSttLatency()getter, thesttLatency(...)builder methods, and the constructor arg are gone. AgentV1LatencyReportis a server-emitted, read-only message, so there is no request/wire impact — but this is source-breaking for any caller ofgetSttLatency(). Any inboundstt_latencynow lands inadditionalPropertiesrather 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 anumeralsquery param onlisten().v2().v2WebSocket().connect(...)via the newV2ConnectOptions. Connection-time only. - New wire test
ListenV2ConnectWireTest.javapins that/v2/listenserializesnumerals=truewhen set and omits it when absent (the handshake previously had no wire test). Demonstrated inexamples/listen/LiveStreamingV2.java.
New Aura-2 multilingual TTS voices (additive)
SpeakV1ModelandAudioGenerateRequestModeleach grow 63 → 103 constants (es / de / nl / fr / it / ja). Zero removed constants/enum members.
Verification
./gradlew test compileExamples— BUILD 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=trueand spelled-out words without it.