Releases: hashicorp/vscode-terraform
Releases · hashicorp/vscode-terraform
v2.24.0
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)
v2.23.0
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:
v2.22.0
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:
v2.21.0
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:
v2.20.1
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
v2.20.0
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
v2.19.0
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
v2.18.0
v2.17.0
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:
v2.16.0
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)