Skip to content

Releases: hashicorp/vscode-terraform

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)

v2.23.0

09 Jun 17:01
d1bd506
Compare
Choose a tag to compare

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)

v2.22.0

19 Apr 18:58
38d4a1d
Compare
Choose a tag to compare

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:

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)

v2.21.0

21 Mar 17:41
1095fbc
Compare
Choose a tag to compare

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 of modification) (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 language server to v0.26.0 (#1002)
  • Bump prettier from 2.5.1 to 2.6.0 (#998)
  • 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)

v2.20.1

21 Mar 17:38
a366b37
Compare
Choose a tag to compare

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

01 Mar 14:22
93d7a82
Compare
Choose a tag to compare

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

20 Jan 14:55
ddddaf3
Compare
Choose a tag to compare

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

07 Jan 15:27
8a98ab0
Compare
Choose a tag to compare

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)

v2.17.0

02 Dec 15:39
Compare
Choose a tag to compare

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)

v2.16.0

14 Oct 16:30
943a57b
Compare
Choose a tag to compare

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)