Skip to content

Releases: darccio/mergo

Bug fixes

16 Feb 10:40
Compare
Choose a tag to compare

Since last release official release was at April 2015, I feel there is a need for a new release. Mergo has been included in Docker and Terraform since then and several PRs have been merged.

Important release: Merge fixed!

06 Apr 21:33
Compare
Choose a tag to compare

Mergo is intended to assign only zero value fields on destination with source value. Since April 6th it works like this. Before it didn't work properly, causing some random overwrites. After some issues and PRs I found it didn't merge as I designed it. Thanks to imdario/mergo#8 overwriting functions were added and the wrong behavior was clearly detected.

If you were using Mergo before April 6th 2015, please check your project works as intended after updating your local copy with go get -u github.com/imdario/mergo. I apologize for any issue caused by its previous behavior and any future bug that Mergo could cause (I hope it won't!) in existing projects after the change (release 0.2.0).

0.1.4: fixed issue with not overriding of existing value of map, and added e…

06 Apr 21:05
Compare
Choose a tag to compare

0.1.3: Issue #1 fixed.

26 Jun 13:16
Compare
Choose a tag to compare
It only required to check if src has kind reflect.Ptr. Iff it has this kind, it dereferences src calling Elem() on it.