docs: update README for v9 OAuth 2.0 migration (9.0.1)#100
Merged
gavinsharp merged 3 commits intomainfrom Mar 4, 2026
Merged
Conversation
Update all code examples to reflect v9 breaking changes: - Client/PhenoML -> PhenomlClient - Username/password auth -> OAuth 2.0 client credentials (clientId/clientSecret) - Fix PhenomlApiApiException typo -> PhenomlClientApiException - Update example URLs to https://yourinstance.app.pheno.ml Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix import path from agent.requests to agent.types - Add required .provider() call after .name() (staged builder pattern) - Remove non-existent .isActive(true) method Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Update code examples to reflect the v9 breaking changes:
Client/PhenoML→PhenomlClient, username/password auth → OAuth 2.0 client credentials (clientId/clientSecret), wrapper classes removed.Note
Low Risk
Mostly documentation and version/metadata bumps; minimal runtime impact limited to updating default
User-Agent/X-Fern-SDK-Versionheaders to match the new release.Overview
README usage snippets are updated for the v9 migration:
Client/PhenoMLexamples are replaced withPhenomlClient.builder()using OAuth2 client-credentials (clientId/clientSecret), updated request/exception types, and theagent.createexample addsprovider(...).Release metadata is bumped from
9.0.0to9.0.1inbuild.gradle, andClientOptionsupdates the defaultUser-AgentandX-Fern-SDK-Versionheader values to9.0.1.Written by Cursor Bugbot for commit c4316ad. This will update automatically on new commits. Configure here.