diff --git a/CHANGELOG.md b/CHANGELOG.md index f9fff36..6774a67 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] +## [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.