Releases: hashicorp/terraform-ls
Releases · hashicorp/terraform-ls
v0.32.4
ENHANCEMENTS:
- Add support for conditional expression (hcl-lang#326)
- Add support for template expressions (hcl-lang#322)
- Reflect new SSO endpoint override in S3 backend (terraform-schema#302)
- Reflect new proxy settings in S3 backend (terraform-schema#301)
- Reflect new
skip_s3_checksum
attribute in S3 backend (terraform-schema#295)
BUG FIXES:
- Improve traversal completion for lists, tuples, and sets (hcl-lang#344)
- Update version resolution for empty constraints (terraform-schema#296)
INTERNAL:
- Add new performance issue template (#1499)
- go: Bump version to 1.21.4 (#1511)
- github: Disable dependabot for GHA (#1489)
- build(deps): Bump golang.org/x/tools from 0.14.0 to 0.15.0 (#1491, #1513)
- build(deps): Bump workflows to latest trusted versions (#1493, #1510, #1514)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.36.1 to 2.38.0 (#1498, #1500, #1509)
- build(deps): Bump github.com/hashicorp/terraform-json from 0.17.1 to 0.18.0 (#1492)
- build(deps): Bump go.opentelemetry.io/otel from 1.19.0 to 1.20.0 (#1494)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.45.0 to 0.46.0 (#1496)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.45.0 to 0.46.0 (#1497)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.46.0 to 0.46.1 (#1501)
- build(deps): Bump github.com/creachadair/jrpc2 from 1.1.1 to 1.1.2 (#1504)
- build(deps): Bump github.com/hashicorp/hc-install from 0.6.1 to 0.6.2 (#1516)
v0.32.3
BUG FIXES:
- Validate required attributes more selectively to relax
provider
validation (#1485) - Skip inferring variable type from default values (hcl-lang#338)
- Ensure partially unknown dependent body is handled (hcl-lang#339)
- Fix type-unaware target collection (hcl-lang#340)
- Allow variable references in
depends_on
(terraform-schema#290) - Fix provider attribute to block conversion (terraform-schema#288)
- Skip inferring module inputs for default values (terraform-schema#289)
- Allow local references in
depends_on
(terraform-schema#292)
INTERNAL:
- go: bump version to 1.21.3 (#1467)
- validations: Add link in comment to open issue (#1472)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.35.3 to 2.36.1 (#1463, #1465, #1487)
- build(deps): Bump github.com/hashicorp/hcl/v2 from 2.18.1 to 2.19.1 (#1466, #1468)
- build(deps): Bump actions/checkout from 4.1.0 to 4.1.1 (#1469)
- build(deps): Bump github.com/hashicorp/terraform-registry-address from 0.2.2 to 0.2.3 (#1482)
v0.32.2
ENHANCEMENTS:
- Add
skip_requesting_account_id
tos3
backend (terraform-schema#279)
BUG FIXES:
- Work around 'unreliable' input data for Registry modules (#1456)
- Resolve version correctly for backend schema (#1453)
- Allow objects in
for_each
(hcl-lang#333) - Fix
output
blockprecondition
in 1.2 schema (terraform-schema#282)
INTERNAL:
- build(deps): Bump github.com/vektra/mockery/v2 from 2.35.1 to 2.35.3 (#1451, #1452)
- build(deps): Bump golang.org/x/tools from 0.13.0 to 0.14.0 (#1450)
- build(deps): Bump github.com/hashicorp/hc-install from 0.6.0 to 0.6.1 (#1454)
- build(deps): Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 (#1457)
- build(deps): Bump golang.org/x/net from 0.16.0 to 0.17.0 (#1460)
v0.32.1
ENHANCEMENTS:
- decoder: Add support for binary & unary operators (hcl-lang#320)
BUG FIXES:
- Fix incorrect schema for
terraform_remote_state
data source (terraform-schema#272) - Make
cloud
organization
optional (terraform-schema#271) - Ensure empty objects & tuples still get recognised (hcl-lang#330)
- Introduce default value
"ssh"
fortype
underconnection
block to enable recognition of attributes such asbastion_host
even whentype
is not declared ([hcl-lang#327 (terraform-schema#270) - Introduce v1.3 proxy related fields for provisioner
connection
block (terraform-schema#269) - Ensure
target_platform
is recognised in nestedconnection
block (terraform-schema#268)
v0.32.0
ENHANCEMENTS:
- Enhanced validation provides additional diagnostics for selected invalid Terraform language constructs based on detected Terraform version and provider versions are provided. (#1368)
- Improve performance by parsing changed
*.tf
file (as opposed to all files in the module) (#1404) - Improve performance by parsing changed
*.tfvars
file (as opposed to all files in the directory) (#1422) - Add
project
attribute to workspaces block (terraform-schema#257) - Update
import
ID to be interpolatable (terraform-schema#260) - Add
nullable
tovariable
blocks forv1.1+
(terraform-schema#261) - Add
endpoint
anddomain
tocos
backend (terraform-schema#262) - Add
proxy_url
tokubernetes
backend (terraform-schema#263) - Update
s3
backend withv1.6
changes (terraform-schema#265)
BUG FIXES:
- Allow
list(any)
to be passed intodynamic
block'sfor_each
(hcl-lang#313) - Make
dynamic
content
block required (hcl-lang#314) - indexer: Ensure declared module calls get decoded (#1395)
INTERNAL:
- go: bump version to
1.21.1
(#1408) - build(deps): Bump actions/checkout from 3.6.0 to 4.1.0 (#1382, #1420)
- build(deps): Bump actions/upload-artifact from 3.1.2 to 3.1.3 (#1393)
- build(deps): Bump github.com/algolia/algoliasearch-client-go/v3 from 3.30.1 to 3.31.0 (#1387)
- build(deps): Bump github.com/otiai10/copy from 1.12.0 to 1.14.0 (#1432)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.33.0 to 2.34.2 (#1388, #1411, #1419, #1421, #1423)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace from 0.42.0 to 0.45.0 (#1390, #1405, #1430)
- build(deps): Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.42.0 to 0.43.0 (#1385)
- build(deps): Bump go.opentelemetry.io/otel from 1.17.0 to 1.19.0 (#1401, #1428)
- build(deps): Bump go.opentelemetry.io/otel/trace from 1.16.0 to 1.17.0 (#1389)
- build(deps): Bump golang.org/x/tools from 0.12.0 to 0.13.0 (#1386)
v0.31.5
ENHANCEMENTS:
- jobs: Improve
PreloadEmbeddedSchema
performance (#1369) - langserver: Avoid re-processing open files after file saving to improve performance (#1372)
INTERNAL:
- go: Bump version to 1.21 (#1355)
- Bump terraform-schema and hcl-lang (#1350, #1374)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.32.0 to 2.33.0 (#1345, #1348, #1356, #1360)
- build(deps): Bump golang.org/x/tools from 0.11.1 to 0.12.0 (#1351)
- build(deps): Bump actions/setup-go from 4.0.1 to 4.1.0 (#1354)
- build(deps): Bump github.com/creachadair/jrpc2 from 1.1.0 to 1.1.1 (#1359)
- build(deps): Bump actions/checkout from 3.5.3 to 3.6.0 (#1362)
v0.31.4
ENHANCEMENTS:
- OTEL instrumentation (currently no-op for end-users) (#1327, #1334)
- jobs: Don't wait for
GetModuleDataFromRegistry
job to improve performance (#1332)
INTERNAL:
- build(deps): Bump golang.org/x/tools from 0.11.0 to 0.11.1 (#1342)
- deps: Bump terraform-schema to
8234469
(#1343) - build(deps): Bump github.com/vektra/mockery/v2 from 2.30.1 to 2.30.16 (#1319)
- build(deps): Bump github.com/hashicorp/terraform-json from 0.17.0 to 0.17.1 (#1320)
- build(deps): Bump github.com/algolia/algoliasearch-client-go/v3 from 3.30.0 to 3.30.1 (#1322)
- build(deps): Bump golang.org/x/tools from 0.10.0 to 0.11.0 (#1323)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.30.16 to 2.30.17 (#1325)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.30.17 to 2.31.1 (#1326)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.31.1 to 2.31.4 (#1328)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.31.4 to 2.32.0 (#1329)
- build(deps): Bump github.com/creachadair/jrpc2 from 1.0.1 to 1.1.0 (#1330)
- Change
nvim_create_autocmd
callback to a lambda (#1295) - Fix link in README.md (#1324)
v0.31.3
ENHANCEMENTS:
- Introduce v1.5
check
block (#229) - Introduce v1.5
import
block (#228) - Re-generate function signatures for v1.5 (#213)
- Add v1.4
local-exec
provisionerquiet
attribute (#218) - Reflect 1.4 changes in
gcs
backend (#227) - Reflect 1.4 changes in
http
backend (#226) - Reflect 1.3 & 1.4 changes in
cos
backend (#217) - Reflect 1.2 & 1.3 changes in
azurerm
backend (#225)
INTERNAL:
- build(deps): Bump github.com/algolia/algoliasearch-client-go/v3 from 3.29.1 to 3.29.2 (#1281)
- build(deps): Bump github.com/algolia/algoliasearch-client-go/v3 from 3.29.2 to 3.29.4 (#1289)
- build(deps): Bump github.com/algolia/algoliasearch-client-go/v3 from 3.29.4 to 3.30.0 (#1305)
- build(deps): Bump github.com/hashicorp/hc-install from 0.5.1 to 0.5.2 (#1282)
- build(deps): Bump github.com/hashicorp/hcl/v2 from 2.16.2 to 2.17.0 (#1298)
- build(deps): Bump github.com/hashicorp/terraform-json from 0.16.0 to 0.17.0 (#1308)
- build(deps): Bump github.com/hashicorp/terraform-registry-address from 0.2.0 to 0.2.1 (#1311)
- build(deps): Bump github.com/otiai10/copy from 1.11.0 to 1.12.0 (#1313)
- build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#1288)
- build(deps): Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#1294)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.26.1 to 2.27.1 (#1285)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.27.1 to 2.28.1 (#1293)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.28.1 to 2.28.2 (#1302)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.28.2 to 2.29.0 (#1306)
- build(deps): Bump github.com/vektra/mockery/v2 from 2.29.0 to 2.30.1 (#1310)
- build(deps): Bump github.com/zclconf/go-cty from 1.13.1 to 1.13.2 (#1290)
- build(deps): Bump golang.org/x/tools from 0.9.1 to 0.9.2 (#1299)
- build(deps): Bump golang.org/x/tools from 0.9.2 to 0.9.3 (#1301)
- build(deps): Bump golang.org/x/tools from 0.9.3 to 0.10.0 (#1312)
v0.31.2
BUG FIXES:
- Fix crash on prefix completion (hcl-lang#275)
INTERNAL:
- Remove automated milestone closure commenting (#1266)
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)