Releases: jmattheis/goverter
Releases · jmattheis/goverter
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.0
- Support using unexported fields, methods and functions when they are accessible from the
output:package
- Fix ignored field settings for conversions from non pointer to pointer types
- Improve error messages for
*T
toT
conversions - Error on overlapping internal sub methods
v1.1.1
v1.1.0
- feat: add
struct:comment
- feat: add
useUnderlyingTypeMethods
- feat: add
default
- feat: allow mapping source methods to the target field.
map
supports method calls as source-path. - fix: don't panic on
func()
types - fix: improve error messages
- docs: add outline of conversion generation https://goverter.jmattheis.de/explanation/generation
v1.0.0
- Major rework of documentation. See https://goverter.jmattheis.de/reference/settings
- Rework of the CLI
- Improve handling of boolean flags, allow disabling these settings for single methods. See https://goverter.jmattheis.de/reference/define-settings
- Add
output:file
output:pattern
settings: https://goverter.jmattheis.de/reference/output - Remove deprecated
mapExtend
mapIdentity
: https://goverter.jmattheis.de/guide/migration - Refactor internals for upcoming features
- Remove pkg/errors dependency
- Improve error messages
See https://goverter.jmattheis.de/guide/migration for instructions to migrate to this version. If you have problems with this release please create a ticket in this project.
v0.18.0
Add goverter:skipCopySameType
, this setting instruct Goverter to skip copying instances when the source and target type is the same.