httpmock breaking changes
cargo15 curated breaking changes across major versions of httpmock. Use this as a migration checklist before bumping dependencies.
- v0.7.0 \u2192 v0.8.0-alpha.1breaking
A new [MockServer::reset](https://docs.rs/httpmock/latest/httpmock/struct.MockServer.html#method.reset) method was added that resets a mock server. Thanks for providing the [pull request](https://github.com/alexliesenfeld/httpmock/pull/100) for this feature, [@dax](https://github.com/dax).
- v0.7.0 \u2192 v0.8.0-alpha.1breaking
The default port for standalone server was changed from `5000` to `5050` due to conflicts with system services on macOS.
- v0.7.0 \u2192 v0.8.0-alpha.1breaking
[Custom matcher functions](https://docs.rs/httpmock/latest/httpmock/struct.When.html#method.matches) are now closures rather than functions.
- v0.7.0 \u2192 v0.8.0-alpha.1breaking
[When::json_body_partial](https://docs.rs/httpmock/0.7.0/httpmock/struct.When.html#method.json_body_partial) was renamed to `json_body_includes`.
- v0.7.0 \u2192 v0.8.0-alpha.1breaking
[When::x_www_form_urlencoded_tuple](https://docs.rs/httpmock/0.7.0/httpmock/struct.When.html#method.x_www_form_urlencoded) was renamed to `form_urlencoded_tuple`.
- v0.6.8 \u2192 v0.7.0-rc.1breaking
The minimum Rust version has been bumped to 1.65 (and 1.70 for the remote and standalone features).
- v0.6.8 \u2192 v0.7.0-rc.1breaking
For connecting to **remote** `httpmock` servers during tests using any of the `connect` methods like [MockServer::connect](https://docs.rs/httpmock/latest/httpmock/struct.MockServer.html#method.connect), [MockServer::connect_async](https://docs.rs/httpmock/latest/httpmock/struct.MockServer.html#method.connect_async), [MockServer::connect_from_env](https://docs.rs/httpmock/latest/httpmock/struct.MockServer.html#method.connect_from_env), or [MockServer::connect_from_env_async](https://docs.rs/http
- v0.6.8 \u2192 v0.7.0-rc.1breaking
The dependency tree has been significantly slimmed down when the `remote` feature is not enabled.
- v0.6.8 \u2192 v0.7.0-rc.1breaking
If the new `remote` feature is not enabled, `httpmock` no longer has a dependency on a real HTTP client. As a result, certain [TLS issues previously reported by users](https://github.com/alexliesenfeld/httpmock/issues/82) should no longer arise.
- v0.6.8 \u2192 v0.7.0-rc.1breaking
This release also updates all dependencies to the most recent version.
- v0.7.0-rc.1 \u2192 v0.7.0breaking
For connecting to **remote** `httpmock` servers during tests using any of the `connect` methods like [MockServer::connect](https://docs.rs/httpmock/latest/httpmock/struct.MockServer.html#method.connect), [MockServer::connect_async](https://docs.rs/httpmock/latest/httpmock/struct.MockServer.html#method.connect_async), [MockServer::connect_from_env](https://docs.rs/httpmock/latest/httpmock/struct.MockServer.html#method.connect_from_env), or [MockServer::connect_from_env_async](https://docs.rs/http
- v0.7.0-rc.1 \u2192 v0.7.0breaking
The dependency tree has been significantly slimmed down when the `remote` feature is not enabled.
- v0.7.0-rc.1 \u2192 v0.7.0breaking
If the new `remote` feature is not enabled, `httpmock` no longer has a dependency on a real HTTP client. As a result, certain [TLS issues previously reported by users](https://github.com/alexliesenfeld/httpmock/issues/82) should no longer arise.
- v0.7.0-rc.1 \u2192 v0.7.0breaking
This release also updates all dependencies to the most recent version.
- v0.7.0-rc.1 \u2192 v0.7.0breaking
The minimum Rust version has been bumped to 1.70.
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cargo/httpmock