Skip to content

Release 17.9.2: fix credentials auth metadata#187

Merged
gavinsharp merged 7 commits into
mainfrom
fern-bot/2026-07-11_11-46-22_316
Jul 11, 2026
Merged

Release 17.9.2: fix credentials auth metadata#187
gavinsharp merged 7 commits into
mainfrom
fern-bot/2026-07-11_11-46-22_316

Conversation

@fern-api

@fern-api fern-api Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

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._CredentialsAuth and AsyncPhenomlClientBuilder._CredentialsAuth — client-credentials grant type handling now uses Optional<String> internally while preserving the existing grantType(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-sdk 4.13.2) without API surface changes beyond auth and default headers.

Client-credentials auth now stores grantType as Optional<String> in OAuthTokenSupplier and in _CredentialsAuth on both sync and async builders. Callers still use grantType(String); an overload accepting Optional<String> was added for generated compatibility.

ClientOptions default 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.2 instead of com.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.

@gavinsharp gavinsharp changed the title SDK Generation Release 18.0.0: update credentials auth grant type Jul 11, 2026
@gavinsharp gavinsharp changed the title Release 18.0.0: update credentials auth grant type Release 17.9.2: fix credentials auth metadata Jul 11, 2026
@gavinsharp gavinsharp merged commit 8987a91 into main Jul 11, 2026
1 check 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.

1 participant