Skip to content

Releases: go-viper/mapstructure

v2.5.0

12 Jan 18:06
v2.5.0
9aa3f77

Choose a tag to compare

What's Changed

  • Print qualified type name when ErrorUnused=true causes errors for unused keys in embedded fields by @jmacd in #113
  • build(deps): bump github/codeql-action from 3.29.2 to 3.29.5 by @dependabot[bot] in #126
  • build(deps): bump github/codeql-action from 3.29.7 to 3.29.10 by @dependabot[bot] in #131
  • build(deps): bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #129
  • feat: support for automatically initializing squashed pointer structs by @tuunit in #71
  • build(deps): bump actions/setup-go from 5.5.0 to 6.0.0 by @dependabot[bot] in #134
  • build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 by @dependabot[bot] in #142
  • Fix slice deep map (owned) by @jphastings in #144
  • chore: fix lint violations by @sagikazarmark in #157
  • chore: switch to devenv by @sagikazarmark in #158
  • build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 by @dependabot[bot] in #151
  • build(deps): bump github/codeql-action from 3.29.10 to 4.31.2 by @dependabot[bot] in #153
  • build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 by @dependabot[bot] in #154
  • build(deps): bump actions/checkout from 5.0.0 to 6.0.1 by @dependabot[bot] in #160
  • build(deps): bump actions/setup-go from 6.0.0 to 6.1.0 by @dependabot[bot] in #159
  • build(deps): bump github/codeql-action from 4.31.7 to 4.31.8 by @dependabot[bot] in #162
  • build(deps): bump actions/upload-artifact from 5.0.0 to 6.0.0 by @dependabot[bot] in #161
  • build(deps): bump github/codeql-action from 4.31.8 to 4.31.9 by @dependabot[bot] in #163
  • feature: Add map field name to convert structs dynamically instead of individually with a tag. by @thespags in #149
  • feat(decoder): support multiple tag names in order by @DarkiT in #59
  • feat: optional root object name by @andreev-fn in #137
  • Add unmarshaler interface by @sagikazarmark in #166

New Contributors

Full Changelog: v2.4.0...v2.5.0

v2.4.0

15 Jul 09:00
v2.4.0
b9794a5

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.4.0

v2.3.0

16 Jun 14:14
v2.3.0
8c61ec1

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.1...v2.3.0

v2.2.1

22 Sep 22:44
v2.2.1
c29fc28

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

Choose a tag to compare

What's Changed

New Contributors

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

v2.1.0

12 Aug 11:59
v2.1.0
c97971d

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

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

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

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