Releases: hashicorp/vscode-terraform
v2.32.2024070910
ENHANCEMENTS:
- Add initial support for Terraform Stacks files and Deployment files. This provides block and attribute completion, hover, and diagnostics along with syntax validation for Terraform Stacks and Deployment files (terraform-ls#1745)
v2.31.0
ENHANCEMENTS:
- Allow custom HCP Terraform or Terraform Enterprise instance selection (#1678)
- Declare support for Terraform Stack files (#1773)
- Adds file icons for the Stacks language which will apply to all tfstack.hcl and tfdeploy.hcl files (#1774)
- Add support for the new
templatestring
functions in Terraform 1.9 (terraform-ls#357) - Introduce provisioners to
removed
blocks in Terraform 1.9 (terraform-schema#358)
v2.31.2024061114
ENHANCEMENTS:
- Re-architect the language server for improved performance and resource utilization (terraform-ls#1667)
This marks the completion of a major refactoring effort. The language server will now start up much faster and use less resources, especially on larger workspaces. We achieve this by doing less work during the initial walk of a workspace. Instead, we only parse modules with open files. Whenever a file of a module is opened, we schedule all the jobs needed to understand the contents of that directory (and the referenced modules).
We have tested this with workspaces and configurations of different sizes, but still expect some bugs. Please give this preview a try and let us know how it works for you.
v2.30.2
BUG FIXES:
- Fix data race in schema merging logic (hcl-lang#397)
INTERNAL:
- Ignore changie logs in vsix package (#1760)
- Remove old web testing infrastructure and update the test GHA (#1759)
- Organize code placement for better maintainability (#1758)
- Use esbuild with webpack to speed up development time (#1761)
- Cache npm packages in GHA (#1762)
- Move TF and HCP Terraform view testing to test folder (#1765)
v2.30.1
ENHANCEMENTS:
- Fix finding TFC credential file on windows (#1735)
- Rename TFC to HCP Terraform (#1741)
- Rename TFC to HCP Terraform in documentation (terraform-ls#1687)
- Rename TFC to HCP Terraform in hover documentation (terraform-schema#1687)
INTERNAL:
v2.30.0
ENHANCEMENTS:
- Support new provider-defined functions (terraform-ls#1636)
- Support new provider defined functions syntax (syntax#99)
- Remove
use_legacy_workflow
from S3 backend (terraform-schema#338) - Add
issensitive
function (terraform-schema#340) - Conclude
module_variable_optional_attrs
language experiment (terraform-schema#337)
BUG FIXES:
- Only merge provider-defined functions for Terraform >= 1.8 (terraform-ls#1672, terraform-schema#336)
- Fix panics on
nil
expressions (hcl-lang#376) - Fix panics on
nil
expressions in early decoder (terraform-schema#324)
INTERNAL:
- Webdriver.io End to End Testing (#1691)
- Add test fixture files for E2E test (#1721)
- Remove unused packages (#1731)
- Bump axios from 1.6.5 to 1.6.8 (#1712)
- Bump ts-loader from 9.5.0 to 9.5.1 (#1715)
- Bump chai from 4.3.10 to 4.4.1 (#1714)
- Bump msw from 1.3.2 to 1.3.3 (#1717)
- Bump ts-jest from 29.1.1 to 29.1.2 (#1720)
- Bump typescript from 5.2.2 to 5.4.4 (#1719, #1734)
- Bump @vscode/test-electron from 2.3.8 to 2.3.9 (#1713)
- Bump eslint from 8.53.0 to 8.57.0 (#1710)
- Bump mocha from 10.2.0 to 10.4.0 (#1728)
- Bump @vscode/vsce from 2.22.0 to 2.24.0 (#1727)
- Bump semver from 7.5.4 to 7.6.0 (#1726)
- Bump glob from 10.3.10 to 10.3.12 (#1725)
- Bump webpack from 5.89.0 to 5.91.0 (#1733)
- Bump @playwright/browser-chromium from 1.40.1 to 1.42.1 (#1718)
v2.29.5
v2.29.4
ENHANCEMENTS:
- Improve module providers and module calls welcome views (#1676)
- Support
for
-in
-if
expressions (hcl-lang#368)
BUG FIXES:
- Fix prefix completion in template interpolation (hcl-lang#371)
- Fix language server crash on prefix completion with leading space (hcl-lang#373)
- Fix language server crash on missing symbols in client capabilities (terraform-ls#1619)
INTERNAL:
v2.29.3
ENHANCEMENTS:
- Remove authentication provider registration to allow disabling the extension (#1670)
- Enable interpolated map keys and object attribute names (terraform-schema#316)
- Add support for complex index expressions (hcl-lang#365)
- Add support for parenthesis on RHS (hcl-lang#366)
- Add support for parenthesis on LHS (map keys & attribute names) (hcl-lang#367)
BUG FIXES:
INTERNAL:
- build(deps): Bump workflows to latest trusted versions (#1675)
v2.29.2
BREAKING CHANGES:
- Bump minimal engine version to
1.82.3
(#1660)
ENHANCEMENTS:
- Configure command enablement (#1643)
- Alert on
wsl.localhost
Path (#1522) - Enable
for_each
forimport
blocks (Terraform 1.7) (terraform-schema#315) - Add
removed
block (Terraform 1.7) (terraform-schema#313) - Deprecate
use_legacy_workflow
in S3 Backend (Terraform 1.7) (terraform-schema#314)
BUG FIXES:
- Fix test failures on main (#1659)
INTERNAL: