|
1 | 1 | ## What's Changed
|
2 | 2 |
|
| 3 | +### Breaking Changes |
| 4 | +* Call local modules by default by @wata727 in https://github.com/terraform-linters/tflint/pull/1918 |
| 5 | + * Module inspection is now enabled by default for modules whose source is a relative path. Note that "module inspection" will be called "calling modules" after this change. See also https://github.com/terraform-linters/tflint/issues/1066 |
| 6 | + * CLI flag `--module` has been changed to `--call-module-type`. For backward compatibility, `--module` will continue to work, but it will be removed in a future version, so we recommend migrating early. The same applies to the `module` attribute of the configuration file. |
| 7 | + * `--module` flag is replaced by `--call-module-type=all` and `--no-module` (previous default) is replaced by `--call-module-type=none` |
| 8 | + * For modules with many local module calls, this change may result in performance degradation. If this is not acceptable, you can keep the previous default by specifying `--call-module-type=none`. |
| 9 | +* Make assignments to undeclared variables an error by @wata727 in https://github.com/terraform-linters/tflint/pull/1941 |
| 10 | + * In line with Terraform behavior, assignments using the `--var` flag etc. to undeclared variables now result in an error. To avoid this, remove unnecessary variable assignments. |
| 11 | + |
3 | 12 | ### Enhancements
|
| 13 | +* Print the working directory on error in recursive inspection by @wata727 in https://github.com/terraform-linters/tflint/pull/1933 |
| 14 | +* Enable per-runner parallelism by @wata727 in https://github.com/terraform-linters/tflint/pull/1944 |
4 | 15 |
|
5 |
| -* build(deps): Bump github.com/terraform-linters/tflint-ruleset-terraform from 0.4.0 to 0.5.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1883 |
6 |
| - * This change updates the bundled terraform plugin version |
7 |
| -* feat(annotations): Allow a comment at the end of a tflint-ignore annotation by @papkos in https://github.com/terraform-linters/tflint/pull/1892 |
8 |
| -* tflint: Allow config file to be set via `TFLINT_CONFIG_FILE` by @wata727 in https://github.com/terraform-linters/tflint/pull/1903 |
9 |
| -* tflint: Add `tflint-ignore-file` annotation by @wata727 in https://github.com/terraform-linters/tflint/pull/1909 |
| 16 | +### BugFixes |
| 17 | +* Exit with an error if the explicitly passed `.tflint.hcl` does not exist by @wata727 in https://github.com/terraform-linters/tflint/pull/1940 |
10 | 18 |
|
11 | 19 | ### Chores
|
| 20 | +* build(deps): Bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1913 |
| 21 | +* build(deps): Bump sigstore/cosign-installer from 3.1.2 to 3.2.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1915 |
| 22 | +* build(deps): Bump github.com/hashicorp/go-plugin from 1.5.2 to 1.6.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1917 |
| 23 | +* docs: Remove mention of directory arguments by @wata727 in https://github.com/terraform-linters/tflint/pull/1921 |
| 24 | +* build(deps): Bump golang.org/x/crypto from 0.15.0 to 0.16.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1923 |
| 25 | +* build(deps): Bump golang.org/x/oauth2 from 0.14.0 to 0.15.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1931 |
| 26 | +* build(deps): Bump github.com/spf13/afero from 1.10.0 to 1.11.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1932 |
| 27 | +* build(deps): Bump actions/setup-go from 4 to 5 by @dependabot in https://github.com/terraform-linters/tflint/pull/1936 |
| 28 | +* build(deps): Bump sigstore/cosign-installer from 3.2.0 to 3.3.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1937 |
| 29 | +* build(deps): Bump alpine from 3.18 to 3.19 by @dependabot in https://github.com/terraform-linters/tflint/pull/1938 |
| 30 | +* Stop using backticks for emphasis by @wata727 in https://github.com/terraform-linters/tflint/pull/1934 |
| 31 | +* Avoid escaping newlines by @wata727 in https://github.com/terraform-linters/tflint/pull/1942 |
| 32 | +* build(deps): Bump golang.org/x/crypto from 0.16.0 to 0.17.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1945 |
| 33 | +* build(deps): Bump github.com/google/uuid from 1.4.0 to 1.5.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1947 |
| 34 | +* build(deps): Bump google.golang.org/grpc from 1.59.0 to 1.60.1 by @dependabot in https://github.com/terraform-linters/tflint/pull/1948 |
12 | 35 |
|
13 |
| -* Add formula-path to follow formula path changes by @wata727 in https://github.com/terraform-linters/tflint/pull/1835 |
14 |
| -* build(deps): Bump sigstore/cosign-installer from 3.1.1 to 3.1.2 by @dependabot in https://github.com/terraform-linters/tflint/pull/1839 |
15 |
| -* build(deps): Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/terraform-linters/tflint/pull/1838 |
16 |
| -* Fix go directive to include patch version by @wata727 in https://github.com/terraform-linters/tflint/pull/1842 |
17 |
| -* Replace golang.org/x/exp/slices to slices package by @wata727 in https://github.com/terraform-linters/tflint/pull/1836 |
18 |
| -* build(deps): Bump github.com/hashicorp/go-plugin from 1.4.10 to 1.5.1 by @dependabot in https://github.com/terraform-linters/tflint/pull/1846 |
19 |
| -* build(deps): Bump golang.org/x/oauth2 from 0.11.0 to 0.12.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1843 |
20 |
| -* build(deps): Bump github.com/zclconf/go-cty from 1.13.2 to 1.14.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1845 |
21 |
| -* build(deps): Bump google.golang.org/grpc from 1.57.0 to 1.58.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1848 |
22 |
| -* Deprecate tflint-bundle image by @wata727 in https://github.com/terraform-linters/tflint/pull/1837 |
23 |
| -* build(deps): Bump google.golang.org/grpc from 1.58.0 to 1.58.1 by @dependabot in https://github.com/terraform-linters/tflint/pull/1850 |
24 |
| -* build(deps): Bump docker/build-push-action from 4 to 5 by @dependabot in https://github.com/terraform-linters/tflint/pull/1851 |
25 |
| -* build(deps): Bump docker/login-action from 2 to 3 by @dependabot in https://github.com/terraform-linters/tflint/pull/1852 |
26 |
| -* build(deps): Bump docker/setup-buildx-action from 2 to 3 by @dependabot in https://github.com/terraform-linters/tflint/pull/1853 |
27 |
| -* build(deps): Bump docker/metadata-action from 4 to 5 by @dependabot in https://github.com/terraform-linters/tflint/pull/1854 |
28 |
| -* build(deps): Bump goreleaser/goreleaser-action from 4 to 5 by @dependabot in https://github.com/terraform-linters/tflint/pull/1855 |
29 |
| -* build(deps): Bump mislav/bump-homebrew-formula-action from 2 to 3 by @dependabot in https://github.com/terraform-linters/tflint/pull/1861 |
30 |
| -* build(deps): Bump google.golang.org/grpc from 1.58.1 to 1.58.2 by @dependabot in https://github.com/terraform-linters/tflint/pull/1862 |
31 |
| -* build(deps): Bump github.com/spf13/afero from 1.9.5 to 1.10.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1863 |
32 |
| -* build(deps): Bump github.com/hashicorp/go-plugin from 1.5.1 to 1.5.2 by @dependabot in https://github.com/terraform-linters/tflint/pull/1864 |
33 |
| -* add test coverage for install script fail by @bendrucker in https://github.com/terraform-linters/tflint/pull/1868 |
34 |
| -* install: move `-e` out of shebang by @ddelange in https://github.com/terraform-linters/tflint/pull/1870 |
35 |
| -* build(deps): Bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1879 |
36 |
| -* build(deps): Bump github.com/zclconf/go-cty from 1.14.0 to 1.14.1 by @dependabot in https://github.com/terraform-linters/tflint/pull/1880 |
37 |
| -* build(deps): Bump github.com/hashicorp/hcl/v2 from 2.18.0 to 2.18.1 by @dependabot in https://github.com/terraform-linters/tflint/pull/1882 |
38 |
| -* build(deps): Bump golang.org/x/net from 0.16.0 to 0.17.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1884 |
39 |
| -* build(deps): Bump github.com/hashicorp/hcl/v2 from 2.18.1 to 2.19.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1885 |
40 |
| -* build(deps): Bump google.golang.org/grpc from 1.58.2 to 1.58.3 by @dependabot in https://github.com/terraform-linters/tflint/pull/1887 |
41 |
| -* build(deps): Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1886 |
42 |
| -* build(deps): Bump github.com/hashicorp/hcl/v2 from 2.19.0 to 2.19.1 by @dependabot in https://github.com/terraform-linters/tflint/pull/1890 |
43 |
| -* build(deps): Bump google.golang.org/grpc from 1.58.3 to 1.59.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1891 |
44 |
| -* build(deps): Bump github.com/google/uuid from 1.3.1 to 1.4.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1898 |
45 |
| -* build(deps): Bump github.com/fatih/color from 1.15.0 to 1.16.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1905 |
46 |
| -* build(deps): Bump golang.org/x/text from 0.13.0 to 0.14.0 by @dependabot in https://github.com/terraform-linters/tflint/pull/1906 |
47 |
| - |
48 |
| -## New Contributors |
49 |
| -* @ddelange made their first contribution in https://github.com/terraform-linters/tflint/pull/1870 |
50 |
| -* @papkos made their first contribution in https://github.com/terraform-linters/tflint/pull/1892 |
51 | 36 |
|
52 |
| -**Full Changelog**: https://github.com/terraform-linters/tflint/compare/v0.48.0...v0.49.0 |
| 37 | +**Full Changelog**: https://github.com/terraform-linters/tflint/compare/v0.49.0...v0.50.0 |
0 commit comments