Skip to content

Releases: go-goyave/copier

v0.4.4

08 Jan 10:37
e7af4ab
Compare
Choose a tag to compare
  • Remove use of deprecated reflect.PtrTo @Roccoriu
  • Fixed nil slice becoming empty slice after copying from incompatible source type (jinzhu#215 jinzhu#216) @helloqiu
  • Fixed driver.Valuer implementations not being copied to destination types when the two types cannot be converted directly (jinzhu#214) @laushunyu

Full Changelog: v0.4.3...v0.4.4

v0.4.3

16 Oct 10:39
2318bd6
Compare
Choose a tag to compare
  • Fixed bug: if the destination field implement sql/driver.Scanner and the source field implements sql/driver.Valuer, Value() was not called on the source field.

v0.4.2

16 Oct 09:53
e43bd6f
Compare
Choose a tag to compare
  • Fixed destination slice not resized if types are not directly convertible

v0.4.1

09 Oct 10:22
15400bc
Compare
Choose a tag to compare
  • Added copier.Valuer interface
  • Fix maps and slices not being resized if the DeepCopy option is true
  • Fixed and improved tests
  • Added linter and fixed issues