Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/mitchellh/mapstructure from 1.1.2 to 1.4.1 #18

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 15, 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 15, 2021
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/mitchellh/mapstructure-1.4.1 branch from b7c978c to 65facf5 Compare March 23, 2021 15:22
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/mitchellh/mapstructure-1.4.1 branch 3 times, most recently from 076b4b0 to efde6ed Compare April 24, 2021 21:46
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/mitchellh/mapstructure-1.4.1 branch 2 times, most recently from e0456fa to 38871cf Compare May 5, 2021 21:46
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/mitchellh/mapstructure-1.4.1 branch from 38871cf to c1a8a8a Compare May 7, 2021 00:11
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 7, 2021

Looks like github.com/mitchellh/mapstructure is no longer a dependency, so this is no longer needed.

@dependabot dependabot bot closed this May 7, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/mitchellh/mapstructure-1.4.1 branch May 7, 2021 00:19
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
0 participants