Skip to content

4.18.2

Choose a tag to compare

@releaser-posthog-php releaser-posthog-php released this 28 Oct 13:34
Immutable release. Only release title and notes can be modified.
2436a20

4.18.2

Patch Changes

  • Retry transient HTTP responses and honor Retry-After in Socket and foreground ForkCurl consumers. Redirects and other unexpected responses count as transient; only 4xx client errors other than 408 and 429 drop the batch. When retries run out on a retryable response, all HTTP consumers now keep the batch queued instead of dropping it, and automatic flushes wait for the maximum backoff duration before they try again. A queue that fills during that wait flushes again once the wait ends.

  • Stop the Socket consumer from resending a batch forever when the server answers with a redirect. Socket now retries redirects and other unexpected responses with backoff, and stops at the backoff limit.