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

Update module github.com/jarcoal/httpmock to v1.3.1 #31

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 5, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/jarcoal/httpmock v1.0.4 -> 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!

v1.0.8

Compare Source

New feature:

Enjoy!

v1.0.7

Compare Source

New feature:

  • add File type allowing to easily serve files contents

Fix:

Misc:

  • test coverage increased almost 100% (OK 99.843% :) )
  • code reorganized
  • more linters involved
  • documentation updated
  • examples style normalized
  • CI now use github actions instead of travis

Enjoy!

v1.0.6

Compare Source

Responder generated by httpmock can now be used concurrently — #​93 reported by @​ascherkus

v1.0.5

Compare Source

Add ZeroCallCounters function & method


Configuration

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

🚦 Automerge: Enabled.

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 force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 11 times, most recently from 93ab563 to 6e3bfc5 Compare December 6, 2023 18:31
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 3 times, most recently from 8f16049 to 0e8d1d2 Compare January 10, 2024 07:47
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 4 times, most recently from 24a550f to 14a65e3 Compare February 10, 2024 00:49
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from 14a65e3 to 26fd627 Compare March 5, 2024 03:23
@renovate renovate bot enabled auto-merge (rebase) April 1, 2024 20:43
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 2 times, most recently from 1268819 to 26273f7 Compare April 5, 2024 02:08
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from 26273f7 to 61e7c86 Compare April 25, 2024 05:09
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 2 times, most recently from 11072f2 to c8e66f7 Compare May 7, 2024 05:03
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch 2 times, most recently from 8cfbc5c to 7665ca7 Compare June 5, 2024 11:34
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from 7665ca7 to 5a965c1 Compare June 15, 2024 00:59
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from 5a965c1 to 5e465d3 Compare July 16, 2024 18:50
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from 5e465d3 to b8ca77c Compare August 4, 2024 19:02
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from b8ca77c to 8984dfe Compare August 4, 2024 23:28
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from 8984dfe to bad6025 Compare August 5, 2024 00:23
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