Version 0.15.0
Pre-release
Pre-release
This version updates the usage of reflect to be compatible with the upcoming go 1.6 release. All the tests pass both with go 1.5.3 and go 1.6-beta-2. This release also includes changes in the README and comments in the source code to disambiguate on the treatment of unexported embedded structs with exported fields.
This release is not backwards compatible with any previous versions, because it does not attempt to save unexported embedded structs with exported fields. However, as far as I know, previous versions would always return an error if you tried to do this. In practice, I would be surprised if this release breaks any code that was using the previous versions.
Full Changelog
- Verified compatibility with the upcoming go 1.6 release.
- Unexported embedded structs with exported fields are now ignored, not saved. (Previous releases may have returned an error).
- Improved README regarding unexported embedded structs with exported fields.
- Added tests for unexported embedded structs with exported fields.