Releases: hashicorp/terraform-ls
v0.34.2
v0.34.1
v0.34.0
ENHANCEMENTS:
- Add initial support for Terraform Stacks files and Deployment files. This provides block and attribute completion, hover, and diagnostics along with syntax validation for Terraform Stacks and Deployment files (#1745)
- Add documentation for using vim with YouCompleteMe (#1718)
- Enable completion for all locally installed remote modules (#1760)
- Re-architect the language server for improved performance and resource utilization (#1667)
This marks the completion of a major refactoring effort. The language server will now start up much faster and use less resources, especially on larger workspaces. We achieve this by doing less work during the initial walk of a workspace. Instead, we only parse modules with open files. Whenever a file of a module is opened, we schedule all the jobs needed to understand the contents of that directory (and the referenced modules).
INTERNAL:
v0.34.0-beta1
ENHANCEMENTS:
- Add initial support for Terraform Stacks files and Deployment files. This provides block and attribute completion, hover, and diagnostics along with syntax validation for Terraform Stacks and Deployment files (#1745)
v0.33.3
ENHANCEMENTS:
- Add support for the new
templatestring
functions in Terraform 1.9 (terraform-schema#357) - Introduce provisioners to
removed
blocks in Terraform 1.9 (terraform-schema#358)
INTERNAL:
- Document schema bundling in CONTRIBUTING.md (#1736)
v0.34.0-alpha20240611
ENHANCEMENTS:
- Add documentation for using vim with YouCompleteMe (#1718)
- Re-architect the language server for improved performance and resource utilization (#1667)
This marks the completion of a major refactoring effort. The language server will now start up much faster and use less resources, especially on larger workspaces. We achieve this by doing less work during the initial walk of a workspace. Instead, we only parse modules with open files. Whenever a file of a module is opened, we schedule all the jobs needed to understand the contents of that directory (and the referenced modules).
We have tested this with workspaces and configurations of different sizes, but still expect some bugs. Please give this preview a try and let us know how it works for you.
INTERNAL:
- Split internal modules state into separate features (#1667)
v0.33.2
BUG FIXES:
- Fix data race in schema merging logic (hcl-lang#397)
INTERNAL:
- Bump Go version to 1.22.4 (#1727)
- Ensure license file gets packaged on build (#1723)
- Remove non-empty directory during test cleanup (#1696)
- Replace outdated remove-labels action with
gh
(#1699) - Reenable Dependabot for internal GitHub actions (#1702)
- Fixed gosimple linter results for uri package (#1707)
- Remove dead code, where the
LanguageId
was never set (#1709)
NOTE:
Starting with this release, we are including a copy of our license file in all packaged versions of our releases, such as the release .zip files. If you are consuming these files directly and would prefer to extract the one terraform-ls file instead of extracting everything, you need to add an extra argument specifying the file to extract, like this:
unzip terraform-ls_0.33.2_linux_amd64.zip terraform-ls
v0.33.1
v0.33.0
ENHANCEMENTS:
- Support for provider-defined functions (#1636)
- Remove
use_legacy_workflow
from S3 backend (terraform-schema#338) - Add
issensitive
function (terraform-schema#340) - Conclude
module_variable_optional_attrs
language experiment (terraform-schema#337)
BUG FIXES:
- Only merge provider-defined functions for Terraform >= 1.8 (#1672, terraform-schema#336)
INTERNAL:
- Use Terraform
1.8.0-rc1
for bundling schemas (#1669) - Update net package (updates some more alongside) (#1677)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.42.0 to 2.42.2 (#1662, #1680)
- build(deps): Bump github.com/zclconf/go-cty from 1.14.3 to 1.14.4 (#1666)
- build(deps): Bump workflows to latest trusted versions (#1673)
- build(deps): Bump golang.org/x/tools from 0.19.0 to 0.20.0 (#1679)
- build(deps): Bump github.com/creachadair/jrpc2 from 1.1.2 to 1.2.0 (#1674)
- build(deps): Bump github.com/hashicorp/hc-install from 0.6.3 to 0.6.4 (#1675)
- build(deps): Bump go.opentelemetry.io/otel/trace from 1.24.0 to 1.25.0 (#1678)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.49.0 to 0.50.0 (#1681)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.49.0 to 0.50.0 (#1682)