PackageTrack

Go modules · #1961

github.com/jmattheis/goverter

v1.10.0jmattheis/goverter

Release timeline

153 releases since 2021
202120222023202420252026

Releases

  1. v1.3.1-0.20240109201653-f91a93628fca9 Jan 2024pre-release

    Nothing published for this version

  2. v1.3.1-0.20240106142403-27a26e5898206 Jan 2024pre-release

    Nothing published for this version

  3. v1.3.1-0.20231221192741-5187238aaacc21 Dec 2023pre-release

    Nothing published for this version

  4. v1.3.020 Dec 2023
    Release notes
    • Fix absolute paths in output:file ( #116 )

    • Error on internally overlapping struct methods ( #114 via #117 )

    • Scan packages with build constraints . ( #111 via #118 )

    • ignore no longer ignores source fields in combination with autoMap ( #120 )

    • Error on not existing target fields with field settings ( #120 )

    • Error when using a path as target field ( #120 )

    internals :

    • Migrate documentation to vitepress ( #118 )
    Open source →
    Additional notes2 sources agree
    • Fix absolute paths in output:file <GH pr="116"/>
    • Error on internally overlapping struct methods <GH issue="114" pr="117"/>
    • Scan packages with build constraints. <GH issue="111" pr="118"/>
    • ignore no longer ignores source fields in combination with autoMap <GH pr="120"/>
    • Error on not existing target fields with field settings <GH pr="120"/>
    • Error when using a path as target field <GH pr="120"/>

    internals:

    • Migrate documentation to vitepress <GH pr="118"/>
    Open source →
  5. v1.2.1-0.20231220100403-b08216ddfa4720 Dec 2023pre-release

    Nothing published for this version

  6. v1.2.1-0.20231217175405-9ba8298bf69617 Dec 2023pre-release

    Nothing published for this version

  7. v1.2.1-0.20231217073900-674ea66db9a917 Dec 2023pre-release

    Nothing published for this version

  8. v1.2.1-0.20231212182908-d44b25236af812 Dec 2023pre-release

    Nothing published for this version

  9. v1.2.1-0.20231206175946-5932487049e66 Dec 2023pre-release

    Nothing published for this version

  10. v1.2.1-0.20231206161828-08064f8ef4336 Dec 2023pre-release

    Nothing published for this version

  11. v1.2.1-0.20231202180542-add8c16d61522 Dec 2023pre-release

    Nothing published for this version

  12. v1.2.1-0.20231202180100-5a51e2748c592 Dec 2023pre-release

    Nothing published for this version

  13. v1.2.1-0.20231202142312-9c5931a61cdd2 Dec 2023pre-release

    Nothing published for this version

  14. v1.2.1-0.20231125131136-4625b8d3fcf425 Nov 2023pre-release

    Nothing published for this version

  15. v1.2.025 Nov 2023
    Release notes
    • Support using unexported fields, methods and functions when they are accessible from the output:package ( #104 via #107 )

    • Fix ignored field settings for conversions from non pointer to pointer types ( #104 via #107 )

    • Improve error messages for *T to T conversions ( #105 via #106 )

    • Error on overlapping internal sub methods ( #105 via #106 )

    internals :

    • Execute tests in parallel ( #108 )
    Open source →
    Additional notes2 sources agree
    • Support using unexported fields, methods and functions when they are accessible from the output:package <GH issue="104" pr="107"/>
    • Fix ignored field settings for conversions from non pointer to pointer types <GH issue="104" pr="107"/>
    • Improve error messages for *T to T conversions <GH issue="105" pr="106"/>
    • Error on overlapping internal sub methods <GH issue="105" pr="106"/>

    internals:

    • Execute tests in parallel <GH pr="108"/>
    Open source →
  16. v1.1.2-0.20231123172945-57ea90b40de723 Nov 2023pre-release

    Nothing published for this version

  17. v1.1.2-0.20231122201214-b16152097a1022 Nov 2023pre-release

    Nothing published for this version

  18. v1.1.121 Nov 2023
    Release notes

    Fix a panic when using the error type inside the conversion. ( #102 via #103 )

    Open source →
    Additional notes2 sources agree

    Fix a panic when using the error type inside the conversion. <GH issue="102" pr="103"/>

    Open source →
  19. v1.1.1-0.20231121180417-62c847c116f021 Nov 2023pre-release

    Nothing published for this version

  20. v1.1.1-0.20231109120035-2e56a99c100d9 Nov 2023pre-release

    Nothing published for this version

  21. v1.1.05 Nov 2023
    Release notes
    • Add struct:comment ( #94 )

    • Add useUnderlyingTypeMethods ( #78 via #95 )

    • Add default ( #93 via #96 )

    • Allow mapping source methods to the target field. map supports method calls as source-path. ( #91 via #99 )

    • Don't panic on func() types ( #99 )

    • Improve error messages ( #98 )

    • add outline of conversion generation generation ( #99 )

    Open source →
    Additional notes2 sources agree
    • Add struct:comment <GH pr="94"/>
    • Add useUnderlyingTypeMethods <GH issue="78" pr="95"/>
    • Add default <GH issue="93" pr="96"/>
    • Allow mapping source methods to the target field. map supports method calls as source-path. <GH issue="91" pr="99"/>
    • Don't panic on func() types <GH pr="99"/>
    • Improve error messages <GH pr="98"/>
    • add outline of conversion generation generation <GH pr="99"/>
    Open source →
  22. v1.0.1-0.20231105180319-515e0489cbaf5 Nov 2023pre-release

    Nothing published for this version

  23. v1.0.1-0.20231105092154-7b15fee1fed45 Nov 2023pre-release

    Nothing published for this version

  24. v1.0.1-0.20231104190756-30663e9130014 Nov 2023pre-release

    Nothing published for this version

  25. v1.0.1-0.20231023160956-76308948db9c23 Oct 2023pre-release

    Nothing published for this version

  26. v1.0.1-0.20231023160611-0094e1ed538223 Oct 2023pre-release

    Nothing published for this version

  27. v1.0.023 Oct 2023
    Release notes
    • Major rework of documentation. See settings ( #92 )

    • Rework of the CLI ( #92 )

    • Improve handling of boolean flags, allow disabling these settings for single methods. See define ( #92 )

    • Add output:file output:pattern settings: output ( #92 )

    • Remove deprecated mapExtend mapIdentity : migrations ( #92 )

    • Refactor internals for upcoming features ( #92 )

    • Remove pkg/errors dependency ( #92 )

    • Improve error messages ( #92 )

    See migrations for instructions to migrate to this version. If you have problems with this release please create a ticket in this project.

    Open source →
    Additional notes2 sources agree
    • Major rework of documentation. See settings <GH pr="92"/>
    • Rework of the CLI <GH pr="92"/>
    • Improve handling of boolean flags, allow disabling these settings for single methods. See define <GH pr="92"/>
    • Add output:file output:pattern settings: output <GH pr="92"/>
    • Remove deprecated mapExtend mapIdentity: migrations <GH pr="92"/>
    • Refactor internals for upcoming features <GH pr="92"/>
    • Remove pkg/errors dependency <GH pr="92"/>
    • Improve error messages <GH pr="92"/>

    See migrations for instructions to migrate to this version. If you have problems with this release please create a ticket in this project.

    Open source →
  28. v0.18.010 Sept 2023
    Release notes

    Add skipCopySameType , this setting instruct Goverter to skip copying instances when the source and target type is the same. ( #86 via #87 )

    Open source →
    Additional notes2 sources agree

    Add skipCopySameType, this setting instruct Goverter to skip copying instances when the source and target type is the same. <GH issue="86" pr="87"/>

    Open source →
  29. v0.17.6-0.20230910090923-a1ae13d649e410 Sept 2023pre-release

    Nothing published for this version

  30. v0.17.6-0.20230909192819-834f156b00849 Sept 2023pre-release

    Nothing published for this version

  31. v0.17.517 Aug 2023
    Release notes

    Prevent unused variables in generated code when empty structs are used ( #82 via #83 )

    Open source →
    Additional notes2 sources agree

    Prevent unused variables in generated code when empty structs are used <GH issue="82" pr="83"/>

    Open source →
  32. v0.17.5-0.20230817154015-9f096d2d70b117 Aug 2023pre-release

    Nothing published for this version

  33. v0.17.5-0.20230428112518-53b9b8bb3c8828 Apr 2023pre-release

    Nothing published for this version

  34. v0.17.417 Apr 2023
    Release notes

    Fix endless loop when converting nested recursive types. ( #73 via #74 )

    Open source →
    Additional notes2 sources agree

    Fix endless loop when converting nested recursive types. <GH issue="73" pr="74"/>

    Open source →
  35. v0.17.39 Apr 2023
    Release notes

    Fix panic when generating a conversion method containing the type map[string]interface{} . ( #71 via #72 )

    Open source →
    Additional notes2 sources agree

    Fix panic when generating a conversion method containing the type map[string]interface{}. <GH issue="71" pr="72"/>

    Open source →
  36. v0.17.24 Apr 2023
    Release notes

    Readd go1.16 support for building goverter, it broke with v0.17.1. ( #69 via #70 )

    Open source →
    Additional notes2 sources agree

    Readd go1.16 support for building goverter, it broke with v0.17.1. <GH issue="69" pr="70"/>

    Open source →
  37. v0.17.2-0.20230404160710-aa82eef91e9e4 Apr 2023pre-release

    Nothing published for this version

  38. v0.17.2-0.20230313155338-d7f3125a2a6713 Mar 2023pre-release

    Nothing published for this version

  39. v0.17.113 Mar 2023
    Release notes

    Fix generation of types with generic arguments ( #66 via #67 )

    Open source →
    Additional notes2 sources agree

    Fix generation of types with generic arguments <GH issue="66" pr="67"/>

    Open source →
  40. v0.17.1-0.20230310160300-653a80efb4a410 Mar 2023pre-release

    Nothing published for this version

  41. v0.17.010 Mar 2023
    Release notes
    • Add goverter:useZeroValueOnPointerInconsistency ( #64 via #65 )

    • Allow defining matchIgnoreCase on the converter interface ( 54d551 )

    Open source →
    Additional notes2 sources agree
    Open source →
  42. v0.16.1-0.20230305134454-3c395d983de85 Mar 2023pre-release

    Nothing published for this version

  43. v0.16.1-0.20230304141941-54d5514eddb94 Mar 2023pre-release

    Nothing published for this version

  44. v0.16.1-0.20230228091914-a9d78c93a95d28 Feb 2023pre-release

    Nothing published for this version

  45. v0.16.1-0.20230225142555-ca6326ebe3bd25 Feb 2023pre-release

    Nothing published for this version

  46. v0.16.1-0.20230225141700-8a7df999d5a425 Feb 2023pre-release

    Nothing published for this version

  47. v0.16.025 Feb 2023
    Release notes
    • Add ignoreMissing ( #60 )

    • Add ignoreUnexported ( #60 )

    Open source →
    Additional notes2 sources agree
    Open source →
  48. v0.15.021 Feb 2023
    Release notes
    • Improve code generation for errors ( #19 via #57 )

    • Add goverter:autoMap ( #55 via #59 )

    Open source →
    Additional notes2 sources agree
    • Improve code generation for errors <GH issue="19" pr="57"/>
    • Add goverter:autoMap <GH issue="55" pr="59"/>
    Open source →
  49. v0.14.1-0.20230214123826-391815c91c1714 Feb 2023pre-release

    Nothing published for this version

  50. v0.14.1-0.20230211120140-62f48018352c11 Feb 2023pre-release

    Nothing published for this version

  51. v0.14.011 Feb 2023
    Release notes
    • 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 via #56 )

    • 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. ( #56 )

    • 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. ( #56 )

    Open source →
    Additional notes2 sources agree
    • Prevent value copying of source struct pointers if possible. This should fix "go vet copylocks" warnings, because some structs should not be copied. See <GH issue="39" pr="56"/>
    • 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. <GH pr="56"/>
    • 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. <GH pr="56"/>
    Open source →
  52. v0.13.010 Feb 2023
    Release notes
    • Fix docs links in error messages

    • Allow using external packages in map ( #47 via #50 )

    • Allow returning an error in map ( #43 via #50 )

    • Error on misconfiguration ( #8 via #51 )

    Open source →
    Additional notes2 sources agree
    • Fix docs links in error messages
    • Allow using external packages in map <GH issue="47" pr="50"/>
    • Allow returning an error in map <GH issue="43" pr="50"/>
    • Error on misconfiguration <GH issue="8" pr="51"/>
    Open source →
  53. v0.12.010 Feb 2023
    Release notes
    • Deprecation : goverter:mapExtend will be removed soon. See migration .

    • Deprecation : goverter:mapIdentity will be removed soon. See migration

    • Add support for unnamed structs ( #41 via 6287f1 )

    • Add documentation https://goverter.jmattheis.de/ ( #49 )

    • Allow defining a custom conversion for only a specific field. See map ( #49 )

    Open source →
    Additional notes2 sources agree
    • Deprecation: goverter:mapExtend will be removed soon. See migration.
    • Deprecation: goverter:mapIdentity will be removed soon. See migration
    • Add support for unnamed structs <GH issue="41" commit="6287f10e5e3ae1d8ebcaa50138898242c659aa2d"/>
    • Add documentation https://goverter.jmattheis.de/ <GH pr="49"/>
    • Allow defining a custom conversion for only a specific field. See map <GH pr="49"/>
    Open source →
  54. v0.11.2-0.20230210154137-868ce00fe20e10 Feb 2023pre-release

    Nothing published for this version

  55. v0.11.2-0.20230202113239-8c0845a425272 Feb 2023pre-release

    Nothing published for this version

  56. v0.11.2-0.20230111165213-2937218ce61211 Jan 2023pre-release

    Nothing published for this version

  57. v0.11.2-0.20230110164720-a85c2d3bfbf810 Jan 2023pre-release

    Nothing published for this version

  58. v0.11.2-0.20230109220150-9c47ab32eb859 Jan 2023pre-release

    Nothing published for this version

  59. v0.11.18 Jan 2023
    Release notes

    Fix pointer slice conversion ( #40 via be3874 )

    Open source →
    Additional notes2 sources agree

    Fix pointer slice conversion <GH issue="40" commit="be38743c1f0e2003bd8fbb54a8df0f35c96c05e4"/>

    Open source →
  60. v0.11.08 Dec 2022
    Release notes

    Allow passing self in mapExtend method ( #38 via eb1337 )

    Open source →
    Additional notes2 sources agree

    Allow passing self in mapExtend method <GH issue="38" commit="eb133772c13348174561945d39d3491c34403811"/>

    Open source →