Skip to content

Commit 3ad125b

Browse files
authored
Note the new request headers in the 3.5.5 release notes (#539)
3.5.5 started sending Authorization and X-Retry-Count. Customers whose proxies allowlist request headers had uploads rejected by the equivalent analytics-next change, so the shipped entry should say so.
1 parent 6227664 commit 3ad125b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
- [Fix] A `Retry-After` that will not fit in what is left of `maxRateLimitDuration` ends the episode rather than being shortened to fit. The budget was tested and then the full `Retry-After` slept on top of it, so an episode could run past its limit by up to one wait; shortening it instead would resume inside the window the server named, which it has already declined to serve, and the budget would be spent by then regardless.
88

99
# Version 3.5.5 (June 30, 2026)
10+
11+
> **Upgrade note: new request headers and proxy allowlists.** This version sends two
12+
> request headers that 3.5.4 did not: `Authorization` (HTTP Basic, carrying your write
13+
> key) and `X-Retry-Count` (on retries only). If your traffic to Segment goes through a
14+
> proxy, gateway or WAF that allowlists request headers, add both or uploads will be
15+
> rejected.
16+
1017
- [New](https://github.com/segmentio/analytics-java/pull/531) Unified HTTP response handling and retry behavior
1118
- Retryable statuses (429, 408, 410, 460, 5xx except 501/505/511) check Retry-After header first, fall back to exponential backoff
1219
- Retry-After supports numeric seconds and RFC 7231 HTTP-date format, capped at 300s

0 commit comments

Comments
 (0)