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

Update module github.com/terraform-linters/tflint-plugin-sdk to v0.20.0 #76

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 2, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/terraform-linters/tflint-plugin-sdk v0.14.0 -> v0.20.0 age adoption passing confidence

Release Notes

terraform-linters/tflint-plugin-sdk (github.com/terraform-linters/tflint-plugin-sdk)

v0.20.0

Compare Source

0.20.0 (2024-05-02)

Enhancements
  • #​316: Bump github.com/hashicorp/hcl/v2 from 2.19.1 to 2.20.1
    • This is required for provider-defined functions support
Chores
  • #​311: Bump google.golang.org/protobuf from 1.32.0 to 1.33.0
  • #​314: Bump github.com/zclconf/go-cty from 1.14.2 to 1.14.4
  • #​317: Bump github.com/hashicorp/go-hclog from 1.6.2 to 1.6.3
  • #​319: Bump golang.org/x/tools from 0.18.0 to 0.20.0
  • #​320: Bump google.golang.org/grpc from 1.61.1 to 1.63.2
  • #​321: Bump golang.org/x/net from 0.21.0 to 0.23.0
  • #​322: deps: Go 1.22.2
  • #​323: Bump google.golang.org/protobuf from 1.33.0 to 1.34.0

v0.19.0

Compare Source

0.19.0 (2024-02-25)

Chores
  • #​281 #​307: deps: Go 1.22
  • #​283: Bump actions/checkout from 3 to 4
  • #​294: Bump github.com/google/go-cmp from 0.5.9 to 0.6.0
  • #​297: Bump github.com/hashicorp/hcl/v2 from 2.17.0 to 2.19.1
  • #​299: Bump google.golang.org/grpc from 1.57.0 to 1.61.1
  • #​300: Bump github.com/hashicorp/go-plugin from 1.4.10 to 1.6.0
  • #​301: Bump github.com/zclconf/go-cty from 1.13.2 to 1.14.2
  • #​302: Bump golang.org/x/tools from 0.11.0 to 0.18.0
  • #​303: Bump github/codeql-action from 2 to 3
  • #​304: Bump actions/setup-go from 4 to 5
  • #​305: Bump github.com/hashicorp/go-hclog from 1.5.0 to 1.6.2
  • #​306: Bump google.golang.org/protobuf from 1.31.0 to 1.32.0

v0.18.0

Compare Source

0.18.0 (2023-07-29)

Breaking Changes
  • #​268: helper: Un-export NewLocalRunner and AddLocalFile
  • #​273: Internalize unnecessarily published plugin packages
  • #​274: tflint: Remove deprecated IncludeNotCreated option
Enhancements
  • #​271: hclext: Add support for expression unwrapping in hclext.BoundExpr
Chores
  • #​267: Bump google.golang.org/protobuf from 1.30.0 to 1.31.0
  • #​270: Bump golang.org/x/tools from 0.10.0 to 0.11.0
  • #​272: Bump google.golang.org/grpc from 1.55.0 to 1.57.0

v0.17.0

Compare Source

0.17.0 (2023-06-18)

This release adds support for autofix API. The EmitIssueWithFix API allows you to implement autofix in your plugin using tflint.Fixer. Autofix is available in TFLint v0.47+. In earlier versions, the autofix is ignored.

This SDK version no longer supports TFLint v0.40/v0.41. This means that plugins built using this SDK require TFLint v0.42+.

Also, the Check method has been removed from tflint.RuleSet as a minor change. This means that if you override the Check method in a custom ruleset that embeds tflint.RuleSet, it will not be called. This is classified as a breaking change, but since the Check method is not supposed to be overwritten, it is recommended to use something like NewRunner.

Breaking Changes
  • #​258: tflint: Remove Check method from tflint.RuleSet interface
  • #​263: Drop support for TFLint v0.40/v0.41
Enhancements
Chores
  • #​253: Configure aqua to install protoc
  • #​255: Bump google.golang.org/grpc from 1.54.0 to 1.55.0
  • #​257: Bump github.com/zclconf/go-cty from 1.13.1 to 1.13.2
  • #​261: Bump github.com/hashicorp/go-plugin from 1.4.9 to 1.4.10
  • #​262: Bump github.com/hashicorp/hcl/v2 from 2.16.2 to 2.17.0
  • #​264: Bump golang.org/x/tools from 0.8.0 to 0.10.0

v0.16.1

Compare Source

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

Compare Source

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 https://github.com/terraform-linters/tflint-ruleset-template/pull/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
  • #​250: Bump google.golang.org/grpc from 1.51.0 to 1.54.0

v0.15.0

Compare Source

0.15.0 (2022-12-26)

Enhancements
  • #​224: Add GetOriginalwd method
Chores
  • #​214: Bump github.com/hashicorp/hcl/v2 from 2.14.1 to 2.15.0
  • #​219: Bump google.golang.org/grpc from 1.50.1 to 1.51.0
  • #​220: Bump github.com/hashicorp/go-plugin from 1.4.5 to 1.4.8
  • #​221: Bump github.com/go-test/deep from 1.0.8 to 1.1.0
  • #​222: Bump github.com/hashicorp/go-hclog from 1.3.1 to 1.4.0
  • #​223: Bump golang.org/x/tools from 0.1.12 to 0.4.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@github-actions github-actions bot added the size/l Size L label May 2, 2024
Copy link

stale bot commented Jul 1, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 1, 2024
@stale stale bot closed this Jul 19, 2024
@renovate renovate bot deleted the renovate/github.com-terraform-linters-tflint-plugin-sdk-0.x branch July 19, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. size/l Size L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant