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 6 times, most recently from e309fd2 to 21a0853 Compare December 3, 2024 10:08
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 7 times, most recently from 59acfc7 to ed70fc6 Compare December 12, 2024 15:38
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 3 times, most recently from ac87ea1 to 3f8aff0 Compare December 23, 2024 11:38
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 3 times, most recently from 8756164 to e1a24fd Compare January 3, 2025 11:33
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 8 times, most recently from 4ca8a4a to 07063c5 Compare January 9, 2025 13:27
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from 07063c5 to 1625f2b Compare January 9, 2025 14:37
Copy link

sonarqubecloud bot commented Jan 9, 2025

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