Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [5.0.1] - 2026-11-29

### Fixed

- `RetryAfter` now follows RFC 9110 §10.2.3. Delay-seconds is only a run of ASCII digits, so `-5` no longer becomes a date (it was read as an offset of 18000 seconds), and `1.5` or relative words such as `tomorrow` and `now` are ignored (`null`, so the client falls back to its backoff). All three HTTP-date formats (IMF-fixdate, RFC 850 and asctime) are read as GMT; asctime used to be read in PHP's default time zone, which shifted the delay by the zone's offset. A date whose day name does not match its date (`Mon, 21 Oct 2015 ...`) is rejected, and the two-digit year of the RFC 850 form follows the RFC's 50-year rule instead of PHP's fixed 1970 pivot.
Expand Down
Loading