Skip to content

Commit

Permalink
deps: bump go.uber.org/mock from 0.4.0 to 0.5.0 in /hack/tools (#873)
Browse files Browse the repository at this point in the history
Bumps [go.uber.org/mock](https://github.com/uber/mock) from 0.4.0 to
0.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/uber/mock/releases">go.uber.org/mock's
releases</a>.</em></p>
<blockquote>
<h2>v0.5.0</h2>
<h2>0.5.0 (15 Oct 2024)</h2>
<h3>Added</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/153">#153</a>[]: Add
<code>--write_command_comment</code> flag to specify whether to include
<code>Generated by this command</code> comment.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/191">#191</a>[]: Add
<code>--build_constraint</code> flag to add <code>//go:build</code>
directives
to generated mocks</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/214">#214</a>[]: Add
gob mode to support custom package loading techniques in place
of --exec_only</li>
</ul>
<h3>Changed</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/181">#181</a>[]: Made
mockgen faster by changing flags passed to <code>go list</code>.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/183">#183</a>[]: Made
<code>Cond</code> matcher generic.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/204">#204</a>[]:
Removed <code>ISGOMOCK()</code> from generated mocks.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/207">#207</a>[]:
Deprecated reflect mode and replaced it with the new package mode.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/144">#144</a>[]: Fix
a deadlock that can happen when mocking an interface that
matches <code>fmt.Stringer</code>.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/168">#168</a>[]: Fix
an issue where the &quot;generated by&quot; comment was being included
in the package comment of generated mocks.</li>
</ul>
<p><a href="https://redirect.github.com/uber/mock/issues/144">#144</a>:
<a
href="https://redirect.github.com/uber-go/mock/pull/144">uber-go/mock#144</a>
<a href="https://redirect.github.com/uber/mock/issues/153">#153</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/153">uber-go/mock#153</a>
<a href="https://redirect.github.com/uber/mock/issues/168">#168</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/168">uber-go/mock#168</a>
<a href="https://redirect.github.com/uber/mock/issues/181">#181</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/181">uber-go/mock#181</a>
<a href="https://redirect.github.com/uber/mock/issues/183">#183</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/183">uber-go/mock#183</a>
<a href="https://redirect.github.com/uber/mock/issues/191">#191</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/191">uber-go/mock#191</a>
<a href="https://redirect.github.com/uber/mock/issues/204">#204</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/204">uber-go/mock#204</a>
<a href="https://redirect.github.com/uber/mock/issues/207">#207</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/207">uber-go/mock#207</a>
<a href="https://redirect.github.com/uber/mock/issues/214">#214</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/214">uber-go/mock#214</a></p>
<p>Thanks to <a
href="https://github.com/tulzke"><code>@​tulzke</code></a> <a
href="https://github.com/JacobOaks"><code>@​JacobOaks</code></a> <a
href="https://github.com/ARR4N"><code>@​ARR4N</code></a> <a
href="https://github.com/sashamelentyev"><code>@​sashamelentyev</code></a>
<a href="https://github.com/sywhang"><code>@​sywhang</code></a> <a
href="https://github.com/fasmat"><code>@​fasmat</code></a>
<a href="https://github.com/eyasy1217"><code>@​eyasy1217</code></a> <a
href="https://github.com/ghouscht"><code>@​ghouscht</code></a> <a
href="https://github.com/tie"><code>@​tie</code></a> <a
href="https://github.com/Neo2308"><code>@​Neo2308</code></a> <a
href="https://github.com/carson-brill"><code>@​carson-brill</code></a>
<a href="https://github.com/alexandear"><code>@​alexandear</code></a> <a
href="https://github.com/sodul"><code>@​sodul</code></a>
<a href="https://github.com/nbgraham"><code>@​nbgraham</code></a> for
their contributions this release.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/uber-go/mock/blob/main/CHANGELOG.md">go.uber.org/mock's
changelog</a>.</em></p>
<blockquote>
<h2>0.5.0 (15 Oct 2024)</h2>
<h3>Added</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/153">#153</a>[]: Add
<code>--write_command_comment</code> flag to specify whether to include
<code>Generated by this command</code> comment.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/191">#191</a>[]: Add
<code>--build_constraint</code> flag to add <code>//go:build</code>
directives
to generated mocks</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/214">#214</a>[]: Add
gob mode to support custom package loading techniques in place
of --exec_only</li>
</ul>
<h3>Changed</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/181">#181</a>[]: Made
mockgen faster by changing flags passed to <code>go list</code>.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/183">#183</a>[]: Made
<code>Cond</code> matcher generic.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/204">#204</a>[]:
Removed <code>ISGOMOCK()</code> from generated mocks.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/207">#207</a>[]:
Deprecated reflect mode and replaced it with the new package mode.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><a
href="https://redirect.github.com/uber/mock/issues/144">#144</a>[]: Fix
a deadlock that can happen when mocking an interface that
matches <code>fmt.Stringer</code>.</li>
<li><a
href="https://redirect.github.com/uber/mock/issues/168">#168</a>[]: Fix
an issue where the &quot;generated by&quot; comment was being included
in the package comment of generated mocks.</li>
</ul>
<p><a href="https://redirect.github.com/uber/mock/issues/144">#144</a>:
<a
href="https://redirect.github.com/uber-go/mock/pull/144">uber-go/mock#144</a>
<a href="https://redirect.github.com/uber/mock/issues/153">#153</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/153">uber-go/mock#153</a>
<a href="https://redirect.github.com/uber/mock/issues/168">#168</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/168">uber-go/mock#168</a>
<a href="https://redirect.github.com/uber/mock/issues/181">#181</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/181">uber-go/mock#181</a>
<a href="https://redirect.github.com/uber/mock/issues/183">#183</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/183">uber-go/mock#183</a>
<a href="https://redirect.github.com/uber/mock/issues/191">#191</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/191">uber-go/mock#191</a>
<a href="https://redirect.github.com/uber/mock/issues/204">#204</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/204">uber-go/mock#204</a>
<a href="https://redirect.github.com/uber/mock/issues/207">#207</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/207">uber-go/mock#207</a>
<a href="https://redirect.github.com/uber/mock/issues/214">#214</a>: <a
href="https://redirect.github.com/uber-go/mock/pull/214">uber-go/mock#214</a></p>
<p>Thanks to <a
href="https://github.com/tulzke"><code>@​tulzke</code></a> <a
href="https://github.com/JacobOaks"><code>@​JacobOaks</code></a> <a
href="https://github.com/ARR4N"><code>@​ARR4N</code></a> <a
href="https://github.com/sashamelentyev"><code>@​sashamelentyev</code></a>
<a href="https://github.com/sywhang"><code>@​sywhang</code></a> <a
href="https://github.com/fasmat"><code>@​fasmat</code></a>
<a href="https://github.com/eyasy1217"><code>@​eyasy1217</code></a> <a
href="https://github.com/ghouscht"><code>@​ghouscht</code></a> <a
href="https://github.com/tie"><code>@​tie</code></a> <a
href="https://github.com/Neo2308"><code>@​Neo2308</code></a> <a
href="https://github.com/carson-brill"><code>@​carson-brill</code></a>
<a href="https://github.com/alexandear"><code>@​alexandear</code></a> <a
href="https://github.com/sodul"><code>@​sodul</code></a>
<a href="https://github.com/nbgraham"><code>@​nbgraham</code></a> for
their contributions this release.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/uber-go/mock/commit/a9c44d91ce00ef09603d3822452a4f9c8fefd278"><code>a9c44d9</code></a>
Release v0.5.0 (<a
href="https://redirect.github.com/uber/mock/issues/213">#213</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/d164a16861edcd88acf38b438ebba14f1853946b"><code>d164a16</code></a>
Add gob mode to support custom package loading techniques in place of
`--exec...</li>
<li><a
href="https://github.com/uber-go/mock/commit/d01ed306381618062d86af3645bc64920c13bfb0"><code>d01ed30</code></a>
deprecated reflect mode has been replaced with package mode (<a
href="https://redirect.github.com/uber/mock/issues/207">#207</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/6d5eb71bc5999757992687d51f5954befa471bad"><code>6d5eb71</code></a>
Regenerate generated mocks (<a
href="https://redirect.github.com/uber/mock/issues/206">#206</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/8adc9deb79a7b336b9a3232066bd22baa5ed7ec7"><code>8adc9de</code></a>
feat: <code>mockgen</code> flag <code>--build_constraint</code> to add
<code>//go:build</code> directives (<a
href="https://redirect.github.com/uber/mock/issues/191">#191</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/c50d83cecc89ff6caadcd7747b9c6bf9ddda9d58"><code>c50d83c</code></a>
Support Go 1.22 and Go 1.23 (<a
href="https://redirect.github.com/uber/mock/issues/203">#203</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/33ccc990781d28f8a296efe486196597d915792e"><code>33ccc99</code></a>
Avoid stringer-related deadlocks without adding ISGOMOCK (<a
href="https://redirect.github.com/uber/mock/issues/204">#204</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/60372e3e888c1a43656b5b495fabf1ba95fc2d6e"><code>60372e3</code></a>
chore: gofumpt -w . (<a
href="https://redirect.github.com/uber/mock/issues/202">#202</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/70a5e8c8f892fdd0f2381df782079f7da9fd1962"><code>70a5e8c</code></a>
Clarify documentation on Finish (<a
href="https://redirect.github.com/uber/mock/issues/194">#194</a>)</li>
<li><a
href="https://github.com/uber-go/mock/commit/ec32d996cb2940d7e701c9edffa920057c759d6a"><code>ec32d99</code></a>
Bump goreleaser/goreleaser-action from 4 to 6 (<a
href="https://redirect.github.com/uber/mock/issues/182">#182</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/uber/mock/compare/v0.4.0...v0.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.uber.org/mock&package-manager=go_modules&previous-version=0.4.0&new-version=0.5.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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Oct 18, 2024
1 parent 5cf3ac5 commit c717ade
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/golangci/golangci-lint v1.61.0
github.com/goreleaser/goreleaser v1.26.2
github.com/onsi/ginkgo v1.16.5
go.uber.org/mock v0.4.0
go.uber.org/mock v0.5.0
mvdan.cc/gofumpt v0.7.0
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20211110210527-619e6b92dab9
sigs.k8s.io/controller-tools v0.16.4
Expand Down
4 changes: 2 additions & 2 deletions hack/tools/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1122,8 +1122,8 @@ go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A
go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU=
go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc=
go.uber.org/mock v0.5.0 h1:KAMbZvZPyBPWgD14IrIQ38QCyjwpvVVV6K/bHl1IwQU=
go.uber.org/mock v0.5.0/go.mod h1:ge71pBPLYDk7QIi1LupWxdAykm7KIEFchiOqd6z7qMM=
go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU=
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
Expand Down

0 comments on commit c717ade

Please sign in to comment.