Releases: hashicorp/vscode-terraform
v2.27.0
ENHANCEMENTS:
- Introduce v1.5
check
block (terraform-schema#229) - Introduce v1.5
import
block (terraform-schema#228) - Re-generate function signatures for v1.5 (terraform-schema#213)
- Add v1.4
local-exec
provisionerquiet
attribute (terraform-schema#218) - Reflect 1.4 changes in
gcs
backend (terraform-schema#227) - Reflect 1.4 changes in
http
backend (terraform-schema#226) - Reflect 1.3 & 1.4 changes in
cos
backend (terraform-schema#217) - Reflect 1.2 & 1.3 changes in
azurerm
backend (terraform-schema#225) - Reflect Terraform 1.4 and 1.5 language changes in the highlighting grammar (syntax#78)
INTERNAL:
- Add copyright headers automagically instead of failing a check on PRs (#1456)
- Bump @vscode/test-electron from 2.3.0 to 2.3.3 (#1429, #1479)
- Bump actions/checkout from 3.5.2 to 3.5.3 (#1480)
- Bump dessant/lock-threads from 4.0.0 to 4.0.1 (#1485)
- Bump eslint from 8.40.0 to 8.43.0 (#1439, #1465, #1497)
- Bump glob from 10.2.3 to 10.3.1 (#1433, #1437, #1438, #1471, #1512, #1519)
- Bump ts-jest from 29.1.0 to 29.1.1 (#1527)
- Bump ts-loader from 9.4.2 to 9.4.4 (#1442, #1522)
- Bump typescript from 5.0.4 to 5.1.6 (#1462, #1523)
- Bump webpack from 5.82.1 to 5.88.1 (#1436, #1446, #1450, #1461, #1469, #1474, #1492, #1513, #1521)
- Bump webpack-cli from 5.1.1 to 5.1.4 (#1464, #1473)
- deps: bump semver to 7.5.3 (#1515)
- Switch to GitHub issue form templates (#1463)
v2.26.1
v2.26.0
BUG FIXES:
- When completing
LiteralValue
do not ignoreDescription
&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:
- Improve editor performance in cases where Terraform module information is unavailable due to private registries, submodules, no network, or other similiar situations (terraform-ls#1258)
- Add completion, hover, semantic highlighting and go-to-* support for nested expressions within objects, maps, lists, sets and tuples (terraform-ls#1237, hcl-lang#232, hcl-lang#203, hcl-lang#199, hcl-lang#186, hcl-lang#185, hcl-lang#184)
- Add completion, hover and semantic highlighting for nested types in type declarations within
variable
type
(hcl-lang#183) - Add support for function signature completion, hover and more (terraform-ls#1077)
- Recognise new semantic token types for function names (#1371, terraform-ls#1233)
INTERNAL:
v2.25.4
BUG FIXES:
- Bundle static builds of Linux binaries (again) (terraform-ls#1193)
v2.25.3
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
v2.25.1
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 withcount
for completion, hover documentation and semantic tokens highlighting (terraform-ls#860, hcl-lang#160) -
Support
each.*
references in blocks withfor_each
for completion, hover documentation and semantic tokens highlighting (terraform-ls#861, hcl-lang#162) -
Support
self.*
references inprovisioner
,connection
andpostcondition
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.*
inprovisioner
,connection
andpostcondition
blocks (terraform-ls#1096) -
Remove deprecated backends in Terraform 1.3.0 (terraform-schema#159)
v2.25.0
v2.24.3
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
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