Skip to content

Conversation

@dependabot-preview
Copy link

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

Changelog

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

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
  • Improved package documentation for godoc
Commits
  • 95075d6 v1.4.0
  • 1ceb09e test to verify map => struct
  • 0029644 Empty strings decode to numeric 0 when weakly typed
  • 08183c2 update CHANGELOG
  • fcb781b Merge pull request #183 from camdencheek/master
  • 07998cf Merge pull request #201 from northvolt/value-in-error-message
  • d5b1da7 Merge pull request #205 from RussellLuo/add-support-for-squashing-struct-ptr
  • d3e3c7f Merge pull request #218 from mitchellh/gh-actions
  • 25ee533 Use GH Actions
  • c0eda12 fix build
  • 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 27, 2020
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dependabot-preview
Copy link
Author

Superseded by #39.

@dependabot-preview dependabot-preview bot deleted the dependabot/go_modules/github.com/mitchellh/mapstructure-1.4.0 branch January 13, 2021 06:30
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant