Skip to content

chore: SDK regeneration 2026-09-30 - #119

Closed
GregHolmes wants to merge 4 commits into
mainfrom
gh/sdk-gen-2026-09-30
Closed

GregHolmes wants to merge 4 commits into
mainfrom
gh/sdk-gen-2026-09-30

Conversation

@GregHolmes

@GregHolmes GregHolmes commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Regenerate the Java SDK with fernapi/fern-java-sdk 4.23.1.
  • Retain required local patches for streaming query serialization, forward-compatible frames, reconnect policy, release-managed headers, model compatibility, equality contracts, and Agent provider unions.
  • Remove the obsolete Agent V1 WebSocket pre-connect-close patch; Fern now generates it.
  • Retain generated root-client WebSocket lifecycle management.

API Migration

SharedTopics and SharedIntents now correctly expose segments directly, matching production responses. This is source-breaking for consumers of the old generated path:

  • results.topics.results.topics.segments becomes results.topics.segments
  • results.intents.results.intents.segments becomes results.intents.segments

Release notes and versioning must call out this migration.

Generator Review

  • Retry timeout diagnostics now include the closing parenthesis.
  • connectionTimeoutMs, its validation, and the transport override remain locally patched; Fern still hardcodes 4000 ms.
  • Root-client close now disconnects tracked WebSockets before shutting down SDK-owned OkHttp resources.
  • The generator now buffers retryable error bodies and returns a prior HTTP response if a retry transport attempt fails; review this changed error-observation behavior.

Validation

  • ./gradlew spotlessCheck test compileExamples

@GregHolmes

Copy link
Copy Markdown
Collaborator Author

Closing this regeneration because it was generated from deepgram-docs main rather than the intended Controls spec branch.

@GregHolmes GregHolmes closed this Sep 30, 2026
@GregHolmes
GregHolmes deleted the gh/sdk-gen-2026-09-30 branch September 30, 2026 12:25
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.

1 participant