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.0 #29

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

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

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.

Chores

  • #233: Bump golang.org/x/net from 0.3.0 to 0.7.0
  • #234: Go 1.20
  • #235: plugin2host: Handle eval errors on the client side
  • #238: Bump github.com/hashicorp/go-plugin from 1.4.8 to 1.4.9
  • #240: Bump github.com/hashicorp/hcl/v2 from 2.15.0 to 2.16.2
  • #241: Bump golang.org/x/tools from 0.4.0 to 0.7.0
  • #243: Bump actions/setup-go from 3 to 4
  • #244: Bump github.com/zclconf/go-cty from 1.12.1 to 1.13.1
  • #245: Bump google.golang.org/protobuf from 1.28.1 to 1.30.0

... (truncated)

Changelog

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

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

  • #233: Bump golang.org/x/net from 0.3.0 to 0.7.0
  • #234: Go 1.20
  • #235: plugin2host: Handle eval errors on the client side
  • #238: Bump github.com/hashicorp/go-plugin from 1.4.8 to 1.4.9
  • #240: Bump github.com/hashicorp/hcl/v2 from 2.15.0 to 2.16.2
  • #241: Bump golang.org/x/tools from 0.4.0 to 0.7.0
  • #243: Bump actions/setup-go from 3 to 4
  • #244: Bump github.com/zclconf/go-cty from 1.12.1 to 1.13.1
  • #245: Bump google.golang.org/protobuf from 1.28.1 to 1.30.0
  • #249: Bump github.com/hashicorp/go-hclog from 1.4.0 to 1.5.0

... (truncated)

Commits
  • 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)
  • 6f92c93 Bump github.com/hashicorp/hcl/v2 from 2.15.0 to 2.16.2 (#240)
  • 3d676c9 Bump github.com/hashicorp/go-plugin from 1.4.8 to 1.4.9 (#238)
  • 9fd4538 Add support for the bool type as a target value (#248)
  • 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.0.
- [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.0)

---
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>
@multani multani merged commit 9891dd6 into main Apr 3, 2023
@multani multani deleted the dependabot/go_modules/github.com/terraform-linters/tflint-plugin-sdk-0.16.0 branch April 3, 2023 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant