Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

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

Merged
merged 1 commit into from
May 10, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 6, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
github.com/jarcoal/httpmock require minor v1.1.0 -> v1.2.0

Release Notes

jarcoal/httpmock

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!


Configuration

📅 Schedule: At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from 7d33dea to 6973460 Compare May 10, 2022 21:35
@nscuro nscuro merged commit 046380f into main May 10, 2022
@renovate renovate bot deleted the renovate/github.com-jarcoal-httpmock-1.x branch May 10, 2022 21:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants