Skip to content

Releases: hashicorp/terraform-ls

v0.11.0

09 Dec 14:41
bb6ed57

Choose a tag to compare

ENHANCEMENTS:

  • Ask for init if current folder is empty root module (#257)
  • Display provider versions in completion/hover detail (#329)
  • Expose terraform.validate as command for language clients (#323)
  • Expose terraform.init as command for language clients (#325)
  • Add human readable name to rootmodules command API (#332)
  • Expose server version via LSP (#318)

BUG FIXES:

  • Avoid crashing when no hover data is available for a position (#320)

INTERNAL:

  • Replace sourcegraph/go-lsp with gopls' internal/lsp/protocol (#311)

v0.10.0

19 Nov 10:58
a35315f

Choose a tag to compare

FEATURES:

  • Support module wide diagnostics (#288)
  • Provide documentation on hover (#294)

ENHANCEMENTS:

  • Add support for upcoming Terraform v0.14 (#289)
  • completion: Prompt picking type of provider/data/resource automatically (#300)
  • completion/hover: Preload official providers to improve UX for uninitialized modules (#302)

BUG FIXES:

  • textDocument/completion: Fix wrong range computation near EOF (#298)
  • Avoid ignoring schema for uninitialized module (#301)
  • fix synchronization issues affecting any clients which support partial updates (#304)
  • Avoid panic by initing universal schema early (#307)

INTERNAL:

  • Bump jrpc2 (JSON-RPC library) to latest version (#309)

v0.9.0

10 Nov 19:44
41efe55

Choose a tag to compare

FEATURES:

  • Support for workspace/executeCommand with new rootmodules inspection command (#274)
  • Provide version-aware schema for completion of "core" blocks (#287)
    • locals, module, output, variable and terraform
    • enrichment of data, provider and resource schemas by meta-arguments, such as count or for_each

ENHANCEMENTS:

  • Limited completion is available as soon as the server starts and is progressively enhanced as more (core or provider) schema is discovered (#281)
  • Symbols are available as soon as the server starts (#281)

BUG FIXES:

  • Prevent command collisions for clients such as VS Code with commandPrefix init option (#279)

INTERNAL:

  • Internal decoder decoupled into hashicorp/hcl-lang (#281)
  • Schema handling decoupled into hashicorp/terraform-schema (#281)

v0.8.0

09 Oct 14:09
1525197

Choose a tag to compare

FEATURES:

  • HCL diagnostics support (#269)

BUG FIXES:

  • fix: prevent crash when listing symbols in invalid config (#273)

INTERNAL:

v0.7.0

02 Sep 09:42
a6b5551

Choose a tag to compare

FEATURES:

  • Document Symbol support (#265)

v0.6.1

18 Aug 17:00
bafa1af

Choose a tag to compare

BUG FIXES:

  • Reduce logging of module loading (#259)
  • Update jrpc2 to fix cancelRequest deadlock (#260)

v0.6.0

10 Aug 15:47
6ac17ab

Choose a tag to compare

FEATURES:

  • New command: inspect-module to help debugging root module discovery issues (#231)

ENHANCEMENTS:

  • Support 0.13 provider identities (#255)
  • settings: Support relative paths to root modules (#246)
  • settings: Expand ~ in root module paths (#247)
  • settings: Add support for excludeModulePaths (#251)
  • handlers/initialize: Skip invalid root module paths (#248)
  • Cap parallel root module loading (to reduce CPU usage) (#256)

INTERNAL:

  • internal/filesystem: Integrate spf13/afero (#249)
  • deps: Bump creachadair/jrpc2 to latest (0.10.0) (#253)

v0.5.4

22 Jul 20:06
aa0f0c6

Choose a tag to compare

BUG FIXES:

  • terraform/schema: Make schema storage version-aware (0.13 compatible) (#243)

INTERNAL:

  • Improve root module discovery error handling (#244)

v0.5.3

21 Jul 06:20
a1ff20f

Choose a tag to compare

BUG FIXES:

  • fix: Append EOF instead of newline (prevent CPU spike) (#239)

v0.5.2

16 Jul 16:56
94d4812

Choose a tag to compare

BUG FIXES:

  • fix: Prevent parsing invalid tokens which would cause CPU spike (#236)

INTERNAL:

  • rootmodule: log errors after loading is finished (#229)