Skip to content

Releases: hashicorp/terraform-ls

v0.12.0

06 Jan 19:45
cf97acc
Compare
Choose a tag to compare

FEATURES:

  • Implement textDocument/semanticTokens (semantic highlighting) (#331)
  • Implement experimental validate on save feature (#340)

ENHANCEMENTS:

  • Report progress for validate command (#336)
  • Report deprecated completion items as such (#337)
  • Preloaded schemas now include partner providers in addition to official ones (#341)

NOTES:

  • Only official (legacy) providers will be completed in provider block completion. Partner providers currently require corresponding entry in required_providers block, read #370 to understand why and how we plan to address this inconvenient behaviour.
  • Preloaded schemas are now being generated at release time (as opposed to being committed to the repo). Therefore availability of these schemas is dependent on particular release process tracked in this repository. This may interest anyone who does not use the official builds from releases.hashicorp.com and has its own build process. Plain go get still compiles and runs server correctly, however it won't automatically generate and embed the schemas. (#341)

INTERNAL:

  • Use Go 1.15.2 (previously 1.14.9) (#348)
  • Provide package for linux/arm64 (#351)

v0.11.0

09 Dec 14:41
bb6ed57
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

FEATURES:

  • Document Symbol support (#265)

v0.6.1

18 Aug 17:00
bafa1af
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

BUG FIXES:

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