Skip to content

Releases: hashicorp/terraform-ls

v0.36.3

20 Dec 00:58
7c9d67b
Compare
Choose a tag to compare

0.36.3 (19 December 2024)

BUG FIXES:

  • Fix race when parsing locally installed module sources leading to empty completions (#1903)

INTERNAL:

  • Bump golang.org/x/net from 0.32.2 to 0.33.0 (#1905)

v0.36.2

12 Dec 15:41
8da857d
Compare
Choose a tag to compare

BUG FIXES:

  • Fix crash when using ephemeral resources with older Terraform versions (#1892)

v0.36.1

11 Dec 13:29
7f65749
Compare
Choose a tag to compare

ENHANCEMENTS:

  • Stacks: parse terraform-sources.json to support remote component sources (#1836)

BUG FIXES:

  • Fix incorrect validation for heterogeneous list (#1884)
  • Fix incorrect validation of references by correctly detecting tuple and object expressions created from for-expressions (#1890)

INTERNAL:

  • Add Heimdall metadata (#1874)
  • Add tests for Stacks feature (#1879)
  • Fix flaky workspace/symbol tests (#1880)
  • Fix flaky initialize handler tests (#1883)

v0.36.0

15 Nov 17:23
e530270
Compare
Choose a tag to compare

ENHANCEMENTS:

  • Add category to Stacks Deployment store blocks (#1852)
  • Support terraform.applying built-in reference starting at TF 1.10 (#1854)
  • Raise HCL Diagnostics during early validation (#1850)
  • backend/s3: Reflect use_lockfile (v1.10) (terraform-schema#419)
  • backend/s3: Remove deprecated assume role attributes (v1.10) (terraform-schema#420)

BUG FIXES:

  • Use a provider's stable version when bundling schemas (#1860)
  • Avoid copying constraints for attribute schemas (hcl-lang#426)

INTERNAL:

  • Bump Go version to 1.23.2 (#1849)
  • Add a provider schema explainer doc (#1853)
  • Update terraform-json dep to v0.23.0 (#1855)

v0.35.0

15 Oct 13:12
Compare
Choose a tag to compare

0.35.0 (15 October 2024)

NOTES:

This release adds support for Terraform Stack and Deployment files. This provides intelligent completion for Terraform Stacks blocks and attributes in Stack and Deployment files, including suggesting only valid completions for variables in component and deployment blocks. Hover documentation for all Stack and Deploy blocks, with helpful type and usage information. Early Validation has been extended to produce diagnostics along with syntax validation for Stack and Deployment files. Reference support allows code navigation in and between Stack and Deploy files. This also provides formatting support for both Stack and Deploy files.

This release also adds support for Terraform Test and Mock files. This provides completion for blocks and attributes, hover documentation and formatting support.

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)
  • Parse and load Stack and Deploy metadata (#1761)
  • Load Stack component sources from metadata (#1768)
  • Enable early validation for Terraform Stack files (#1776)
  • Merge stack configuration schema with dynamic schema based on used components source and providers (#1770)
  • Merge deployment configuration schema with dynamic schema based on available variables (#1780)
  • Support Terraform functions in stack files (#1781)
  • Add DecodeReferenceOrigins and DecodeReferenceTargets jobs (#1786)
  • Enable component references (terraform-schema#386)
  • Support references for identity tokens and their attributes (terraform-schema#388)
  • Enable references for variables in deployment inputs (Deploy) (terraform-schema#389)
  • Enable component references (terraform-schema#386)
  • Enable ephemeral values for variable (terraform-schema#387)
  • Enable output references (terraform-schema#384)
  • Enable provider references (terraform-schema#385)
  • Add Address to variable block schema for stacks to enable references (terraform-schema#383)
  • Add deployments store block schema (terraform-schema#382)
  • Add input block schema and deprecate variable block (terraform-schema#381)
  • Validate Stack and Deployment files for unreferenced origins (#1797)
  • Early decode deployment config to support references to store blocks (terraform-schema#390)
  • Support a subset of functions in deployment configurations (#1799)
  • Support description attribute for orchestration rule block (terraform-schema#393)
  • Support locals in stack and deploy configs (terraform-schema#395)
  • Support depends_on attribute in component blocks (terraform-schema#392)
  • Support provider defined functions in stacks configuration (#1804)
  • Support description attribute for orchestration rule block (terraform-schema#393)
  • Support locals in stack and deploy configs (terraform-schema#395)
  • Support depends_on attribute in component blocks (terraform-schema#392)
  • Document Terraform Stacks support (#1802)
  • Support context references within orchestrate blocks in deployment configuration (#1813)
  • Static schema support for Terraform Test and Mock files (#1782)

BUG FIXES:

INTERNAL:

  • Load embedded provider schemas for providers found in stacks files into state (#1763)
  • Add artifacts manifest (#1784)
  • Add Stacks Terraform version to telemetry (#1828)

v0.35.0-beta2

06 Sep 13:35
Compare
Choose a tag to compare
v0.35.0-beta2 Pre-release
Pre-release

0.35.0-beta2 (05 September 2024)

ENHANCEMENTS:

  • Support provider defined functions in stacks configuration (#1804)
  • Support description attribute for orchestration rule block (terraform-schema#393)
  • Support locals in stack and deploy configs (terraform-schema#395)
  • Support depends_on attribute in component blocks (terraform-schema#392)
  • Document Terraform Stacks support (#1802)
  • Support context references within orchestrate blocks in deployment configuration (#1813)

BUG FIXES:

INTERNAL:

  • Add artifacts manifest (#1784)
  • Update terraform-schema and hcl-lang (#1814)

v0.34.3

04 Sep 18:10
Compare
Choose a tag to compare

0.34.3 (03 September 2024)

ENHANCEMENTS:

  • Generate built in providers (#1817)

INTERNAL:

  • Add artifacts manifest (#1784)

v0.35.0-beta1

23 Aug 15:50
8bd63ba
Compare
Choose a tag to compare
v0.35.0-beta1 Pre-release
Pre-release

0.35.0-beta1 (23 August 2024)

ENHANCEMENTS:

BUG FIXES:

v0.35.0-alpha2

08 Aug 09:54
e8a1ae6
Compare
Choose a tag to compare
v0.35.0-alpha2 Pre-release
Pre-release

0.35.0-alpha2 (08 August 2024)

BUG FIXES:

  • fix panic on blocks with no labels during validation of label name (#1791)

INTERNAL:

  • Bump terraform-schema to c2315af (#1788)

v0.35.0-alpha1

08 Aug 07:28
d1fdc88
Compare
Choose a tag to compare
v0.35.0-alpha1 Pre-release
Pre-release

0.35.0-alpha1 (07 August 2024)

ENHANCEMENTS:

  • Parse and load Stack and Deploy metadata (#1761)
  • Load Stack component sources from metadata (#1768)
  • Enable early validation for Terraform Stack files (#1776)
  • Merge stack configuration schema with dynamic schema based on used components source and providers (#1770)
  • Merge deployment configuration schema with dynamic schema based on available variables (#1780)
  • Support Terraform functions in stack files (#1781)
  • Add DecodeReferenceOrigins and DecodeReferenceTargets jobs (#1786)

INTERNAL:

  • Load embedded provider schemas for providers found in stacks files into state (#1763)