Skip to content

fix: add ClientOptions.java to .fernignore#25

Merged
GregHolmes merged 1 commit intomainfrom
fix/fernignore-client-options
Apr 1, 2026
Merged

fix: add ClientOptions.java to .fernignore#25
GregHolmes merged 1 commit intomainfrom
fix/fernignore-client-options

Conversation

@GregHolmes
Copy link
Copy Markdown
Contributor

Summary

  • Adds ClientOptions.java to .fernignore to prevent Fern regeneration from overwriting release-please version markers and the correct SDK name
  • Reorganises .fernignore with descriptive comments explaining why each entry is ignored (matching the pattern used in the Python SDK)

Context

Each Fern regen overwrites ClientOptions.java, which:

  • Strips // x-release-please-version comments, breaking automated version bumps
  • Changes the SDK name from com.deepgram:deepgram-java-sdk to com.deepgram.fern:api-sdk
  • Bumps the version in headers without updating build.gradle, causing a mismatch

This was manually fixed after the last regen but kept recurring on every new regen (see #23, #24).

…ease markers

Fern regeneration overwrites `ClientOptions.java`, stripping `// x-release-please-version` comments and changing the SDK name from `com.deepgram:deepgram-java-sdk` to `com.deepgram.fern:api-sdk`.
Also reorganised `.fernignore` with descriptive comments.
@GregHolmes GregHolmes requested a review from lukeocodes April 1, 2026 09:42
@GregHolmes GregHolmes self-assigned this Apr 1, 2026
@GregHolmes GregHolmes merged commit 69859cf into main Apr 1, 2026
8 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