Skip to content

Releases: matryer/moq

v0.2.5

18 Dec 03:28
514e306
Compare
Choose a tag to compare

Changelog

514e306 Fix issue with custom types shadowing basic types (#163)

v0.2.4

14 Nov 11:14
ef8b268
Compare
Choose a tag to compare

Changelog

ef8b268 Universal binaries for macOS (#159)

v0.2.3

11 Jul 06:38
ab5b7bc
Compare
Choose a tag to compare

Changelog

ab5b7bc Add -rm flag to remove target output file (#151)

v0.2.2

04 Jul 09:23
b4465d5
Compare
Choose a tag to compare

Changelog

126389e Create FUNDING.yml
c57d4fe GitHub feature test for this repo
b4465d5 Ignore anonymous imports when resolving import aliases (#150)
e7d0d3b Update installation cmd on README for go1.16+ (#147)
8e3e45f remove unneeded file
b54cd92 simplified release instructions

v0.2.1

14 Feb 13:23
Compare
Choose a tag to compare

Changelog

fe0d4f3 Fix var name generation to avoid conflict (#145)
6e4f50d fixed bug after changing version var name
9a74351 made Version exported to match .goreleaser config.

v0.2.0

02 Feb 07:18
98d503a
Compare
Choose a tag to compare

Changelog

2ae606f Internal registry for disambiguated imports, vars (#141)
98d503a Removed credit line given major contributrions

Breaking change

When the interface definition does not mention the parameter names, the field names in call info anonymous struct will be
different.

The new field names are generated using the type info (string -> s, int -> n, chan int -> intCh, []MyType -> myTypes, map[string]int -> stringToInt etc.).

For example, for a string parameter previously if the field name was 'In1', the new field could be 'S' or 'S1' (depends on number of string method parameters).

v0.1.6

01 Feb 19:56
98d503a
Compare
Choose a tag to compare

⚠️ Caution

This release has breaking changes and the version should have been v0.2.0. It is recommended to use either v0.1.7 or v0.2.0.

v0.1.7 drops the breaking change and is backwards-compatible. v0.2.0 is identical to v0.1.6.

Changelog

b052143 Fix gosec vulnerabilities: file and directory permissions (#142)
2ae606f Internal registry for disambiguated imports, vars (#141)
98d503a Removed credit line given major contributrions

v0.1.7

02 Feb 07:02
b052143
Compare
Choose a tag to compare

Changelog

Rollback backwards-incompatible change:

  • 2ae606f Internal registry for disambiguated imports, vars (#141)
  • 98d503a Removed credit line given major contributrions

v0.1.4

10 Nov 13:11
Compare
Choose a tag to compare

Changelog

2ea3371 Print version with -version flag (#138)
ca877b5 TABS
be64288 add skip-ensure flag to avoid import cycle (#140)
a69ca93 ignored dist folder
171f199 small edit: word wrap
0d9680f small readme tweak

v0.1.3

02 Sep 09:34
Compare
Choose a tag to compare

Changelog

545b7d7 fixed whitespace