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

fix(deps): update module github.com/jarcoal/httpmock to v1.3.1 #5084

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 20, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/jarcoal/httpmock v1.0.8 -> v1.3.1 age adoption passing confidence

Release Notes

jarcoal/httpmock (github.com/jarcoal/httpmock)

v1.3.1

Compare Source

Fix:

v1.3.0

Compare Source

New features:

Miscellaneous:

  • documentation now uses new go1.19 doc features;
  • go minimal version required is now 1.13;
  • CI tests using go1.20 & golangci-lint v1.51.0.

v1.2.0

Compare Source

New features:

Fixes:

  • url.RawPath is used instead of url.Path when checking path alone for consistency with full URL check, which is always unescaped.
    Let 2 registered responders:

    1. GET http://z.tld/foo%2fbar
    2. GET /foo%2fbar

    Before this release:

    • GET http://z.tld/foo%2fbar is caught by 1
    • GET http://unknown.tld/foo%2fbar is not caught as the tested path is /foo/bar instead of /foo%2fbar

    From this release:

    • GET http://z.tld/foo%2fbar is caught by 1
    • GET http://unknown.tld/foo%2fbar is caught by 2
  • save of old clients transports is now protected from concurrent writes (@​roboslone).

Miscellaneous:

  • now use go-testdeep to simplify tests (saves >500 test lines);
  • go minimal version required is now 1.9;
  • CI tests using go1.18 & golangci-lint v1.45.0;
  • signatures (and so documentation) now use any type instead of interface{}, as appeared in go 1.18 (in a compatible manner with go<1.18).

Enjoy!

v1.1.0

Compare Source

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!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner September 20, 2024 12:13
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 2 times, most recently from 265a011 to 70e3595 Compare September 26, 2024 07:28
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 8 times, most recently from 705cc5c to 5c5bde6 Compare October 8, 2024 11:05
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 9 times, most recently from e6c0d22 to f0f0995 Compare October 15, 2024 12:37
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 9 times, most recently from 10e6371 to 324faf1 Compare October 23, 2024 09:15
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from 324faf1 to def0094 Compare October 23, 2024 12:41
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 7 times, most recently from b8c3411 to 1724cdb Compare October 30, 2024 11:05
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 6 times, most recently from 30a863d to 18489c6 Compare November 8, 2024 08:46
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 2 times, most recently from a201709 to 62a6a26 Compare November 18, 2024 08:57
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from 62a6a26 to 2870cac Compare November 19, 2024 08:05
Copy link

sonarcloud bot commented Nov 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants