terraform-ls

Terraform Language Server

MPL-2.0 License

Downloads
525
Stars
948
Committers
46

Bot releases are visible (Hide)

terraform-ls - v0.26.0

Published by github-actions[bot] over 2 years ago

ENHANCEMENTS:

  • Introduce go-to-variable from tfvars files (#727)
  • Automatically refresh semantic tokens for more reliable highlighting (#630)
  • Enhance semantic highlighting of block labels (#802)
  • Enable completion, hover, go-to-definition/reference etc. for Terraform Registry modules (#808)
  • Report dependent semantic highlighting modifiers as defaultLibrary (instead of modification) (#817)
  • Semantically highlight type declarations in variable type (#827)

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 (#782)
  • Fix broken validate on save (#799)
  • Fix encoding of unknown semantic token types (#815)
  • Fix missing references for some blocks in a separate config file (#829)

INTERNAL:

  • Simplify module source detection in favour of faster CI/compilation times (#783)
  • Store documents in a memdb-backed table (#771)
  • Refactor job scheduler to use memdb for jobs (#782)
  • build(deps): bump github.com/creachadair/jrpc2 from 0.35.2 to 0.37.0 (#774, #795, #809)
terraform-ls - v0.26.0-beta1

Published by github-actions[bot] over 2 years ago

ENHANCEMENTS:

  • Introduce go-to-variable from tfvars files (#727)
  • Automatically refresh semantic tokens for more reliable highlighting (#630)
  • Enhance semantic highlighting of block labels (#802)
  • Enable completion, hover, go-to-definition/reference etc. for Terraform Registry modules (#808)

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 (#782)
  • Fix broken validate on save (#799)

INTERNAL:

  • Simplify module source detection in favour of faster CI/compilation times (#783)
  • Store documents in a memdb-backed table (#771)
  • Refactor job scheduler to use memdb for jobs (#782)
  • build(deps): bump github.com/creachadair/jrpc2 from 0.35.2 to 0.37.0 (#774, #795, #809)
terraform-ls - v0.25.2

Published by github-actions[bot] almost 3 years ago

BUG FIXES:

  • fix: avoid sending empty diagnostics (#756)
  • fix: avoid code lens updates when disabled (#757)
  • fix: Catch OS agnostic interrupt signal (#755)
  • fix: Return correct target selection range for definition/declaration (#759)
  • telemetry: Only send requests if data has changed (#758)

INTERNAL:

  • Switch to hc-install from tfinstall (#737)
terraform-ls - v0.25.1

Published by github-actions[bot] almost 3 years ago

BUG FIXES:

  • Reduce parallelism for background operations to flatten CPU spikes triggered by workspaces with many modules on machines w/ >2 CPUs (which would previously had higher parallelism) (#752)

INTERNAL:

  • build(deps): bump github.com/creachadair/jrpc2 from 0.32.0 to 0.35.2 (#748)
  • build(deps): bump github.com/spf13/afero from 1.6.0 to 1.8.0 (#747, #754)
  • build(deps): bump github.com/mitchellh/mapstructure from 1.4.2 to 1.4.3 (#732)
  • build(deps): bump github.com/hashicorp/hcl/v2 from 2.10.1 to 2.11.1 (#731)
terraform-ls - v0.25.0

Published by github-actions[bot] almost 3 years ago

ENHANCEMENTS:

  • Introduce module.providers command (#712)
  • Diagnostics for all known modules/files are now published automatically (as opposed to just open files) (#714)
  • Introduce go-to-variable from module input name (#700)

NOTES:

  • Diagnostics for non-autoloaded *.tfvars are no longer published, see #715 for more details (#714)

INTERNAL:

  • build(deps): bump github.com/creachadair/jrpc2 from 0.30.1 to 0.32.0 (#713, #728)
  • Avoid duplicate state entries (by avoiding symlink evaluation) (#699)
terraform-ls - v0.24.0

Published by github-actions[bot] almost 3 years ago

BREAKING CHANGES:

  • source.formatAll.terraform-ls is renamed to source.formatAll.terraform to follow other similar existing actions in the wild (#680)

ENHANCEMENTS:

  • Implement opt-in telemetry (documented in docs/telemetry.md) (#681)
  • Provide workspace-wide symbols for variables in *.tfvars (#658)
  • Go-to-definition now highlights just the definition of a block/attribute instead of the whole attribute/block (#689)
  • Add configuration option allowing to exclude directories from being indexed upon initialization (#696)
  • Parse *.tfvars.json for workspace-wide symbols and diagnostics (#697)

BUG FIXES:

  • The server announces just a single formatting code action, other actions source, source.fixAll and source.formatAll are removed which helps avoid running the same action multiple times and better follows conventions (#680)
  • Requesting Only: [] code actions is now no-op (#680)
  • Fix indexing of references in dependent modules (#698)
  • Fix workspace folder removal/addition at runtime (#707)

INTERNAL:

  • build(deps): bump github.com/creachadair/jrpc2 from 0.28.0 to 0.30.0 (#683, #684, #686)
terraform-ls - v0.23.0

Published by github-actions[bot] about 3 years ago

ENHANCEMENTS:

  • Introduce module.calls command (#632)
  • Introduce experimental completion of required fields. You can opt in via prefillRequiredFields option (#657)
  • Ignore .terragrunt-cache when indexing initialized modules (#666)
  • Parse *.tf.json for references and symbols (#672)

INTERNAL:

  • build(deps): bump github.com/creachadair/jrpc2 from 0.25.1 to 0.28.0 (#649, #650, #662, #668, #676, #677)
  • build(deps): bump github.com/hashicorp/terraform-exec from 0.14.0 to 0.15.0 (#664)
terraform-ls - v0.22.0

Published by github-actions[bot] about 3 years ago

ENHANCEMENT:

  • Support standalone (not autoloaded) *.tfvars files (#621)

BUG FIXES:

  • fix: Limit label completion items to 100 (same as limit for completion items in other contexts) (#628)
  • Recognize references in module block inputs (#623)

INTERNAL:

  • build(deps): bump github.com/mitchellh/mapstructure from 1.4.1 to 1.4.2 (#641)
  • build(deps): bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.1 (#629)
  • build(deps): bump github.com/creachadair/jrpc2 from 0.20.0 to 0.25.0 (#631, #636, #638, #640, #642)
terraform-ls - v0.21.0

Published by github-actions[bot] about 3 years ago

DEPRECATIONS:

  • -tf-exec (CLI flag) is deprecated in favour of LSP config option terraformExecPath. -tf-exec flag will raise warnings in future releases and will be eventually removed. (#588)
  • -tf-log-file (CLI flag) is deprecated in favour of LSP config option terraformLogFilePath. -tf-log-file flag will raise warnings in future releases and will be eventually removed. (#619)
  • tf-exec-timeout (CLI flag) is deprecated in favour of LSP config option terraformExecTimeout. tf-exec-timeout flag will raise warnings in future releases and will be eventually removed. (#619)

BUG FIXES:

  • fix: allow multiple variable validation blocks (#610)
  • fix: avoid crash on missing block label (#612)
  • fix: avoid crash when validate command returns internal error instead of diagnostics (#588)

ENHANCEMENTS:

INTERNAL:

  • Update LSP structs to gopls' 0.7.0 (#608)
  • build(deps): bump github.com/creachadair/jrpc2 from 0.19.1 to 0.20.0 (#614)
  • build(deps): bump github.com/zclconf/go-cty from 1.9.0 to 1.9.1 (#624)
terraform-ls - v0.20.1

Published by github-actions[bot] about 3 years ago

BUG FIXES:

  • fix: recognize references in common nested expressions (#596)
  • textDocument/publishDiagnostics: Publish any source-less warnings or errors (#601)
  • fix: avoid publishing stale 'validate' diagnostics (#603)
  • fix: avoid crash on highlighting unknown tuple element (#605)
  • fix: recognize list(object) and set(object) attributes as blocks (#607)

INTERNAL:

  • build(deps): bump github.com/creachadair/jrpc2 from 0.19.0 to 0.19.1 (#606)
terraform-ls - v0.20.0

Published by github-actions[bot] about 3 years ago

FEATURES:

  • Implement reference count code lens (#584)

ENHANCEMENT:

  • Add support for module input completion/hover/highlighting (#551)
  • Add support for module output reference completion/hover/highlighting (#593)

BUG FIXES:

  • fix: recognize references in lists and other complex types (#594)

INTERNAL:

  • build(deps): bump github.com/hashicorp/hcl/v2 from 2.10.0 to 2.10.1 (#589)
terraform-ls - v0.19.1

Published by github-actions[bot] about 3 years ago

BUG FIXES:

  • Fix 'go to references' for resources & data sources (#587)

INTERNAL:

  • build(deps): bump github.com/creachadair/jrpc2 from 0.17.0 to 0.18.0 (#550)
terraform-ls - v0.19.0

Published by github-actions[bot] over 3 years ago

FEATURES:

  • Go to attribute/block from reference (#569)
  • Go to references from an attribute or a block (#572, #580)

ENHANCEMENTS:

  • Support multiple folders natively (#502)
  • Make references scope & type aware (#582)

BUG FIXES:

  • fix: avoid crash on empty file formatting (#578)

Note for Terraform VS Code Extension users:

Extension version 2.12+ is recommended before upgrading to this version of language server. See https://github.com/hashicorp/vscode-terraform/issues/682 for more details.

terraform-ls - v0.18.3

Published by github-actions[bot] over 3 years ago

BUG FIXES:

  • fix: avoid circular references to list/map/object attributes (which caused high CPU usage on copy) (#575)
terraform-ls - v0.18.2

Published by github-actions[bot] over 3 years ago

ENHANCEMENTS:

  • Provide (less verbose) step-based completion (#566)

BUG FIXES:

  • Mock out code lens support to avoid errors (#561)
terraform-ls - v0.18.1

Published by github-actions[bot] over 3 years ago

ENHANCEMENTS:

  • Support for references to variables and locals (#553)
  • tfvars: Infer variable types from default values where not explicitly specified (#554)

BUG FIXES:

  • Prevent var names from being completed in label (#555)
terraform-ls - v0.18.0

Published by github-actions[bot] over 3 years ago

FEATURES:

  • Add support for tfvars (variable files) (#540)

ENHANCEMENTS:

  • Add support for state backends (#544)
  • Add support for provisioners (#542)
  • Support for type declarations (variable type) (#490)
  • Support variable default (#543)
terraform-ls - v0.17.1

Published by github-actions[bot] over 3 years ago

BUG FIXES:

  • Reduce CPU usage via custom Copy methods instead reflection (#513)
terraform-ls - v0.17.0

Published by github-actions[bot] over 3 years ago

ENHANCEMENTS:

terraform-ls - v0.16.3

Published by github-actions[bot] over 3 years ago

ENHANCEMENTS:

  • Increase request concurrency & make it configurable via -req-concurrency flag of serve command (#489)