2.27.1 (2023-08-02)
ENHANCEMENTS:
- Language Status progress indicator (#1547)
- Explicitly set diagnosticCollectionName to help avoid conflicts with other extensions generating diagnostics (#1548)
- Don't wait for
GetModuleDataFromRegistry
job in terraform-ls to improve performance (terraform-ls#1332)
INTERNAL:
- Bump eslint from 8.43.0 to 8.45.0 (#1529, #1537
- Bump jest from 29.5.0 to 29.6.0 (#1528)
- Bump actions/setup-node from 3.6.0 to 3.7.0 (#1530)
- Bump jest from 29.6.0 to 29.6.1 (#1531)
- Correct invalid json in README.md (#1477)
- Bump glob from 10.3.1 to 10.3.3 (#1533)
- Streamline extension publishing (#1532)
- Bump webpack from 5.88.1 to 5.88.2 (#1538)
2.27.0 (2023-07-04)
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)
2.26.1 (2023-05-11)
BUG FIXES:
- Fix crash on prefix completion (hcl-lang#275)
INTERNAL:
- Update vscode-languageclient to
8.1.0
(#1408) - Bump VS Code from
1.67.2
to1.75.1
(#1409) - Onboard to pre-release extensions (#1412)
- Remove default activation events (#1419)
- Remove legacy settings (#1414)
2.26.0 (2023-04-27)
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:
2.25.4 (2023-02-22)
BUG FIXES:
- Bundle static builds of Linux binaries (again) (terraform-ls#1193)
2.25.3 (2023-02-22)
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)
2.25.2 (2022-12-15)
BUG FIXES:
- Improve attribute name matching (syntax#49)
2.25.1 (2022-12-01)
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)
2.25.0 (2022-11-14)
ENHANCEMENTS:
- Publish Terrafor 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
2.24.3 (2022-10-13)
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
2.24.2 (2022-09-07)
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
2.24.1 (2022-08-24)
ENHANCEMENTS:
- Add link to post explaining vim plugin installation (terraform-ls#1044)
BUG FIXES:
- Fix panic on obtaining provider schemas (terraform-ls#1048)
- Use correct ldflag (versionPrerelease) when compiling LS (terraform-ls#1043)
2.24.0 (2022-08-23)
BREAKING CHANGES:
- Raise minimum VS Code version from 1.61.1 to 1.65.2 (#1176)
- Add migration wizard to aid migrating extension settings to follow VS Code setting naming conventions and align better with the naming convention of language server settings (#1156, #1193)
- Setting
terraform.languageServer
block has been extracted out to individual settings (#1156, #1193) - Setting
terraform.languageServer.external
has been renamed toterraform.languageServer.enable
(#1156, #1193) - Setting
terraform.languageServer.pathToBinary
has been renamed toterraform.languageServer.path
(#1156, #1193) - Setting
terraform-ls.terraformExecPath
has been renamed toterraform.languageServer.terraform.path
(#1156, #1193) - Setting
terraform-ls.terraformExecTimeout
has been renamed toterraform.languageServer.terraform.timeout
(#1156, #1193) - Setting
terraform-ls.terraformExecLogFilePath
has been renamed toterraform.languageServer.terraform.logFilePath
(#1156, #1193) - Setting
terraform-ls.rootModules
has been deprecated and is ignored. Users should instead leverage the VS Code workspace functionality and add the folder to a workspace to be indexed (#1003) - Setting
terraform-ls.excludeModulePaths
has been renamed toterraform.languageServer.indexing.ignorePaths
(#1003) - Setting
terraform-ls.ignoreDirectoryNames
has been renamed toterraform.languageServer.indexing.ignoreDirectoryNames
(#1156, #1193) - Setting
terraform.experimentalFeatures
setting block has been extracted out to individual settings (#1156, #1193) - Set proper scope for machine based extension settings (#1164)
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 formodule.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:
- Ensure extension is installed in remote contexts automatically (#1163)
- Return partially parsed metadata from
module.providers
(terraform-ls#951) - Avoid ignoring hidden
*.tfvars
files (terraform-ls#968) - Avoid crash on invalid URIs (terraform-ls#969)
- Avoid crash on invalid provider name (terraform-ls#1030)
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)
2.23.0 (2022-06-09)
NOTES:
- Remove
terraform.languageServer.maxNumberOfProblems
. This setting is not used by the extension as of v2.0.0. (#1062)
ENHANCEMENTS:
- Link to documentation from module source for Registry modules (#673 / terraform-ls#874)
- Improve performance by reducing amount of notifications sent for any single module changes (terraform-ls#931)
- Automatically refresh Providers view when providers change in open document (#1084) / terraform-ls#902)
- Automatically refresh Module Calls view when module calls change in open document (#1088 / terraform-ls#909)
- Add Module Providers view refresh button (#1065)
- Use theme-universal icon with solid background (#1119)
- Watch
**/*.tf
&**/*.tfvars
by default such that changes outside the editor (e.g. when changing git branch) can be reflected (#1095 / terraform-ls#790)
BUG FIXES:
- Variables with no space between them break syntax highlighting (syntax#34)
- Fix parsing block with dash in name (syntax#42)
- Fix highlighting of
.0
,.*
attribute access and[*]
brackets (syntax#44)
INTERNAL:
- Organize Static Features (#1073)
- Move utility functions to dedicated space (#1074)
- Remove command prefix (#1075)
- Optimize main entry point execution path (#1079)
- Extract LanguageClient from ClientHandler (#1082)
2.22.0 (2022-04-19)
BREAKING CHANGES:
- Remove terraform.languageServer.requiredVersion (#1021)
- Remove terraform.languageServer.trace.server (#1048)
NOTES:
- Deprecate maxNumberOfProblems (#1010)
- Deprecate terraform-ls.rootmodule and terraform-ls.excludeRootModules (#1049)
ENHANCEMENTS:
- Support custom semantic tokens & modifiers (#958) / terraform-ls#833)
- Enable 'go to module source' for local modules (terraform-ls#849)
- Enable opening a single Terraform file (terraform-ls#843)/ (#1031)
- Organize extension settings into Sections (#1024)
- Prevent preview from activating when stable is enabled (#1032)
BUG FIXES:
- Add missing descriptions to semantic token types & modifiers (#1039)
- Avoid hanging when workspace contains >50 folders (terraform-ls#839)
- Make loading of parent directory after lower level directories work (terraform-ls#851)
- Fix corrupted diffs in formatting responses (terraform-ls#876)
- Fix Module View for Registry modules installed by Terraform v1.1+ (terraform-ls#872)
INTERNAL:
- Format semantic token settings (#1019)
- Disable naming convention warning for Code Action identifier (#1036)
- Add CODEOWNERS file (#1038)
- Fix LANGUAGE_SERVER_VERSION test in preview script (#1034)
- Github Release Notes Generator file (#1051)
- Bump terraform-ls from 0.26.0 to 0.27.0 (#1060)
2.21.0 (2022-03-21)
ENHANCEMENTS:
- Introduce go-to-variable from
tfvars
files (terraform-ls#727) - Automatically refresh semantic tokens for more reliable highlighting (terraform-ls#630)
- Enhance semantic highlighting of block labels (terraform-ls#802)
- Enable completion, hover, go-to-definition/reference etc. for Terraform Registry modules (terraform-ls#808)
- Report dependent semantic highlighting modifiers as
defaultLibrary
(instead ofmodification
) (terraform-ls#817) - Semantically highlight type declarations in variable
type
(terraform-ls#827) - Decouple highlighting Terraform grammar to
hashicorp/syntax
v0.1.0
&v0.2.0
(#1004)
BUG FIXES:
- Address race conditions typically surfaced as "out of range" errors, lack of completion/hover/etc. data or data associated with wrong position within the document (terraform-ls#782)
- Fix broken validate on save (terraform-ls#799)
- Fix encoding of unknown semantic token types (terraform-ls#815)
- Fix missing references for some blocks in a separate config file (terraform-ls#829)
INTERNAL:
- Bump terraform-ls to
v0.26.0
(#1002) - Bump @hashicorp/js-releases from 1.4.0 to 1.5.1 (#1001)
- Bump @vscode/extension-telemetry from 0.4.9 to 0.4.10 (#1003)
2.20.1 (2022-03-17)
BUG FIXES:
- Advertise proper execution location #989
INTERNAL:
- deps: Bump jest from 27.4.7 to 27.5.1 #951
- deps: Bump @types/node from 16.11.22 to 16.11.26 #948
- deps: Bump eslint-config-prettier from 8.3.0 to 8.5.0 #957
- deps: Bump esbuild from 0.14.17 to 0.14.25 #967
- deps: Bump @types/jest from 27.4.0 to 27.4.1 #970
- deps: Bump mocha from 9.2.0 to 9.2.1 #969
- deps: Bump @typescript-eslint/parser from 5.10.2 to 5.13.0 #971
- deps: Bump @vscode/test-electron from 2.1.1 to 2.1.2 #972
- deps: Bump vsce from 2.6.6 to 2.6.7 #976
- deps: Bump @types/vscode from 1.63.2 to 1.65.0 #959
- deps: Bump @typescript-eslint/eslint-plugin from 5.10.2 to 5.13.0 #977
- deps: Bump ts-node from 10.4.0 to 10.7.0 #981
- deps: Bump eslint from 8.8.0 to 8.10.0 #974
- deps: Bump @vscode/test-electron from 2.1.2 to 2.1.3 #984
- deps: Bump typescript from 4.5.5 to 4.6.2 #973
- deps: Bump @typescript-eslint/eslint-plugin from 5.13.0 to 5.14.0 #986
- deps: Bump @typescript-eslint/parser from 5.13.0 to 5.14.0 #985
- deps: Bump eslint from 8.10.0 to 8.11.0 #991
- deps: Bump vsce from 2.6.7 to 2.7.0 #992
- deps: Bump mocha from 9.2.1 to 9.2.2 #993
- deps: Bump esbuild from 0.14.25 to 0.14.27 #995
- deps: Bump @typescript-eslint/eslint-plugin from 5.14.0 to 5.15.0 #994
- deps: Bump @typescript-eslint/parser from 5.14.0 to 5.15.0 #996
2.20.0 (2022-03-01)
ENHANCEMENTS:
- Publish Platform Specific Extension #905
- Update list/map syntax highlighting #918
- Improve comment detection #935
- Highlight block label as "enumMember" & highlight unquoted labels #943
- Add new scope for block type and name #934
- Resolve issue with tfvars comment toggling #937
- Improve Extension Documentation #942
BUG FIXES:
- Fix Nested Map Highlighting #925
- Fix npm run syntax tests #928
- Move TextMate scope.terraform to source.terraform #921
- Fix highlighting for attribute access with a dash #933
- Fix highlighting for nested expression syntax #940
- Update description for log file argument #945
INTERNAL:
- deps: Update vsce, mocha, and node-fetch #908
- deps: Update vsce to 2.6.6 #916
- Fix preview publish trigger #910
- Manual Preview release workflow dispatch #911
- Terraform TextMate Test Infrastructure #912
- Add Terraform language tmgrammar snapshots #914
- Run syntax tests on all snapshot files #917
- Run syntax tests when grammar changes #922
- deps: Update to @vscode/extension-telemetry #939
- Fix ignore markdown files #946
2.19.0 (2022-01-20)
NOTES:
- Deprecate terraform.languageServer.requiredVersion #903
ENHANCEMENTS:
- Update telemetry configuration documentation #894
INTERNAL:
- deps: Update to Node 16 and VS Code 1.61 #904
- deps: Bump @vscode/test-electron from 2.0.1 to 2.0.3 #899
- deps: Bump jest from 27.4.6 to 27.4.7 #892
- deps: Update actions/setup-node to v2 #897
- deps: Update eslint and minimal ruleset #896
- Test VS Code Version Matrix #886
- Ignore jest config when packaging #895
2.18.0 (2022-01-07)
ENHANCEMENTS:
- Improve language server installation (#868)
- Make reference count code lens opt-in (disabled by default) (#893)
BUG FIXES:
- Fix Terraform file detection (#870)
INTERNAL:
- deps: bump vscode-extension-telemetry to 0.4.4 (#884)
2.17.0 (2021-12-02)
ENHANCEMENTS:
- Add new setting which toggles displaying reference counts above top level blocks and attributes (#837)
- Add support for language server side config option
ignoreDirectoryNames
(#833) - Add module providers view to Explorer pane (#850)
- Process telemetry from the language server (#823)
- Add a new command for generating bug reports (#851)
BUG FIXES:
- Fix Terraform status bar not being displayed (#857)
INTERNAL:
- Refactor extension to only use one LanguageClient per workspace (#845)
- Stop exposing a public extension API (#858)
- deps: bump vscode-extension-telemetry to 0.4.3 (#846)
2.16.0 (2021-10-14)
ENHANCEMENTS:
- Add module calls view to Explorer pane (#746)
- Add experimental
prefillRequiredFields
feature (#799) - Install LS into dedicated persistent global storage (to avoid the need for LS reinstallation upon extension upgrade) (#811)
INTERNAL:
- deps: bump vscode-extension-telemetry to 0.4.2 (#790)
2.15.0 (2021-09-22)
ENHANCEMENTS:
- Add support for language server side config option
terraformExecPath
(#741) - Add support for language server side config option
terraformExecTimeout
(#741) - Add support for language server side config option
terraformLogFilePath
(#741)
BUG FIXES:
- fix: avoid tracking client which is not ready yet (#778)
- fix: avoid considering output panes as editors (#771)
2.14.0 (2021-07-22)
FEATURES:
- Register command to show references (#686)
ENHANCEMENTS:
- Install native LS build for Apple Silicon (darwin/arm64) (#563)
- Add semver based version pin for Language Server via
requiredVersion
config option (#656) - Improve error handling (#691)
BUG FIXES:
- fix: launch LS even if path contains escapable characters (#694)
2.13.2 (2021-07-19)
BUG FIXES:
- Fix language server update logic (#690)
2.13.1 (2021-07-16)
BUG FIXES:
- Fix DocumentSelector for multi-folder workspace (#688)
2.13.0 (2021-06-23)
FEATURES:
- Add support for Terraform variable files (
tfvars
) (#661)
2.12.1 (2021-06-11)
BUG FIXES:
- Avoid duplicate language clients for non-multi-folder setup (#663)
2.12.0 (2021-06-08)
BUG FIXES:
- Avoid launching more servers if server supports multiple folders (#654)
INTERNAL:
- Rename
rootModules
command tomodule.callers
(#633)
2.11.0 (2021-05-18)
BUG FIXES:
- Reorder functions to prioritize abspath highlight (#630)
- Only trigger language server auto update once (#623)
2.10.2 (2021-05-03)
BUG FIXES:
- Correct delay for language server version check (#620)
2.10.1 (2021-04-28)
BUG FIXES:
- Update js-releases dependency to resolve security issue HCSEC-2021-12 (#612)
2.10.0 (2021-04-13)
ENHANCEMENTS:
- Update syntax highlighting for Terraform 0.15 (#604)
2.9.1 (2021-03-24)
BUG FIXES:
- Fix contents of vsix package
2.9.0 (2021-03-24)
ENHANCEMENTS:
- Check for language server updates every 24 hours (#595)
BUG FIXES:
- Normalize language server installer file paths (#589)
- Disable statusbar feature if a custom language server is in use (#593)
2.8.3 (2021-03-16)
ENHANCEMENTS:
- Update client telemetry (#587)
2.8.2 (2021-03-11)
ENHANCEMENTS:
- Change telemetry value for the language server version to make it easier to filter (#582)
BUG FIXES:
- Match correct language server binary name per platform – fixes language server upgrade problems on Windows (#583)
- Rescue version check errors on language server install (#584)
2.8.1 (2021-03-10)
BUG FIXES:
- Improve error message for failed language server install (#580)
- Add telemetry for tracking language server installed and upgrade versions (#579)
2.8.0 (2021-03-09)
ENHANCEMENTS:
- Add stopClient and execWorkspaceCommand telemetry events (#577)
BUG FIXES:
- Cancel language server install when upgrade message is closed (#570)
2.7.0 (2021-02-22)
ENHANCEMENTS:
2.6.0 (2021-02-09)
FEATURES:
- Execute terraform plan and apply using the VSCode terminal (#551)
2.5.0 (2021-01-14)
FEATURES:
- Add setting for experimental features to enable validateOnSave (#536)
- Add terraform validate command (#540)
2.4.0 (2021-01-07)
FEATURES:
- Use amd64 binary to support Apple Silicon Macs (#527)
- Add command and statusbar interface for running terraform init (#495)
ENHANCEMENTS:
2.3.0 (2020-11-12)
NOTES:
- Set up integration tests in GitHub actions (#483)
BUG FIXES:
- Fix 32bit downloads of language server (#483)
- Prune nested workspace folders to prevent running multiple language servers for the same directory (#499)
- Prefix workspace command names to prevent multi-instance name collisions (#514)
2.2.3 (2020-09-03)
BUG FIXES:
- Update object syntax highlighting to fix unmatched cases (#485)
2.2.2 (2020-08-25)
BUG FIXES:
- Fix additional object key matching issues (#478)
2.2.1 (2020-08-24)
BUG FIXES:
- Fix object key syntax highlighting (#475)
2.2.0 (2020-08-20)
ENHANCEMENTS:
- Perform PGP verification of zip/shasums (#450)
- Upgrade LS client library to major version 6 (#454)
- Add multi-folder workspace support (#448)
- Ensure downloaded zips are deleted (#464)
- Add configuration to exclude root modules (#446)
BUG FIXES:
- Refactor and fix install bugs (#444)
- Fix block syntax labels (#458)
- Fix parenthesis syntax error (#459)
- Fix syntax highlighting for object expressions (#462)
2.1.1 (2020-07-15)
BUG FIXES:
- Fix race in shasum verification (#438)
2.1.0 (2020-07-14)
ENHANCEMENTS:
- Verify shasum of language server binary on install (#414)
- Add link to language server changelog on completed install (#424)
- Add syntax for object and tuple structural types (#428)
- Add setting for workspace root module configuration (#423)
2.0.2 (2020-06-23)
BUG FIXES:
- Hide language server output window to prevent stealing focus (#408)
2.0.1 (2020-06-10)
BUG FIXES:
Fix for Marketplace listing issue
2.0.0 (2020-06-10)
The Terraform VSCode extension has a new home at HashiCorp! We're integrating with a new language server designed to create a stable integration with Terraform through public APIs. When you upgrade to v2.0.0, the new language server will be installed by default, and checking for updates automatically.
Two commands have been added to manage the language server manually, which you can access via the Command Palette: "Terraform: Enable Language Server" and "Terraform: Disable Language Server".
If you want to use a custom-built language server, it can be enabled with the Terraform extension setting "terraform.languageServer.pathToBinary". Include the full path and binary name.
In this version, we've updated the syntax highlighting to work under Terraform 0.12. Errors that were seen in trying to read 0.12 files have also been eliminated. Highlighting and other core features will be partially compatible under 0.11 as well but continuing development will only focus on 0.12 and future versions. If you work in 0.11, you should pin your extension to an earlier version.
Other updates:
- Full-document formatting is provided through the language server and can be configured through user or workspace settings
- Added shortcuts (snippets) for variable and for_each syntax --
fore
,vare
,varm
- For contributors, the TypeScript testing and linting frameworks have been brought current with the recommended packages
- Logos now match the current brand guidelines (pretty snazzy!)
- Auto-completion, hover, and definition features are now managed by the language server, so see their changelog for the most recent updates
- External commands such as
terraform validate
andtflint
are removed from the extension, but we plan to add hooks for these and/or additional integrations via the language server. - The outline view and model overview have been removed for now in order to focus on core features
For information on prior major and minor releases, see their changelogs: