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/hashicorp/terraform-plugin-log from 0.2.1 to 0.3.0 #166

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2022

Bumps github.com/hashicorp/terraform-plugin-log from 0.2.1 to 0.3.0.

Release notes

Sourced from github.com/hashicorp/terraform-plugin-log's releases.

v0.3.0

BREAKING CHANGES:

  • tflog: The Trace(), Debug(), Info(), Warn(), and Error() functions and Subsystem equivalents now use ...map[string]interface{} as the final optional parameter, where the string is the structured logging key, rather than expecting matched key interface{}, value interface{} pairs. If multiple maps contain the same key, the value is shallow merged. (#34)
  • tfsdklog: The Trace(), Debug(), Info(), Warn(), and Error() functions and Subsystem equivalents now use ...map[string]interface{} as the final optional parameter, where the string is the structured logging key, rather than expecting matched key interface{}, value interface{} pairs. If multiple maps contain the same key, the value is shallow merged. (#34)

ENHANCEMENTS:

  • tflog: Added WithAdditionalLocationOffset function, which allows implementations to adjust the location offset when using helper functions (#36)
  • tfsdklog: Added WithAdditionalLocationOffset function, which allows implementations to adjust the location offset when using helper functions (#36)

BUG FIXES:

  • tfsdklog: Consolidated multiple invalid log level messages and added missing newline (#35)
Changelog

Sourced from github.com/hashicorp/terraform-plugin-log's changelog.

0.3.0 (March 10, 2022)

BREAKING CHANGES:

  • tflog: The Trace(), Debug(), Info(), Warn(), and Error() functions and Subsystem equivalents now use ...map[string]interface{} as the final optional parameter, where the string is the structured logging key, rather than expecting matched key interface{}, value interface{} pairs. If multiple maps contain the same key, the value is shallow merged. (#34)
  • tfsdklog: The Trace(), Debug(), Info(), Warn(), and Error() functions and Subsystem equivalents now use ...map[string]interface{} as the final optional parameter, where the string is the structured logging key, rather than expecting matched key interface{}, value interface{} pairs. If multiple maps contain the same key, the value is shallow merged. (#34)

ENHANCEMENTS:

  • tflog: Added WithAdditionalLocationOffset function, which allows implementations to adjust the location offset when using helper functions (#36)
  • tfsdklog: Added WithAdditionalLocationOffset function, which allows implementations to adjust the location offset when using helper functions (#36)

BUG FIXES:

  • tfsdklog: Consolidated multiple invalid log level messages and added missing newline (#35)
Commits
  • 4d666ac Update CHANGELOG for v0.3.0
  • 67fed90 Bump dessant/lock-threads from 2 to 3 (#43)
  • b62cf0a Bump actions/checkout from 2 to 3 (#42)
  • e20f768 Bump golangci/golangci-lint-action from 2 to 3.1.0 (#41)
  • 2f65ffa .github: Add github-actions management to dependabot (#40)
  • 561793d tflog+tfsdklog: Added WithAdditionalLocationOffset function (#36)
  • 34e012b Bump github.com/hashicorp/go-hclog from 1.1.0 to 1.2.0 (#38)
  • fdd273d Trying pull_request_target trigger event for add-content-to-project GHA w...
  • 41176a4 tflog+tfsdklog: Change final variadic function parameter in logging functions...
  • 329a757 GH Action to link incoming issues and pull-requests to the Terraform DevEx Te...
  • 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/hashicorp/terraform-plugin-log](https://github.com/hashicorp/terraform-plugin-log) from 0.2.1 to 0.3.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-log/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-log/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-log@v0.2.1...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-log
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner March 10, 2022 12:59
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 10, 2022
@bflad bflad linked an issue Mar 10, 2022 that may be closed by this pull request
@bflad bflad self-assigned this Mar 10, 2022
@bflad bflad added this to the v0.8.0 milestone Mar 10, 2022
@bflad bflad merged commit 7d4431a into main Mar 10, 2022
@bflad bflad deleted the dependabot/go_modules/github.com/hashicorp/terraform-plugin-log-0.3.0 branch March 10, 2022 13:06
@bflad
Copy link
Member

bflad commented Mar 10, 2022

(I will also ensure there is a CHANGELOG entry for this)

bflad added a commit that referenced this pull request Mar 10, 2022
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.

Logging wrappers aren't passing pairs correctly
1 participant