Skip to content

docs: use unified ExtendClient in README - #56

Merged
jordanalexmeyer merged 1 commit into
mainfrom
docs/readme-unified-extendclient
Jun 18, 2026
Merged

docs: use unified ExtendClient in README#56
jordanalexmeyer merged 1 commit into
mainfrom
docs/readme-unified-extendclient

Conversation

@jordanalexmeyer

Copy link
Copy Markdown
Contributor

Summary

Updates the README to reflect the unified client introduced in v1.15.0 (PR #55).

  • All examples now construct ai.extend.ExtendClient directly instead of ai.extend.wrapper.ExtendClientWrapper. ExtendClient now carries the polling (createAndPoll) and webhook (webhooks()) helpers itself, so the wrapper is no longer needed.
  • ExtendClientWrapper remains as a deprecated thin subclass, so existing customer code keeps working — but new code should use ExtendClient.
  • Raw-response section: renamed ExtendClientHttpResponseExtendClientBaseHttpResponse (the type is derived from the generated base client name). This is the only customer-facing rename in v1.15.0 and only affects raw-response usage.

Notes

  • README is hand-maintained (protected via .fernignore), so these edits persist across regenerations.
  • All referenced methods/types were verified against the merged SDK: parse/extract/classify/split/edit convenience methods are inherited from ExtendClientBase, and all builder setters (apiKey, environment, url, maxRetries, timeout, addHeader, httpClient) exist on ExtendClient.builder().

Test plan

  • Visual review of README renders correctly
  • Confirm examples compile against ai.extend:extend-java-sdk:1.15.0 once published

The customer-facing client is now ai.extend.ExtendClient (with polling +
webhook helpers built in); ExtendClientWrapper is deprecated. Update all
README examples to construct ExtendClient directly, and rename the raw
response type ExtendClientHttpResponse -> ExtendClientBaseHttpResponse.
@jordanalexmeyer
jordanalexmeyer merged commit d06e6b7 into main Jun 18, 2026
2 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.

1 participant