Skip to content

Releases: hashicorp/terraform-ls

v0.22.0

16 Sep 17:01
d340007
Compare
Choose a tag to compare

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)

v0.21.0

23 Aug 15:07
e2feb09
Compare
Choose a tag to compare

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)

v0.20.1

03 Aug 19:43
9acdc67
Compare
Choose a tag to compare

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)

v0.20.0

29 Jul 18:22
82de4af
Compare
Choose a tag to compare

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)

v0.19.1

20 Jul 15:24
2fd8439
Compare
Choose a tag to compare

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)

v0.19.0

08 Jul 12:18
2abf642
Compare
Choose a tag to compare

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 hashicorp/vscode-terraform#682 for more details.

v0.18.3

02 Jul 13:55
4df817d
Compare
Choose a tag to compare

BUG FIXES:

  • fix: avoid circular references to list/map/object attributes (which caused high CPU usage on copy) (#575)

v0.18.2

01 Jul 18:11
c1aa2cf
Compare
Choose a tag to compare

ENHANCEMENTS:

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

BUG FIXES:

  • Mock out code lens support to avoid errors (#561)

v0.18.1

17 Jun 15:12
8d0eb25
Compare
Choose a tag to compare

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)

v0.18.0

10 Jun 17:44
72aef8b
Compare
Choose a tag to compare

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)