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: 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.
- This is available only for TFLint v0.42+. Schema mode is ignored in earlier versions. Set
- #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: host2plugin: Add SDKVersion
- #205: hclext: Add hclext.BoundExpr
- This is necessary due to the evaluation of
each.*
andcount.*
added in TFLint v0.42. Plugins not built with SDK v0.14+ will always evaluate to unknown values.
- This is necessary due to the evaluation of
- #206: hclext: Add Copy() to structures
- #207: hclext: Add WalkAttribute to hclext.BodyContent
- #208: plugin2host: Add ExpandMode to GetModuleContentOption
IncludeNotCreated
is deprecated. UseExpandModeNone
instread.