Releases: hashicorp/vscode-terraform
v2.34.2
v2.34.1
ENHANCEMENTS:
- Reflect lifecycle phases of ephemeral resources in HCP Terraform log messages (#1882)
- Stacks: parse terraform-sources.json to support remote component sources (terraform-ls#1836)
BUG FIXES:
- Fix HCP workspace link (#1889)
- Fix new issue link in README (#1890)
- Fix incorrect validation for heterogeneous list (terraform-ls#1884)
- Fix incorrect validation of references by correctly detecting tuple and object expressions created from for-expressions (terraform-ls#1890)
INTERNAL:
- Port UI tests to vscode-extension-tester and remove wdio (#1873)
- Add Heimdall metadata (#1883)
- Add build files to .vscodeignore (#1885)
- Broaden npm version to allow dependabot to run (#1888)
- Store screenshots for failing UI tests (#1906)
- Adapt CI config for Ubuntu 24.04.1 (#1907)
- Configure dependabot to update package.json and group dependency updates (#1908)
v2.34.2024121211
NOTES
This brings the prerelease channel to the same version as stable
v2.34.0
ENHANCEMENTS:
- Add
category
to Stacks Deployment store blocks (terraform-ls#1852) - Support terraform.applying built-in reference starting at TF 1.10 (terraform-ls#1854)
- Raise HCL Diagnostics during early validation (terraform-ls#1850)
- backend/s3: Reflect use_lockfile (v1.10) (terraform-schema#419)
- backend/s3: Remove deprecated assume role attributes (v1.10) (terraform-schema#420)
BUG FIXES:
- Improve performance by avoiding copying constraints for attribute schemas (hcl-lang#426)
- Use a provider's stable version when bundling schemas (terraform-ls#1860)
- Add
removed
block to Stack tests (#1861)
INTERNAL:
v2.33.0
NOTES:
This release adds support for Terraform Stack and Deployment files. This provides intelligent completion for Terraform Stacks blocks and attributes in Stack and Deployment files, including suggesting only valid completions for variables in component and deployment blocks. Hover documentation for all Stack and Deploy blocks, with helpful type and usage information. Early Validation has been extended to produce diagnostics along with syntax validation for Stack and Deployment files. Reference support allows code navigation in and between Stack and Deploy files. This also provides formatting support for both Stack and Deploy files.
This release also adds support for Terraform Test and Mock files. This provides syntax highlighting, completion for blocks and attributes, hover documentation and formatting support.
BREAKING CHANGES:
- Remove static snippets (#1830)
ENHANCEMENTS:
- Add initial support for Terraform Stacks files and Deployment files (#1745)
- Bump hashicorp/syntax from 0.5.0 to 0.7.0 (#1820)
- Document Terraform Stacks support (#1829)
- Enable language status bar for Stack language (#1835)
- Add icon for .terraform-version file (#1836)
- Parse and load Stack and Deploy metadata (terraform-ls#1761)
- Load Stack component sources from metadata (terraform-ls#1768)
- Enable early validation for Terraform Stack files (terraform-ls#1776)
- Merge stack configuration schema with dynamic schema based on used components source and providers (terraform-ls#1770)
- Merge deployment configuration schema with dynamic schema based on available variables (terraform-ls#1780)
- Support Terraform functions in stack files (terraform-ls#1781)
- Add DecodeReferenceOrigins and DecodeReferenceTargets jobs (terraform-ls#1786)
- 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)
- 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)
- Support context references within orchestrate blocks in deployment configuration (#1813)
- Initial support for Terraform Test and Mock files (#1812)
- Enable language status bar for Test Language (#1847)
- Static schema support for Terraform Test and Mock files (terraform-ls#1782)
BUG FIXES:
- Update HCP Terraform readme with corrected gifs (#1839)
- Fixes parsing expressions containing an open curly brace as blocks (syntax#149)
- Fix panic on blocks with no labels during validation of label name (terraform-ls#1791)
- 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:
- Add development launch target for extensionHost (#1805)
- Replace webpack with esbuild (#1807)
- Load embedded provider schemas for providers found in stacks files into state (terraform-ls#1763)
- Bump axios to 1.7.4 (#1818)
- Bump braces to 3.0.3 (#1819)
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)