Sourced from go.uber.org/mock's releases.
v0.6.0
0.6.0 (18 Aug 2025)
Added
- #258[]: Archive mode: a new mockgen mode that generates mocks out of archive files.
Fixed
- #276[]: Fixed mockgen errors with go1.25 due to outdated golang.org/x/tools dependency.
#258: uber-go/mock#258 #276: uber-go/mock#276
v0.5.2
0.5.2 (28 Apr 2025)
Fixed
- #248[]: Fixed an issue with type aliases not being included in generated code correctly.
v0.5.1
0.5.1 (7 Apr 2025)
Fixed
- #220[]: Package mode will now generate code that uses aliases of types when they are used in the source.
- #219[]: Fixed a collision between function argument names and package names in generated code.
- #165[]: Fixed an issue where aliases specified by
-importswere not being respected in generated code.#220: uber-go/mock#220 #219: uber-go/mock#219 #165: uber-go/mock#165
Thanks to
@mtoaderand@bstncartwrightfor their contributions to this release.
Sourced from go.uber.org/mock's changelog.
0.6.0 (18 Aug 2025)
Added
- #258[]: Archive mode: a new mockgen mode that generates mocks out of archive files.
- #262[]: Support for specifying mock names when using the
_gomock_archivebazel rule.Fixed
- #276[]: Fixed mockgen errors with go1.25 due to outdated golang.org/x/tools dependency.
#258: uber-go/mock#258 #262: uber-go/mock#262 #276: uber-go/mock#276
0.5.2 (28 Apr 2025)
Fixed
- #248[]: Fixed an issue with type aliases not being included in generated code correctly.
0.5.1 (7 Apr 2025)
Fixed
- #220[]: Package mode will now generate code that uses aliases of types when they are used in the source.
- #219[]: Fixed a collision between function argument names and package names in generated code.
- #165[]: Fixed an issue where aliases specified by
-importswere not being respected in generated code.#220: uber-go/mock#220 #219: uber-go/mock#219 #165: uber-go/mock#165
Thanks to
@mtoaderand@bstncartwrightfor their contributions to this release.
2d1c581
Prepare release v0.6.0 (#278)c654195
Update CI to run 1.24/1.25 (#277)5900c74
update golang.org/x/tools to v0.36.0 (#276)6a0445c
feat(bazel): mock_names flag support in archive mode (#262)aa11bfc
feat(bazel): support archive mode (#259)359202c
Support for archive mode (#258)871d86b
Back to development (#251)0b8095f
Prepare release v0.5.2 (#250)8ce01ac
Bump go.mod to 1.23 and remove alias replacements (#248)6568d88
Back to development. (#242)