github hashicorp/terraform-ls v0.29.0

latest releases: v0.35.0-beta2, v0.34.3, v0.35.0-beta1...
2 years ago

NOTES / BREAKING CHANGES:

  • settings: rootModulePaths option was deprecated and is ignored. Users should instead leverage the workspace LSP API and add the folder to a workspace, if they wish it to be indexed (#1003)
  • settings: excludeModulePaths option was deprecated in favour of indexing.ignorePaths. excludeModulePaths is now ignored (#1003)
  • settings: ignoreDirectoryNames option was deprecated in favour of indexing.ignoreDirectoryNames. ignoreDirectoryNames is now ignored (#1003, #1010)
  • settings: terraformExecPath option was deprecated in favour of terraform.path. Old option is now ignored. (#1011)
  • settings: terraformExecTimeout option was deprecated in favour of terraform.timeout. Old option is now ignored. (#1011)
  • settings: terraformLogFilePath option was deprecated in favour of terraform.logFilePath. Old option is now ignored. (#1011)
  • cmd/serve: Previously deprecated -tf-exec* CLI flags were removed (-tf-exec, -tf-exec-timeout and -tf-log-file) in favour of LSP-based terraform.* configuration options (#1012)

ENHANCEMENTS:

  • Replace internal watcher (used for watching changes in installed plugins and modules) with LSP dynamic capability registration & workspace/didChangeWatchedFiles. This should leave to improved performance in most cases. (#953)
  • Provide completion, hover and docs links for uninitialized Registry modules (#924)
  • Provide basic IntelliSense (except for diagnostics) for hidden *.tf files (#971)
  • deps: bump terraform-schema to introduce v1.1 terraform cloud block (terraform-schema#117)
  • deps: bump terraform-schema to introduce v1.1 moved block (terraform-schema#121)
  • deps: bump terraform-schema to introduce v1.2 lifecycle conditions (terraform-schema#115)
  • deps: bump terraform-schema to introduce v1.2 lifecycle replace_triggered_by (terraform-schema#123)
  • Use module declarations from parsed configuration as source of truth for module.calls (#987)
  • walker: Index uninitialized modules (#997)
  • Recognize inputs and outputs of uninitialized local modules (#598)
  • Enable go to module output declaration from reference (#1007)
  • settings: New option indexing.ignorePaths was introduced (#1003, #1010)
  • Introduce module.terraform custom LSP command to expose Terraform requirements & version (#1016)
  • Avoid obtaining schema via Terraform CLI if the same version is already cached (based on plugin lock file) (#1014)
  • Avoid getting version via terraform version during background indexing and pick relevant IntelliSense data based on required_version constraint (#1027)
  • Provide 0.12 based IntelliSense for any <0.12 Terraform versions (#1027)
  • Complete module source and version attributes for local and registry modules (#1024)

BUG FIXES:

  • handlers/command: Return partially parsed metadata from module.providers (#951)
  • fix: Avoid ignoring hidden *.tfvars files (#968)
  • fix: Avoid crash on invalid URIs (#969)
  • fix: Avoid crash on invalid provider name (#1030)

INTERNAL:

  • job: introduce explicit priority for jobs (#977)
  • main: allow build version metadata to be set (#945)
  • deps: switch to the new minimal terraform-registry-address API (#949)
  • deps: bump LSP structs to match gopls 0.8.4 (#947)
  • deps: bump github.com/hashicorp/terraform-exec from 0.16.1 to 0.17.0 (#963)
  • deps: bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#979)
  • indexer: refactor & improve/cleanup error handling (#988)
  • indexer/walker: Avoid running jobs where not needed (#1006)

Don't miss a new terraform-ls release

NewReleases is sending notifications on new releases.