Skip to content

Releases: jmattheis/goverter

v0.18.0

10 Sep 09:12
a1ae13d
Compare
Choose a tag to compare

Add goverter:skipCopySameType, this setting instruct Goverter to skip copying instances when the source and target type is the same.

v0.17.5

17 Aug 15:43
9f096d2
Compare
Choose a tag to compare

Prevent unused variables in generated code when empty structs are used

v0.17.4

17 Apr 16:32
417f6c4
Compare
Choose a tag to compare

Fix endless loop when converting nested recursive types.

v0.17.3

09 Apr 14:04
555ca5a
Compare
Choose a tag to compare

Fix panic when generating a conversion method containing the type map[string]interface{}.

v0.17.2

04 Apr 16:22
a118b69
Compare
Choose a tag to compare

Readd go1.16 support for building goverter, it broke with v0.17.1.

v0.17.1

13 Mar 15:52
edcdfbd
Compare
Choose a tag to compare

Fix generation of types with generic arguments

v0.17.0

10 Mar 15:59
cf5677a
Compare
Choose a tag to compare

v0.16.0

25 Feb 14:09
a6f9bc2
Compare
Choose a tag to compare

v0.15.0

21 Feb 20:12
8615443
Compare
Choose a tag to compare

v0.14.0

11 Feb 10:50
7752ba3
Compare
Choose a tag to compare
  • Prevent value copying of source struct pointers if possible. This should fix "go vet copylocks" warnings, because some structs should not be copied. See #39 & #37
  • Due to the change above, the generated code will look different, because goverter now splits internal converter methods differently. The overall behavior of the implementation shouldn't change.
  • Error on overlapping field mappings. This doesn't change how config is evaluated, but it does now error when field mapping config like goverter:map is at the wrong converter method and would be ignored.