feat!: (regen) breaking flux timestamps req-double + close-stream/hints; diarize_model, profanity#66
Open
GregHolmes wants to merge 7 commits into
Open
feat!: (regen) breaking flux timestamps req-double + close-stream/hints; diarize_model, profanity#66GregHolmes wants to merge 7 commits into
GregHolmes wants to merge 7 commits into
Conversation
- ClientOptions.java: restore deepgram-java-sdk header constants + x-release-please-version markers (gen reverted to wrong SDK name and hardcoded 0.5.1) - ReconnectingWebSocketListener.java: re-apply maxRetries(0) semantics, configurable connectionTimeoutMs, and applyOptionsOverride() hook - .fernignore: restore both original paths (still frozen for next cycle) - examples/listen/LiveStreamingV2.java: drop deleted ListenV2CloseStreamType; ListenV2CloseStream no longer takes a type - remove transient .bak files
Re-prepare for a second regeneration on this branch (no new branch/PR).
Second regeneration on this branch. Notable generator change: ListenV2TurnInfoWordsItem start/end are now required double (was Optional<Float>). - ClientOptions.java: restore deepgram-java-sdk header constants + x-release-please-version markers (gen reverted to wrong SDK name / 0.5.1) - ReconnectingWebSocketListener.java: re-apply maxRetries(0) semantics, configurable connectionTimeoutMs, applyOptionsOverride() hook - .fernignore: restore both original paths - remove transient .bak files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SDK Regeneration — 2026-06-15
Generated from deepgram-docs branch
devin/1781285195-flux-word-timestamps. The Java SDK was last regenerated 2026-05-15 (0.5.0), so this also catches up on doc changes merged since then.ListenV2CloseStream—typeremoved;ListenV2CloseStreamTypedeleted.getType()is now a fixed"CloseStream"constant and the builder no longer accepts.type(...). Migration:ListenV2CloseStream.builder().build(). (docs #946)DeepgramListenProviderV2—language_hint→language_hints.getLanguageHint()→getLanguageHints(); typeOptional<DeepgramListenProviderV2LanguageHint>→Optional<List<String>>(now multi-value);DeepgramListenProviderV2LanguageHintdeleted. (docs #856)On-the-wire payloads are unchanged — these are source/compile-time breaks for SDK users, not protocol breaks.
Additive
ListenV2TurnInfoWordsItemgainsstart/endas requireddouble(getStart()/getEnd()returndouble; both are required builder stages). This is the primary change the source branch was for. (generation branch)DiarizeModel(v1/latest),diarize_modelon streaming requests;diarizedeprecated. (docs #943)ListenV2ProfanityFilter+profanity_filterquery param. (docs #912)V1ConnectOptions/V2ConnectOptionsadded.Generator plumbing (Fern CLI 5.44.6, docs #940)
DateTimeDeserializernow falls back to space-separated timestamps (e.g."2025-02-15 10:30:00+00:00").headers((RequestOptions) null)overload.*ListRequest/*GetRequestfiles churned — javadoc/whitespace only, no signature changes.Manual patches reconciled
core/ClientOptions.java— generator reverted to wrong SDK coordinates (com.deepgram.fern:api-sdk/com.deepgram:deepgram-sdk) and hardcoded0.5.1, stripping the release-please markers. Restoredcom.deepgram:deepgram-java-sdkheaders +// x-release-please-versionmarkers at0.5.0.core/ReconnectingWebSocketListener.java— restored in full:maxRetries(0)"connect once, don't retry" (retryCount > maxRetries), configurableconnectionTimeoutMs(was hardcoded 4000ms), and theapplyOptionsOverride(...)hook used byTransportWebSocketFactory..fernignore— both paths restored to originals (stay frozen for next cycle); no entries dropped.examples/listen/LiveStreamingV2.java— updated to the new close-stream API (droppedListenV2CloseStreamTypeimport +.type(...)call). Caught bycompileExamples..bakfiles deleted.Verification
./gradlew test compileExamples— BUILD SUCCESSFUL (unit/wire tests, README snippets, and hand-maintained examples all compile).Release
Two breaking changes →
feat!title so release-please cuts a minor bump (0.5.0 → 0.6.0) and owns the CHANGELOG in its own PR.