NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules
Go modules, #992 by repository stars
Latest stable
v1.4.2
Last release 19 days ago
03 Nov 2026
Release timing varies
gaps range from 3 weeks to 12 months
Nearly every release is documented
notes for 16 of 16 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
145 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
test: also test with go v1.26 and use golangci-lint v2.9.0 by @maxatome in https://github.com/jarcoal/httpmock/pull/166
Full Changelog: https://github.com/jarcoal/httpmock/compare/v1.4.1...v1.4.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
v1.4.2 Latest
Latest
Compare
test: also test with go v1.25 and use golangci-lint v2.4.0 by @maxatome in https://github.com/jarcoal/httpmock/pull/164
Full Changelog: https://github.com/jarcoal/httpmock/compare/v1.4.0...v1.4.1
Nothing published for this version
style: // nolint: → //nolint: by @maxatome in https://github.com/jarcoal/httpmock/pull/152
// nolint: → //nolint: by @maxatome in https://github.com/jarcoal/httpmock/pull/152NewJsonResponseOrPanic function to simplify calls with ResponderFromMultipleResponses by @kilianpaquier in https://github.com/jarcoal/httpmock/pull/151defer statements with t.Cleanup in docs by @alvii147 in https://github.com/jarcoal/httpmock/pull/157http.Response.Status respect RFC 2616, like in Go stdlib. by @constantoine in https://github.com/jarcoal/httpmock/pull/159Activate and add DeactivateNonDefault functions by @maxatome in https://github.com/jarcoal/httpmock/pull/161Full Changelog: https://github.com/jarcoal/httpmock/compare/v1.3.1...v1.4.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
BodyContainsBytes & BodyContainsString used with And/Or by @maxatome in #146 thanks to @Moon1706 for the report → #145.
Fix:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
new matcher feature, allowing to create a Responder based on net/http.Request content (header or body for example), so not only on method and URL as b
New features:
Miscellaneous:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
`NewNotFoundResponder` helps to detect a possible path mistake (final / or double / cases);
New features:
NewNotFoundResponder helps to detect a possible path mistake (final / or double / cases);(*MockTransport).Responders method allowing to list registered responders.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:
GET http://z.tld/foo%2fbarGET /foo%2fbarBefore this release:
GET http://z.tld/foo%2fbar is caught by 1GET http://unknown.tld/foo%2fbar is not caught as the tested path is /foo/bar instead of /foo%2fbarFrom this release:
GET http://z.tld/foo%2fbar is caught by 1GET http://unknown.tld/foo%2fbar is caught by 2save of old clients transports is now protected from concurrent writes (@roboslone).
Miscellaneous:
any type instead of interface{}, as appeared in go 1.18 (in a compatible manner with go<1.18).Enjoy!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
tell the user about possible mistakes concerning the mocked HTTP method;
New features:
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;nil Responder now unregisters it and zeroes its statistics;Responder methods:
Delay(time.Duration) to delay a response,Then(Responder) to chain responders.Fix:
Response.Body are now consistent. Now, the httpmock one can only be read once: if some code wrongly depends on NewStringResponse() & NewBytesResponse() response body be read ad infinitum, it should be changed to either recall NewStringResponse() & NewBytesResponse() before reading again the response body, or use NewStringResponder() & NewBytesResponder().Doc:
Responder zeroes its statistics.Enjoy!
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.