You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add retry logging and detailed error on exhaustion (#16)
Retry.with_retry/2 now logs each attempt with HTTP status, body, and
backoff delay. Final error carries last_status and last_body instead
of bare :max_retries_exceeded atom.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.1.10] - 2026-05-24
11
+
12
+
### Changed
13
+
14
+
-`Retry.with_retry/2` now logs each retry attempt with HTTP status, body, and backoff delay
15
+
- Final exhaustion error changed from `{:api_error, :max_retries_exceeded}` to `{:api_error, :max_retries_exceeded, last_status, last_body}` — carries the last HTTP status and response body
16
+
10
17
## [0.1.9] - 2026-05-24
11
18
12
19
### Added
@@ -153,7 +160,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
153
160
-**Async body drain**: Streaming errors drain the `Req.Response.Async` body at the adapter layer — callers never receive opaque structs
154
161
-**Base URL handling**: Strips trailing `/v1` before appending API paths, correctly handles versioned paths (Z.AI `/v4`)
0 commit comments