Skip to content

build(deps): bump github.com/mitchellh/mapstructure from 1.1.2 to 1.4.1 in /pkg/sdk#11

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/pkg/sdk/github.com/mitchellh/mapstructure-1.4.1
Closed

build(deps): bump github.com/mitchellh/mapstructure from 1.1.2 to 1.4.1 in /pkg/sdk#11
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/pkg/sdk/github.com/mitchellh/mapstructure-1.4.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Jul 26, 2021

Bumps github.com/mitchellh/mapstructure from 1.1.2 to 1.4.1.

Changelog

Sourced from github.com/mitchellh/mapstructure's changelog.

1.4.1

  • Fix regression where *time.Time value would be set to empty and not be sent to decode hooks properly GH-232

1.4.0

  • A new decode hook type DecodeHookFuncValue has been added that has access to the full values. GH-183
  • Squash is now supported with embedded fields that are struct pointers GH-205
  • Empty strings will convert to 0 for all numeric types when weakly decoding GH-206

1.3.3

  • Decoding maps from maps creates a settable value for decode hooks GH-203

1.3.2

  • Decode into interface type with a struct value is supported GH-187

1.3.1

  • Squash should only squash embedded structs. GH-194

1.3.0

  • Added ",omitempty" support. This will ignore zero values in the source structure when encoding. GH-145

1.2.3

  • Fix duplicate entries in Keys list with pointer values. GH-185

1.2.2

  • Do not add unsettable (unexported) values to the unused metadata key or "remain" value. GH-150

1.2.1

  • Go modules checksum mismatch fix

1.2.0

  • Added support to capture unused values in a field using the ",remain" value in the mapstructure tag. There is an example to showcase usage.
  • Added DecoderConfig option to always squash embedded structs
  • json.Number can decode into uint types
  • Empty slices are preserved and not replaced with nil slices
  • Fix panic that can occur in when decoding a map into a nil slice of structs

... (truncated)

Commits
  • 8ebf2d6 Update CHANGELOG.md
  • 18a713d Merge pull request #232 from mitchellh/issue-231
  • cbfe794 decodeMapFromStruct: Only deref element if we're squashing the struct
  • 1b4332d Merge pull request #222 from sqills/feature/text-unmarshaller-hook
  • 2fb8a82 Merge pull request #227 from dnephin/document-decode-with-squash
  • 35a4b15 Document behaviour of squash when decoding struct->map
  • 9ed2c4b Update godoc about DecodeHooks
  • 2da917e Ability to use encoding.TextUnmarshaler
  • 95075d6 v1.4.0
  • 1ceb09e test to verify map => struct
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure) from 1.1.2 to 1.4.1.
- [Release notes](https://github.com/mitchellh/mapstructure/releases)
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md)
- [Commits](mitchellh/mapstructure@v1.1.2...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 26, 2021
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Sep 15, 2021

Superseded by #21.

@dependabot dependabot bot closed this Sep 15, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/pkg/sdk/github.com/mitchellh/mapstructure-1.4.1 branch September 15, 2021 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants