Skip to content

v0.3.4

Latest

Choose a tag to compare

@JustSteveKing JustSteveKing released this 30 Oct 09:50
83a49ff

A fix to the test suite only. The package itself is unchanged from 0.3.3: /tests isn't in the archive Composer installs, so there's nothing to upgrade for.

Tests

  • The rate-limit header tests freeze time. The limiter counts whole seconds, so a run whose requests crossed a second boundary got Retry-After: 59 where the tests asserted 60, and CI failed once on PHP 8.4. Reproduced by starting each test just before a second boundary, then fixed with freezeTime(). (#7)

Full changelog: v0.3.3...v0.3.4