Releases: hashicorp/terraform-ls
Releases · hashicorp/terraform-ls
v0.25.2
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)
v0.25.1
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)
v0.25.0
v0.24.0
BREAKING CHANGES:
source.formatAll.terraform-ls
is renamed tosource.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
andsource.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:
v0.23.0
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:
v0.22.0
v0.21.0
DEPRECATIONS:
-tf-exec
(CLI flag) is deprecated in favour of LSP config optionterraformExecPath
.-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 optionterraformLogFilePath
.-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 optionterraformExecTimeout
.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:
- Always validate URI schema (#602)
- Introduce
terraformExecPath
as option withininitializationOptions
(#588) - Introduce
terraformLogFilePath
as option withininitializationOptions
(#619) - Introduce
terraformExecTimeout
as option withininitializationOptions
(#619) - Introduce format on save code action (#625)
INTERNAL:
v0.20.1
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
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)