This is a maintenance release after forking the library to make some of the fixes available without major changes.
Usage:
go get github.com/mitchellh/mapstructure
go mod edit -replace github.com/mitchellh/mapstructure=github.com/go-viper/mapstructure
go mod tidyConsider upgrading to the new v2 release once it's out.
What's Changed
- Improve CI by @sagikazarmark in https://github.com/go-viper/mapstructure/pull/1
- chore: fix lint violations by @sagikazarmark in https://github.com/go-viper/mapstructure/pull/2
- Add decode hooks for netip Addr and AddrPort by @sagikazarmark in https://github.com/go-viper/mapstructure/pull/3
- Decoding array of slices causes panic by @sagikazarmark in https://github.com/go-viper/mapstructure/pull/4
- Dereference multiple pointers when decoding to maps by @sagikazarmark in https://github.com/go-viper/mapstructure/pull/5
- fix: StringToSliceHookFunc incorrectly triggered when parsing []byte by @sagikazarmark in https://github.com/go-viper/mapstructure/pull/6
- Fix untagged field decoding in case of decode to struct by @sagikazarmark in https://github.com/go-viper/mapstructure/pull/7
- Fix Encoding Struct Back to Map Bug (#279) by @sagikazarmark in https://github.com/go-viper/mapstructure/pull/8
New Contributors
- @sagikazarmark made their first contribution in https://github.com/go-viper/mapstructure/pull/1
Full Changelog: https://github.com/go-viper/mapstructure/compare/v1.5.0...v1.6.0