diff --git a/.changes/unreleased/BUG FIXES-20240924-105626.yaml b/.changes/unreleased/BUG FIXES-20240924-105626.yaml deleted file mode 100644 index e5f12f5a6..000000000 --- a/.changes/unreleased/BUG FIXES-20240924-105626.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: BUG FIXES -body: Fix typo in USAGE.md -time: 2024-09-24T10:56:26.217913+02:00 -custom: - Issue: "1835" - Repository: terraform-ls diff --git a/.changes/unreleased/ENHANCEMENTS-20240912-120041.yaml b/.changes/unreleased/ENHANCEMENTS-20240912-120041.yaml deleted file mode 100644 index 3018baa9f..000000000 --- a/.changes/unreleased/ENHANCEMENTS-20240912-120041.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: ENHANCEMENTS -body: Static schema support for Terraform Test and Mock files -time: 2024-09-12T12:00:41.4902+02:00 -custom: - Issue: "1782" - Repository: terraform-ls diff --git a/.changes/unreleased/INTERNAL-20240913-111349.yaml b/.changes/unreleased/INTERNAL-20240913-111349.yaml deleted file mode 100644 index fcabde6e8..000000000 --- a/.changes/unreleased/INTERNAL-20240913-111349.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: INTERNAL -body: Add Stacks Terraform version to telemetry -time: 2024-09-13T11:13:49.570195+02:00 -custom: - Issue: "1828" - Repository: terraform-ls diff --git a/.changes/v0.35.0.md b/.changes/v0.35.0.md new file mode 100644 index 000000000..254d3db79 --- /dev/null +++ b/.changes/v0.35.0.md @@ -0,0 +1,56 @@ +## 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](https://github.com/hashicorp/terraform-ls/issues/1745)) +* Parse and load Stack and Deploy metadata ([#1761](https://github.com/hashicorp/terraform-ls/issues/1761)) +* Load Stack component sources from metadata ([#1768](https://github.com/hashicorp/terraform-ls/issues/1768)) +* Enable early validation for Terraform Stack files ([#1776](https://github.com/hashicorp/terraform-ls/issues/1776)) +* Merge stack configuration schema with dynamic schema based on used components source and providers ([#1770](https://github.com/hashicorp/terraform-ls/issues/1770)) +* Merge deployment configuration schema with dynamic schema based on available variables ([#1780](https://github.com/hashicorp/terraform-ls/issues/1780)) +* Support Terraform functions in stack files ([#1781](https://github.com/hashicorp/terraform-ls/issues/1781)) +* Add DecodeReferenceOrigins and DecodeReferenceTargets jobs ([#1786](https://github.com/hashicorp/terraform-ls/issues/1786)) +* Enable component references ([terraform-schema#386](https://github.com/hashicorp/terraform-schema/issues/386)) +* Support references for identity tokens and their attributes ([terraform-schema#388](https://github.com/hashicorp/terraform-schema/issues/388)) +* Enable references for variables in deployment inputs (Deploy) ([terraform-schema#389](https://github.com/hashicorp/terraform-schema/issues/389)) +* Enable component references ([terraform-schema#386](https://github.com/hashicorp/terraform-schema/issues/386)) +* Enable ephemeral values for variable ([terraform-schema#387](https://github.com/hashicorp/terraform-schema/issues/387)) +* Enable output references ([terraform-schema#384](https://github.com/hashicorp/terraform-schema/issues/384)) +* Enable provider references ([terraform-schema#385](https://github.com/hashicorp/terraform-schema/issues/385)) +* Add Address to variable block schema for stacks to enable references ([terraform-schema#383](https://github.com/hashicorp/terraform-schema/issues/383)) +* Add deployments store block schema ([terraform-schema#382](https://github.com/hashicorp/terraform-schema/issues/382)) +* Add input block schema and deprecate variable block ([terraform-schema#381](https://github.com/hashicorp/terraform-schema/issues/381)) +* Validate Stack and Deployment files for unreferenced origins ([#1797](https://github.com/hashicorp/terraform-ls/issues/1797)) +* Early decode deployment config to support references to store blocks ([terraform-schema#390](https://github.com/hashicorp/terraform-schema/issues/390)) +* Support a subset of functions in deployment configurations ([#1799](https://github.com/hashicorp/terraform-ls/issues/1799)) +* Support description attribute for orchestration rule block ([terraform-schema#393](https://github.com/hashicorp/terraform-schema/issues/393)) +* Support locals in stack and deploy configs ([terraform-schema#395](https://github.com/hashicorp/terraform-schema/issues/395)) +* Support depends_on attribute in component blocks ([terraform-schema#392](https://github.com/hashicorp/terraform-schema/issues/392)) +* Support provider defined functions in stacks configuration ([#1804](https://github.com/hashicorp/terraform-ls/issues/1804)) +* Support description attribute for orchestration rule block ([terraform-schema#393](https://github.com/hashicorp/terraform-schema/issues/393)) +* Support locals in stack and deploy configs ([terraform-schema#395](https://github.com/hashicorp/terraform-schema/issues/395)) +* Support depends_on attribute in component blocks ([terraform-schema#392](https://github.com/hashicorp/terraform-schema/issues/392)) +* Document Terraform Stacks support ([#1802](https://github.com/hashicorp/terraform-ls/issues/1802)) +* Support context references within orchestrate blocks in deployment configuration ([#1813](https://github.com/hashicorp/terraform-ls/issues/1813)) +* Static schema support for Terraform Test and Mock files ([#1782](https://github.com/hashicorp/terraform-ls/issues/1782)) + +BUG FIXES: + +* Fix typo in USAGE.md ([#1835](https://github.com/hashicorp/terraform-ls/issues/1835)) +* Fix panic on blocks with no labels during validation of label name ([#1791](https://github.com/hashicorp/terraform-ls/issues/1791)) +* Fix type for provider references in component blocks ([terraform-schema#391](https://github.com/hashicorp/terraform-schema/issues/391)) +* Fix type for provider references in component blocks ([terraform-schema#391](https://github.com/hashicorp/terraform-schema/issues/391)) +* Support sensitive attribute for stacks variables ([terraform-schema#401](https://github.com/hashicorp/terraform-schema/issues/401)) +* Allow any type as inputs to components per default ([terraform-schema#400](https://github.com/hashicorp/terraform-schema/issues/400)) + +INTERNAL: + +* Load embedded provider schemas for providers found in stacks files into state ([#1763](https://github.com/hashicorp/terraform-ls/issues/1763)) +* Add artifacts manifest ([#1784](https://github.com/hashicorp/terraform-ls/issues/1784)) +* Add Stacks Terraform version to telemetry ([#1828](https://github.com/hashicorp/terraform-ls/issues/1828)) diff --git a/CHANGELOG.md b/CHANGELOG.md index b89039b79..3e625ec7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,59 @@ -## 0.34.3 (03 September 2024) +## 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: -* Generate built in providers ([#1817](https://github.com/hashicorp/terraform-ls/issues/1817)) +* 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](https://github.com/hashicorp/terraform-ls/issues/1745)) +* Parse and load Stack and Deploy metadata ([#1761](https://github.com/hashicorp/terraform-ls/issues/1761)) +* Load Stack component sources from metadata ([#1768](https://github.com/hashicorp/terraform-ls/issues/1768)) +* Enable early validation for Terraform Stack files ([#1776](https://github.com/hashicorp/terraform-ls/issues/1776)) +* Merge stack configuration schema with dynamic schema based on used components source and providers ([#1770](https://github.com/hashicorp/terraform-ls/issues/1770)) +* Merge deployment configuration schema with dynamic schema based on available variables ([#1780](https://github.com/hashicorp/terraform-ls/issues/1780)) +* Support Terraform functions in stack files ([#1781](https://github.com/hashicorp/terraform-ls/issues/1781)) +* Add DecodeReferenceOrigins and DecodeReferenceTargets jobs ([#1786](https://github.com/hashicorp/terraform-ls/issues/1786)) +* Enable component references ([terraform-schema#386](https://github.com/hashicorp/terraform-schema/issues/386)) +* Support references for identity tokens and their attributes ([terraform-schema#388](https://github.com/hashicorp/terraform-schema/issues/388)) +* Enable references for variables in deployment inputs (Deploy) ([terraform-schema#389](https://github.com/hashicorp/terraform-schema/issues/389)) +* Enable component references ([terraform-schema#386](https://github.com/hashicorp/terraform-schema/issues/386)) +* Enable ephemeral values for variable ([terraform-schema#387](https://github.com/hashicorp/terraform-schema/issues/387)) +* Enable output references ([terraform-schema#384](https://github.com/hashicorp/terraform-schema/issues/384)) +* Enable provider references ([terraform-schema#385](https://github.com/hashicorp/terraform-schema/issues/385)) +* Add Address to variable block schema for stacks to enable references ([terraform-schema#383](https://github.com/hashicorp/terraform-schema/issues/383)) +* Add deployments store block schema ([terraform-schema#382](https://github.com/hashicorp/terraform-schema/issues/382)) +* Add input block schema and deprecate variable block ([terraform-schema#381](https://github.com/hashicorp/terraform-schema/issues/381)) +* Validate Stack and Deployment files for unreferenced origins ([#1797](https://github.com/hashicorp/terraform-ls/issues/1797)) +* Early decode deployment config to support references to store blocks ([terraform-schema#390](https://github.com/hashicorp/terraform-schema/issues/390)) +* Support a subset of functions in deployment configurations ([#1799](https://github.com/hashicorp/terraform-ls/issues/1799)) +* Support description attribute for orchestration rule block ([terraform-schema#393](https://github.com/hashicorp/terraform-schema/issues/393)) +* Support locals in stack and deploy configs ([terraform-schema#395](https://github.com/hashicorp/terraform-schema/issues/395)) +* Support depends_on attribute in component blocks ([terraform-schema#392](https://github.com/hashicorp/terraform-schema/issues/392)) +* Support provider defined functions in stacks configuration ([#1804](https://github.com/hashicorp/terraform-ls/issues/1804)) +* Support description attribute for orchestration rule block ([terraform-schema#393](https://github.com/hashicorp/terraform-schema/issues/393)) +* Support locals in stack and deploy configs ([terraform-schema#395](https://github.com/hashicorp/terraform-schema/issues/395)) +* Support depends_on attribute in component blocks ([terraform-schema#392](https://github.com/hashicorp/terraform-schema/issues/392)) +* Document Terraform Stacks support ([#1802](https://github.com/hashicorp/terraform-ls/issues/1802)) +* Support context references within orchestrate blocks in deployment configuration ([#1813](https://github.com/hashicorp/terraform-ls/issues/1813)) +* Static schema support for Terraform Test and Mock files ([#1782](https://github.com/hashicorp/terraform-ls/issues/1782)) + +BUG FIXES: + +* Fix typo in USAGE.md ([#1835](https://github.com/hashicorp/terraform-ls/issues/1835)) +* Fix panic on blocks with no labels during validation of label name ([#1791](https://github.com/hashicorp/terraform-ls/issues/1791)) +* Fix type for provider references in component blocks ([terraform-schema#391](https://github.com/hashicorp/terraform-schema/issues/391)) +* Fix type for provider references in component blocks ([terraform-schema#391](https://github.com/hashicorp/terraform-schema/issues/391)) +* Support sensitive attribute for stacks variables ([terraform-schema#401](https://github.com/hashicorp/terraform-schema/issues/401)) +* Allow any type as inputs to components per default ([terraform-schema#400](https://github.com/hashicorp/terraform-schema/issues/400)) +INTERNAL: + +* Load embedded provider schemas for providers found in stacks files into state ([#1763](https://github.com/hashicorp/terraform-ls/issues/1763)) +* Add artifacts manifest ([#1784](https://github.com/hashicorp/terraform-ls/issues/1784)) +* Add Stacks Terraform version to telemetry ([#1828](https://github.com/hashicorp/terraform-ls/issues/1828)) ## 0.35.0-beta2 (05 September 2024) ENHANCEMENTS: @@ -77,6 +127,16 @@ INTERNAL: * Load embedded provider schemas for providers found in stacks files into state ([#1763](https://github.com/hashicorp/terraform-ls/issues/1763)) +## 0.34.3 (03 September 2024) + +ENHANCEMENTS: + +* Generate built in providers ([#1817](https://github.com/hashicorp/terraform-ls/issues/1817)) + +INTERNAL: + +* Add artifacts manifest ([#1784](https://github.com/hashicorp/terraform-ls/issues/1784)) + ## 0.34.2 (29 July 2024) BUG FIXES: diff --git a/version/VERSION b/version/VERSION index 436692690..7b52f5e51 100644 --- a/version/VERSION +++ b/version/VERSION @@ -1 +1 @@ -0.35.0-beta2 +0.35.0