Releases: golang/mock
v1.6.0
Changelog
317c030 Best effort guesses for output package path (#547)
c59ba11 add ARM to support apple M1 chip to releaser (#562)
58935d8 add a basic CONTRIBUTING.md (#535)
a5582fc add docs on 1.16 install and adding to PATH (#534)
0cd3aaf add flags documentation (#539)
64b0b80 add notes and error helper for vendor+reflect error (#567)
e303461 add type information to error messages (#559)
0cdccf5 feat add InAnyOrder matcher (#546)
82ce4a7 feat validate Do & DoReturn args (#558)
93308c3 fix broken badge (#525)
9336b7e fix error message in parse.go (#540)
ab03293 fix ill-formatted message with fmt-verbs like %s (#564)
bb5fd5e fix linter errors (#552)
aba2ff9 fix parse array with the external const correctly (#569)
6ff1070 fix parse arrays with const length correctly (#520)
7f5f64d fixup some docs and templates (#524)
7078515 refactor go:generate lines so they are consistently placed (#527)
7105dde refactor mockgen and cleanup (#536)
f36d14a test(sample/user_test.go): minor correction at t.Errorf (#544)
ef4ad87 update CI for 1.16 (#526)
ad820b0 update Finish docs for Go1.14+ (#556)
2421472 update dependencies (#528)
953a5bb update user mock to be in test package (#566)
d19a212 upgrade dependencies (#557)
v1.5.0
Changelog
0b87a54 Add a period to the end of comments (#414)
d2fe5cd Add example for Call.Do and Call.DoAndReturn (#470)
91d4b5c Add tests for various Do/DoAndReturn calls (#430)
92f53b0 Avoid using packages.Load (#420)
aff3767 Fix empty error message when call is exhausted (#460)
8734ec5 Format generated files with goimports (#458)
69e02d3 MOCK-429: add support for assignable types to Eq matcher (#481)
d476d65 Parse parenthesized parameter-type. (#421)
ccaa079 Using pacakges.NeedName (#418)
f67ce0c add CODEOWNERS file (#522)
6d816de add default calling of ctrl.Finish() in go1.14+ (#422)
7b53c4d check error for os.Setenv in parse_test.go (#472)
b9a8584 deduplicate methods to allow overlapping methods on embedded interfaces (#498)
10192bd fix 1.11 ga test failure (#511)
dcd893e fix Test_createPackageMap for 1.15 (#512)
44e6f1e fix docs for AssignableToTypeOf (#452)
a23c5e7 fix issues related to source package imports (#507)
11d9cab fix readme docs on removing Finish calls (#461)
0f6dc21 format variadic arguments with GotFormatter (#434)
d9ac678 gomock/controller: use skip additional frame (#443)
8a3d595 mockgen: handle more cases of "duplicate" imports (#405)
9cb0a11 remove rsc.io/quote/v3 as dep (#465)
872e315 remove travis config (#513)
1fe605d sort methods on the mock implementation alphabetically (#500)
5b2ea10 support embedded error interface in source mode (#445)
b76a85f support multi-path gopath (#435)
eb4f989 surface panic when calling Finish is implicit (#478)
000792a test out GH actions (#508)
99aa927 update readme spacing (#495)
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
193ff6f #358 add template for PR and bug report (#361)
f165686 Add Mockgen Version Flag (#362)
41e7e9a Add a CI check for go vet and go lint (#345)
d1dd49b Added self_package option to readme (#355)
112dfb8 Adds GotFormatter interface and WantFormatter func (#236)
1bf84fa Allow AssignableToTypeOf reflect.Type (#365)
176c208 Allow mockgen to execute from outside go modules
e00cb15 Always remove self_package import (#343)
140ae90 Fix small typo in Controller example (#295)
45682d7 Pass -build_flags as Multiple Args (#357)
2b692ab Simplified Go code
0e690d0 Update documentation on MinTimes and MaxTimes (#334)
7968cef Update issue templates (#363)
cbd2e35 Update mockgen installation docs
9be4808 add All matcher (#367)
b4b7d21 add Len matcher (#368)
de9f6c5 add benchmark for parse file (#372)
577071b ci: add 1.13 testing (#337)
0d12903 fix feature request template (#364)
817c00c fix generates non-compilable code (#371)
3dcdcb6 fix not resolving go module major versions (#385)
693e3a8 fix pr template (#366)
29da289 fix several linting warnings (#374)
dd8d2a2 fix small typo in comments (#314)
3251ae5 fix tests passing when they should not (#378)
1b95bd9 fix: avoid constructing improper import graph (#383)
3fae808 include binaries with tagged releases via GoReleaser (#229)
0800f9a refactor method names for reflect/source (#376)