Skip to content

Commit

Permalink
Bump up version to v0.42.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wata727 committed Oct 23, 2022
1 parent 1129275 commit f978a90
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ Example:
```console
$ tflint -v
TFLint version 0.41.0
TFLint version 0.42.0
$ terraform -v
Terraform v1.3.0
Terraform v1.3.3
```
-->
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
## 0.42.0 (2022-10-23)

This release adds support for evaluating `local.*`, `each.key`, `each.value`, and `count.index`. Support for `each.*` and `count.index` requires plugins built with SDK v0.14+.

Starting with this release, resources/modules with `count` or `for_each` set will be expanded. Previously it was only expanded if `count = 0` or `for_each = {}`, but it is now always expanded and multiple resources/modules are passed to plugins.

### Enhancements

- [#1525](https://github.com/terraform-linters/tflint/pull/1525): terraform: Add local values support ([@wata727](https://github.com/wata727))
- [#1530](https://github.com/terraform-linters/tflint/pull/1530): plugin: Add support for schema mode ([@wata727](https://github.com/wata727))
- [#1535](https://github.com/terraform-linters/tflint/pull/1535): plugin: Allow plugins to set TFLint version constraints ([@wata727](https://github.com/wata727))
- [#1537](https://github.com/terraform-linters/tflint/pull/1537): terraform: Add support for count/each value ([@wata727](https://github.com/wata727))
- [#1560](https://github.com/terraform-linters/tflint/pull/1560): Bump tflint-plugin-sdk and bundled terraform plugin ([@wata727](https://github.com/wata727))

### BugFixes

- [#1557](https://github.com/terraform-linters/tflint/pull/1557): plugin: Fix crash when evaluating nested sensitive values ([@wata727](https://github.com/wata727))

### Chores

- [#1526](https://github.com/terraform-linters/tflint/pull/1526): Move block expanding to under the terraform package ([@wata727](https://github.com/wata727))
- [#1527](https://github.com/terraform-linters/tflint/pull/1527): docs: Update compatibility guide ([@wata727](https://github.com/wata727))
- [#1528](https://github.com/terraform-linters/tflint/pull/1528) [#1539](https://github.com/terraform-linters/tflint/pull/1539): build(deps): Bump sigstore/cosign-installer from 2.6.0 to 2.8.0
- [#1529](https://github.com/terraform-linters/tflint/pull/1529): workflow(docker): Improve multi-arch image build ([@wata727](https://github.com/wata727))
- [#1534](https://github.com/terraform-linters/tflint/pull/1534): docs: Add notice about Chocolatey package ([@wata727](https://github.com/wata727))
- [#1538](https://github.com/terraform-linters/tflint/pull/1538): build(deps): Bump google.golang.org/grpc from 1.49.0 to 1.50.0
- [#1550](https://github.com/terraform-linters/tflint/pull/1550): build(deps): Bump github.com/zclconf/go-cty from 1.11.0 to 1.11.1
- [#1558](https://github.com/terraform-linters/tflint/pull/1558): docs: Add API compatibility note ([@wata727](https://github.com/wata727))
- [#1559](https://github.com/terraform-linters/tflint/pull/1559): Add test when the count is string ([@wata727](https://github.com/wata727))
- [#1561](https://github.com/terraform-linters/tflint/pull/1561): build(deps): Bump golang.org/x/text from 0.3.7 to 0.4.0

## 0.41.0 (2022-09-24)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion integrationtest/inspection/incompatible-host/result.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"issues": [],
"errors": [
{
"message": "Failed to satisfy version constraints; tflint-ruleset-incompatiblehost requires >= 1.0, but TFLint version is 0.41.0",
"message": "Failed to satisfy version constraints; tflint-ruleset-incompatiblehost requires >= 1.0, but TFLint version is 0.42.0",
"severity": "error"
}
]
Expand Down
2 changes: 1 addition & 1 deletion tflint/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

// Version is application version
var Version *version.Version = version.Must(version.NewVersion("0.41.0"))
var Version *version.Version = version.Must(version.NewVersion("0.42.0"))

// ReferenceLink returns the rule reference link
func ReferenceLink(name string) string {
Expand Down

0 comments on commit f978a90

Please sign in to comment.