From c4abd2ef32a2044ce76d3b55a8733b1e440e575b Mon Sep 17 00:00:00 2001 From: James Pogran Date: Fri, 11 Oct 2024 09:42:30 -0400 Subject: [PATCH] Ensure date ordering for changie entries This commit consolidates all prerelease entries into their related stable release entry file. This ensures that the changelog entries are ordered by date, with the most recent entries at the top. The individual prerelease files are no longer necessary to keep around, as the information is now consolidated into the stable release entry. The side effect of this is that we will need to do this same operation manually as we release a stable version as this is outside of changie's current capabilities. --- .../unreleased/INTERNAL-20241011-095553.yaml | 6 + .changes/v2.31.0.md | 10 ++ .changes/v2.31.2024061114.md | 10 -- .changes/v2.32.0.md | 6 + .changes/v2.32.2024070910.md | 6 - .changes/v2.33.0.md | 80 +++++++++ .changes/v2.33.2024073012.md | 7 - .changes/v2.33.2024080812.md | 21 --- .changes/v2.33.2024082314.md | 25 --- .changes/v2.33.2024090609.md | 27 --- CHANGELOG.md | 160 +++++++++--------- 11 files changed, 182 insertions(+), 176 deletions(-) create mode 100644 .changes/unreleased/INTERNAL-20241011-095553.yaml delete mode 100644 .changes/v2.31.2024061114.md delete mode 100644 .changes/v2.32.2024070910.md delete mode 100644 .changes/v2.33.2024073012.md delete mode 100644 .changes/v2.33.2024080812.md delete mode 100644 .changes/v2.33.2024082314.md delete mode 100644 .changes/v2.33.2024090609.md diff --git a/.changes/unreleased/INTERNAL-20241011-095553.yaml b/.changes/unreleased/INTERNAL-20241011-095553.yaml new file mode 100644 index 000000000..a082870cd --- /dev/null +++ b/.changes/unreleased/INTERNAL-20241011-095553.yaml @@ -0,0 +1,6 @@ +kind: INTERNAL +body: Ensure date ordering for changie entries +time: 2024-10-11T09:55:53.169097-04:00 +custom: + Issue: "1860" + Repository: vscode-terraform diff --git a/.changes/v2.31.0.md b/.changes/v2.31.0.md index 6f1c2b35e..12b1ae17e 100644 --- a/.changes/v2.31.0.md +++ b/.changes/v2.31.0.md @@ -8,3 +8,13 @@ ENHANCEMENTS: * Add support for the new `templatestring` functions in Terraform 1.9 ([terraform-ls#357](https://github.com/hashicorp/terraform-ls/issues/357)) * Introduce provisioners to `removed` blocks in Terraform 1.9 ([terraform-schema#358](https://github.com/hashicorp/terraform-schema/issues/358)) +## 2.31.2024061114 (2024-06-11) + +ENHANCEMENTS: + +* Re-architect the language server for improved performance and resource utilization ([terraform-ls#1667](https://github.com/hashicorp/terraform-ls/issues/1667)) + +This marks the completion of a major refactoring effort. The language server will now start up much faster and use less resources, especially on larger workspaces. We achieve this by doing less work during the initial walk of a workspace. Instead, we only parse modules with open files. Whenever a file of a module is opened, we schedule all the jobs needed to understand the contents of that directory (and the referenced modules). + +We have tested this with workspaces and configurations of different sizes, but still expect some bugs. Please give this preview a try and let us know how it works for you. + diff --git a/.changes/v2.31.2024061114.md b/.changes/v2.31.2024061114.md deleted file mode 100644 index 25da5e75c..000000000 --- a/.changes/v2.31.2024061114.md +++ /dev/null @@ -1,10 +0,0 @@ -## 2.31.2024061114 (2024-06-11) - -ENHANCEMENTS: - -* Re-architect the language server for improved performance and resource utilization ([terraform-ls#1667](https://github.com/hashicorp/terraform-ls/issues/1667)) - -This marks the completion of a major refactoring effort. The language server will now start up much faster and use less resources, especially on larger workspaces. We achieve this by doing less work during the initial walk of a workspace. Instead, we only parse modules with open files. Whenever a file of a module is opened, we schedule all the jobs needed to understand the contents of that directory (and the referenced modules). - -We have tested this with workspaces and configurations of different sizes, but still expect some bugs. Please give this preview a try and let us know how it works for you. - diff --git a/.changes/v2.32.0.md b/.changes/v2.32.0.md index dea3336cb..46fa90e49 100644 --- a/.changes/v2.32.0.md +++ b/.changes/v2.32.0.md @@ -12,3 +12,9 @@ INTERNAL: * Introduce a workflow that checks for changelog entries ([#1796](https://github.com/hashicorp/vscode-terraform/issues/1796)) +## 2.32.2024070910 (2024-07-09) + +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 ([terraform-ls#1745](https://github.com/hashicorp/terraform-ls/issues/1745)) + diff --git a/.changes/v2.32.2024070910.md b/.changes/v2.32.2024070910.md deleted file mode 100644 index 7d01828a6..000000000 --- a/.changes/v2.32.2024070910.md +++ /dev/null @@ -1,6 +0,0 @@ -## 2.32.2024070910 (2024-07-09) - -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 ([terraform-ls#1745](https://github.com/hashicorp/terraform-ls/issues/1745)) - diff --git a/.changes/v2.33.0.md b/.changes/v2.33.0.md index 28d31cafb..2009c0412 100644 --- a/.changes/v2.33.0.md +++ b/.changes/v2.33.0.md @@ -66,3 +66,83 @@ INTERNAL: * Bump axios to 1.7.4 ([#1818](https://github.com/hashicorp/vscode-terraform/issues/1818)) * Bump braces to 3.0.3 ([#1819](https://github.com/hashicorp/vscode-terraform/issues/1819)) +## 2.33.2024090609 (2024-09-06) + +ENHANCEMENTS: + +* Bump hashicorp/syntax from 0.5.0 to 0.7.0 ([#1820](https://github.com/hashicorp/vscode-terraform/issues/1820)) +* Document Terraform Stacks support ([#1829](https://github.com/hashicorp/vscode-terraform/issues/1829)) +* Remove static snippets ([#1830](https://github.com/hashicorp/vscode-terraform/issues/1830)) +* Enable language status bar for Stack language ([#1835](https://github.com/hashicorp/vscode-terraform/issues/1835)) +* Add icon for .terraform-version file ([#1836](https://github.com/hashicorp/vscode-terraform/issues/1836)) +* 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)) + +BUG FIXES: + +* 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: + +* Bump axios to 1.7.4 ([#1818](https://github.com/hashicorp/vscode-terraform/issues/1818)) +* Bump braces to 3.0.3 ([#1819](https://github.com/hashicorp/vscode-terraform/issues/1819)) + +## 2.33.2024082314 (2024-08-23) + +ENHANCEMENTS: + +* 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 ([terraform-ls#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 ([terraform-ls#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)) + +BUG FIXES: + +* Fix type for provider references in component blocks ([terraform-schema#391](https://github.com/hashicorp/terraform-schema/issues/391)) + +## 2.33.2024080812 (2024-08-08) + +ENHANCEMENTS: + +* Parse and load Stack and Deploy metadata ([terraform-ls#1761](https://github.com/hashicorp/terraform-ls/issues/1761)) +* Load Stack component sources from metadata ([terraform-ls#1768](https://github.com/hashicorp/terraform-ls/issues/1768)) +* Enable early validation for Terraform Stack files ([terraform-ls#1776](https://github.com/hashicorp/terraform-ls/issues/1776)) +* Merge stack configuration schema with dynamic schema based on used components source and providers ([terraform-ls#1770](https://github.com/hashicorp/terraform-ls/issues/1770)) +* Merge deployment configuration schema with dynamic schema based on available variables ([terraform-ls#1780](https://github.com/hashicorp/terraform-ls/issues/1780)) +* Support Terraform functions in stack files ([terraform-ls#1781](https://github.com/hashicorp/terraform-ls/issues/1781)) +* Add DecodeReferenceOrigins and DecodeReferenceTargets jobs ([terraform-ls#1786](https://github.com/hashicorp/terraform-ls/issues/1786)) + +BUG FIXES: + +* fix panic on blocks with no labels during validation of label name ([terraform-ls#1791](https://github.com/hashicorp/terraform-ls/issues/1791)) + +INTERNAL: + +* Load embedded provider schemas for providers found in stacks files into state ([terraform-ls#1763](https://github.com/hashicorp/terraform-ls/issues/1763)) +* Bump terraform-schema to c2315af ([terraform-ls#1788](https://github.com/hashicorp/terraform-ls/issues/1788)) + +## 2.33.2024073012 (2024-07-30) + +INTERNAL: + +* Add development launch target for extensionHost ([#1805](https://github.com/hashicorp/vscode-terraform/issues/1805)) +* Replace webpack with esbuild ([#1807](https://github.com/hashicorp/vscode-terraform/issues/1807)) + diff --git a/.changes/v2.33.2024073012.md b/.changes/v2.33.2024073012.md deleted file mode 100644 index 83256bfc1..000000000 --- a/.changes/v2.33.2024073012.md +++ /dev/null @@ -1,7 +0,0 @@ -## 2.33.2024073012 (2024-07-30) - -INTERNAL: - -* Add development launch target for extensionHost ([#1805](https://github.com/hashicorp/vscode-terraform/issues/1805)) -* Replace webpack with esbuild ([#1807](https://github.com/hashicorp/vscode-terraform/issues/1807)) - diff --git a/.changes/v2.33.2024080812.md b/.changes/v2.33.2024080812.md deleted file mode 100644 index 9d3912029..000000000 --- a/.changes/v2.33.2024080812.md +++ /dev/null @@ -1,21 +0,0 @@ -## 2.33.2024080812 (2024-08-08) - -ENHANCEMENTS: - -* Parse and load Stack and Deploy metadata ([terraform-ls#1761](https://github.com/hashicorp/terraform-ls/issues/1761)) -* Load Stack component sources from metadata ([terraform-ls#1768](https://github.com/hashicorp/terraform-ls/issues/1768)) -* Enable early validation for Terraform Stack files ([terraform-ls#1776](https://github.com/hashicorp/terraform-ls/issues/1776)) -* Merge stack configuration schema with dynamic schema based on used components source and providers ([terraform-ls#1770](https://github.com/hashicorp/terraform-ls/issues/1770)) -* Merge deployment configuration schema with dynamic schema based on available variables ([terraform-ls#1780](https://github.com/hashicorp/terraform-ls/issues/1780)) -* Support Terraform functions in stack files ([terraform-ls#1781](https://github.com/hashicorp/terraform-ls/issues/1781)) -* Add DecodeReferenceOrigins and DecodeReferenceTargets jobs ([terraform-ls#1786](https://github.com/hashicorp/terraform-ls/issues/1786)) - -BUG FIXES: - -* fix panic on blocks with no labels during validation of label name ([terraform-ls#1791](https://github.com/hashicorp/terraform-ls/issues/1791)) - -INTERNAL: - -* Load embedded provider schemas for providers found in stacks files into state ([terraform-ls#1763](https://github.com/hashicorp/terraform-ls/issues/1763)) -* Bump terraform-schema to c2315af ([terraform-ls#1788](https://github.com/hashicorp/terraform-ls/issues/1788)) - diff --git a/.changes/v2.33.2024082314.md b/.changes/v2.33.2024082314.md deleted file mode 100644 index 012ebefcc..000000000 --- a/.changes/v2.33.2024082314.md +++ /dev/null @@ -1,25 +0,0 @@ -## 2.33.2024082314 (2024-08-23) - -ENHANCEMENTS: - -* 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 ([terraform-ls#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 ([terraform-ls#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)) - -BUG FIXES: - -* Fix type for provider references in component blocks ([terraform-schema#391](https://github.com/hashicorp/terraform-schema/issues/391)) - diff --git a/.changes/v2.33.2024090609.md b/.changes/v2.33.2024090609.md deleted file mode 100644 index f311055f9..000000000 --- a/.changes/v2.33.2024090609.md +++ /dev/null @@ -1,27 +0,0 @@ -## 2.33.2024090609 (2024-09-06) - -ENHANCEMENTS: - -* Bump hashicorp/syntax from 0.5.0 to 0.7.0 ([#1820](https://github.com/hashicorp/vscode-terraform/issues/1820)) -* Document Terraform Stacks support ([#1829](https://github.com/hashicorp/vscode-terraform/issues/1829)) -* Remove static snippets ([#1830](https://github.com/hashicorp/vscode-terraform/issues/1830)) -* Enable language status bar for Stack language ([#1835](https://github.com/hashicorp/vscode-terraform/issues/1835)) -* Add icon for .terraform-version file ([#1836](https://github.com/hashicorp/vscode-terraform/issues/1836)) -* 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)) - -BUG FIXES: - -* 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: - -* Bump axios to 1.7.4 ([#1818](https://github.com/hashicorp/vscode-terraform/issues/1818)) -* Bump braces to 3.0.3 ([#1819](https://github.com/hashicorp/vscode-terraform/issues/1819)) - diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e2fdc0ff..b54bd5e9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,73 @@ # Changelog +## 2.33.0 (2024-10-14) + +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 syntax highlighting, completion for blocks and attributes, hover documentation and formatting support. + +BREAKING CHANGES: + +* Remove static snippets ([#1830](https://github.com/hashicorp/vscode-terraform/issues/1830)) + +ENHANCEMENTS: + +* Add initial support for Terraform Stacks files and Deployment files ([#1745](https://github.com/hashicorp/terraform-ls/issues/1745)) +* Bump hashicorp/syntax from 0.5.0 to 0.7.0 ([#1820](https://github.com/hashicorp/vscode-terraform/issues/1820)) +* Document Terraform Stacks support ([#1829](https://github.com/hashicorp/vscode-terraform/issues/1829)) +* Enable language status bar for Stack language ([#1835](https://github.com/hashicorp/vscode-terraform/issues/1835)) +* Add icon for .terraform-version file ([#1836](https://github.com/hashicorp/vscode-terraform/issues/1836)) +* Parse and load Stack and Deploy metadata ([terraform-ls#1761](https://github.com/hashicorp/terraform-ls/issues/1761)) +* Load Stack component sources from metadata ([terraform-ls#1768](https://github.com/hashicorp/terraform-ls/issues/1768)) +* Enable early validation for Terraform Stack files ([terraform-ls#1776](https://github.com/hashicorp/terraform-ls/issues/1776)) +* Merge stack configuration schema with dynamic schema based on used components source and providers ([terraform-ls#1770](https://github.com/hashicorp/terraform-ls/issues/1770)) +* Merge deployment configuration schema with dynamic schema based on available variables ([terraform-ls#1780](https://github.com/hashicorp/terraform-ls/issues/1780)) +* Support Terraform functions in stack files ([terraform-ls#1781](https://github.com/hashicorp/terraform-ls/issues/1781)) +* Add DecodeReferenceOrigins and DecodeReferenceTargets jobs ([terraform-ls#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 ([terraform-ls#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 ([terraform-ls#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)) +* Support context references within orchestrate blocks in deployment configuration ([#1813](https://github.com/hashicorp/terraform-ls/issues/1813)) +* Initial support for Terraform Test and Mock files ([#1812](https://github.com/hashicorp/vscode-terraform/issues/1812)) +* Enable language status bar for Test Language ([#1847](https://github.com/hashicorp/vscode-terraform/issues/1847)) +* Static schema support for Terraform Test and Mock files ([terraform-ls#1782](https://github.com/hashicorp/terraform-ls/issues/1782)) + +BUG FIXES: + +* Update HCP Terraform readme with corrected gifs ([#1839](https://github.com/hashicorp/vscode-terraform/issues/1839)) +* Fixes parsing expressions containing an open curly brace as blocks ([syntax#149](https://github.com/hashicorp/syntax/issues/149)) +* Fix panic on blocks with no labels during validation of label name ([terraform-ls#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)) +* 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: + +* Add development launch target for extensionHost ([#1805](https://github.com/hashicorp/vscode-terraform/issues/1805)) +* Replace webpack with esbuild ([#1807](https://github.com/hashicorp/vscode-terraform/issues/1807)) +* Load embedded provider schemas for providers found in stacks files into state ([terraform-ls#1763](https://github.com/hashicorp/terraform-ls/issues/1763)) +* Bump axios to 1.7.4 ([#1818](https://github.com/hashicorp/vscode-terraform/issues/1818)) +* Bump braces to 3.0.3 ([#1819](https://github.com/hashicorp/vscode-terraform/issues/1819)) + ## 2.33.2024090609 (2024-09-06) ENHANCEMENTS: @@ -80,80 +148,6 @@ INTERNAL: * Add development launch target for extensionHost ([#1805](https://github.com/hashicorp/vscode-terraform/issues/1805)) * Replace webpack with esbuild ([#1807](https://github.com/hashicorp/vscode-terraform/issues/1807)) -## 2.33.0 (2024-10-14) - -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 syntax highlighting, completion for blocks and attributes, hover documentation and formatting support. - -BREAKING CHANGES: - -* Remove static snippets ([#1830](https://github.com/hashicorp/vscode-terraform/issues/1830)) - -ENHANCEMENTS: - -* Add initial support for Terraform Stacks files and Deployment files ([#1745](https://github.com/hashicorp/terraform-ls/issues/1745)) -* Bump hashicorp/syntax from 0.5.0 to 0.7.0 ([#1820](https://github.com/hashicorp/vscode-terraform/issues/1820)) -* Document Terraform Stacks support ([#1829](https://github.com/hashicorp/vscode-terraform/issues/1829)) -* Enable language status bar for Stack language ([#1835](https://github.com/hashicorp/vscode-terraform/issues/1835)) -* Add icon for .terraform-version file ([#1836](https://github.com/hashicorp/vscode-terraform/issues/1836)) -* Parse and load Stack and Deploy metadata ([terraform-ls#1761](https://github.com/hashicorp/terraform-ls/issues/1761)) -* Load Stack component sources from metadata ([terraform-ls#1768](https://github.com/hashicorp/terraform-ls/issues/1768)) -* Enable early validation for Terraform Stack files ([terraform-ls#1776](https://github.com/hashicorp/terraform-ls/issues/1776)) -* Merge stack configuration schema with dynamic schema based on used components source and providers ([terraform-ls#1770](https://github.com/hashicorp/terraform-ls/issues/1770)) -* Merge deployment configuration schema with dynamic schema based on available variables ([terraform-ls#1780](https://github.com/hashicorp/terraform-ls/issues/1780)) -* Support Terraform functions in stack files ([terraform-ls#1781](https://github.com/hashicorp/terraform-ls/issues/1781)) -* Add DecodeReferenceOrigins and DecodeReferenceTargets jobs ([terraform-ls#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 ([terraform-ls#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 ([terraform-ls#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)) -* Support context references within orchestrate blocks in deployment configuration ([#1813](https://github.com/hashicorp/terraform-ls/issues/1813)) -* Initial support for Terraform Test and Mock files ([#1812](https://github.com/hashicorp/vscode-terraform/issues/1812)) -* Enable language status bar for Test Language ([#1847](https://github.com/hashicorp/vscode-terraform/issues/1847)) -* Static schema support for Terraform Test and Mock files ([terraform-ls#1782](https://github.com/hashicorp/terraform-ls/issues/1782)) - -BUG FIXES: - -* Update HCP Terraform readme with corrected gifs ([#1839](https://github.com/hashicorp/vscode-terraform/issues/1839)) -* Fixes parsing expressions containing an open curly brace as blocks ([syntax#149](https://github.com/hashicorp/syntax/issues/149)) -* Fix panic on blocks with no labels during validation of label name ([terraform-ls#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)) -* 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: - -* Add development launch target for extensionHost ([#1805](https://github.com/hashicorp/vscode-terraform/issues/1805)) -* Replace webpack with esbuild ([#1807](https://github.com/hashicorp/vscode-terraform/issues/1807)) -* Load embedded provider schemas for providers found in stacks files into state ([terraform-ls#1763](https://github.com/hashicorp/terraform-ls/issues/1763)) -* Bump axios to 1.7.4 ([#1818](https://github.com/hashicorp/vscode-terraform/issues/1818)) -* Bump braces to 3.0.3 ([#1819](https://github.com/hashicorp/vscode-terraform/issues/1819)) - -## 2.32.2024070910 (2024-07-09) - -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 ([terraform-ls#1745](https://github.com/hashicorp/terraform-ls/issues/1745)) - ## 2.32.3 (2024-09-05) ENHANCEMENTS: @@ -193,15 +187,11 @@ INTERNAL: * Introduce a workflow that checks for changelog entries ([#1796](https://github.com/hashicorp/vscode-terraform/issues/1796)) -## 2.31.2024061114 (2024-06-11) +## 2.32.2024070910 (2024-07-09) ENHANCEMENTS: -* Re-architect the language server for improved performance and resource utilization ([terraform-ls#1667](https://github.com/hashicorp/terraform-ls/issues/1667)) - -This marks the completion of a major refactoring effort. The language server will now start up much faster and use less resources, especially on larger workspaces. We achieve this by doing less work during the initial walk of a workspace. Instead, we only parse modules with open files. Whenever a file of a module is opened, we schedule all the jobs needed to understand the contents of that directory (and the referenced modules). - -We have tested this with workspaces and configurations of different sizes, but still expect some bugs. Please give this preview a try and let us know how it works for you. +* 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 ([terraform-ls#1745](https://github.com/hashicorp/terraform-ls/issues/1745)) ## 2.31.0 (2024-06-27) @@ -213,6 +203,16 @@ ENHANCEMENTS: * Add support for the new `templatestring` functions in Terraform 1.9 ([terraform-ls#357](https://github.com/hashicorp/terraform-ls/issues/357)) * Introduce provisioners to `removed` blocks in Terraform 1.9 ([terraform-schema#358](https://github.com/hashicorp/terraform-schema/issues/358)) +## 2.31.2024061114 (2024-06-11) + +ENHANCEMENTS: + +* Re-architect the language server for improved performance and resource utilization ([terraform-ls#1667](https://github.com/hashicorp/terraform-ls/issues/1667)) + +This marks the completion of a major refactoring effort. The language server will now start up much faster and use less resources, especially on larger workspaces. We achieve this by doing less work during the initial walk of a workspace. Instead, we only parse modules with open files. Whenever a file of a module is opened, we schedule all the jobs needed to understand the contents of that directory (and the referenced modules). + +We have tested this with workspaces and configurations of different sizes, but still expect some bugs. Please give this preview a try and let us know how it works for you. + ## 2.30.2 (2024-06-06) BUG FIXES: