Releases: hashicorp/vscode-terraform
v2.33.2024090609
ENHANCEMENTS:
- Bump hashicorp/syntax from 0.5.0 to 0.7.0 (#1820)
- Document Terraform Stacks support (#1829)
- Remove static snippets (#1830)
- Enable language status bar for Stack language (#1835)
- Add icon for .terraform-version file (#1836)
- Support provider defined functions in stacks configuration (#1804)
- Support description attribute for orchestration rule block (terraform-schema#393)
- Support locals in stack and deploy configs (terraform-schema#395)
- Support depends_on attribute in component blocks (terraform-schema#392)
- Document Terraform Stacks support (#1802)
- Support context references within orchestrate blocks in deployment configuration (#1813)
BUG FIXES:
- Fix type for provider references in component blocks (terraform-schema#391)
- Support sensitive attribute for stacks variables (terraform-schema#401)
- Allow any type as inputs to components per default (terraform-schema#400)
INTERNAL:
v2.32.3
v2.33.2024082314
ENHANCEMENTS:
- Enable component references (terraform-schema#386)
- Support references for identity tokens and their attributes (terraform-schema#388)
- Enable references for variables in deployment inputs (Deploy) (terraform-schema#389)
- Enable component references (terraform-schema#386)
- Enable ephemeral values for variable (terraform-schema#387)
- Enable output references (terraform-schema#384)
- Enable provider references (terraform-schema#385)
- Add Address to variable block schema for stacks to enable references (terraform-schema#383)
- Add deployments store block schema (terraform-schema#382)
- Add input block schema and deprecate variable block (terraform-schema#381)
- Validate Stack and Deployment files for unreferenced origins (terraform-ls#1797)
- Early decode deployment config to support references to store blocks (terraform-schema#390)
- Support a subset of functions in deployment configurations (terraform-ls#1799)
- Support description attribute for orchestration rule block (terraform-schema#393)
- Support locals in stack and deploy configs (terraform-schema#395)
- Support depends_on attribute in component blocks (terraform-schema#392)
BUG FIXES:
- Fix type for provider references in component blocks (terraform-schema#391)
v2.32.2
BUG FIXES:
- Ensure validation runs after decoding the whole module to avoid stale diagnostics (terraform-ls#1777)
v2.32.1
BUG FIXES:
- Fix validation error by checking for submodules when fetching schemas from the registry (terraform-ls#1772)
v2.32.0
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)
- Enable completion for all locally installed remote modules (terraform-ls#1760)
- 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).
INTERNAL:
- Introduce a workflow that checks for changelog entries (#1796)
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)