portefaix / tflint-ruleset-portefaix

Tflint ruleset for Portefaix
Other
0 stars 0 forks source link

Update module github.com/terraform-linters/tflint-plugin-sdk to v0.17.0 #58

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/terraform-linters/tflint-plugin-sdk require minor v0.14.0 -> v0.17.0

Release Notes

terraform-linters/tflint-plugin-sdk ### [`v0.17.0`](https://togithub.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.17.0) [Compare Source](https://togithub.com/terraform-linters/tflint-plugin-sdk/compare/v0.16.1...v0.17.0) #### 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](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/258): tflint: Remove `Check` method from `tflint.RuleSet` interface - [#​263](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/263): Drop support for TFLint v0.40/v0.41 ##### Enhancements - [#​254](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/254): Introduce autofix API ##### Chores - [#​253](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/253): Configure aqua to install protoc - [#​255](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/255): Bump google.golang.org/grpc from 1.54.0 to 1.55.0 - [#​257](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/257): Bump github.com/zclconf/go-cty from 1.13.1 to 1.13.2 - [#​261](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/261): Bump github.com/hashicorp/go-plugin from 1.4.9 to 1.4.10 - [#​262](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/262): Bump github.com/hashicorp/hcl/v2 from 2.16.2 to 2.17.0 - [#​264](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/264): Bump golang.org/x/tools from 0.8.0 to 0.10.0 ### [`v0.16.1`](https://togithub.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.16.1) [Compare Source](https://togithub.com/terraform-linters/tflint-plugin-sdk/compare/v0.16.0...v0.16.1) #### 0.16.1 (2023-04-13) ##### BugFixes - [#​252](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/252): ruleset: Fix NewRunner hook not injecting a custom runner ##### Chores - [#​251](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/251): Bump golang.org/x/tools from 0.7.0 to 0.8.0 ### [`v0.16.0`](https://togithub.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.16.0) [Compare Source](https://togithub.com/terraform-linters/tflint-plugin-sdk/compare/v0.15.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. ```go // 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](https://togithub.com/terraform-linters/tflint-ruleset-template/pull/76) for an example of upgrading the SDK. ##### Enhancements - [#​225](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/225): ruleset: Allow a runner to be redefined within a ruleset - The `NewRunner` method has been added to the `tflint.RuleSet` interface. - [#​239](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/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](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/246) [#​247](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/247): runner: Add support for function callbacks as the target of `EvaluateExpr` - This allows reproducing the same behavior as before without using `EnsureNoError`. - [#​248](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/248): runner: Add support for the bool type as a target value of `EvaluateExpr` ##### Changes - [#​236](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/236): runner: Deprecate `EnsureNoError` helper - This helper is still available in this version, but we recommend migrating to the function callback approach. ##### Chores - [#​233](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/233): Bump golang.org/x/net from 0.3.0 to 0.7.0 - [#​234](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/234): Go 1.20 - [#​235](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/235): plugin2host: Handle eval errors on the client side - [#​238](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/238): Bump github.com/hashicorp/go-plugin from 1.4.8 to 1.4.9 - [#​240](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/240): Bump github.com/hashicorp/hcl/v2 from 2.15.0 to 2.16.2 - [#​241](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/241): Bump golang.org/x/tools from 0.4.0 to 0.7.0 - [#​243](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/243): Bump actions/setup-go from 3 to 4 - [#​244](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/244): Bump github.com/zclconf/go-cty from 1.12.1 to 1.13.1 - [#​245](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/245): Bump google.golang.org/protobuf from 1.28.1 to 1.30.0 - [#​249](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/249): Bump github.com/hashicorp/go-hclog from 1.4.0 to 1.5.0 - [#​250](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/250): Bump google.golang.org/grpc from 1.51.0 to 1.54.0 ### [`v0.15.0`](https://togithub.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.15.0) [Compare Source](https://togithub.com/terraform-linters/tflint-plugin-sdk/compare/v0.14.0...v0.15.0) #### 0.15.0 (2022-12-26) ##### Enhancements - [#​224](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/224): Add GetOriginalwd method ##### Chores - [#​214](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/214): Bump github.com/hashicorp/hcl/v2 from 2.14.1 to 2.15.0 - [#​219](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/219): Bump google.golang.org/grpc from 1.50.1 to 1.51.0 - [#​220](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/220): Bump github.com/hashicorp/go-plugin from 1.4.5 to 1.4.8 - [#​221](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/221): Bump github.com/go-test/deep from 1.0.8 to 1.1.0 - [#​222](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/222): Bump github.com/hashicorp/go-hclog from 1.3.1 to 1.4.0 - [#​223](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/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.



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