Releases: hashicorp/vscode-terraform
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_workflowfrom S3 backend (terraform-schema#338) - Add
issensitivefunction (terraform-schema#340) - Conclude
module_variable_optional_attrslanguage experiment (terraform-schema#337)
BUG FIXES:
- Only merge provider-defined functions for Terraform >= 1.8 (terraform-ls#1672, terraform-schema#336)
- Fix panics on
nilexpressions (hcl-lang#376) - Fix panics on
nilexpressions 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-ifexpressions (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.localhostPath (#1522) - Enable
for_eachforimportblocks (Terraform 1.7) (terraform-schema#315) - Add
removedblock (Terraform 1.7) (terraform-schema#313) - Deprecate
use_legacy_workflowin S3 Backend (Terraform 1.7) (terraform-schema#314)
BUG FIXES:
- Fix test failures on main (#1659)
INTERNAL:
v2.29.1
BREAKING CHANGES:
- Publishing extensions for the
win32-ia32target has been disabled, so we can no longer provide builds for Windows 32bit. (see microsoft/vscode-vsce#908 and microsoft/vscode#195559)
ENHANCEMENTS:
- Add new panel for Terraform Cloud structured plans (#1590)
- Add new panel for Terraform Cloud structured applies (#1647)
- Document TFC account log out (#1642)
- Add support for conditional expression (hcl-lang#326)
- Add support for template expressions (hcl-lang#322)
- Reflect new SSO endpoint override in S3 backend (terraform-schema#302)
- Reflect new proxy settings in S3 backend (terraform-schema#301)
- Reflect new
skip_s3_checksumattribute in S3 backend (terraform-schema#295)
BUG FIXES:
- Improve traversal completion for lists, tuples, and sets (hcl-lang#344)
- Update version resolution for empty constraints (terraform-schema#296)
INTERNAL:
- Update Node to v18 (#1625)
v2.29.0
ENHANCEMENTS:
- Login to Terraform Cloud using an Authentication Token
- View Terraform Cloud Workspaces and status detail inside VS Code
- View Terraform Cloud Runs and status detail inside VS Code
- Filter Terraform Cloud Workspaces by Project
- Switch Terraform Cloud Organizations to view different workspaces
- View Plan and Apply logs directly in the editor
BUG FIXES:
- Validate required attributes more selectively to relax
providervalidation (#1485) - Skip inferring variable type from default values (hcl-lang#338)
- Ensure partially unknown dependent body is handled (hcl-lang#339)
- Fix type-unaware target collection (hcl-lang#340)
- Allow variable references in
depends_on(terraform-schema#290) - Fix provider attribute to block conversion (terraform-schema#288)
- Skip inferring module inputs for default values (terraform-schema#289)
- Allow local references in
depends_on(terraform-schema#292)