Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump github.com/jarcoal/httpmock from 1.2.0 to 1.3.0 (#3760
) Bumps [github.com/jarcoal/httpmock](https://github.com/jarcoal/httpmock) from 1.2.0 to 1.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jarcoal/httpmock/releases">github.com/jarcoal/httpmock's releases</a>.</em></p> <blockquote> <h2>v1.3.0</h2> <p>New features:</p> <ul> <li>new <a href="https://pkg.go.dev/github.com/jarcoal/httpmock#Matcher">matcher feature</a>, allowing to create a <a href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder">Responder</a> based on <a href="https://pkg.go.dev/net/http#Request">net/http.Request</a> content (header or body for example), so not only on method and URL as before. See the following new registering functions & methods: <ul> <li><a href="https://pkg.go.dev/github.com/jarcoal/httpmock#RegisterMatcherResponder">RegisterMatcherResponder</a> & <a href="https://pkg.go.dev/github.com/jarcoal/httpmock#MockTransport.RegisterMatcherResponder">MockTransport.RegisterMatcherResponder</a>,</li> <li><a href="https://pkg.go.dev/github.com/jarcoal/httpmock#RegisterRegexpMatcherResponder">RegisterRegexpMatcherResponder</a> & <a href="https://pkg.go.dev/github.com/jarcoal/httpmock#MockTransport.RegisterRegexpMatcherResponder">MockTransport.RegisterRegexpMatcherResponder</a>,</li> <li><a href="https://pkg.go.dev/github.com/jarcoal/httpmock#RegisterMatcherResponderWithQuery">RegisterMatcherResponderWithQuery</a> & <a href="https://pkg.go.dev/github.com/jarcoal/httpmock#MockTransport.RegisterMatcherResponderWithQuery">MockTransport.RegisterMatcherResponderWithQuery</a>;</li> </ul> </li> <li>add following <a href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder">Responder</a> methods, allowing to easily add some headers to the returned <a href="https://pkg.go.dev/net/http#Response">net/http.Response</a> without the need to craft a <a href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder">Responder</a> by hand: <ul> <li><a href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder.SetContentLength">SetContentLength</a>,</li> <li><a href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder.HeaderAdd">HeaderAdd</a>,</li> <li><a href="https://pkg.go.dev/github.com/jarcoal/httpmock#Responder.HeaderSet">HeaderSet</a>.</li> </ul> </li> </ul> <p>Miscellaneous:</p> <ul> <li>documentation now uses new go1.19 doc features;</li> <li>go minimal version required is now 1.13;</li> <li>CI tests using go1.20 & golangci-lint v1.51.0.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jarcoal/httpmock/commit/e977d517e968810981a6178211fd88ccf508857a"><code>e977d51</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/jarcoal/httpmock/issues/139">#139</a> from jarcoal/go120</li> <li><a href="https://github.com/jarcoal/httpmock/commit/df3afac771d156978fe08468e6d5470a86b7a75c"><code>df3afac</code></a> ci: test with go1.20</li> <li><a href="https://github.com/jarcoal/httpmock/commit/837f061d506d01fe5154306d55a0a7ce046523de"><code>837f061</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/jarcoal/httpmock/issues/138">#138</a> from jarcoal/headers</li> <li><a href="https://github.com/jarcoal/httpmock/commit/d4ab20c68d8b0c8ac08908ef5dc7bbc80d9b462f"><code>d4ab20c</code></a> feat: add Responder.{SetContentLength,HeaderAdd,HeaderSet} methods</li> <li><a href="https://github.com/jarcoal/httpmock/commit/db50b7669db74ba622c08cb8be04231521d194a9"><code>db50b76</code></a> perf(matchers): simplify http.NoBody case</li> <li><a href="https://github.com/jarcoal/httpmock/commit/b9e83a2877b27d4625b82d138c3ff57fb47f3757"><code>b9e83a2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/jarcoal/httpmock/issues/136">#136</a> from jarcoal/matchers</li> <li><a href="https://github.com/jarcoal/httpmock/commit/f69cd5e7f9cf588f1052ed212557a6e381ffcfa7"><code>f69cd5e</code></a> feat: introduce new matchers feature</li> <li><a href="https://github.com/jarcoal/httpmock/commit/a55e9610f3ebbdd6e579dc9233d035e71042436f"><code>a55e961</code></a> refactor: go1.13 required now, so drop go1.9 to go1.12 support</li> <li><a href="https://github.com/jarcoal/httpmock/commit/f6c487638cbd1275690adef582e09253a3c559da"><code>f6c4876</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/jarcoal/httpmock/issues/134">#134</a> from jarcoal/go119</li> <li><a href="https://github.com/jarcoal/httpmock/commit/638f16c7002a28ec479fb817d266c96a50c2e17f"><code>638f16c</code></a> docs: uses new go1.19 doc features</li> <li>Additional commits viewable in <a href="https://github.com/jarcoal/httpmock/compare/v1.2.0...v1.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/jarcoal/httpmock&package-manager=go_modules&previous-version=1.2.0&new-version=1.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information