terraform-linters/tflint-plugin-sdk
### [`v0.14.0`](https://togithub.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.14.0)
[Compare Source](https://togithub.com/terraform-linters/tflint-plugin-sdk/compare/v0.13.0...v0.14.0)
#### 0.14.0 (2022-10-23)
This release includes several new features for plugin developers. Introduced the Schema Mode to get all attributes, and added an option to set constraints on compatible TFLint versions. These may not work with older TFLint versions, so set version constraints as needed.
The evaluation of `each.*` and `count.*` added in TFLint v0.42 requires plugins built with this version. In earlier versions, these values are always unknown.
`IncludeNotCreated` in `GetModuleContentOption` has been deprecated. Use `ExpandModeNone` instead. The old option will still work, but will be removed in a future version.
##### Enhancements
- [#201](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/201): hclext: Add schema mode to BodySchema
- This is available only for TFLint v0.42+. Schema mode is ignored in earlier versions. Set `>= 0.42.0` as a version constraint if you cannot tolerate being ignored.
- [#202](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/202): host2plugin: Allow plugins to set host version constraints
- This is available only for TFLint v0.42+. Version constraints are ignored in earlier versions. Note that version constraints may not work in v0.40, v0.41.
- [#203](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/203): host2plugin: Add SDKVersion
- [#205](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/205): hclext: Add hclext.BoundExpr
- This is necessary due to the evaluation of `each.*` and `count.*` added in TFLint v0.42. Plugins not built with SDK v0.14+ will always evaluate to unknown values.
- [#206](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/206): hclext: Add Copy() to structures
- [#207](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/207): hclext: Add WalkAttribute to hclext.BodyContent
- [#208](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/208): plugin2host: Add ExpandMode to GetModuleContentOption
- `IncludeNotCreated` is deprecated. Use `ExpandModeNone` instread.
##### Chores
- [#199](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/199): Bump github.com/hashicorp/hcl/v2 from 2.14.0 to 2.14.1
- [#200](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/200): Bump github.com/hashicorp/go-hclog from 1.3.0 to 1.3.1
- [#209](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/209): Bump google.golang.org/grpc from 1.49.0 to 1.50.1
### [`v0.13.0`](https://togithub.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.13.0)
[Compare Source](https://togithub.com/terraform-linters/tflint-plugin-sdk/compare/v0.12.0...v0.13.0)
#### 0.13.0 (2022-09-17)
##### Enhancements
- [#198](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/198): host2plugin: Allow ruleset to accept Only option
- This change is necessary due to a priority bug with the `--only` option. Most plugins are unaffected by this change.
##### Chores
- [#197](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/197): Bump github.com/google/go-cmp from 0.5.8 to 0.5.9
### [`v0.12.0`](https://togithub.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.12.0)
[Compare Source](https://togithub.com/terraform-linters/tflint-plugin-sdk/compare/v0.11.0...v0.12.0)
#### 0.12.0 (2022-09-07)
This release adds `GetModulePath()` API. This is a breaking change and all plugins need to be built using this version in order to work with TFLint v0.40+.
See also [https://github.com/terraform-linters/tflint-ruleset-template/pull/62](https://togithub.com/terraform-linters/tflint-ruleset-template/pull/62) for an example of upgrading the SDK.
##### Breaking Changes
- [#171](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/171): Add GetModulePath method
- [#188](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/188): Bump protocol version
##### Enhancements
- [#169](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/169): hclext: Add hclext.Blocks's OfType helper
- [#170](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/170): hclext: Add AsNative helper
- [#172](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/172): tflint: Add GetProviderContent helper
- [#174](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/174): tflint: Add tflint.ErrSensitive
- [#177](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/177): helper: Add support for JSON syntax in TestRunner
- [#178](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/178): Allow calling DecodeRuleConfig without rule config
- [#180](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/180): terraform: Add `lang.ReferencesInExpr`
- [#181](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/181): tflint: Add WalkExpressions function
##### BugFixes
- [#190](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/190): logger: Do not set location offset in go-plugin
##### Chores
- [#161](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/161) [#182](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/182): Bump github.com/hashicorp/go-plugin from 1.4.3 to 1.4.5
- [#166](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/166) [#194](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/194): Bump github.com/hashicorp/hcl/v2 from 2.12.0 to 2.14.0
- [#168](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/168) [#187](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/187): Bump google.golang.org/grpc from 1.46.0 to 1.49.0
- [#173](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/173) [#195](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/195): Bump github.com/hashicorp/go-hclog from 1.2.0 to 1.3.0
- [#175](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/175): Bump google.golang.org/protobuf from 1.28.0 to 1.28.1
- [#176](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/176): build: go 1.19
- [#179](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/179): build: Use `go-version-file` instead of `go-version`
- [#183](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/183): Bump golang.org/x/tools from 0.1.11 to 0.1.12
- [#184](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/184): Bump github.com/go-test/deep from 1.0.3 to 1.0.8
- [#185](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/185): Remove unused ruleset function
- [#186](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/186): Bump github.com/zclconf/go-cty from 1.10.0 to 1.11.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.
This PR contains the following updates:
v0.11.0
->v0.14.0
Release Notes
terraform-linters/tflint-plugin-sdk
### [`v0.14.0`](https://togithub.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.14.0) [Compare Source](https://togithub.com/terraform-linters/tflint-plugin-sdk/compare/v0.13.0...v0.14.0) #### 0.14.0 (2022-10-23) This release includes several new features for plugin developers. Introduced the Schema Mode to get all attributes, and added an option to set constraints on compatible TFLint versions. These may not work with older TFLint versions, so set version constraints as needed. The evaluation of `each.*` and `count.*` added in TFLint v0.42 requires plugins built with this version. In earlier versions, these values are always unknown. `IncludeNotCreated` in `GetModuleContentOption` has been deprecated. Use `ExpandModeNone` instead. The old option will still work, but will be removed in a future version. ##### Enhancements - [#201](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/201): hclext: Add schema mode to BodySchema - This is available only for TFLint v0.42+. Schema mode is ignored in earlier versions. Set `>= 0.42.0` as a version constraint if you cannot tolerate being ignored. - [#202](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/202): host2plugin: Allow plugins to set host version constraints - This is available only for TFLint v0.42+. Version constraints are ignored in earlier versions. Note that version constraints may not work in v0.40, v0.41. - [#203](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/203): host2plugin: Add SDKVersion - [#205](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/205): hclext: Add hclext.BoundExpr - This is necessary due to the evaluation of `each.*` and `count.*` added in TFLint v0.42. Plugins not built with SDK v0.14+ will always evaluate to unknown values. - [#206](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/206): hclext: Add Copy() to structures - [#207](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/207): hclext: Add WalkAttribute to hclext.BodyContent - [#208](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/208): plugin2host: Add ExpandMode to GetModuleContentOption - `IncludeNotCreated` is deprecated. Use `ExpandModeNone` instread. ##### Chores - [#199](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/199): Bump github.com/hashicorp/hcl/v2 from 2.14.0 to 2.14.1 - [#200](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/200): Bump github.com/hashicorp/go-hclog from 1.3.0 to 1.3.1 - [#209](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/209): Bump google.golang.org/grpc from 1.49.0 to 1.50.1 ### [`v0.13.0`](https://togithub.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.13.0) [Compare Source](https://togithub.com/terraform-linters/tflint-plugin-sdk/compare/v0.12.0...v0.13.0) #### 0.13.0 (2022-09-17) ##### Enhancements - [#198](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/198): host2plugin: Allow ruleset to accept Only option - This change is necessary due to a priority bug with the `--only` option. Most plugins are unaffected by this change. ##### Chores - [#197](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/197): Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 ### [`v0.12.0`](https://togithub.com/terraform-linters/tflint-plugin-sdk/releases/tag/v0.12.0) [Compare Source](https://togithub.com/terraform-linters/tflint-plugin-sdk/compare/v0.11.0...v0.12.0) #### 0.12.0 (2022-09-07) This release adds `GetModulePath()` API. This is a breaking change and all plugins need to be built using this version in order to work with TFLint v0.40+. See also [https://github.com/terraform-linters/tflint-ruleset-template/pull/62](https://togithub.com/terraform-linters/tflint-ruleset-template/pull/62) for an example of upgrading the SDK. ##### Breaking Changes - [#171](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/171): Add GetModulePath method - [#188](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/188): Bump protocol version ##### Enhancements - [#169](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/169): hclext: Add hclext.Blocks's OfType helper - [#170](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/170): hclext: Add AsNative helper - [#172](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/172): tflint: Add GetProviderContent helper - [#174](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/174): tflint: Add tflint.ErrSensitive - [#177](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/177): helper: Add support for JSON syntax in TestRunner - [#178](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/178): Allow calling DecodeRuleConfig without rule config - [#180](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/180): terraform: Add `lang.ReferencesInExpr` - [#181](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/181): tflint: Add WalkExpressions function ##### BugFixes - [#190](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/190): logger: Do not set location offset in go-plugin ##### Chores - [#161](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/161) [#182](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/182): Bump github.com/hashicorp/go-plugin from 1.4.3 to 1.4.5 - [#166](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/166) [#194](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/194): Bump github.com/hashicorp/hcl/v2 from 2.12.0 to 2.14.0 - [#168](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/168) [#187](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/187): Bump google.golang.org/grpc from 1.46.0 to 1.49.0 - [#173](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/173) [#195](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/195): Bump github.com/hashicorp/go-hclog from 1.2.0 to 1.3.0 - [#175](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/175): Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 - [#176](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/176): build: go 1.19 - [#179](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/179): build: Use `go-version-file` instead of `go-version` - [#183](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/183): Bump golang.org/x/tools from 0.1.11 to 0.1.12 - [#184](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/184): Bump github.com/go-test/deep from 1.0.3 to 1.0.8 - [#185](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/185): Remove unused ruleset function - [#186](https://togithub.com/terraform-linters/tflint-plugin-sdk/pull/186): Bump github.com/zclconf/go-cty from 1.10.0 to 1.11.0Configuration
📅 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.