Skip to content

v0.2.0

Compare
Choose a tag to compare
@wata727 wata727 released this 27 Jun 15:25
· 308 commits to master since this release

0.2.0 (2020-06-27)

This release adds APIs to access more Terraform's configurations.

Previously, only WalkResourceAttributes that can access top-level attributes were available, but WalkResourceBlocks that can access blocks and WalkResources that can access the entire resource including meta-arguments are now available.

In addition, the communication system between the plugin and the host has changed, and it is no longer dependent on the HCL structure implementation. This is a breaking change and all plugins need to be built using this version in order to work with TFLint v0.17+.

Breaking Changes

  • #24: tflint: Sending expression nodes as a text representation
  • #41: tflint: Remove Metadata
  • #45: plugin: Bump protocol version

Enhancements

  • #23: helper: Compare Rule types with custom comparer
  • #29 #33: tflint: Add WalkResourceBlocks API
  • #35: tflint: Allow to omit metadata expr on EmitIssue
  • #34 #37: tflint: Add WalkResources API
  • #40: helper: Add WalkResourceBlocks helper

Chores

  • #27: Bump github.com/hashicorp/go-hclog from 0.13.0 to 0.14.1
  • #38: Revise package structure
  • #39: Bump github.com/google/go-cmp from 0.4.1 to 0.5.0
  • #42: Bump github.com/zclconf/go-cty from 1.4.1 to 1.5.1
  • #43: Create Dependabot config file
  • #44: Setup Code Scanning