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

build(deps): bump github.com/mitchellh/mapstructure from 1.3.3 to 1.4.2 in /api #11188

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 15, 2021

Bumps github.com/mitchellh/mapstructure from 1.3.3 to 1.4.2.

Changelog

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

1.4.2

  • Custom name matchers to support any sort of casing, formatting, etc. for field names. GH-250
  • Fix possible panic in ComposeDecodeHookFunc GH-251

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
Commits
  • 5ac1f6a CHANGELOG
  • 18f04e6 Default MatchName in NewDecoder
  • 14df28d Merge pull request #247 from veikokaap/fix-doc-typo-decodehook
  • 251d52b improve comments for matchname
  • 1b7c3d8 Merge pull request #250 from abeMedia/feat/custom-name-matchers
  • 381a76b initialize data to interface for decode hook (tested)
  • 6577afa Merge pull request #251 from eh-steve/bugfix-panic-with-empty-composed-decode...
  • edc5649 Fix possible panic when using ComposeDecodeHookFunc() with no funcs
  • fd87e0d Support custom name matchers
  • 963925d fix typo in documentation
  • 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 @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 5, 2021

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@tgross
Copy link
Member

tgross commented Nov 10, 2021

@dependabot rebase

Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reviewed the diffs and the only bug fix appears to be mitchellh/mapstructure#206. This will make decoding some of our HCL a little more tolerant of bad inputs. For example, the following quota:

name        = "foo"
description = "more foo"
limit {
  region = "global"
  region_limit {
    memory     = ""
  }
}

will be interpreted to have memory = 0 instead of throwing a syntax error. Changelog will go in #11517

@tgross
Copy link
Member

tgross commented Nov 17, 2021

@dependabot rebase

@tgross
Copy link
Member

tgross commented Nov 17, 2021

It looks like dependabot got confused on this one somehow and hasn't given us a valid go.sum even after a rebase. I'll fixup this PR manually.

Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure) from 1.3.3 to 1.4.2.
- [Release notes](https://github.com/mitchellh/mapstructure/releases)
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md)
- [Commits](mitchellh/mapstructure@v1.3.3...v1.4.2)

---
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>
@tgross tgross merged commit a5e9fe6 into main Nov 17, 2021
@tgross tgross deleted the dependabot/go_modules/api/github.com/mitchellh/mapstructure-1.4.2 branch November 17, 2021 15:04
@github-actions
Copy link

github-actions bot commented Nov 9, 2022

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
theme/api HTTP API and SDK issues theme/dependencies Pull requests that update a dependency file
Projects
Development

Successfully merging this pull request may close these issues.

1 participant