Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 22, 2021

Bumps github.com/jarcoal/httpmock from 1.0.8 to 1.1.0.

Release notes

Sourced from github.com/jarcoal/httpmock's releases.

v1.1.0

New features:

  • tell the user about possible mistakes concerning the mocked HTTP method;
  • by default, registering a Responder for a lower-cased method among CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT and TRACE, produces a panic as it is probably a mistake. This behavior can be disabled by setting new MockTransport.DontCheckMethod field to true prior to the Register*Responder*() call;
  • registering a nil Responder now unregisters it and zeroes its statistics;
  • add Responder methods:

Fix:

Doc:

  • document that (re-)registering a Responder zeroes its statistics.

Enjoy!

Commits
  • a62b874 Merge pull request #119 from jarcoal/unregister
  • b1c767b feat: registering a nil responder unregisters it
  • 5115a49 Merge pull request #118 from jarcoal/method-mistake
  • 7256da5 feat: NewNotFoundResponder() helps to detect a possible method mistake
  • 9d5cf74 Merge pull request #117 from jarcoal/then-responder
  • 2f54c7f feat: add Responder.Then() method
  • 25b82c6 Merge pull request #116 from jarcoal/response-body
  • 8247e93 fix: be consistent between net/http and httpmock Response.Body
  • 8c2c5b7 Merge pull request #115 from jarcoal/responder-delay
  • b88dbe7 feat(Responder): add Delay(time.Duration) method
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 22, 2021
@codecov-commenter
Copy link

codecov-commenter commented Dec 22, 2021

Codecov Report

Merging #112 (b2d2605) into main (5e13a63) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #112   +/-   ##
=======================================
  Coverage   68.54%   68.54%           
=======================================
  Files          14       14           
  Lines        1507     1507           
=======================================
  Hits         1033     1033           
  Misses        367      367           
  Partials      107      107           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e13a63...b2d2605. Read the comment docs.

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/jarcoal/httpmock-1.1.0 branch 2 times, most recently from 4ddfc6a to 034367c Compare December 22, 2021 19:17
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/jarcoal/httpmock-1.1.0 branch 2 times, most recently from 892f84f to 1d7f7e3 Compare January 18, 2022 22:24
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/jarcoal/httpmock-1.1.0 branch from 1d7f7e3 to 505925e Compare February 4, 2022 02:02
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/jarcoal/httpmock-1.1.0 branch from 505925e to b2d2605 Compare March 18, 2022 18:45
Bumps [github.com/jarcoal/httpmock](https://github.com/jarcoal/httpmock) from 1.0.8 to 1.1.0.
- [Release notes](https://github.com/jarcoal/httpmock/releases)
- [Commits](jarcoal/httpmock@v1.0.8...v1.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/jarcoal/httpmock-1.1.0 branch from b2d2605 to 2dfa250 Compare April 22, 2022 03:49
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 9, 2022

Superseded by #243.

@dependabot dependabot bot closed this May 9, 2022
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/jarcoal/httpmock-1.1.0 branch May 9, 2022 02:16
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