Releases: hashicorp/terraform-ls
v0.33.3
ENHANCEMENTS:
- Add support for the new
templatestringfunctions in Terraform 1.9 (terraform-schema#357) - Introduce provisioners to
removedblocks 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
LanguageIdwas 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_workflowfrom S3 backend (terraform-schema#338) - Add
issensitivefunction (terraform-schema#340) - Conclude
module_variable_optional_attrslanguage 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-rc1for 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)
v0.33.0-beta2
v0.32.8
NOTES / BREAKING CHANGES:
- Remove
inspect-modulecommand (#1642)
BUG FIXES:
- Fix
forexpression collection constraints (hcl-lang#375)
INTERNAL:
- Remove getting provider schema log line (#1643)
- Ignore preloaded schemas in complex module test (#1638)
- Remove outdated LSP comparison from README (#1641)
- Link to
.github/CONTRIBUTING.mdin README (#1635) - Bump Go version (#1649)
- Enable pre releases via CRT (#1651)
- build(deps): Bump workflows to latest trusted versions (#1605, #1639, #1656, #1659)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.40.3 to 2.42.0 (#1633, #1640)
- build(deps): Bump golang.org/x/tools from 0.17.0 to 0.19.0 (#1634, #1658)
- build(deps): Bump go.opentelemetry.io/otel from 1.23.1 to 1.24.0 (#1644)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.48.0 to 0.49.0 (#1647)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.48.0 to 0.49.0 (#1646)
- build(deps): Bump github.com/zclconf/go-cty from 1.14.2 to 1.14.3 (#1654)
- build(deps): Bump github.com/algolia/algoliasearch-client-go/v3 from 3.31.0 to 3.31.1 (#1657)
- build(deps): Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#1653)
v0.33.0-beta1
NOTES / BREAKING CHANGES:
- Remove
inspect-modulecommand (#1642)
BUG FIXES:
- Fix
forexpression collection constraints (hcl-lang#375) - Fix panics on
nilexpressions (hcl-lang#376) - Fix panics on
nilexpressions in early decoder (terraform-schema#324)
INTERNAL:
- Remove getting provider schema log line (#1643)
- Ignore preloaded schemas in complex module test (#1638)
- Remove outdated LSP comparison from README (#1641)
- Link to
.github/CONTRIBUTING.mdin README (#1635) - Bump Go version (#1649)
- Enable pre releases via CRT (#1651)
- build(deps): Bump workflows to latest trusted versions (#1605, #1639)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.40.3 to 2.42.0 (#1633, #1640)
- build(deps): Bump golang.org/x/tools from 0.17.0 to 0.18.0 (#1634)
- build(deps): Bump go.opentelemetry.io/otel from 1.23.1 to 1.24.0 (#1644)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.48.0 to 0.49.0 (#1647)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.48.0 to 0.49.0 (#1646)
v0.32.7
ENHANCEMENTS:
- Support
for-in-ifexpressions (hcl-lang#368)
BUG FIXES:
- Fix prefix completion in
TemplateWrapExpr(hcl-lang#371) - Fix LS panic on prefix completion with leading space (hcl-lang#373)
- Fix LS panic on missing symbols in client capabilities (#1619)
INTERNAL:
- github: Remove benchmarks workflow (#1599)
- chore: fix typo in comment (#1612)
- build(deps): Bump github.com/zclconf/go-cty from 1.14.1 to 1.14.2 (#1600)
- build(deps): Bump go.opentelemetry.io/otel from 1.22.0 to 1.23.1 (#1617, #1621)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.47.0 to 0.48.0 (#1616)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.47.0 to 0.48.0 (#1618)
- build(deps): Bump github.com/hashicorp/hc-install from 0.6.2 to 0.6.3 (#1622)
- build(deps): Bump workflows to latest trusted versions (#1624)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.40.1 to 2.40.3 (#1625)
v0.32.6
ENHANCEMENTS:
- Enable interpolated map keys and object attribute names (terraform-schema#316)
- Add support for complex index expressions (hcl-lang#365)
- Add support for parenthesis on RHS (hcl-lang#366)
- Add support for parenthesis on LHS (map keys & attribute names) (hcl-lang#367)
BUG FIXES:
INTERNAL:
- build(deps): Bump go.opentelemetry.io/otel from 1.21.0 to 1.22.0 (#1589)
- build(deps): Bump go.opentelemetry.io/otel/trace from 1.21.0 to 1.22.0 (#1588)
- build(deps): Bump github.com/hashicorp/terraform-json from 0.20.0 to 0.21.0 (#1591)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.46.1 to 0.47.0 (#1592)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.46.1 to 0.47.0 (#1593)
- build(deps): Bump workflows to latest trusted versions (#1594)