Releases: hashicorp/terraform-ls
Releases · hashicorp/terraform-ls
v0.31.1
ENHANCEMENTS:
- Cache registry module errors to improve performance in cases of private registry, submodules or other similar situations resulting in module data unavailability (#1258)
BUG FIXES:
- Pull in gopls v0.10.0 tsprotocol.go to fix completion labels (#1256)
INTERNAL:
- Add PR test for copyright headers (#1241)
v0.31.0
ENHANCEMENTS:
- Add support for nested expressions and functions (#1237, hcl-lang#232, hcl-lang#203, hcl-lang#199, hcl-lang#186, hcl-lang#185, hcl-lang#184)
- Add support for function signature help in (#1077)
- Fix remote backend tracking in (#1218)
- lsp: Recognise new token type for function names in (#1233)
INTERNAL:
BUG FIXES:
- Reflect
LiteralValue,Description&IsDeprecatedin completion/hover (hcl-lang#253) - Fix crash when completing
LiteralType{Type: cty.Tuple}(hcl-lang#255) - Display
Tuplehover data on invalid element (hcl-lang#254) - Fix collection of implied declared targets of complex types (hcl-lang#259)
- Collect targets w/ interpolation for
Anycorrectly (hcl-lang#257)
v0.31.0-beta
ENHANCEMENTS:
- Add support for nested expressions and functions (#1237, hcl-lang#232, hcl-lang#203, hcl-lang#199, hcl-lang#186, hcl-lang#185, hcl-lang#184, )
- Add support for function signature help in (#1077)
- Fix remote backend tracking in (#1218)
- lsp: Recognise new token type for function names in (#1233)
INTERNAL:
- Add instructions for Kate editor (#1200)
- Add TFC usage detection (#1208)
- build(deps): bump actions/checkout from 3.3.0 to 3.4.0 (#1215)
- build(deps): bump actions/checkout from 3.4.0 to 3.5.0 (#1228)
- build(deps): bump actions/setup-go from 3.5.0 to 4.0.0 (#1214)
- build(deps): bump actions/stale from 7.0.0 to 8.0.0 (#1222)
- build(deps): bump github.com/algolia/algoliasearch-client-go/v3 from 3.26.3 to 3.26.4 (#1198)
- build(deps): bump github.com/algolia/algoliasearch-client-go/v3 from 3.26.4 to 3.26.5 (#1230)
- build(deps): bump github.com/algolia/algoliasearch-client-go/v3 from 3.26.5 to 3.27.0 (#1231)
- build(deps): bump github.com/creachadair/jrpc2 from 0.44.0 to 0.45.0 (#1213)
- build(deps): bump github.com/creachadair/jrpc2 from 0.46.0 to 1.0.0 (#1227)
- build(deps): bump github.com/creachadair/jrpc2 to v0.46.0 (#1217)
- build(deps): bump github.com/hashicorp/hc-install from 0.5.0 to 0.5.1 (#1232)
- build(deps): bump github.com/hashicorp/hcl/v2 from 2.16.1 to 2.16.2 (#1205)
- build(deps): bump github.com/hashicorp/terraform-exec from 0.18.0 to 0.18.1 (#1201)
- build(deps): bump github.com/hashicorp/terraform-json from 0.15.0 to 0.16.0 (#1206)
- build(deps): bump github.com/hashicorp/terraform-registry-address from 0.0.0-20220623143253-7d51757b572c to 0.1.0 (#1196)
- build(deps): bump github.com/hashicorp/terraform-registry-address from 0.1.0 to 0.2.0 (#1226)
- build(deps): bump github.com/otiai10/copy from 1.9.0 to 1.10.0 (#1236)
- build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#1199)
- build(deps): bump github.com/vektra/mockery/v2 from 2.20.2 to 2.21.1 (#1202)
- build(deps): bump github.com/vektra/mockery/v2 from 2.21.1 to 2.21.4 (#1204)
- build(deps): bump github.com/vektra/mockery/v2 from 2.21.4 to 2.21.6 (#1207)
- build(deps): bump github.com/vektra/mockery/v2 from 2.21.6 to 2.22.1 (#1209)
- build(deps): bump github.com/vektra/mockery/v2 from 2.22.1 to 2.23.0 (#1219)
- build(deps): bump github.com/vektra/mockery/v2 from 2.23.0 to 2.23.1 (#1221)
- build(deps): bump github.com/vektra/mockery/v2 from 2.23.1 to 2.23.2 (#1235)
- build(deps): bump github.com/zclconf/go-cty from 1.12.1 to 1.13.0 (#1197)
- build(deps): bump github.com/zclconf/go-cty from 1.13.0 to 1.13.1 (#1216)
- build(deps): bump golang.org/x/tools from 0.6.0 to 0.7.0 (#1203)
- build(deps): Bump hcl-lang & terraform-schema to latest revisions (#1237)
v0.30.3
v0.30.2
NOTES / BREAKING CHANGES:
- We have changed our release process: all assets continue to be available from the HashiCorp Releases site and/or via the Releases API, not as GitHub Release assets anymore.
ENHANCEMENTS:
- Parse
optional()object attribute default values correctly, as introduced in Terraform v1.3 (terraform-schema#184)
BUG FIXES:
- Ignore inaccessible files (such as emacs backup files) (terraform-ls#1172)
- Fix crash when parsing JSON files (introduced in 0.30.0) (hcl-lang#202)
INTERNAL:
- Remove
schema.TupleConsExpr(hcl-lang#175) - internal/schema: Replace
TupleConsExprwithSetExpr(terraform-schema#169) - Use upstreamed HCL typexpr package (terraform-schema#168)
v0.30.1
BUG FIXES:
- Support
dynamicin theprovisionerandproviderblocks (terraform-schema#165) - Fix
dynamicblockfor_eachdescription (hcl-lang#164) - Avoid completing static block inside a
dynamiclabel (hcl-lang#165) - Fix missing hover for
countandfor_eachexpression (hcl-lang#166) - Fix support of deeper nesting of
dynamicblock (hcl-lang#167) - Change
dynamicblock type to default (hcl-lang#168)
v0.30.0
ENHANCEMENTS:
- Support
count.indexreferences in blocks withcountfor completion, hover documentation and semantic tokens highlighting (#860, hcl-lang#160) - Support
each.*references in blocks withfor_eachfor completion, hover documentation and semantic tokens highlighting (#861, hcl-lang#162) - Support
self.*references inprovisioner,connectionandpostconditionblocks for completion, hover documentation and semantic tokens highlighting (#859, hcl-lang#163) dynamicblock support, including label and content completion (#530, hcl-lang#154)- Go-to-definition/go-to-references for
count.index/count(#1093) - Go-to-definition/go-to-references for
each.*/for_each(#1095) - Go-to-definition/go-to-references for
self.*inprovisioner,connectionandpostconditionblocks (#1096) - Remove deprecated backends in Terraform 1.3.0 (terraform-schema#159)
v0.29.3
ENHANCEMENTS:
- schemas: Lazy-load embedded provider schemas (#1071)
- Reduced runtime memory consumption from static ~572MB (representing ~220 providers) to more dynamic depending on providers in use.
For example, no configuration (no provider requirements) should consume around 10MB, indexed folder w/hashicorp/awsrequirement ~70MB. - Reduced launch time from ~ 2 seconds to 1-3 ms.
- Reduced runtime memory consumption from static ~572MB (representing ~220 providers) to more dynamic depending on providers in use.
BUG FIXES:
- fix: Enable IntelliSense for resources & data sources whose name match the provider (e.g.
data) (#1072) - state: avoid infinite recursion (surfaced as crash with "goroutine stack exceeds 1000000000-byte limit" message) (#1084)
- decoder: fix race condition in terraform-schema (surfaced as crash with "fatal error: concurrent map read and map write" message) (#1086)
v0.29.2
BUG FIXES:
- fix: Improve IntelliSense accuracy by tracking provider schema versions (accidentally removed in 0.29.0) (#1060)
- Don't query the Terraform Registry for module sources starting with
.(#1062) - fix race condition in schema merging (terraform-schema#137)
INTERNAL:
- Use Go 1.19 (previously 1.17) to build the server (#1046)