mapstructure v1.5.0 Release Notes

    • ๐Ÿ†• New option IgnoreUntaggedFields to ignore decoding to any fields without mapstructure (or the configured tag name) set [GH-277]
    • ๐Ÿ†• New option ErrorUnset which makes it an error if any fields in a target struct are not set by the decoding process. [GH-225]
    • ๐Ÿ†• New function OrComposeDecodeHookFunc to help compose decode hooks. [GH-240]
    • Decoding to slice from array no longer crashes [GH-265]
    • Decode nested struct pointers to map [GH-271]
    • ๐Ÿ›  Fix issue where ,squash was ignored if Squash option was set. [GH-280]
    • ๐Ÿ›  Fix issue where fields with ,omitempty would sometimes decode into a map with an empty string key [GH-281]