From e61f5455105bcbd4d479832291aebecc3730d377 Mon Sep 17 00:00:00 2001 From: Yun Wang Date: Fri, 24 Jul 2026 17:12:04 +0200 Subject: [PATCH] feat!: release structured logging and opt-in auto-retries Cut v10.0.0 from the accumulated Unreleased changelog. BREAKING CHANGE: automatic HTTP 429 retries are no longer always-on; retries are opt-in via ClientBuilder::retry(new RetryConfig(...)) and apply only to GET/HEAD. Also ships structured PSR-3 logging with opt-in body logging and always-on secret redaction. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d7186a..a2c2458 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [10.0.0] - 2026-07-24 + ### Added - Structured logging via [PSR-3](https://www.php-fig.org/psr/psr-3/): `ClientBuilder::logger()` injects any `Psr\Log\LoggerInterface`; no logger is used by default. Emits `client.initialized` (INFO, once), `http.request.sent` / `http.response.received` (DEBUG, per attempt), and `http.request.failed` (ERROR, transport failures only). Query and JSON-body secrets (`api_key`, `api_secret`, `token`, `password`) are always redacted. Request/response bodies are excluded by default; opt in with `ClientBuilder::logBodies(true)`.