Skip to content

Releases: PuerkitoBio/rehttp

v1.4.0

02 Mar 22:32
@mna mna
Compare
Choose a tag to compare
  • Deprecate the package variable PRNG used in ExpJitterDelay as it was not safe for concurrent use by default, ExpJitterDelay will now use the stdlib rand.Int63n function which is concurrency-safe.
  • Introduce the new ExpJitterDelayWithRand that is the same as ExpJitterDelay 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

07 Oct 16:27
@mna mna
Compare
Choose a tag to compare
  • Add support for per-attempt timeout
  • Promote use of Timeout() error method over the deprecated Temporary()

Thanks to @justinrixx for contributing the bulk of this release!

v1.2.0

08 Jul 00:56
@mna mna
Compare
Choose a tag to compare
Merge remote-tracking branch 'refs/remotes/origin/master'

v1.1.0

19 May 14:41
@mna mna
Compare
Choose a tag to compare
Add go modules, update doc link to pkg.go.dev

Tag the current codebase.

14 Jun 13:14
@mna mna
Compare
Choose a tag to compare