Skip to content

Releases: hashicorp/vscode-terraform

v2.34.0

15 Nov 23:48
b53c4f4
Compare
Choose a tag to compare

ENHANCEMENTS:

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:

  • Ensure date ordering for changie entries (#1860)
  • Upgrade eslint to v9 (#1863)
  • Enable integration tests for Stacks feature (#1864)
  • Bump nodejs from 18 to 20 (#1867)
  • Remove webpack extension recommendation (#1880)

v2.33.0

15 Oct 14:00
Compare
Choose a tag to compare

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:

BUG FIXES:

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

06 Sep 15:09
Compare
Choose a tag to compare
v2.33.2024090609 Pre-release
Pre-release

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:

INTERNAL:

  • Bump axios to 1.7.4 (#1818)
  • Bump braces to 3.0.3 (#1819)

v2.32.3

06 Sep 18:26
Compare
Choose a tag to compare

ENHANCEMENTS:

  • Bump hashicorp/syntax from 0.5.0 to 0.7.0 (#1820)
  • Support syntax highlighting for .tftest.hcl and .tfmock.hcl files (#1831)
  • Bump terraform-ls from 0.34.2 to 0.34.3 (#1833)

INTERNAL:

  • Bump axios to 1.7.4 (#1818)
  • Bump braces to 3.0.3 (#1819)

v2.33.2024082314

23 Aug 16:53
Compare
Choose a tag to compare
v2.33.2024082314 Pre-release
Pre-release

ENHANCEMENTS:

BUG FIXES:

v2.32.2

31 Jul 09:28
Compare
Choose a tag to compare

BUG FIXES:

  • Ensure validation runs after decoding the whole module to avoid stale diagnostics (terraform-ls#1777)

v2.32.1

22 Jul 13:13
v2.32.1
d17df0e
Compare
Choose a tag to compare

BUG FIXES:

  • Fix validation error by checking for submodules when fetching schemas from the registry (terraform-ls#1772)

v2.32.0

15 Jul 16:12
v2.32.0
Compare
Choose a tag to compare

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

09 Jul 16:02
Compare
Choose a tag to compare
v2.32.2024070910 Pre-release
Pre-release

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

27 Jun 19:27
ec22235
Compare
Choose a tag to compare

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)