Skip to content

Commit d317b9a

Browse files
vendor(deps): bump go.uber.org/mock from 0.4.0 to 0.5.0 (#127)
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://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://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://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://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://github.com/uber/mock/issues/183">#183</a>[]: Made <code>Cond</code> matcher generic.</li> <li><a href="https://github.com/uber/mock/issues/204">#204</a>[]: Removed <code>ISGOMOCK()</code> from generated mocks.</li> <li><a href="https://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://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://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://github.com/uber/mock/issues/144">#144</a>: <a href="https://github.com/uber-go/mock/pull/144">uber-go/mock#144</a> <a href="https://github.com/uber/mock/issues/153">#153</a>: <a href="https://github.com/uber-go/mock/pull/153">uber-go/mock#153</a> <a href="https://github.com/uber/mock/issues/168">#168</a>: <a href="https://github.com/uber-go/mock/pull/168">uber-go/mock#168</a> <a href="https://github.com/uber/mock/issues/181">#181</a>: <a href="https://github.com/uber-go/mock/pull/181">uber-go/mock#181</a> <a href="https://github.com/uber/mock/issues/183">#183</a>: <a href="https://github.com/uber-go/mock/pull/183">uber-go/mock#183</a> <a href="https://github.com/uber/mock/issues/191">#191</a>: <a href="https://github.com/uber-go/mock/pull/191">uber-go/mock#191</a> <a href="https://github.com/uber/mock/issues/204">#204</a>: <a href="https://github.com/uber-go/mock/pull/204">uber-go/mock#204</a> <a href="https://github.com/uber/mock/issues/207">#207</a>: <a href="https://github.com/uber-go/mock/pull/207">uber-go/mock#207</a> <a href="https://github.com/uber/mock/issues/214">#214</a>: <a href="https://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://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://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://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://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://github.com/uber/mock/issues/183">#183</a>[]: Made <code>Cond</code> matcher generic.</li> <li><a href="https://github.com/uber/mock/issues/204">#204</a>[]: Removed <code>ISGOMOCK()</code> from generated mocks.</li> <li><a href="https://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://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://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://github.com/uber/mock/issues/144">#144</a>: <a href="https://github.com/uber-go/mock/pull/144">uber-go/mock#144</a> <a href="https://github.com/uber/mock/issues/153">#153</a>: <a href="https://github.com/uber-go/mock/pull/153">uber-go/mock#153</a> <a href="https://github.com/uber/mock/issues/168">#168</a>: <a href="https://github.com/uber-go/mock/pull/168">uber-go/mock#168</a> <a href="https://github.com/uber/mock/issues/181">#181</a>: <a href="https://github.com/uber-go/mock/pull/181">uber-go/mock#181</a> <a href="https://github.com/uber/mock/issues/183">#183</a>: <a href="https://github.com/uber-go/mock/pull/183">uber-go/mock#183</a> <a href="https://github.com/uber/mock/issues/191">#191</a>: <a href="https://github.com/uber-go/mock/pull/191">uber-go/mock#191</a> <a href="https://github.com/uber/mock/issues/204">#204</a>: <a href="https://github.com/uber-go/mock/pull/204">uber-go/mock#204</a> <a href="https://github.com/uber/mock/issues/207">#207</a>: <a href="https://github.com/uber-go/mock/pull/207">uber-go/mock#207</a> <a href="https://github.com/uber/mock/issues/214">#214</a>: <a href="https://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://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://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://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://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://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://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://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://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://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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent cc2b666 commit d317b9a

File tree

7 files changed

+72
-26
lines changed

7 files changed

+72
-26
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/sykesm/zap-logfmt v0.0.4
1515
github.com/thecodeteam/goodbye v0.0.0-20170927022442-a83968bda2d3
1616
go.uber.org/goleak v1.3.0
17-
go.uber.org/mock v0.4.0
17+
go.uber.org/mock v0.5.0
1818
go.uber.org/zap v1.27.0
1919
golang.org/x/oauth2 v0.22.0
2020
)

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ github.com/thecodeteam/goodbye v0.0.0-20170927022442-a83968bda2d3/go.mod h1:ehwM
6868
go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
6969
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
7070
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
71-
go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU=
72-
go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc=
71+
go.uber.org/mock v0.5.0 h1:KAMbZvZPyBPWgD14IrIQ38QCyjwpvVVV6K/bHl1IwQU=
72+
go.uber.org/mock v0.5.0/go.mod h1:ge71pBPLYDk7QIi1LupWxdAykm7KIEFchiOqd6z7qMM=
7373
go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
7474
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
7575
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=

vendor/go.uber.org/mock/gomock/call.go

+5-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.uber.org/mock/gomock/controller.go

+13-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.uber.org/mock/gomock/matchers.go

+13-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/go.uber.org/mock/gomock/string.go

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ github.com/thecodeteam/goodbye
8585
## explicit; go 1.20
8686
go.uber.org/goleak
8787
go.uber.org/goleak/internal/stack
88-
# go.uber.org/mock v0.4.0
89-
## explicit; go 1.20
88+
# go.uber.org/mock v0.5.0
89+
## explicit; go 1.22
9090
go.uber.org/mock/gomock
9191
# go.uber.org/multierr v1.11.0
9292
## explicit; go 1.19

0 commit comments

Comments
 (0)