Skip to content

Releases: tiendc/go-deepcopy

v1.7.2

28 Nov 19:11

Choose a tag to compare

Improvement: reduce unnecessary allocation

v1.7.1

21 Sep 13:09
c6f7b33

Choose a tag to compare

  • Improvement: use direct value assignment on time.Time
  • Fix: copying unique.Handle[T] now performs shallow copy only

v1.6.1

09 Jun 12:09
648e96c

Choose a tag to compare

  • Improve performance of map-to-struct copier

v1.6.0

09 May 06:43
7578c2a

Choose a tag to compare

  • Added struct-to-map copier
  • Added map-to-struct copier
  • Minor bug fixed

v1.5.3

29 Apr 06:48
fb9229a

Choose a tag to compare

  • Fixed: not use Go direct assignment for assignable and convertible struct types to avoid non true copying issue which can happen on private fields. Instead, use our self implementation of field-to-field copying.
  • Fixed: requires copying when destination struct fields are exported so errors will be reported to users if happen.

v1.5.2

25 Apr 00:48
04e8d25

Choose a tag to compare

  • Fix: ignore non-copyable error when copy non-required unexported struct fields

v1.5.1

26 Mar 08:19
8b1d8f2

Choose a tag to compare

  • Fix bug: use of RLock/RUnlock when write is not correct

v1.5.0

09 Feb 18:30
0dd4591

Choose a tag to compare

  • Supports struct tag attribute nilonzero to set destination struct fields as nil if their values are zero
  • Supports struct after copying event PostCopy

v1.2.2

06 Feb 11:17
c946283

Choose a tag to compare

  • Fix: clear in-progress copier building on error

v1.2.1

06 Feb 10:45
c7b420d

Choose a tag to compare

  • Fix circular reference between struct fields