Skip to content

v2.24.1

Choose a tag to compare

@bpacholek bpacholek released this 09 Oct 13:49
· 126 commits to main since this release

Patch release fixing #215.

When a request's PUB/HPUB write discovers a lost connection, recovery now respects the request's original timeout, caller cancellation, and waitForReconnect: false. Previously, the request waited for the entire reconnect and could be sent after its caller had given up.

  • request(), requestWithHeaders() and requestMany() use a bounded write path, including inline socket backpressure, with at most one retry.
  • Each attempt checks the budget, connection state and shared reply inbox before writing. Expired requests are never buffered or retried later; recovery can continue independently.
  • requestMany() throws TimeoutException if its send cannot complete within the budget. After a successful send, collection expiry still returns the replies collected, possibly none.

An already-started transport write can finish after timeout or cancellation; neither guarantees that the server did not act on the request.

Validation on PHP 8.5: 56 new regression cases; full E2E with 3,101 unit tests, 149 integration tests and 48 Behat scenarios; PHPStan level 8 and coding style checks. The release stamp also passed the codec and request tests (83 cases).

See the changelog for details.