seatgeek / hashi-helper

Disaster Recovery and Configuration Management for Consul and Vault
BSD 3-Clause "New" or "Revised" License
187 stars 20 forks source link

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

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

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[bot] commented 3 years ago

Dependabot tried to add @jippi and @burdandrei as reviewers to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/seatgeek/hashi-helper/pulls/254/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the seatgeek/hashi-helper repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request
dependabot[bot] commented 3 years ago

Superseded by #260.