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/terraform-linters/tflint-plugin-sdk from 0.15.0 to 0.16.1 #265

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 17, 2023

Bumps github.com/terraform-linters/tflint-plugin-sdk from 0.15.0 to 0.16.1.

Release notes

Sourced from github.com/terraform-linters/tflint-plugin-sdk's releases.

v0.16.1

0.16.1 (2023-04-13)

BugFixes

  • #252: ruleset: Fix NewRunner hook not injecting a custom runner

Chores

  • #251: Bump golang.org/x/tools from 0.7.0 to 0.8.0

v0.16.0

0.16.0 (2023-04-02)

This release deprecates the runner.EnsureNoError helper. This helper is still available in this version, but we recommend migrating to the function callback approach.

// Before
var val string
err := runner.EvaluateExpr(expr, &val, nil)
err = runner.EnsureNoError(err, func () error {
  // Test values
})
if err != nil {
  return err
}
// After
err := runner.EvaluateExpr(expr, func (val string), error {
// Test values
}, nil)

See also terraform-linters/tflint-ruleset-template#76 for an example of upgrading the SDK.

Enhancements

  • #225: ruleset: Allow a runner to be redefined within a ruleset
    • The NewRunner method has been added to the tflint.RuleSet interface.
  • #239: plugin2host: Send marked values over the wire
    • With this change, sensitive values can now be handled by plugins (requires TFLint v0.46+). Previously, tflint.ErrSensitive was always returned.
  • #246 #247: runner: Add support for function callbacks as the target of EvaluateExpr
    • This allows reproducing the same behavior as before without using EnsureNoError.
  • #248: runner: Add support for the bool type as a target value of EvaluateExpr

Changes

  • #236: runner: Deprecate EnsureNoError helper
    • This helper is still available in this version, but we recommend migrating to the function callback approach.

... (truncated)

Changelog

Sourced from github.com/terraform-linters/tflint-plugin-sdk's changelog.

0.16.1 (2023-04-13)

BugFixes

  • #252: ruleset: Fix NewRunner hook not injecting a custom runner

Chores

  • #251: Bump golang.org/x/tools from 0.7.0 to 0.8.0

0.16.0 (2023-04-02)

This release deprecates the runner.EnsureNoError helper. This helper is still available in this version, but we recommend migrating to the function callback approach.

// Before
var val string
err := runner.EvaluateExpr(expr, &val, nil)
err = runner.EnsureNoError(err, func () error {
  // Test values
})
if err != nil {
  return err
}
// After
err := runner.EvaluateExpr(expr, func (val string), error {
// Test values
}, nil)

See also terraform-linters/tflint-ruleset-template#76 for an example of upgrading the SDK.

Enhancements

  • #225: ruleset: Allow a runner to be redefined within a ruleset
    • The NewRunner method has been added to the tflint.RuleSet interface.
  • #239: plugin2host: Send marked values over the wire
    • With this change, sensitive values can now be handled by plugins (requires TFLint v0.46+). Previously, tflint.ErrSensitive was always returned.
  • #246 #247: runner: Add support for function callbacks as the target of EvaluateExpr
    • This allows reproducing the same behavior as before without using EnsureNoError.
  • #248: runner: Add support for the bool type as a target value of EvaluateExpr

Changes

  • #236: runner: Deprecate EnsureNoError helper
    • This helper is still available in this version, but we recommend migrating to the function callback approach.

Chores

... (truncated)

Commits
  • 05d7fdf Bump up version to v0.16.1
  • 9128b0f Bump golang.org/x/tools from 0.7.0 to 0.8.0 (#251)
  • 7d26649 Fix NewRunner hook not injecting a custom runner (#252)
  • db53187 Bump up version to v0.16.0
  • 7c35f43 Bump github.com/zclconf/go-cty from 1.12.1 to 1.13.1 (#244)
  • 3e4fc19 Bump google.golang.org/grpc from 1.51.0 to 1.54.0 (#250)
  • 29613ed Bump google.golang.org/protobuf from 1.28.1 to 1.30.0 (#245)
  • 67a17be Bump github.com/hashicorp/go-hclog from 1.4.0 to 1.5.0 (#249)
  • 766da45 Bump actions/setup-go from 3 to 4 (#243)
  • c11c846 Bump golang.org/x/tools from 0.4.0 to 0.7.0 (#241)
  • 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/terraform-linters/tflint-plugin-sdk](https://github.com/terraform-linters/tflint-plugin-sdk) from 0.15.0 to 0.16.1.
- [Release notes](https://github.com/terraform-linters/tflint-plugin-sdk/releases)
- [Changelog](https://github.com/terraform-linters/tflint-plugin-sdk/blob/master/CHANGELOG.md)
- [Commits](terraform-linters/tflint-plugin-sdk@v0.15.0...v0.16.1)

---
updated-dependencies:
- dependency-name: github.com/terraform-linters/tflint-plugin-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 17, 2023
@wata727 wata727 merged commit 04c00cf into master Apr 23, 2023
9 checks passed
@wata727 wata727 deleted the dependabot/go_modules/github.com/terraform-linters/tflint-plugin-sdk-0.16.1 branch April 23, 2023 07:40
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
Development

Successfully merging this pull request may close these issues.

None yet

1 participant