From 2d96b752ae9558cbbefb0dfbb496179cfc5deb27 Mon Sep 17 00:00:00 2001 From: Ansgar Mertens Date: Mon, 23 Sep 2024 08:30:35 +0200 Subject: [PATCH 1/3] chore(release): Release 0.20.9 --- CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b97a169e39..3a795ac95a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,38 @@ +## 0.20.9 + +### feat + +- feat(provider-generator): Skip definition attribute for aws_quicksight_analysis.definition data source [\#3725](https://github.com/hashicorp/terraform-cdk/pull/3725) + +### fix + +- fix(lib): render empty string as quotes [\#3683](https://github.com/hashicorp/terraform-cdk/pull/3683) +- fix(lib): Correct types for allowedAccountIds & forbiddenAccountIds in S3Backend [\#3669](https://github.com/hashicorp/terraform-cdk/pull/3669) +- fix(provider-generator): fix collision for Go for resources named version [\#3670](https://github.com/hashicorp/terraform-cdk/pull/3670) +- fix(release): Don't validate single commit for semanticity [\#3715](https://github.com/hashicorp/terraform-cdk/pull/3715) + +### chore + +- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3714](https://github.com/hashicorp/terraform-cdk/pull/3714) +- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3700](https://github.com/hashicorp/terraform-cdk/pull/3700) +- chore: add extra pr for a catch-all package update [\#3699](https://github.com/hashicorp/terraform-cdk/pull/3699) +- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3693](https://github.com/hashicorp/terraform-cdk/pull/3693) +- chore: Upgrade dependencies for JSII [\#3692](https://github.com/hashicorp/terraform-cdk/pull/3692) +- chore: Upgrade dependencies for util [\#3691](https://github.com/hashicorp/terraform-cdk/pull/3691) +- chore: Upgrade dependencies for cli [\#3690](https://github.com/hashicorp/terraform-cdk/pull/3690) +- chore: Upgrade dependencies for lib [\#3689](https://github.com/hashicorp/terraform-cdk/pull/3689) +- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3682](https://github.com/hashicorp/terraform-cdk/pull/3682) +- chore: Upgrade dependencies for JSII [\#3679](https://github.com/hashicorp/terraform-cdk/pull/3679) +- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3672](https://github.com/hashicorp/terraform-cdk/pull/3672) +- chore: added index pages for each library to the docs [\#3671](https://github.com/hashicorp/terraform-cdk/pull/3671) +- chore: reorganize API documentation [\#3668](https://github.com/hashicorp/terraform-cdk/pull/3668) +- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3666](https://github.com/hashicorp/terraform-cdk/pull/3666) +- chore: Upgrade dependencies for util [\#3650](https://github.com/hashicorp/terraform-cdk/pull/3650) +- chore: Upgrade dependencies for cli [\#3649](https://github.com/hashicorp/terraform-cdk/pull/3649) +- chore: Upgrade dependencies for JSII [\#3648](https://github.com/hashicorp/terraform-cdk/pull/3648) +- chore: Upgrade dependencies for lib [\#3647](https://github.com/hashicorp/terraform-cdk/pull/3647) +- chore(hcl2cdk): fix yarn command in Readme.md [\#3624](https://github.com/hashicorp/terraform-cdk/pull/3624) + ## 0.20.8 ### feat diff --git a/package.json b/package.json index a882cab507..9ee7ae010b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "root", - "version": "0.20.8", + "version": "0.20.9", "private": true, "scripts": { "build-and-package": "lerna run --scope 'cdktf*' --scope @cdktf/* build,package && tools/collect-dist.sh", From eb6a81c638bcd93329f41276572685ff2b7c71a1 Mon Sep 17 00:00:00 2001 From: Ansgar Mertens Date: Mon, 23 Sep 2024 08:33:54 +0200 Subject: [PATCH 2/3] chore: update docs (generated) --- website/docs/cdktf/api-reference/csharp/classes.mdx | 4 ++-- website/docs/cdktf/api-reference/go/classes.mdx | 4 ++-- website/docs/cdktf/api-reference/java/classes.mdx | 4 ++-- website/docs/cdktf/api-reference/python/classes.mdx | 4 ++-- website/docs/cdktf/api-reference/typescript/classes.mdx | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/website/docs/cdktf/api-reference/csharp/classes.mdx b/website/docs/cdktf/api-reference/csharp/classes.mdx index 164382e719..1f256682fc 100644 --- a/website/docs/cdktf/api-reference/csharp/classes.mdx +++ b/website/docs/cdktf/api-reference/csharp/classes.mdx @@ -12924,12 +12924,12 @@ VariableType.Set(string Type); ```csharp using HashiCorp.Cdktf; -VariableType.Tuple(string Elements); +VariableType.Tuple(params string[] Elements); ``` ###### `Elements`Required -- _Type:_ string +- _Type:_ params string[] --- diff --git a/website/docs/cdktf/api-reference/go/classes.mdx b/website/docs/cdktf/api-reference/go/classes.mdx index bc7f43cb16..edf70c78e5 100644 --- a/website/docs/cdktf/api-reference/go/classes.mdx +++ b/website/docs/cdktf/api-reference/go/classes.mdx @@ -12934,12 +12934,12 @@ cdktf.VariableType_Set(type *string) *string ```go import "github.com/hashicorp/terraform-cdk-go/cdktf" -cdktf.VariableType_Tuple(elements *string) *string +cdktf.VariableType_Tuple(elements ...*string) *string ``` ###### `elements`Required -- _Type:_ \*string +- _Type:_ ...\*string --- diff --git a/website/docs/cdktf/api-reference/java/classes.mdx b/website/docs/cdktf/api-reference/java/classes.mdx index 7796ba92e8..d7fa583678 100644 --- a/website/docs/cdktf/api-reference/java/classes.mdx +++ b/website/docs/cdktf/api-reference/java/classes.mdx @@ -12924,12 +12924,12 @@ VariableType.set(java.lang.String type) ```java import com.hashicorp.cdktf.VariableType; -VariableType.tuple(java.lang.String elements) +VariableType.tuple(java.lang.String... elements) ``` ###### `elements`Required -- _Type:_ java.lang.String +- _Type:_ java.lang.String... --- diff --git a/website/docs/cdktf/api-reference/python/classes.mdx b/website/docs/cdktf/api-reference/python/classes.mdx index f958c40af1..4f34815ff8 100644 --- a/website/docs/cdktf/api-reference/python/classes.mdx +++ b/website/docs/cdktf/api-reference/python/classes.mdx @@ -14258,13 +14258,13 @@ cdktf.VariableType.set( import cdktf cdktf.VariableType.tuple( - elements: str + elements: *str ) ``` ###### `elements`Required -- _Type:_ str +- _Type:_ \*str --- diff --git a/website/docs/cdktf/api-reference/typescript/classes.mdx b/website/docs/cdktf/api-reference/typescript/classes.mdx index 690f945986..663dbd44c8 100644 --- a/website/docs/cdktf/api-reference/typescript/classes.mdx +++ b/website/docs/cdktf/api-reference/typescript/classes.mdx @@ -12934,12 +12934,12 @@ VariableType.set(type: string) ```typescript import { VariableType } from 'cdktf' -VariableType.tuple(elements: string) +VariableType.tuple(elements: ...string[]) ``` ###### `elements`Required -- _Type:_ string +- _Type:_ ...string[] --- From 88b03c013320dc99be94b2f8b58d3f873db0a8da Mon Sep 17 00:00:00 2001 From: Ansgar Mertens Date: Mon, 23 Sep 2024 10:18:01 +0200 Subject: [PATCH 3/3] fix(tests): update snapshot for c# provider list integration test --- test/csharp/provider-list-command/__snapshots__/test.ts.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/csharp/provider-list-command/__snapshots__/test.ts.snap b/test/csharp/provider-list-command/__snapshots__/test.ts.snap index 9182424fb0..2c3e02f91f 100644 --- a/test/csharp/provider-list-command/__snapshots__/test.ts.snap +++ b/test/csharp/provider-list-command/__snapshots__/test.ts.snap @@ -7,7 +7,7 @@ exports[`provider list command lists both local and prebuilt providers with tabu Name Version Constraint Version ───────────┼─────────────────────────────┼────────────────────────┼────────────┤ ─── ───── ─ ── ───────── ──── - null │ 3.2.2 ~> 3.2.0│ │ │ + null │ 3.2.3 ~> 3.2.0│ │ │ ───────────┼─────────────────────────────┼────────────────────────┼────────────┤ ─── ───── ─ ── ───────── ────