Skip to content

Commit 3bfa2a6

Browse files
dbanckjpogranradeksimko
authored
Prepare 2.26.0 release (#1404)
* Bump LS version to 0.31.1 * Update changelog * 2.26.0 * Fix completion tests * fix markdown links * edits * edits * Update CHANGELOG.md Co-authored-by: Radek Simko <radek.simko@gmail.com> --------- Co-authored-by: James Pogran <jpogran@outlook.com> Co-authored-by: Radek Simko <radek.simko@gmail.com>
1 parent 08abb1b commit 3bfa2a6

4 files changed

Lines changed: 35 additions & 41 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,40 @@
1-
## [2.26.0] (Unreleased)
1+
## [2.26.0] (2023-04-27)
2+
3+
BUG FIXES:
4+
5+
* When completing `LiteralValue` do not ignore `Description` & `IsDeprecated` fields ([hcl-lang#253](https://github.com/hashicorp/hcl-lang/pull/253))
6+
* Provide completion for `Tuple` attribute types and values ([hcl-lang#255](https://github.com/hashicorp/hcl-lang/pull/255))
7+
* Display `Tuple` hover data on invalid elements ([hcl-lang#254](https://github.com/hashicorp/hcl-lang/pull/254))
8+
* Display fully inferred type of List, Set, Tuple, Map and Object complex types ([hcl-lang#259](https://github.com/hashicorp/hcl-lang/pull/259))
9+
* Collect targets w/ interpolation for `Any` correctly ([hcl-lang#257](https://github.com/hashicorp/hcl-lang/pull/257))
10+
* Fix remote backend usage in ([terraform-ls#1218](https://github.com/hashicorp/terraform-ls/pull/1218))
11+
* Display completion label details even if empty by updating to gopls v0.10.0 tsprotocol.go to ([#1256](https://github.com/hashicorp/terraform-ls/pull/1256))
212

313
ENHANCEMENTS:
414

5-
* Add support for nested expressions and functions ([terraform-ls#1237](https://github.com/hashicorp/terraform-ls/pull/1237), [hcl-lang#232](https://github.com/hashicorp/hcl-lang/pull/232), [hcl-lang#203](https://github.com/hashicorp/hcl-lang/pull/203), [hcl-lang#199](https://github.com/hashicorp/hcl-lang/pull/199), [hcl-lang#186](https://github.com/hashicorp/hcl-lang/pull/186), [hcl-lang#185](https://github.com/hashicorp/hcl-lang/pull/185), [hcl-lang#184](https://github.com/hashicorp/hcl-lang/pull/184), )
6-
* Add support for function signature help in ([terraform-ls#1077](https://github.com/hashicorp/terraform-ls/pull/1077))
7-
* Fix remote backend tracking in ([terraform-ls#1218](https://github.com/hashicorp/terraform-ls/pull/1218))
8-
* Recognise new token type for function names in ([#1371](https://github.com/hashicorp/vscode-terraform/pull/1371), [terraform-ls#1233](https://github.com/hashicorp/terraform-ls/pull/1233))
15+
* Improve editor performance in cases where Terraform module information is unavailable due to private registries, submodules, no network, or other similiar situations ([terraform-ls#1258](https://github.com/hashicorp/terraform-ls/pull/1258))
16+
* Add completion, hover, semantic highlighting and go-to-* support for nested expressions within objects, maps, lists, sets and tuples ([terraform-ls#1237](https://github.com/hashicorp/terraform-ls/pull/1237), [hcl-lang#232](https://github.com/hashicorp/hcl-lang/pull/232), [hcl-lang#203](https://github.com/hashicorp/hcl-lang/pull/203), [hcl-lang#199](https://github.com/hashicorp/hcl-lang/pull/199), [hcl-lang#186](https://github.com/hashicorp/hcl-lang/pull/186), [hcl-lang#185](https://github.com/hashicorp/hcl-lang/pull/185), [hcl-lang#184](https://github.com/hashicorp/hcl-lang/pull/184))
17+
* Add completion, hover and semantic highlighting for nested types in type declarations within `variable` `type` ([hcl-lang#183](https://github.com/hashicorp/hcl-lang/pull/183))
18+
* Add support for function signature completion, hover and more ([terraform-ls#1077](https://github.com/hashicorp/terraform-ls/pull/1077))
19+
* Recognise new semantic token types for function names ([#1371](https://github.com/hashicorp/vscode-terraform/pull/1371), [terraform-ls#1233](https://github.com/hashicorp/terraform-ls/pull/1233))
920

1021
INTERNAL:
1122

1223
* Add copywrite GHA ([#1347](https://github.com/hashicorp/vscode-terraform/pull/1347))
13-
* Bump @vscode/test-electron from 2.2.3 to 2.3.0 ([#1351](https://github.com/hashicorp/vscode-terraform/pull/1351))
14-
* Bump @vscode/vsce from 2.17.0 to 2.18.0 ([#1349](https://github.com/hashicorp/vscode-terraform/pull/1349))
15-
* Bump actions/checkout from 3.3.0 to 3.4.0 ([#1360](https://github.com/hashicorp/vscode-terraform/pull/1360))
16-
* Bump actions/checkout from 3.4.0 to 3.5.0 ([#1368](https://github.com/hashicorp/vscode-terraform/pull/1368))
17-
* Bump actions/stale from 7.0.0 to 8.0.0 ([#1366](https://github.com/hashicorp/vscode-terraform/pull/1366))
18-
* Bump eslint from 8.34.0 to 8.35.0 ([#1350](https://github.com/hashicorp/vscode-terraform/pull/1350))
19-
* Bump eslint from 8.35.0 to 8.36.0 ([#1357](https://github.com/hashicorp/vscode-terraform/pull/1357))
20-
* Bump eslint from 8.36.0 to 8.37.0 ([#1369](https://github.com/hashicorp/vscode-terraform/pull/1369))
21-
* Bump eslint-config-prettier from 8.6.0 to 8.7.0 ([#1352](https://github.com/hashicorp/vscode-terraform/pull/1352))
22-
* Bump eslint-config-prettier from 8.7.0 to 8.8.0 ([#1361](https://github.com/hashicorp/vscode-terraform/pull/1361))
23-
* Bump prettier from 2.8.4 to 2.8.5 ([#1362](https://github.com/hashicorp/vscode-terraform/pull/1362))
24-
* Bump prettier from 2.8.5 to 2.8.6 ([#1363](https://github.com/hashicorp/vscode-terraform/pull/1363))
25-
* Bump prettier from 2.8.6 to 2.8.7 ([#1367](https://github.com/hashicorp/vscode-terraform/pull/1367))
26-
* Bump webpack from 5.75.0 to 5.76.0 ([#1354](https://github.com/hashicorp/vscode-terraform/pull/1354))
27-
* Bump webpack from 5.76.0 to 5.76.1 ([#1358](https://github.com/hashicorp/vscode-terraform/pull/1358))
28-
* Bump webpack from 5.76.1 to 5.76.2 ([#1359](https://github.com/hashicorp/vscode-terraform/pull/1359))
29-
* Bump webpack from 5.76.2 to 5.76.3 ([#1365](https://github.com/hashicorp/vscode-terraform/pull/1365))
30-
* Bump webpack from 5.76.3 to 5.77.0 ([#1370](https://github.com/hashicorp/vscode-terraform/pull/1370))
31-
* Bump webpack from 5.77.0 to 5.78.0 ([#1375](https://github.com/hashicorp/vscode-terraform/pull/1375))
24+
* Add TFC usage detection ([#1208](https://github.com/hashicorp/terraform-ls/pull/1208))
3225

3326
## [2.25.4] (2023-02-22)
3427

3528
BUG FIXES:
3629

37-
- Bundle static builds of Linux binaries (again) ([terraform-ls#1193](https://github.com/hashicorp/terraform-ls/issues/1193]))
30+
- Bundle static builds of Linux binaries (again) ([terraform-ls#1193](https://github.com/hashicorp/terraform-ls/issues/1193))
3831

3932
## [2.25.3] (2023-02-22)
4033

4134
BUG FIXES:
4235

43-
- Ignore inaccessible files (such as emacs backup files) ([terraform-ls#1172](https://github.com/hashicorp/terraform-ls/issues/1067]))
44-
- Fix crash when parsing JSON files (introduced in 2.25.0) ([hcl-lang#202](https://github.com/hashicorp/hcl-lang/pull/202]))
36+
- Ignore inaccessible files (such as emacs backup files) ([terraform-ls#1172](https://github.com/hashicorp/terraform-ls/issues/1067))
37+
- Fix crash when parsing JSON files (introduced in 2.25.0) ([hcl-lang#202](https://github.com/hashicorp/hcl-lang/pull/202))
4538
- Fix spelling of preview in readme ([#1329](https://github.com/hashicorp/vscode-terraform/pull/1329))
4639

4740
ENHANCEMENTS:
@@ -683,7 +676,8 @@ For information on prior major and minor releases, see their changelogs:
683676

684677

685678
<!-- Links to tag comparisons -->
686-
[Unreleased]: https://github.com/hashicorp/vscode-terraform/compare/v2.25.4...main
679+
[Unreleased]: https://github.com/hashicorp/vscode-terraform/compare/v2.26.0...main
680+
[2.26.0]: https://github.com/hashicorp/vscode-terraform/compare/v2.25.4...v2.26.0
687681
[2.25.4]: https://github.com/hashicorp/vscode-terraform/compare/v2.25.3...v2.25.4
688682
[2.25.3]: https://github.com/hashicorp/vscode-terraform/compare/v2.25.2...v2.25.3
689683
[2.25.2]: https://github.com/hashicorp/vscode-terraform/compare/v2.25.1...v2.25.2

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.25.4",
6+
"version": "2.26.0",
77
"publisher": "hashicorp",
88
"appInsightsKey": "885372d2-6f3c-499f-9d25-b8b219983a52",
99
"license": "MPL-2.0",
@@ -18,7 +18,7 @@
1818
"vscode": "^1.67.2"
1919
},
2020
"langServer": {
21-
"version": "0.31.0-beta"
21+
"version": "0.31.1"
2222
},
2323
"syntax": {
2424
"version": "0.4.1"

src/test/integration/completion.test.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ suite('completion', () => {
1515

1616
test('simple completion', async () => {
1717
const wanted = new vscode.CompletionList([
18-
new vscode.CompletionItem({ label: 'data' }, vscode.CompletionItemKind.Class),
19-
new vscode.CompletionItem({ label: 'locals' }, vscode.CompletionItemKind.Class),
20-
new vscode.CompletionItem({ label: 'module' }, vscode.CompletionItemKind.Class),
21-
new vscode.CompletionItem({ label: 'moved' }, vscode.CompletionItemKind.Class),
22-
new vscode.CompletionItem({ label: 'output' }, vscode.CompletionItemKind.Class),
23-
new vscode.CompletionItem({ label: 'provider' }, vscode.CompletionItemKind.Class),
24-
new vscode.CompletionItem({ label: 'resource' }, vscode.CompletionItemKind.Class),
25-
new vscode.CompletionItem({ label: 'terraform' }, vscode.CompletionItemKind.Class),
26-
new vscode.CompletionItem({ label: 'variable' }, vscode.CompletionItemKind.Class),
18+
new vscode.CompletionItem('data', vscode.CompletionItemKind.Class),
19+
new vscode.CompletionItem('locals', vscode.CompletionItemKind.Class),
20+
new vscode.CompletionItem('module', vscode.CompletionItemKind.Class),
21+
new vscode.CompletionItem('moved', vscode.CompletionItemKind.Class),
22+
new vscode.CompletionItem('output', vscode.CompletionItemKind.Class),
23+
new vscode.CompletionItem('provider', vscode.CompletionItemKind.Class),
24+
new vscode.CompletionItem('resource', vscode.CompletionItemKind.Class),
25+
new vscode.CompletionItem('terraform', vscode.CompletionItemKind.Class),
26+
new vscode.CompletionItem('variable', vscode.CompletionItemKind.Class),
2727
new vscode.CompletionItem({ label: 'fore', description: 'For Each' }, vscode.CompletionItemKind.Snippet),
2828
new vscode.CompletionItem({ label: 'module', description: 'Module' }, vscode.CompletionItemKind.Snippet),
2929
new vscode.CompletionItem({ label: 'output', description: 'Output' }, vscode.CompletionItemKind.Snippet),

0 commit comments

Comments
 (0)