Skip to content

Latest commit

 

History

History
1287 lines (859 loc) · 86.4 KB

CHANGELOG.md

File metadata and controls

1287 lines (859 loc) · 86.4 KB

Changelog

2.34.2 (2024-12-19)

BUG FIXES:

  • Fix race when parsing locally installed module sources leading to empty completions (#1903)

INTERNAL:

  • Enable code coverage reporting (#1901)
  • Fix flaky ui tests by increasing sleep time (#1925)

2.34.2024121211 (2024-12-12)

NOTES

This brings the prerelease channel to the same version as stable

2.34.1 (2024-12-12)

ENHANCEMENTS:

  • Reflect lifecycle phases of ephemeral resources in HCP Terraform log messages (#1882)
  • Stacks: parse terraform-sources.json to support remote component sources (terraform-ls#1836)

BUG FIXES:

  • Fix HCP workspace link (#1889)
  • Fix new issue link in README (#1890)
  • Fix incorrect validation for heterogeneous list (terraform-ls#1884)
  • Fix incorrect validation of references by correctly detecting tuple and object expressions created from for-expressions (terraform-ls#1890)

INTERNAL:

  • Port UI tests to vscode-extension-tester and remove wdio (#1873)
  • Add Heimdall metadata (#1883)
  • Add build files to .vscodeignore (#1885)
  • Broaden npm version to allow dependabot to run (#1888)
  • Store screenshots for failing UI tests (#1906)
  • Adapt CI config for Ubuntu 24.04.1 (#1907)
  • Configure dependabot to update package.json and group dependency updates (#1908)

2.34.0 (2024-11-15)

ENHANCEMENTS:

BUG FIXES:

  • Improve performance by avoiding copying constraints for attribute schemas (hcl-lang#426)
  • Use a provider's stable version when bundling schemas (terraform-ls#1860)
  • Add removed block to Stack tests (#1861)

INTERNAL:

  • Ensure date ordering for changie entries (#1860)
  • Upgrade eslint to v9 (#1863)
  • Enable integration tests for Stacks feature (#1864)
  • Bump nodejs from 18 to 20 (#1867)
  • Remove webpack extension recommendation (#1880)

2.34.2024101517 (2024-10-15)

NOTES:

This is a release to bring the prerelease channel to parity with stable.

This release adds support for Terraform Stack and Deployment files. This provides intelligent completion for Terraform Stacks blocks and attributes in Stack and Deployment files, including suggesting only valid completions for variables in component and deployment blocks. Hover documentation for all Stack and Deploy blocks, with helpful type and usage information. Early Validation has been extended to produce diagnostics along with syntax validation for Stack and Deployment files. Reference support allows code navigation in and between Stack and Deploy files. This also provides formatting support for both Stack and Deploy files.

This release also adds support for Terraform Test and Mock files. This provides syntax highlighting, completion for blocks and attributes, hover documentation and formatting support.

2.33.0 (2024-10-14)

NOTES:

This release adds support for Terraform Stack and Deployment files. This provides intelligent completion for Terraform Stacks blocks and attributes in Stack and Deployment files, including suggesting only valid completions for variables in component and deployment blocks. Hover documentation for all Stack and Deploy blocks, with helpful type and usage information. Early Validation has been extended to produce diagnostics along with syntax validation for Stack and Deployment files. Reference support allows code navigation in and between Stack and Deploy files. This also provides formatting support for both Stack and Deploy files.

This release also adds support for Terraform Test and Mock files. This provides syntax highlighting, completion for blocks and attributes, hover documentation and formatting support.

BREAKING CHANGES:

  • Remove static snippets (#1830)

ENHANCEMENTS:

BUG FIXES:

INTERNAL:

  • Add development launch target for extensionHost (#1805)
  • Replace webpack with esbuild (#1807)
  • Load embedded provider schemas for providers found in stacks files into state (terraform-ls#1763)
  • Bump axios to 1.7.4 (#1818)
  • Bump braces to 3.0.3 (#1819)

2.33.2024090609 (2024-09-06)

ENHANCEMENTS:

  • Bump hashicorp/syntax from 0.5.0 to 0.7.0 (#1820)
  • Document Terraform Stacks support (#1829)
  • Remove static snippets (#1830)
  • Enable language status bar for Stack language (#1835)
  • Add icon for .terraform-version file (#1836)
  • Support provider defined functions in stacks configuration (#1804)
  • Support description attribute for orchestration rule block (terraform-schema#393)
  • Support locals in stack and deploy configs (terraform-schema#395)
  • Support depends_on attribute in component blocks (terraform-schema#392)
  • Document Terraform Stacks support (#1802)
  • Support context references within orchestrate blocks in deployment configuration (#1813)

BUG FIXES:

INTERNAL:

  • Bump axios to 1.7.4 (#1818)
  • Bump braces to 3.0.3 (#1819)

2.33.2024082314 (2024-08-23)

ENHANCEMENTS:

BUG FIXES:

2.33.2024080812 (2024-08-08)

ENHANCEMENTS:

BUG FIXES:

  • fix panic on blocks with no labels during validation of label name (terraform-ls#1791)

INTERNAL:

2.33.2024073012 (2024-07-30)

INTERNAL:

  • Add development launch target for extensionHost (#1805)
  • Replace webpack with esbuild (#1807)

2.32.3 (2024-09-05)

ENHANCEMENTS:

  • Bump hashicorp/syntax from 0.5.0 to 0.7.0 (#1820)
  • Support syntax highlighting for .tftest.hcl and .tfmock.hcl files (#1831)
  • Bump terraform-ls from 0.34.2 to 0.34.3 (#1833)

INTERNAL:

  • Bump axios to 1.7.4 (#1818)
  • Bump braces to 3.0.3 (#1819)

2.32.2 (2024-07-30)

BUG FIXES:

  • Ensure validation runs after decoding the whole module to avoid stale diagnostics (terraform-ls#1777)

2.32.1 (2024-07-22)

BUG FIXES:

  • Fix validation error by checking for submodules when fetching schemas from the registry (terraform-ls#1772)

2.32.0 (2024-07-15)

ENHANCEMENTS:

  • Add initial support for Terraform Stacks files and Deployment files. This provides block and attribute completion, hover, and diagnostics along with syntax validation for Terraform Stacks and Deployment files (terraform-ls#1745)
  • Enable completion for all locally installed remote modules (terraform-ls#1760)
  • Re-architect the language server for improved performance and resource utilization (terraform-ls#1667)

This marks the completion of a major refactoring effort. The language server will now start up much faster and use less resources, especially on larger workspaces. We achieve this by doing less work during the initial walk of a workspace. Instead, we only parse modules with open files. Whenever a file of a module is opened, we schedule all the jobs needed to understand the contents of that directory (and the referenced modules).

INTERNAL:

  • Introduce a workflow that checks for changelog entries (#1796)

2.32.2024070910 (2024-07-09)

ENHANCEMENTS:

  • Add initial support for Terraform Stacks files and Deployment files. This provides block and attribute completion, hover, and diagnostics along with syntax validation for Terraform Stacks and Deployment files (terraform-ls#1745)

2.31.0 (2024-06-27)

ENHANCEMENTS:

  • Allow custom HCP Terraform or Terraform Enterprise instance selection (#1678)
  • Declare support for Terraform Stack files (#1773)
  • Adds file icons for the Stacks language which will apply to all tfstack.hcl and tfdeploy.hcl files (#1774)
  • Add support for the new templatestring functions in Terraform 1.9 (terraform-ls#357)
  • Introduce provisioners to removed blocks in Terraform 1.9 (terraform-schema#358)

2.31.2024061114 (2024-06-11)

ENHANCEMENTS:

  • Re-architect the language server for improved performance and resource utilization (terraform-ls#1667)

This marks the completion of a major refactoring effort. The language server will now start up much faster and use less resources, especially on larger workspaces. We achieve this by doing less work during the initial walk of a workspace. Instead, we only parse modules with open files. Whenever a file of a module is opened, we schedule all the jobs needed to understand the contents of that directory (and the referenced modules).

We have tested this with workspaces and configurations of different sizes, but still expect some bugs. Please give this preview a try and let us know how it works for you.

2.30.2 (2024-06-06)

BUG FIXES:

INTERNAL:

  • Ignore changie logs in vsix package (#1760)
  • Remove old web testing infrastructure and update the test GHA (#1759)
  • Organize code placement for better maintainability (#1758)
  • Use esbuild with webpack to speed up development time (#1761)
  • Cache npm packages in GHA (#1762)
  • Move TF and HCP Terraform view testing to test folder (#1765)

2.30.1 (2024-04-22)

ENHANCEMENTS:

INTERNAL:

  • Add end to end extension to language server testing (#1739)
  • Update npm engine requirements to 10 (#1740)
  • Update MSW to 2.0 (#1657)
  • Bump typescript from 5.4.4 to 5.4.5 (#1738)
  • Bump @vscode/vsce from 2.24.0 to 2.25.0 (#1743)
  • Bump @playwright/browser-chromium from 1.42.1 to 1.43.1 (#1742)

2.30.0 (2024-04-10)

ENHANCEMENTS:

BUG FIXES:

INTERNAL:

  • Webdriver.io End to End Testing (#1691)
  • Add test fixture files for E2E test (#1721)
  • Remove unused packages (#1731)
  • Bump axios from 1.6.5 to 1.6.8 (#1712)
  • Bump ts-loader from 9.5.0 to 9.5.1 (#1715)
  • Bump chai from 4.3.10 to 4.4.1 (#1714)
  • Bump msw from 1.3.2 to 1.3.3 (#1717)
  • Bump ts-jest from 29.1.1 to 29.1.2 (#1720)
  • Bump typescript from 5.2.2 to 5.4.4 (#1719, #1734)
  • Bump @vscode/test-electron from 2.3.8 to 2.3.9 (#1713)
  • Bump eslint from 8.53.0 to 8.57.0 (#1710)
  • Bump mocha from 10.2.0 to 10.4.0 (#1728)
  • Bump @vscode/vsce from 2.22.0 to 2.24.0 (#1727)
  • Bump semver from 7.5.4 to 7.6.0 (#1726)
  • Bump glob from 10.3.10 to 10.3.12 (#1725)
  • Bump webpack from 5.89.0 to 5.91.0 (#1733)
  • Bump @playwright/browser-chromium from 1.40.1 to 1.42.1 (#1718)

2.29.5 (2024-03-11)

BUG FIXES:

INTERNAL:

  • build(deps): Bump workflows to latest trusted versions (#1695, #1704, #1706)

2.29.4 (2024-02-13)

ENHANCEMENTS:

  • Improve module providers and module calls welcome views (#1676)
  • Support for-in-if expressions (hcl-lang#368)

BUG FIXES:

  • Fix prefix completion in template interpolation (hcl-lang#371)
  • Fix language server crash on prefix completion with leading space (hcl-lang#373)
  • Fix language server crash on missing symbols in client capabilities (terraform-ls#1619)

INTERNAL:

  • Add CONTRIBUTING file (#1680)
  • build(deps): Bump workflows to latest trusted versions (#1687, #1690)

2.29.3 (2024-01-23)

ENHANCEMENTS:

  • Remove authentication provider registration to allow disabling the extension (#1670)
  • Enable interpolated map keys and object attribute names (terraform-schema#316)
  • Add support for complex index expressions (hcl-lang#365)
  • Add support for parenthesis on RHS (hcl-lang#366)
  • Add support for parenthesis on LHS (map keys & attribute names) (hcl-lang#367)

BUG FIXES:

  • Revert "Alert on wsl.localhost Path (#1522)" (#1597)

INTERNAL:

  • build(deps): Bump workflows to latest trusted versions (#1675)

2.29.2 (2024-01-16)

BREAKING CHANGES:

  • Bump minimal engine version to 1.82.3 (#1660)

ENHANCEMENTS:

BUG FIXES:

  • Fix test failures on main (#1659)

INTERNAL:

  • Rename hcl-typeCapsule to hcl-typeComplex (#1656)
  • Rename hcl-traversalStep to hcl-referenceStep (#1664)
  • build(deps): Bump workflows to latest trusted versions (#1655, #1661)
  • Remove terraform init from integration tests (#1645)
  • Upgrade @vscode/test-web and js-releases (#1662)

2.29.1 (2023-12-13)

BREAKING CHANGES:

ENHANCEMENTS:

BUG FIXES:

INTERNAL:

  • Update Node to v18 (#1625)

2.29.0 (2023-11-08)

ENHANCEMENTS:

  • Login to Terraform Cloud using an Authentication Token
  • View Terraform Cloud Workspaces and status detail inside VS Code
  • View Terraform Cloud Runs and status detail inside VS Code
  • Filter Terraform Cloud Workspaces by Project
  • Switch Terraform Cloud Organizations to view different workspaces
  • View Plan and Apply logs directly in the editor

BUG FIXES:

2.28.2 (2023-10-16)

ENHANCEMENTS:

BUG FIXES:

2.28.1 (2023-10-06)

ENHANCEMENTS:

  • decoder: Add support for binary & unary operators (hcl-lang#320)

BUG FIXES:

  • Fix incorrect schema for terraform_remote_state data source (terraform-schema#272)
  • Make cloud organization optional (terraform-schema#271)
  • Ensure empty objects & tuples still get recognised (hcl-lang#330)
  • Introduce default value "ssh" for type under connection block to enable recognition of attributes such as bastion_host even when type is not declared ([hcl-lang#327 (terraform-schema#270)
  • Introduce v1.3 proxy related fields for provisioner connection block (terraform-schema#269)
  • Ensure target_platform is recognised in nested connection block (terraform-schema#268)

2.28.0 (2023-10-04)

ENHANCEMENTS:

BUG FIXES:

  • Allow list(any) to be passed into dynamic block's for_each (hcl-lang#313)
  • Make dynamic content block required (hcl-lang#314)
  • indexer: Ensure declared module calls get decoded (#1395)

INTERNAL:

  • Bump actions/upload-artifact from 3.1.2 to 3.1.3 (#1562)
  • Add sleep to code action test (#1565)
  • Bump Terraform version in CI (#1564)
  • deps: Bump js-releases to 1.7.0 (#1563)
  • Bump actions/checkout from 4.0.0 to 4.1.0 (#1569)

2.27.2 (2023-09-06)

ENHANCEMENTS:

  • Improve PreloadEmbeddedSchema job performance in terraform-ls (terraform-ls#1369)
  • Avoid re-processing open files in terraform-ls after file saving to improve performance (terraform-ls#1372)

INTERNAL:

  • Bump actions/setup-node from 3.7.0 to 3.8.1 by (#1558)
  • Bump actions/checkout from 3.5.3 to 4.0.0 by (#1559, #1560)

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:

INTERNAL:

2.26.1 (2023-05-11)

BUG FIXES:

INTERNAL:

  • Update vscode-languageclient to 8.1.0 (#1408)
  • Bump VS Code from 1.67.2 to 1.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 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)

2.25.4 (2023-02-22)

BUG FIXES:

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 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)

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:

BUG FIXES:

2.24.0 (2022-08-23)

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)

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:

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 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 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 to module.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:

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:

  • Add telemetry for error reporting (#557)
  • Use version JSON output of LS during installation (#560)

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:

  • Read LS version from stdout (#512)
  • Prepare for semantic token based highlighting (#523)

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 and tflint 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

Previous Releases

For information on prior major and minor releases, see their changelogs: