Skip to content

Commit b53c4f4

Browse files
jpograndbanck
andauthored
Release 2.34.0 (#1881)
* 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>
1 parent 68559ee commit b53c4f4

14 files changed

+65
-52
lines changed

.changes/unreleased/BUG FIXES-20241015-153342.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/INTERNAL-20241011-095553.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/INTERNAL-20241015-143216.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/INTERNAL-20241016-132945.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/INTERNAL-20241023-112037.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/INTERNAL-20241115-115811.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/v2.34.0.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## 2.34.0 (2024-11-15)
2+
3+
ENHANCEMENTS:
4+
5+
* Add `category` to Stacks Deployment store blocks ([terraform-ls#1852](https://github.com/hashicorp/terraform-ls/issues/1852))
6+
* Support terraform.applying built-in reference starting at TF 1.10 ([terraform-ls#1854](https://github.com/hashicorp/terraform-ls/issues/1854))
7+
* Raise HCL Diagnostics during early validation ([terraform-ls#1850](https://github.com/hashicorp/terraform-ls/issues/1850))
8+
* backend/s3: Reflect use_lockfile (v1.10) ([terraform-schema#419](https://github.com/hashicorp/terraform-schema/issues/419))
9+
* backend/s3: Remove deprecated assume role attributes (v1.10) ([terraform-schema#420](https://github.com/hashicorp/terraform-schema/issues/420))
10+
11+
BUG FIXES:
12+
13+
* Improve performance by avoiding copying constraints for attribute schemas ([hcl-lang#426](https://github.com/hashicorp/hcl-lang/issues/426))
14+
* Use a provider's stable version when bundling schemas ([terraform-ls#1860](https://github.com/hashicorp/terraform-ls/issues/1860))
15+
* Add `removed` block to Stack tests ([#1861](https://github.com/hashicorp/vscode-terraform/issues/1861))
16+
17+
INTERNAL:
18+
19+
* Ensure date ordering for changie entries ([#1860](https://github.com/hashicorp/vscode-terraform/issues/1860))
20+
* Upgrade eslint to v9 ([#1863](https://github.com/hashicorp/vscode-terraform/issues/1863))
21+
* Enable integration tests for Stacks feature ([#1864](https://github.com/hashicorp/vscode-terraform/issues/1864))
22+
* Bump nodejs from 18 to 20 ([#1867](https://github.com/hashicorp/vscode-terraform/issues/1867))
23+
* Remove webpack extension recommendation ([#1880](https://github.com/hashicorp/vscode-terraform/issues/1880))
24+
25+
## 2.34.2024101517 (2024-10-15)
26+
27+
NOTES:
28+
29+
This is a release to bring the prerelease channel to parity with stable.
30+
31+
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.
32+
33+
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.
34+

.changes/v2.34.2024101517.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: hashicorp/setup-terraform@v3
6262
with:
6363
terraform_wrapper: false
64-
terraform_version: '~1.7'
64+
terraform_version: '~1.9'
6565
- name: Terraform version
6666
run: terraform version
6767
- name: Clean Install Dependencies

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## 2.34.0 (2024-11-15)
4+
5+
ENHANCEMENTS:
6+
7+
* Add `category` to Stacks Deployment store blocks ([terraform-ls#1852](https://github.com/hashicorp/terraform-ls/issues/1852))
8+
* Support terraform.applying built-in reference starting at TF 1.10 ([terraform-ls#1854](https://github.com/hashicorp/terraform-ls/issues/1854))
9+
* Raise HCL Diagnostics during early validation ([terraform-ls#1850](https://github.com/hashicorp/terraform-ls/issues/1850))
10+
* backend/s3: Reflect use_lockfile (v1.10) ([terraform-schema#419](https://github.com/hashicorp/terraform-schema/issues/419))
11+
* backend/s3: Remove deprecated assume role attributes (v1.10) ([terraform-schema#420](https://github.com/hashicorp/terraform-schema/issues/420))
12+
13+
BUG FIXES:
14+
15+
* Improve performance by avoiding copying constraints for attribute schemas ([hcl-lang#426](https://github.com/hashicorp/hcl-lang/issues/426))
16+
* Use a provider's stable version when bundling schemas ([terraform-ls#1860](https://github.com/hashicorp/terraform-ls/issues/1860))
17+
* Add `removed` block to Stack tests ([#1861](https://github.com/hashicorp/vscode-terraform/issues/1861))
18+
19+
INTERNAL:
20+
21+
* Ensure date ordering for changie entries ([#1860](https://github.com/hashicorp/vscode-terraform/issues/1860))
22+
* Upgrade eslint to v9 ([#1863](https://github.com/hashicorp/vscode-terraform/issues/1863))
23+
* Enable integration tests for Stacks feature ([#1864](https://github.com/hashicorp/vscode-terraform/issues/1864))
24+
* Bump nodejs from 18 to 20 ([#1867](https://github.com/hashicorp/vscode-terraform/issues/1867))
25+
* Remove webpack extension recommendation ([#1880](https://github.com/hashicorp/vscode-terraform/issues/1880))
26+
327
## 2.34.2024101517 (2024-10-15)
428

529
NOTES:

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "terraform",
44
"displayName": "HashiCorp Terraform",
55
"description": "Syntax highlighting and autocompletion for Terraform",
6-
"version": "2.34.2024101517",
6+
"version": "2.34.0",
77
"publisher": "hashicorp",
88
"appInsightsKey": "885372d2-6f3c-499f-9d25-b8b219983a52",
99
"license": "MPL-2.0",
@@ -18,7 +18,7 @@
1818
"vscode": "^1.92.2"
1919
},
2020
"langServer": {
21-
"version": "0.35.0"
21+
"version": "0.36.0"
2222
},
2323
"syntax": {
2424
"version": "0.7.1"

src/test/integration/basics/completion.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ suite('completion', () => {
2929
const expected = [
3030
new vscode.CompletionItem('check', vscode.CompletionItemKind.Class),
3131
new vscode.CompletionItem('data', vscode.CompletionItemKind.Class),
32+
new vscode.CompletionItem('ephemeral', vscode.CompletionItemKind.Class),
3233
new vscode.CompletionItem('import', vscode.CompletionItemKind.Class),
3334
new vscode.CompletionItem('locals', vscode.CompletionItemKind.Class),
3435
new vscode.CompletionItem('module', vscode.CompletionItemKind.Class),

src/test/integration/stacks/deployment.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ deployment "test" {
146146
});
147147
});
148148

149-
test('completes context', async () => {
149+
test.skip('completes context', async () => {
150150
const generateSubChanges = (label: string) => [
151151
new vscode.CompletionItem(label, vscode.CompletionItemKind.Variable),
152152
new vscode.CompletionItem(`${label}.add`, vscode.CompletionItemKind.Variable),

0 commit comments

Comments
 (0)