Skip to content

docs: update README for v9 OAuth 2.0 migration (9.0.1)#100

Merged
gavinsharp merged 3 commits intomainfrom
update-readme-v9
Mar 4, 2026
Merged

docs: update README for v9 OAuth 2.0 migration (9.0.1)#100
gavinsharp merged 3 commits intomainfrom
update-readme-v9

Conversation

@gavinsharp
Copy link
Contributor

@gavinsharp gavinsharp commented Mar 4, 2026

Update code examples to reflect the v9 breaking changes: Client/PhenoMLPhenomlClient, 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-Version headers to match the new release.

Overview
README usage snippets are updated for the v9 migration: Client/PhenoML examples are replaced with PhenomlClient.builder() using OAuth2 client-credentials (clientId/clientSecret), updated request/exception types, and the agent.create example adds provider(...).

Release metadata is bumped from 9.0.0 to 9.0.1 in build.gradle, and ClientOptions updates the default User-Agent and X-Fern-SDK-Version header values to 9.0.1.

Written by Cursor Bugbot for commit c4316ad. This will update automatically on new commits. Configure here.

gavinsharp and others added 2 commits March 4, 2026 16:35
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>
@gavinsharp gavinsharp changed the title Update README for v9 OAuth 2.0 migration docs: update README for v9 OAuth 2.0 migration (9.0.1) Mar 4, 2026
- 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>
@gavinsharp gavinsharp merged commit 3922ab5 into main Mar 4, 2026
5 checks passed
@gavinsharp gavinsharp deleted the update-readme-v9 branch March 4, 2026 21:53
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