Skip to content

feat!: (regen) diarization v2 batch GA, listen-provider dedup, think/models route fix#57

Merged
GregHolmes merged 4 commits into
mainfrom
gh/sdk-gen-2026-05-14
May 15, 2026
Merged

feat!: (regen) diarization v2 batch GA, listen-provider dedup, think/models route fix#57
GregHolmes merged 4 commits into
mainfrom
gh/sdk-gen-2026-05-14

Conversation

@GregHolmes
Copy link
Copy Markdown
Contributor

@GregHolmes GregHolmes commented May 14, 2026

Summary

Fern SDK regeneration for 2026-05-14.

Patches re-applied

  • ClientOptions.java — restored SDK identity headers (User-Agent, X-Fern-SDK-Name, X-Fern-SDK-Version) to the com.deepgram:deepgram-java-sdk values and re-added // x-release-please-version markers. Generator still overwrites these.
  • ReconnectingWebSocketListener.java — re-applied the three fixes from fix(reconnect): listener bug fixes + transport factory policy hook #45:
    1. maxRetries(0) semantics: retryCount > maxRetries (initial attempt always proceeds; cap applies to retries only).
    2. Configurable connectionTimeoutMs on ReconnectOptions (default 4000ms; was hardcoded).
    3. applyOptionsOverride(...) runtime hook used by TransportWebSocketFactory to apply per-transport reconnect policy without editing generated WS clients.

No patches were dropped — the generator has not caught up on any of the above. Both files remain in .fernignore at their original paths.

Notable generator changes (non-patch)

  • Listen provider type refactor — moved AgentV1SettingsAgentContextListenProvider{V1,V2,V2LanguageHint} from resources/agent/v1/types/ → top-level types/DeepgramListenProvider* and deleted AgentV1SettingsAgentListenProvider{V1,V2} (~400 lines combined).
  • New listen/media types: ListenV1RequestUrl, MediaTranscribeRequestOctetStream, MediaTranscribeRequestDiarizeModel; AsyncRawMediaClient/RawMediaClient updated.
  • Small updates to Environment.java, RawModelsClient.java, .fern/metadata.json.

Test plan

  • ./gradlew test compileExamples passes (includes regression tests for maxRetries(0), applyOptionsOverride, connectionTimeoutMs).
  • Reviewer confirms listen-provider type rename does not break public API contract.

@GregHolmes GregHolmes requested a review from lukeocodes as a code owner May 14, 2026 11:56
@GregHolmes GregHolmes self-assigned this May 14, 2026
@GregHolmes GregHolmes changed the title chore: SDK regeneration 2026-05-14 feat!: (regen) diarization v2 batch GA, listen-provider dedup, think/models route fix May 14, 2026
@GregHolmes GregHolmes merged commit fccb3e3 into main May 15, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants