Release 17.9.2: fix credentials auth metadata#187
Merged
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.13.2
…378d834802257e7a [skip ci]
…378d834802257e7a [skip ci]
gavinsharp
approved these changes
Jul 11, 2026
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.
17.9.1 -> 17.9.2
Patch release for client-credentials grant type handling and default User-Agent formatting. The generated auth builders keep their existing
grantType(String)method, so normal client-credentials configuration is source-compatible.Changed
PhenomlClientBuilder._CredentialsAuthandAsyncPhenomlClientBuilder._CredentialsAuth— client-credentials grant type handling now usesOptional<String>internally while preserving the existinggrantType(String)builder method.Fixed
ClientOptions— generated User-Agent no longer includes a colon in the Maven coordinate token, keeping the default header compatible with HTTP product-token grammar.🌿 Generated with Fern
Note
Low Risk
Patch-level generated changes to optional grant-type plumbing and default User-Agent strings; existing
grantType(String)usage remains source-compatible.Overview
17.9.2 is a Fern-regenerated patch release that bumps the SDK version and generator metadata (
fernapi/fern-java-sdk4.13.2) without API surface changes beyond auth and default headers.Client-credentials auth now stores
grantTypeasOptional<String>inOAuthTokenSupplierand in_CredentialsAuthon both sync and async builders. Callers still usegrantType(String); an overload acceptingOptional<String>was added for generated compatibility.ClientOptionsdefault User-Agent and X-Fern-SDK-Version were updated to 17.9.2, and the User-Agent product token no longer uses a colon inside the Maven coordinate segment (com.phenoml.maven.phenoml-java-sdk/17.9.2instead ofcom.phenoml.maven:phenoml-java-sdk/...).Reviewed by Cursor Bugbot for commit 7115b37. Bugbot is set up for automated code reviews on this repo. Configure here.