Skip to content

Releases: go-viper/mapstructure

v2.2.1

22 Sep 22:44
v2.2.1
c29fc28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.0...v2.2.1

v2.2.0

22 Sep 22:43
v2.2.0
abbd7b4
Compare
Choose a tag to compare

What's Changed

  • feat(decoder-configs): add flag to force decoding nil input in decoder config by @mahadzaryab1 in #42
  • Add decode hooks for *url.URL by @einzigartigerName in #41

New Contributors

  • @mahadzaryab1 made their first contribution in #42
  • @einzigartigerName made their first contribution in #41

Full Changelog: v2.1.0...v2.2.0

v2.1.0

12 Aug 11:59
v2.1.0
c97971d
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump actions/setup-go from 5.0.0 to 5.0.1 by @dependabot in #28
  • build(deps): bump actions/checkout from 4.1.1 to 4.1.6 by @dependabot in #27
  • build(deps): bump golangci/golangci-lint-action from 3.7.0 to 6.0.1 by @dependabot in #26
  • build(deps): bump actions/setup-go from 5.0.1 to 5.0.2 by @dependabot in #34
  • build(deps): bump actions/checkout from 4.1.6 to 4.1.7 by @dependabot in #29
  • Port Succo's fix to cache decodeHooks by @cedric-cordenier in #33
  • build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 by @dependabot in #38
  • Add configuration option to specify tag value that indicates squash by @triarius in #18
  • Adding support for squash: interface. by @m1k1o in #17

New Contributors

Full Changelog: v2.0.0...v2.1.0

v2.0.0

02 Jun 08:44
v2.0.0
6abdb44
Compare
Choose a tag to compare

mapstructure v2 release 🎉🎉🎉🎉

⚠️ Breaking changes

  • Error is removed in favor of errors.Join (backported from Go 1.20 to preserve compatibility with earlier versions)

What's Changed

New Contributors

Full Changelog: v1.6.0...v2.0.0

v2.0.0-alpha.1

19 Dec 21:05
v2.0.0-alpha.1
579c0fe
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

First alpha release with the new import path: github.com/go-viper/mapstructure/v2

v1.6.0

19 Dec 20:57
v1.6.0
8110e71
Compare
Choose a tag to compare

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 tidy

Consider upgrading to the new v2 release once it's out.

What's Changed

New Contributors

Full Changelog: v1.5.0...v1.6.0