Repository navigation
Release 8.10.0 - security hardening - #715
Conversation
This release brings security hardening of request building, the OAuth client and request logging, and fixes responses that repeat a header. Custom base URIs and the OAuth authorization URI are now validated when the SDK is built, so check them before upgrading if you set them. No public member is removed; one constructor is added. **Added** * `CheckoutAuthorizationException(String, Throwable)` (#711). **Changed** * Security hardening (#707, #709, #711). * Path values that cannot be sent as one path segment (null, empty, `.`, `..`, or containing "/" or "\") raise `CheckoutArgumentException` before the request is sent. For `CustomersClient#get` with an email that contains "/" or "\", pass the customer ID instead (#707, #709). * Custom base URIs (`CustomEnvironment`, or a custom `UriStrategy` given to `ApiClientImpl`) are validated when the SDK is built, every setting included. An invalid one fails `build()` with a `CheckoutArgumentException` that names the setting. Use absolute `http` or `https` URIs with a host, ending with "/" when they have a path, as described in the README Custom Environment section (#709). * The OAuth authorization URI must be an absolute `https` URI with an ASCII host written without percent-encoding, no user information and an optional port from 1 to 65535; `http` is accepted only for `localhost`, `127.0.0.0/8` and `[::1]`. Any other URI throws `CheckoutArgumentException` when the SDK is built (#711). * OAuth token request failures and token responses that cannot be used raise `CheckoutAuthorizationException`, a subclass of `CheckoutException`. Catch `CheckoutException` or `CheckoutAuthorizationException` (#711). * The request and response log lines hold less information (#711). **Fixed** * A response that repeats a header (for example two `Set-Cookie` headers) is no longer reported as a 400; the first value is kept (#713). * With a custom base URI that has a path, iDEAL requests stay under that path like every other request (#707).
🟡 Risk Classification: MINORApproval route: AI Review + Human Approval Classification reasons
Operational gates
Files analysed: 1 wall-e 2026.06.19-02 · policy |
🔬 Debug — why this classification?Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.
Kinds:
See issue #3 for the proposal to formalise this map as Appendix A of the standards doc. wall-e 2026.06.19-02 · debug |
🟠 Advisory review: Concerns worth a lookThis PR needs a human approval. Before you give it, these are the things I'd want resolved. The diff contains only a version bump from 8.9.0 to 8.10.0, but the PR description claims extensive security hardening changes across request building, OAuth client, logging, URI validation, path segment validation, and header deduplication fixes. Either the diff is incomplete/truncated or the actual code changes are missing. Concerns
This is not an approval. wall-e cannot auto-approve this PR — it is an opinion to help whoever does. Advisory review · us.anthropic.claude-sonnet-4-6 · wall-e 2026.06.19-02 |
|



This release brings security hardening of request building, the OAuth client and request logging, and fixes responses that repeat a header. Custom base URIs and the OAuth authorization URI are now validated when the SDK is built, so check them before upgrading if you set them. No public member is removed; one constructor is added.
Added
CheckoutAuthorizationException(String, Throwable)(fix(client): security hardening #711).Changed
.,.., or containing "/" or "") raiseCheckoutArgumentExceptionbefore the request is sent. ForCustomersClient#getwith an email that contains "/" or "", pass the customer ID instead (fix(client): security hardening #707, fix(client): security hardening #709).CustomEnvironment, or a customUriStrategygiven toApiClientImpl) are validated when the SDK is built, every setting included. An invalid one failsbuild()with aCheckoutArgumentExceptionthat names the setting. Use absolutehttporhttpsURIs with a host, ending with "/" when they have a path, as described in the README Custom Environment section (fix(client): security hardening #709).httpsURI with an ASCII host written without percent-encoding, no user information and an optional port from 1 to 65535;httpis accepted only forlocalhost,127.0.0.0/8and[::1]. Any other URI throwsCheckoutArgumentExceptionwhen the SDK is built (fix(client): security hardening #711).CheckoutAuthorizationException, a subclass ofCheckoutException. CatchCheckoutExceptionorCheckoutAuthorizationException(fix(client): security hardening #711).Fixed
Set-Cookieheaders) is no longer reported as a 400; the first value is kept (fix(transport): keep first value when a response repeats a header #713).