Skip to content

Releases: hashicorp/vscode-terraform

v2.26.0

27 Apr 14:37
v2.26.0
3bfa2a6
Compare
Choose a tag to compare

BUG FIXES:

  • When completing LiteralValue do not ignore Description & IsDeprecated fields (hcl-lang#253)
  • Provide completion for Tuple attribute types and values (hcl-lang#255)
  • Display Tuple hover data on invalid elements (hcl-lang#254)
  • Display fully inferred type of List, Set, Tuple, Map and Object complex types (hcl-lang#259)
  • Collect targets w/ interpolation for Any correctly (hcl-lang#257)
  • Fix remote backend usage in (terraform-ls#1218)
  • Display completion label details even if empty by updating to gopls v0.10.0 tsprotocol.go to (#1256)

ENHANCEMENTS:

INTERNAL:

  • Add copywrite GHA (#1347)
  • Add TFC usage detection (#1208)

v2.25.4

22 Feb 15:27
v2.25.4
5b19b3a
Compare
Choose a tag to compare

BUG FIXES:

v2.25.3

22 Feb 09:45
v2.25.3
e19c564
Compare
Choose a tag to compare

BUG FIXES:

  • Ignore inaccessible files (such as emacs backup files) (terraform-ls#1172)
  • Fix crash when parsing JSON files (introduced in 2.25.0) (hcl-lang#202)
  • Fix spelling of preview in readme (#1329)

ENHANCEMENTS:

  • Show detected Terraform Version in status bar (#1325)
  • Improve error handling on initialization (#1327)
  • Parse optional() object attribute default values correctly, as introduced in Terraform v1.3 (terraform-schema#184)

v2.25.2

15 Dec 18:21
v2.25.2
77ed469
Compare
Choose a tag to compare

BUG FIXES:

  • Improve attribute name matching (syntax#49)

v2.25.1

01 Dec 14:28
4ccb921
Compare
Choose a tag to compare

ENHANCEMENTS:

  • All past versions of the extension were backfilled into OpenVSX Registry and future versions will become available automatically (#1064)

  • Support count.index references in blocks with count for completion, hover documentation and semantic tokens highlighting (terraform-ls#860, hcl-lang#160)

  • Support each.* references in blocks with for_each for completion, hover documentation and semantic tokens highlighting (terraform-ls#861, hcl-lang#162)

  • Support self.* references in provisioner, connection and postcondition blocks for completion, hover documentation and semantic tokens highlighting (terraform-ls#859, hcl-lang#163)

  • dynamic block support, including label and content completion (terraform-ls#530, hcl-lang#154)

  • Go-to-definition/go-to-references for count.index/count (terraform-ls#1093)

  • Go-to-definition/go-to-references for each.*/for_each (terraform-ls#1095)

  • Go-to-definition/go-to-references for self.* in provisioner, connection and postcondition blocks (terraform-ls#1096)

  • Remove deprecated backends in Terraform 1.3.0 (terraform-schema#159)

v2.25.0

14 Nov 16:45
0d7cb8b
Compare
Choose a tag to compare

ENHANCEMENTS:

  • Publish Terraform Web Extension by #1210

INTERNAL:

  • Use npm ci for installing dependencies inside CI #1257
  • Enable publishing web extensions #1262
  • [COMPLIANCE] Update MPL 2.0 LICENSE #1247

v2.24.3

13 Oct 13:29
710714a
Compare
Choose a tag to compare

ENHANCEMENTS:

  • Significantly reduce the memory footprint of the language server by 85% to 98% for most users (terraform-ls#1071)

BUG FIXES:

  • Fix enable terraform-ls after disabling #1238
  • fix: Enable IntelliSense for resources & data sources whose name match the provider (e.g. data) (terraform-ls#1072)
  • fix: avoid infinite recursion (surfaced as crash with "goroutine stack exceeds 1000000000-byte limit" message) (terraform-ls#1084)
  • fix: race condition in terraform-schema (surfaced as crash with "fatal error: concurrent map read and map write" message) (terraform-ls#1086)

INTERNAL:

  • Reduce duplicate error telemetry #1230

v2.24.2

07 Sep 15:14
c009ef1
Compare
Choose a tag to compare

ENHANCEMENTS

  • Ask user to use Remote WSL Extension when using WSL UNC Paths #1219

BUG FIXES

  • fix: Improve IntelliSense accuracy by tracking provider schema versions (bug introduced in 2.24.0) (terraform-ls#1060)
  • Don't query the Terraform Registry for module sources starting with . in completion (terraform-ls#1062)
  • fix race condition (panic) in schema merging (terraform-schema#137)

INTERNAL

  • Improve error telemetry #1215

v2.24.1

24 Aug 16:30
16d73ca
Compare
Choose a tag to compare

ENHANCEMENTS:

BUG FIXES:

v2.24.0

23 Aug 14:45
cc22441
Compare
Choose a tag to compare

BREAKING CHANGES:

ENHANCEMENTS:

  • Use dark extension icon for preview extension (#1143)
  • Introduce support for extension connecting to LSP over TCP, with port configurable via terraform.languageServer.tcp.port (#755)
  • New Terraform View side bar (#1171)
  • Only show language server related commands when they're relevant (#1178)
  • Replace internal watcher (used for watching changes in installed plugins and modules) with LSP dynamic capability registration & workspace/didChangeWatchedFiles. This should lead to improved performance in most cases. (terraform-ls#953)
  • Provide completion, hover and docs links for uninitialized Registry modules (terraform-ls#924)
  • Provide basic IntelliSense (except for diagnostics) for hidden *.tf files (terraform-ls#971)
  • Introduce v1.1 terraform cloud block (terraform-schema#117)
  • Introduce v1.1 moved block (terraform-schema#121)
  • Introduce v1.2 lifecycle conditions (terraform-schema#115)
  • Introduce v1.2 lifecycle replace_triggered_by (terraform-schema#123)
  • Use module declarations from parsed configuration as source of truth for module.calls (terraform-ls#987)
  • Index uninitialized modules (terraform-ls#997)
  • Recognize inputs and outputs of uninitialized local modules (terraform-ls#598)
  • Enable go to module output declaration from reference (terraform-ls#1007)
  • New option indexing.ignorePaths was introduced (terraform-ls#1003, terraform-ls#1010)
  • Introduce module.terraform custom LSP command to expose Terraform requirements & version (terraform-ls#1016)
  • Avoid obtaining schema via Terraform CLI if the same version is already cached (based on plugin lock file) (terraform-ls#1014)
  • Complete module source and version attributes for local and registry modules (#1024)

BUG FIXES:

INTERNAL:

  • Refactor Terraform Execution API #1185)
  • Bump @hashicorp/js-releases from 1.5.1 to 1.6.0 (#1144)
  • indexer: refactor & improve/cleanup error handling (terraform-ls#988)
  • indexer/walker: Avoid running jobs where not needed (terraform-ls#1006)
  • job: introduce explicit priority for jobs (terraform-ls#977)