Skip to content

Commit

Permalink
Release 2.34.0 (#1881)
Browse files Browse the repository at this point in the history
* Release 2.34.0

* bump terraform in ci

* Add ephemeral to tests

* skip not implemented

Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com>
  • Loading branch information
jpogran and dbanck authored Nov 15, 2024
1 parent 68559ee commit b53c4f4
Show file tree
Hide file tree
Showing 14 changed files with 65 additions and 52 deletions.
6 changes: 0 additions & 6 deletions .changes/unreleased/BUG FIXES-20241015-153342.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/INTERNAL-20241011-095553.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/INTERNAL-20241015-143216.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/INTERNAL-20241016-132945.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/INTERNAL-20241023-112037.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/INTERNAL-20241115-115811.yaml

This file was deleted.

34 changes: 34 additions & 0 deletions .changes/v2.34.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
## 2.34.0 (2024-11-15)

ENHANCEMENTS:

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

BUG FIXES:

* Improve performance by avoiding copying constraints for attribute schemas ([hcl-lang#426](https://github.com/hashicorp/hcl-lang/issues/426))
* Use a provider's stable version when bundling schemas ([terraform-ls#1860](https://github.com/hashicorp/terraform-ls/issues/1860))
* Add `removed` block to Stack tests ([#1861](https://github.com/hashicorp/vscode-terraform/issues/1861))

INTERNAL:

* Ensure date ordering for changie entries ([#1860](https://github.com/hashicorp/vscode-terraform/issues/1860))
* Upgrade eslint to v9 ([#1863](https://github.com/hashicorp/vscode-terraform/issues/1863))
* Enable integration tests for Stacks feature ([#1864](https://github.com/hashicorp/vscode-terraform/issues/1864))
* Bump nodejs from 18 to 20 ([#1867](https://github.com/hashicorp/vscode-terraform/issues/1867))
* Remove webpack extension recommendation ([#1880](https://github.com/hashicorp/vscode-terraform/issues/1880))

## 2.34.2024101517 (2024-10-15)

NOTES:

This is a release to bring the prerelease channel to parity with stable.

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.

10 changes: 0 additions & 10 deletions .changes/v2.34.2024101517.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
terraform_version: '~1.7'
terraform_version: '~1.9'
- name: Terraform version
run: terraform version
- name: Clean Install Dependencies
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## 2.34.0 (2024-11-15)

ENHANCEMENTS:

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

BUG FIXES:

* Improve performance by avoiding copying constraints for attribute schemas ([hcl-lang#426](https://github.com/hashicorp/hcl-lang/issues/426))
* Use a provider's stable version when bundling schemas ([terraform-ls#1860](https://github.com/hashicorp/terraform-ls/issues/1860))
* Add `removed` block to Stack tests ([#1861](https://github.com/hashicorp/vscode-terraform/issues/1861))

INTERNAL:

* Ensure date ordering for changie entries ([#1860](https://github.com/hashicorp/vscode-terraform/issues/1860))
* Upgrade eslint to v9 ([#1863](https://github.com/hashicorp/vscode-terraform/issues/1863))
* Enable integration tests for Stacks feature ([#1864](https://github.com/hashicorp/vscode-terraform/issues/1864))
* Bump nodejs from 18 to 20 ([#1867](https://github.com/hashicorp/vscode-terraform/issues/1867))
* Remove webpack extension recommendation ([#1880](https://github.com/hashicorp/vscode-terraform/issues/1880))

## 2.34.2024101517 (2024-10-15)

NOTES:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "terraform",
"displayName": "HashiCorp Terraform",
"description": "Syntax highlighting and autocompletion for Terraform",
"version": "2.34.2024101517",
"version": "2.34.0",
"publisher": "hashicorp",
"appInsightsKey": "885372d2-6f3c-499f-9d25-b8b219983a52",
"license": "MPL-2.0",
Expand All @@ -18,7 +18,7 @@
"vscode": "^1.92.2"
},
"langServer": {
"version": "0.35.0"
"version": "0.36.0"
},
"syntax": {
"version": "0.7.1"
Expand Down
1 change: 1 addition & 0 deletions src/test/integration/basics/completion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ suite('completion', () => {
const expected = [
new vscode.CompletionItem('check', vscode.CompletionItemKind.Class),
new vscode.CompletionItem('data', vscode.CompletionItemKind.Class),
new vscode.CompletionItem('ephemeral', vscode.CompletionItemKind.Class),
new vscode.CompletionItem('import', vscode.CompletionItemKind.Class),
new vscode.CompletionItem('locals', vscode.CompletionItemKind.Class),
new vscode.CompletionItem('module', vscode.CompletionItemKind.Class),
Expand Down
2 changes: 1 addition & 1 deletion src/test/integration/stacks/deployment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ deployment "test" {
});
});

test('completes context', async () => {
test.skip('completes context', async () => {
const generateSubChanges = (label: string) => [
new vscode.CompletionItem(label, vscode.CompletionItemKind.Variable),
new vscode.CompletionItem(`${label}.add`, vscode.CompletionItemKind.Variable),
Expand Down

0 comments on commit b53c4f4

Please sign in to comment.