terraform-ls

Terraform Language Server

MPL-2.0 License

Downloads
525
Stars
948
Committers
46

Bot releases are visible (Hide)

terraform-ls - v0.16.2

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

ENHANCEMENTS:

  • Support templated paths for -cpuprofile & -memprofile flags of serve (#501)

BUG FIXES:

  • Avoid presenting stale diagnostics after document changes (#488)
terraform-ls - v0.16.1

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

BUG FIXES:

  • Prevent crash for legacy provider lookups where configuration is missing terraform>required_providers block or source arguments for providers and Terraform 0.13+ is used (#481)
terraform-ls - v0.16.0

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

SECURITY:

This release is signed with a new GPG key (ID 72D7468F), unlike all previous releases which were signed with (now revoked) key (ID 348FFC4C). Old releases were temporarily re-signed with the new key, but that key will be removed in coming weeks or months.

Read more about the related security event HCSEC-2021-12.

Users of the Terraform VS Code extension will need to upgrade to 2.10.1 before auto-upgrading to this LS version.

ENHANCEMENTS:

  • Allow effective utilization of multiple schema sources (local or preloaded) via cache (#454)
  • "No schema found ..." warning removed, as schema is far more likely to be available now (#454)
  • "Alternative root modules found ..." warning removed (#454)
  • Further improve support for Terraform 0.15 (#425)

BUG FIXES:

  • Fix panic caused by partially unknown map keys in configuration (#447)
terraform-ls - v0.15.0

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

FEATURES:

  • Add workspace-wide symbol navigation (#427)

ENHANCEMENTS:

  • textDocument/documentSymbol: Support nested symbols (#420)
  • Add Go version, OS and architecture to version command (#407)
  • Add initial support for expressions (#411)
  • Reflect 0.15 schema changes (#436)

BUILD:

  • Provide Linux packages (#421)
terraform-ls - v0.14.0

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

FEATURES:

  • Add links to documentation (Ctrl+click in supported clients + hover) (#402)

ENHANCEMENTS:

  • Improve messaging when Terraform is not found (#401)

BUG FIXES:

  • watcher: Refresh versions when plugin lockfile changes (#403)

BUILD:

  • Provide darwin/arm64 (Apple Silicon) build (#350)
terraform-ls - v0.13.0

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

FEATURES:

  • watcher: Detect terraform init from scratch (#385)

ENHANCEMENTS:

  • cmd: Introduce version JSON output (#386)
  • Utilize CPU better when loading modules (#391)

BUG FIXES:

  • Fix miscalculated semantic tokens (#390)
terraform-ls - v0.12.1

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

BUG FIXES:

  • Print help (and version) to stdout (#296)
  • Fix broken executable validate command (#373)
terraform-ls - v0.12.0

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

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 https://github.com/hashicorp/terraform-ls/issues/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)
terraform-ls - v0.11.0

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

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)
terraform-ls - v0.10.0

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

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)
terraform-ls - v0.9.0

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

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)
terraform-ls - v0.8.0

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

FEATURES:

  • HCL diagnostics support (#269)

BUG FIXES:

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

INTERNAL:

terraform-ls - v0.7.0

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

FEATURES:

  • Document Symbol support (#265)
terraform-ls - v0.6.1

Published by paultyng about 4 years ago

BUG FIXES:

  • Reduce logging of module loading (#259)
  • Update jrpc2 to fix cancelRequest deadlock (#260)
terraform-ls - v0.6.0

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

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)
terraform-ls - v0.5.4

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

BUG FIXES:

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

INTERNAL:

  • Improve root module discovery error handling (#244)
terraform-ls - v0.5.3

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

BUG FIXES:

  • fix: Append EOF instead of newline (prevent CPU spike) (#239)
terraform-ls - v0.5.2

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

BUG FIXES:

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

INTERNAL:

  • rootmodule: log errors after loading is finished (#229)
terraform-ls - v0.5.1

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

BUG FIXES:

  • Fixes bug which broke schema obtaining due to -no-color at unsupported position (#227)
terraform-ls - v0.5.0

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

ENHANCEMENTS:

  • Introduce CPU & memory profiling (#223)
  • Pass -no-color to terraform (#208)
  • settings: Make root modules configurable (#198)

BUG FIXES:

  • terraform/rootmodule: Make walker async by default (#196)
  • refactor: asynchronous loading of root module parts (#219)
  • Enable formatting for older Terraform versions (<0.12) (#219)
  • Gate formatting capability on v0.7.7+ (#220)