Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/PuerkitoBio/rehttp from 1.3.0 to 1.4.0 #363

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2024

Bumps github.com/PuerkitoBio/rehttp from 1.3.0 to 1.4.0.

Release notes

Sourced from github.com/PuerkitoBio/rehttp's releases.

v1.4.0

  • 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.

Commits
  • 2883214 Document that the generator function must be safe for concurrent use
  • 2abc063 Test on latest 2 Go versions
  • e90a5fa Merge pull request #13 from justinrixx/concurrent-rand
  • ea41c06 Use math/rand global random source and deprecate PRNG global variable
  • 8f425fd Merge pull request #11 from PuerkitoBio/mna-9-check-retry-redirect
  • 8a6921e Add tests with redirects, GetBody, addresses #9
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team as a code owner March 4, 2024 21:57
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 4, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.78%. Comparing base (8b1b08c) to head (58f1c00).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #363   +/-   ##
=======================================
  Coverage   94.78%   94.78%           
=======================================
  Files          47       47           
  Lines        9133     9133           
=======================================
  Hits         8657     8657           
  Misses        359      359           
  Partials      117      117           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/PuerkitoBio/rehttp-1.4.0 branch from 58f1c00 to 4e1a61f Compare March 8, 2024 11:56
Bumps [github.com/PuerkitoBio/rehttp](https://github.com/PuerkitoBio/rehttp) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/PuerkitoBio/rehttp/releases)
- [Commits](PuerkitoBio/rehttp@v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/PuerkitoBio/rehttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/PuerkitoBio/rehttp-1.4.0 branch from 4e1a61f to ae82fcd Compare March 15, 2024 23:08
@sergiught
Copy link
Contributor

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 4, 2024

Looks like github.com/PuerkitoBio/rehttp is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Apr 4, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/PuerkitoBio/rehttp-1.4.0 branch April 4, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants