Releases: PuerkitoBio/rehttp
Releases · PuerkitoBio/rehttp
v1.4.0
- Deprecate the package variable
PRNG
used inExpJitterDelay
as it was not safe for concurrent use by default,ExpJitterDelay
will now use the stdlibrand.Int63n
function which is concurrency-safe. - Introduce the new
ExpJitterDelayWithRand
that is the same asExpJitterDelay
except that it accepts a function to generate the random number. It is the caller's responsibility to ensure that this function is safe for concurrent use.
Thanks to @justinrixx for raising the issue and contributing the fix.
v1.3.0
- Add support for per-attempt timeout
- Promote use of
Timeout()
error method over the deprecatedTemporary()
Thanks to @justinrixx for contributing the bulk of this release!
v1.2.0
v1.1.0
Tag the current codebase.
Addresses #4 .