uber/mock (go.uber.org/mock)
### [`v0.5.0`](https://redirect.github.com/uber-go/mock/releases/tag/v0.5.0)
[Compare Source](https://redirect.github.com/uber/mock/compare/v0.4.0...v0.5.0)
#### 0.5.0 (15 Oct 2024)
##### Added
- [#153][]: Add `--write_command_comment` flag to specify whether to include
`Generated by this command` comment.
- [#191][]: Add `--build_constraint` flag to add `//go:build` directives
to generated mocks
- [#214][]: Add gob mode to support custom package loading techniques in place
of --exec_only
##### Changed
- [#181][]: Made mockgen faster by changing flags passed to `go list`.
- [#183][]: Made `Cond` matcher generic.
- [#204][]: Removed `ISGOMOCK()` from generated mocks.
- [#207][]: Deprecated reflect mode and replaced it with the new package mode.
##### Fixed
- [#144][]: Fix a deadlock that can happen when mocking an interface that
matches `fmt.Stringer`.
- [#168][]: Fix an issue where the "generated by" comment was being included
in the package comment of generated mocks.
[#144]: https://redirect.github.com/uber-go/mock/pull/144
[#153]: https://redirect.github.com/uber-go/mock/pull/153
[#168]: https://redirect.github.com/uber-go/mock/pull/168
[#181]: https://redirect.github.com/uber-go/mock/pull/181
[#183]: https://redirect.github.com/uber-go/mock/pull/183
[#191]: https://redirect.github.com/uber-go/mock/pull/191
[#204]: https://redirect.github.com/uber-go/mock/pull/204
[#207]: https://redirect.github.com/uber-go/mock/pull/207
[#214]: https://redirect.github.com/uber-go/mock/pull/214
Thanks to [@tulzke](https://redirect.github.com/tulzke) [@JacobOaks](https://redirect.github.com/JacobOaks) [@ARR4N](https://redirect.github.com/ARR4N) [@sashamelentyev](https://redirect.github.com/sashamelentyev) [@sywhang](https://redirect.github.com/sywhang) [@fasmat](https://redirect.github.com/fasmat)
[@eyasy1217](https://redirect.github.com/eyasy1217) [@ghouscht](https://redirect.github.com/ghouscht) [@tie](https://redirect.github.com/tie) [@Neo2308](https://redirect.github.com/Neo2308) [@carson-brill](https://redirect.github.com/carson-brill) [@alexandear](https://redirect.github.com/alexandear) [@sodul](https://redirect.github.com/sodul)
[@nbgraham](https://redirect.github.com/nbgraham) for their contributions this release.
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v0.4.0
->v0.5.0
Release Notes
uber/mock (go.uber.org/mock)
### [`v0.5.0`](https://redirect.github.com/uber-go/mock/releases/tag/v0.5.0) [Compare Source](https://redirect.github.com/uber/mock/compare/v0.4.0...v0.5.0) #### 0.5.0 (15 Oct 2024) ##### Added - [#153][]: Add `--write_command_comment` flag to specify whether to include `Generated by this command` comment. - [#191][]: Add `--build_constraint` flag to add `//go:build` directives to generated mocks - [#214][]: Add gob mode to support custom package loading techniques in place of --exec_only ##### Changed - [#181][]: Made mockgen faster by changing flags passed to `go list`. - [#183][]: Made `Cond` matcher generic. - [#204][]: Removed `ISGOMOCK()` from generated mocks. - [#207][]: Deprecated reflect mode and replaced it with the new package mode. ##### Fixed - [#144][]: Fix a deadlock that can happen when mocking an interface that matches `fmt.Stringer`. - [#168][]: Fix an issue where the "generated by" comment was being included in the package comment of generated mocks. [#144]: https://redirect.github.com/uber-go/mock/pull/144 [#153]: https://redirect.github.com/uber-go/mock/pull/153 [#168]: https://redirect.github.com/uber-go/mock/pull/168 [#181]: https://redirect.github.com/uber-go/mock/pull/181 [#183]: https://redirect.github.com/uber-go/mock/pull/183 [#191]: https://redirect.github.com/uber-go/mock/pull/191 [#204]: https://redirect.github.com/uber-go/mock/pull/204 [#207]: https://redirect.github.com/uber-go/mock/pull/207 [#214]: https://redirect.github.com/uber-go/mock/pull/214 Thanks to [@tulzke](https://redirect.github.com/tulzke) [@JacobOaks](https://redirect.github.com/JacobOaks) [@ARR4N](https://redirect.github.com/ARR4N) [@sashamelentyev](https://redirect.github.com/sashamelentyev) [@sywhang](https://redirect.github.com/sywhang) [@fasmat](https://redirect.github.com/fasmat) [@eyasy1217](https://redirect.github.com/eyasy1217) [@ghouscht](https://redirect.github.com/ghouscht) [@tie](https://redirect.github.com/tie) [@Neo2308](https://redirect.github.com/Neo2308) [@carson-brill](https://redirect.github.com/carson-brill) [@alexandear](https://redirect.github.com/alexandear) [@sodul](https://redirect.github.com/sodul) [@nbgraham](https://redirect.github.com/nbgraham) for their contributions this release.Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.