Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 3, 2023

This PR contains the following updates:

Package Change Age Confidence
github.com/jarcoal/httpmock v1.0.4 -> v1.4.1 age confidence

Release Notes

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

v1.4.1

Compare Source

What's Changed

New Contributors

Full Changelog: jarcoal/httpmock@v1.4.0...v1.4.1

v1.4.0

Compare Source

What's Changed

New Contributors

Full Changelog: jarcoal/httpmock@v1.3.1...v1.4.0

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: 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, check this box

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

@renovate renovate bot changed the title Update module github.com/jarcoal/httpmock to v1.3.0 Update module github.com/jarcoal/httpmock to v1.3.0 - autoclosed Apr 15, 2023
@renovate renovate bot closed this Apr 15, 2023
@renovate renovate bot deleted the renovate/github.com-jarcoal-httpmock-1.x branch April 15, 2023 16:59
@renovate renovate bot changed the title Update module github.com/jarcoal/httpmock to v1.3.0 - autoclosed Update module github.com/jarcoal/httpmock to v1.3.0 Apr 15, 2023
@renovate renovate bot reopened this Apr 15, 2023
@renovate renovate bot restored the renovate/github.com-jarcoal-httpmock-1.x branch April 15, 2023 20:55
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from bcdd045 to eb0af1a Compare June 28, 2023 08:22
@renovate renovate bot changed the title Update module github.com/jarcoal/httpmock to v1.3.0 Update module github.com/jarcoal/httpmock to v1.3.1 Aug 17, 2023
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from eb0af1a to e8e4991 Compare August 17, 2023 05:24
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from e8e4991 to b16749c Compare April 6, 2025 03:03
@renovate renovate bot changed the title Update module github.com/jarcoal/httpmock to v1.3.1 Update module github.com/jarcoal/httpmock to v1.4.0 Apr 6, 2025
@renovate renovate bot changed the title Update module github.com/jarcoal/httpmock to v1.4.0 Update module github.com/jarcoal/httpmock to v1.4.1 Aug 23, 2025
@renovate renovate bot force-pushed the renovate/github.com-jarcoal-httpmock-1.x branch from b16749c to 731766b Compare August 23, 2025 19:29
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