terraform-ls

Terraform Language Server

MPL-2.0 License

Downloads
525
Stars
948
Committers
46

Bot releases are visible (Hide)

terraform-ls - v0.32.1

Published by hc-github-team-es-release-engineering about 1 year ago

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" for type under connection block to enable recognition of attributes such as bastion_host even when type 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 nested connection block (terraform-schema#268)
terraform-ls - v0.32.0

Published by hc-github-team-es-release-engineering about 1 year ago

ENHANCEMENTS:

BUG FIXES:

  • Allow list(any) to be passed into dynamic block's for_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)
terraform-ls - v0.31.5

Published by hc-github-team-es-release-engineering about 1 year ago

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)
terraform-ls - v0.31.4

Published by hc-github-team-es-release-engineering about 1 year ago

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)
terraform-ls - v0.31.3

Published by hc-github-team-es-release-engineering over 1 year ago

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 provisioner quiet 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)
terraform-ls - v0.31.2

Published by hc-github-team-es-release-engineering over 1 year ago

BUG FIXES:

INTERNAL:

  • Remove automated milestone closure commenting (#1266)
terraform-ls - v0.31.1

Published by hc-github-team-es-release-engineering over 1 year ago

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)
terraform-ls - v0.31.0

Published by hc-github-team-es-release-engineering over 1 year ago

ENHANCEMENTS:

INTERNAL:

  • Add instructions for Kate editor (#1200)
  • Add TFC usage detection (#1208)

BUG FIXES:

  • Reflect LiteralValue, Description & IsDeprecated in completion/hover (hcl-lang#253)
  • Fix crash when completing LiteralType{Type: cty.Tuple} (hcl-lang#255)
  • Display Tuple hover data on invalid element (hcl-lang#254)
  • Fix collection of implied declared targets of complex types (hcl-lang#259)
  • Collect targets w/ interpolation for Any correctly (hcl-lang#257)
terraform-ls - v0.31.0-beta

Published by hc-github-team-es-release-engineering over 1 year ago

ENHANCEMENTS:

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)
terraform-ls - v0.30.3

Published by hc-github-team-es-release-engineering over 1 year ago

BUG FIXES:

  • Enable static builds of Linux binaries (again) (#1193)
terraform-ls - v0.30.2

Published by hc-github-team-es-release-engineering over 1 year ago

NOTES / BREAKING CHANGES:

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:

terraform-ls - v0.30.1

Published by github-actions[bot] almost 2 years ago

BUG FIXES:

terraform-ls - v0.30.0

Published by github-actions[bot] almost 2 years ago

ENHANCEMENTS:

  • Support count.index references in blocks with count for completion, hover documentation and semantic tokens highlighting (#860, hcl-lang#160)
  • Support each.* references in blocks with for_each for completion, hover documentation and semantic tokens highlighting (#861, hcl-lang#162)
  • Support self.* references in provisioner, connection and postcondition blocks for completion, hover documentation and semantic tokens highlighting (#859, hcl-lang#163)
  • dynamic block 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.* in provisioner, connection and postcondition blocks (#1096)
  • Remove deprecated backends in Terraform 1.3.0 (terraform-schema#159)
terraform-ls - v0.29.3

Published by github-actions[bot] about 2 years ago

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/aws requirement ~70MB.
    • Reduced launch time from ~ 2 seconds to 1-3 ms.

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)
terraform-ls - v0.29.2

Published by github-actions[bot] about 2 years ago

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)
terraform-ls - v0.29.1

Published by github-actions[bot] about 2 years ago

ENHANCEMENTS:

  • docs: Add link to post explaining vim plugin installation (#1044)

BUG FIXES:

  • goreleaser: Use correct ldflag (versionPrerelease) when compiling LS (#1043)
  • Fix panic on obtaining provider schemas (#1048)

INTERNAL:

  • cleanup: Remove LogHandler (#1038)
terraform-ls - v0.29.0

Published by github-actions[bot] about 2 years ago

NOTES / BREAKING CHANGES:

  • settings: rootModulePaths option was deprecated and is ignored. Users should instead leverage the workspace LSP API and add the folder to a workspace, if they wish it to be indexed (#1003)
  • settings: excludeModulePaths option was deprecated in favour of indexing.ignorePaths. excludeModulePaths is now ignored (#1003)
  • settings: ignoreDirectoryNames option was deprecated in favour of indexing.ignoreDirectoryNames. ignoreDirectoryNames is now ignored (#1003, #1010)
  • settings: terraformExecPath option was deprecated in favour of terraform.path. Old option is now ignored. (#1011)
  • settings: terraformExecTimeout option was deprecated in favour of terraform.timeout. Old option is now ignored. (#1011)
  • settings: terraformLogFilePath option was deprecated in favour of terraform.logFilePath. Old option is now ignored. (#1011)
  • cmd/serve: Previously deprecated -tf-exec* CLI flags were removed (-tf-exec, -tf-exec-timeout and -tf-log-file) in favour of LSP-based terraform.* configuration options (#1012)

ENHANCEMENTS:

  • Replace internal watcher (used for watching changes in installed plugins and modules) with LSP dynamic capability registration & workspace/didChangeWatchedFiles. This should leave to improved performance in most cases. (#953)
  • Provide completion, hover and docs links for uninitialized Registry modules (#924)
  • Provide basic IntelliSense (except for diagnostics) for hidden *.tf files (#971)
  • deps: bump terraform-schema to introduce v1.1 terraform cloud block (terraform-schema#117)
  • deps: bump terraform-schema to introduce v1.1 moved block (terraform-schema#121)
  • deps: bump terraform-schema to introduce v1.2 lifecycle conditions (terraform-schema#115)
  • deps: bump terraform-schema to introduce v1.2 lifecycle replace_triggered_by (terraform-schema#123)
  • Use module declarations from parsed configuration as source of truth for module.calls (#987)
  • walker: Index uninitialized modules (#997)
  • Recognize inputs and outputs of uninitialized local modules (#598)
  • Enable go to module output declaration from reference (#1007)
  • settings: New option indexing.ignorePaths was introduced (#1003, #1010)
  • Introduce module.terraform custom LSP command to expose Terraform requirements & version (#1016)
  • Avoid obtaining schema via Terraform CLI if the same version is already cached (based on plugin lock file) (#1014)
  • Avoid getting version via terraform version during background indexing and pick relevant IntelliSense data based on required_version constraint (#1027)
  • Provide 0.12 based IntelliSense for any <0.12 Terraform versions (#1027)
  • Complete module source and version attributes for local and registry modules (#1024)

BUG FIXES:

  • handlers/command: Return partially parsed metadata from module.providers (#951)
  • fix: Avoid ignoring hidden *.tfvars files (#968)
  • fix: Avoid crash on invalid URIs (#969)
  • fix: Avoid crash on invalid provider name (#1030)

INTERNAL:

  • job: introduce explicit priority for jobs (#977)
  • main: allow build version metadata to be set (#945)
  • deps: switch to the new minimal terraform-registry-address API (#949)
  • deps: bump LSP structs to match gopls 0.8.4 (#947)
  • deps: bump github.com/hashicorp/terraform-exec from 0.16.1 to 0.17.0 (#963)
  • deps: bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#979)
  • indexer: refactor & improve/cleanup error handling (#988)
  • indexer/walker: Avoid running jobs where not needed (#1006)
terraform-ls - v0.28.1

Published by github-actions[bot] over 2 years ago

Due to some release pipeline changes and multiple release attempts, 0.28.0 release was published with checksums mismatching the release artifacts.

This release is therefore equivalent to v0.28.0, but published with the correct checksums.

terraform-ls - v0.28.0

Published by github-actions[bot] over 2 years ago

ENHANCEMENTS:

  • Link to documentation from module source for registry modules (#874)
  • Provide refresh mechanism for module.providers when providers change (#902)
  • Provide refresh mechanism for module.calls when module calls change (#909)
  • Add support for workspace/didChangeWatchedFiles notifications for *.tf & *.tfvars (#790)
  • Improve performance by reducing amount of notifications sent for any single module changes (#931)

BUG FIXES:

  • Ignore duplicate document versions in textDocument/didChange (#940)

INTERNAL:

  • build(deps): bump github.com/mitchellh/cli from 1.1.2 to 1.1.3 (#886)
  • Use terraform-registry-address for parsing module sources (#891)
  • Add utm parameters to docs links in module.* commands (#923)
terraform-ls - v0.27.0

Published by github-actions[bot] over 2 years ago

NOTES / BREAKING CHANGES:

  • langserver/handlers/command: Remove rootmodules command (#846)
  • cmd: Remove completion CLI command (#852)

ENHANCEMENTS:

  • Provide (opt-in) custom semantic tokens & modifiers (#833)
  • Enable 'go to module source' for local modules (via #849)
  • Enable opening a single Terraform file (#843)

BUG FIXES:

  • Avoid hanging when workspace contains >50 folders (#839)
  • Make loading of parent directory after lower level directories work (#851)
  • Fix corrupted diffs in formatting responses (#876)
  • Fix module.calls command for Registry modules installed by Terraform v1.1+ (#872)

INTERNAL: