Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release 0.18.0 #3088

Merged
merged 8 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 45 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,48 @@
## Unreleased
## 0.18.0

### chore

- chore: Disable windows integration tests temporarily [\#3086](https://github.com/hashicorp/terraform-cdk/pull/3086)
- chore: update jsii-srcmak [\#3081](https://github.com/hashicorp/terraform-cdk/pull/3081)
- chore: fix assertion of java tests [\#3079](https://github.com/hashicorp/terraform-cdk/pull/3079)
- chore: add wget [\#3075](https://github.com/hashicorp/terraform-cdk/pull/3075)
- chore: use gh cli to create PRs [\#3074](https://github.com/hashicorp/terraform-cdk/pull/3074)
- chore(deps): roll back trusted workflow updates [\#3073](https://github.com/hashicorp/terraform-cdk/pull/3073)
- chore: add gradle as a dependency for our tests [\#3066](https://github.com/hashicorp/terraform-cdk/pull/3066)
- chore: new lookup functionality changes assertion [\#3065](https://github.com/hashicorp/terraform-cdk/pull/3065)
- chore: update terraform versions we test again [\#3064](https://github.com/hashicorp/terraform-cdk/pull/3064)
- chore: add link to performance page [\#3060](https://github.com/hashicorp/terraform-cdk/pull/3060)
- chore(examples): update TS examples to use explicit imports [\#3053](https://github.com/hashicorp/terraform-cdk/pull/3053)
- chore: update tfe docs as well [\#3050](https://github.com/hashicorp/terraform-cdk/pull/3050)
- chore: remove waiting-on-answer label on comments [\#3046](https://github.com/hashicorp/terraform-cdk/pull/3046)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3040](https://github.com/hashicorp/terraform-cdk/pull/3040)
- chore: add workflow to rollout provider documentation [\#3039](https://github.com/hashicorp/terraform-cdk/pull/3039)
- chore: clean up code a bit [\#3037](https://github.com/hashicorp/terraform-cdk/pull/3037)
- chore: fix links in README [\#3016](https://github.com/hashicorp/terraform-cdk/pull/3016)

### fix

- fix: provider add java integration test failures due to test setup [\#3083](https://github.com/hashicorp/terraform-cdk/pull/3083)
- fix: Gradle related provider add/list/upgrade [\#3080](https://github.com/hashicorp/terraform-cdk/pull/3080)
- fix(cli): cdktf debug to read gradle package versions [\#3077](https://github.com/hashicorp/terraform-cdk/pull/3077)
- fix(provider-generator): Handle \*/ in docstrings better, try 3 [\#3076](https://github.com/hashicorp/terraform-cdk/pull/3076)
- fix(lib): improve error message for passing an app to a construct [\#3062](https://github.com/hashicorp/terraform-cdk/pull/3062)
- fix(tests): remove only in test suite :sweat_smile: [\#3055](https://github.com/hashicorp/terraform-cdk/pull/3055)
- fix: install pipenv in Docker [\#3052](https://github.com/hashicorp/terraform-cdk/pull/3052)
- fix: install python3-venv and pin base image [\#3049](https://github.com/hashicorp/terraform-cdk/pull/3049)
- fix: correctly handle if version constraint is defined as star [\#3045](https://github.com/hashicorp/terraform-cdk/pull/3045)
- fix: fix single quote escaping [\#3018](https://github.com/hashicorp/terraform-cdk/pull/3018)
- fix(hcl2cdk): correctly keep escape sequences for interpolations in template expressions [\#3017](https://github.com/hashicorp/terraform-cdk/pull/3017)
- fix(examples): Properly set the Aspect on the stack instead of on the S3Bucket only [\#3003](https://github.com/hashicorp/terraform-cdk/pull/3003)

### feat
mutahhir marked this conversation as resolved.
Show resolved Hide resolved

- feat(hcl2cdk): use Fn.lookupNested() instead of propertyAccess() [\#3056](https://github.com/hashicorp/terraform-cdk/pull/3056)
- feat(cli): move java template to gradle [\#3048](https://github.com/hashicorp/terraform-cdk/pull/3048)
- feat(cli): support gradle projects in provider add and list [\#3047](https://github.com/hashicorp/terraform-cdk/pull/3047)
- feat(docs): Link Registry docs blog post [\#3043](https://github.com/hashicorp/terraform-cdk/pull/3043)
- feat: remove root-level import of all modules in python [\#3030](https://github.com/hashicorp/terraform-cdk/pull/3030)
- feat(provider-generator): handle 'tuple' type for variable [\#2964](https://github.com/hashicorp/terraform-cdk/pull/2964)

**Breaking changes**

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "0.17.3",
"version": "0.18.0",
"private": true,
"scripts": {
"build-and-package": "lerna run --scope 'cdktf*' --scope @cdktf/* build,package && tools/collect-dist.sh",
Expand Down
59 changes: 45 additions & 14 deletions website/data/cdktf-nav-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,10 @@
"title": "Stacks",
"path": "concepts/stacks"
}

]
},
{
"title": "Examples and Guides",
{
"title": "Examples and Guides",
"routes": [
{
"title": "Examples",
Expand All @@ -82,7 +81,7 @@
"title": "Refactoring Stacks",
"path": "examples-and-guides/refactoring"
}
]
]
},
{
"title": "Create and Deploy Applications",
Expand Down Expand Up @@ -125,7 +124,8 @@
{
"title": "Design",
"path": "develop-custom-constructs/construct-design"
}, {
},
{
"title": "Publishing and Distribution",
"path": "develop-custom-constructs/publishing-and-distribution"
}
Expand Down Expand Up @@ -188,15 +188,46 @@
"title": "Overview",
"path": "release"
},
{ "title": "Upgrading to Version 0.17", "path": "release/upgrade-guide-v0-17" },
{ "title": "Upgrading to Version 0.15", "path": "release/upgrade-guide-v0-15" },
{ "title": "Upgrading to Version 0.13", "path": "release/upgrade-guide-v0-13" },
{ "title": "Upgrading to Version 0.12", "path": "release/upgrade-guide-v0-12" },
{ "title": "Upgrading to Version 0.11", "path": "release/upgrade-guide-v0-11" },
{ "title": "Upgrading to Version 0.10", "path": "release/upgrade-guide-v0-10" },
{ "title": "Upgrading to Version 0.9", "path": "release/upgrade-guide-v0-9" },
{ "title": "Upgrading to Version 0.7", "path": "release/upgrade-guide-v0-7" },
{ "title": "Upgrading to Version 0.6", "path": "release/upgrade-guide-v0-6" }
{
"title": "Upgrading to Version 0.18",
"path": "release/upgrade-guide-v0-18"
},
{
"title": "Upgrading to Version 0.17",
"path": "release/upgrade-guide-v0-17"
},
{
"title": "Upgrading to Version 0.15",
"path": "release/upgrade-guide-v0-15"
},
{
"title": "Upgrading to Version 0.13",
"path": "release/upgrade-guide-v0-13"
},
{
"title": "Upgrading to Version 0.12",
"path": "release/upgrade-guide-v0-12"
},
{
"title": "Upgrading to Version 0.11",
"path": "release/upgrade-guide-v0-11"
},
{
"title": "Upgrading to Version 0.10",
"path": "release/upgrade-guide-v0-10"
},
{
"title": "Upgrading to Version 0.9",
"path": "release/upgrade-guide-v0-9"
},
{
"title": "Upgrading to Version 0.7",
"path": "release/upgrade-guide-v0-7"
},
{
"title": "Upgrading to Version 0.6",
"path": "release/upgrade-guide-v0-6"
}
]
},
{ "title": "Community", "path": "community" },
Expand Down
29 changes: 27 additions & 2 deletions website/docs/cdktf/api-reference/csharp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24714,6 +24714,7 @@ new Fn();
| <code><a href="#cdktf.Fn.bcrypt">Bcrypt</a></code> | {@link /terraform/docs/language/functions/bcrypt.html bcrypt} computes a hash of the given string using the Blowfish cipher, returning a string in [the _Modular Crypt Format_](https://passlib.readthedocs.io/en/stable/modular_crypt_format.html) usually expected in the shadow password file on many Unix systems. |
| <code><a href="#cdktf.Fn.join">Join</a></code> | {@link /terraform/docs/language/functions/join.html join} produces a string by concatenating together all elements of a given list of strings with the given delimiter. |
| <code><a href="#cdktf.Fn.lookup">Lookup</a></code> | {@link /terraform/docs/language/functions/lookup.html lookup} retrieves the value of a single element from a map, given its key. If the given key does not exist, the given default value is returned instead. |
| <code><a href="#cdktf.Fn.lookupNested">LookupNested</a></code> | returns a property access expression that accesses the property at the given path in the given inputMap. |
| <code><a href="#cdktf.Fn.range">Range</a></code> | {@link /terraform/docs/language/functions/range.html range} generates a list of numbers using a start value, a limit value, and a step value. |
| <code><a href="#cdktf.Fn.rawString">RawString</a></code> | Use this function to wrap a string and escape it properly for the use in Terraform This is only needed in certain scenarios (e.g., if you have unescaped double quotes in the string). |

Expand Down Expand Up @@ -26758,7 +26759,7 @@ Fn.Join(string Separator, string[] List);
```csharp
using HashiCorp.Cdktf;

Fn.Lookup(object InputMap, string Key, object DefaultValue);
Fn.Lookup(object InputMap, string Key, object DefaultValue = null);
```

{@link /terraform/docs/language/functions/lookup.html lookup} retrieves the value of a single element from a map, given its key. If the given key does not exist, the given default value is returned instead.
Expand All @@ -26775,12 +26776,36 @@ Fn.Lookup(object InputMap, string Key, object DefaultValue);

---

###### `DefaultValue`<sup>Required</sup> <a name="DefaultValue" id="cdktf.Fn.lookup.parameter.defaultValue"></a>
###### `DefaultValue`<sup>Optional</sup> <a name="DefaultValue" id="cdktf.Fn.lookup.parameter.defaultValue"></a>

- _Type:_ object

---

##### `LookupNested` <a name="LookupNested" id="cdktf.Fn.lookupNested"></a>

```csharp
using HashiCorp.Cdktf;

Fn.LookupNested(object InputMap, object[] Path);
```

returns a property access expression that accesses the property at the given path in the given inputMap.

For example lookupNested(x, ["a", "b", "c"]) will return a Terraform expression like x["a"]["b"]["c"]

###### `InputMap`<sup>Required</sup> <a name="InputMap" id="cdktf.Fn.lookupNested.parameter.inputMap"></a>

- _Type:_ object

---

###### `Path`<sup>Required</sup> <a name="Path" id="cdktf.Fn.lookupNested.parameter.path"></a>

- _Type:_ object[]

---

##### `Range` <a name="Range" id="cdktf.Fn.range"></a>

```csharp
Expand Down
27 changes: 26 additions & 1 deletion website/docs/cdktf/api-reference/go.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24714,6 +24714,7 @@ cdktf.NewFn() Fn
| <code><a href="#cdktf.Fn.bcrypt">Bcrypt</a></code> | {@link /terraform/docs/language/functions/bcrypt.html bcrypt} computes a hash of the given string using the Blowfish cipher, returning a string in [the _Modular Crypt Format_](https://passlib.readthedocs.io/en/stable/modular_crypt_format.html) usually expected in the shadow password file on many Unix systems. |
| <code><a href="#cdktf.Fn.join">Join</a></code> | {@link /terraform/docs/language/functions/join.html join} produces a string by concatenating together all elements of a given list of strings with the given delimiter. |
| <code><a href="#cdktf.Fn.lookup">Lookup</a></code> | {@link /terraform/docs/language/functions/lookup.html lookup} retrieves the value of a single element from a map, given its key. If the given key does not exist, the given default value is returned instead. |
| <code><a href="#cdktf.Fn.lookupNested">LookupNested</a></code> | returns a property access expression that accesses the property at the given path in the given inputMap. |
| <code><a href="#cdktf.Fn.range">Range</a></code> | {@link /terraform/docs/language/functions/range.html range} generates a list of numbers using a start value, a limit value, and a step value. |
| <code><a href="#cdktf.Fn.rawString">RawString</a></code> | Use this function to wrap a string and escape it properly for the use in Terraform This is only needed in certain scenarios (e.g., if you have unescaped double quotes in the string). |

Expand Down Expand Up @@ -26775,12 +26776,36 @@ cdktf.Fn_Lookup(inputMap interface{}, key *string, defaultValue interface{}) int

---

###### `defaultValue`<sup>Required</sup> <a name="defaultValue" id="cdktf.Fn.lookup.parameter.defaultValue"></a>
###### `defaultValue`<sup>Optional</sup> <a name="defaultValue" id="cdktf.Fn.lookup.parameter.defaultValue"></a>

- _Type:_ interface{}

---

##### `LookupNested` <a name="LookupNested" id="cdktf.Fn.lookupNested"></a>

```go
import "github.com/hashicorp/terraform-cdk-go/cdktf"

cdktf.Fn_LookupNested(inputMap interface{}, path *[]interface{}) interface{}
```

returns a property access expression that accesses the property at the given path in the given inputMap.

For example lookupNested(x, ["a", "b", "c"]) will return a Terraform expression like x["a"]["b"]["c"]

###### `inputMap`<sup>Required</sup> <a name="inputMap" id="cdktf.Fn.lookupNested.parameter.inputMap"></a>

- _Type:_ interface{}

---

###### `path`<sup>Required</sup> <a name="path" id="cdktf.Fn.lookupNested.parameter.path"></a>

- _Type:_ \*[]interface{}

---

##### `Range` <a name="Range" id="cdktf.Fn.range"></a>

```go
Expand Down
29 changes: 27 additions & 2 deletions website/docs/cdktf/api-reference/java.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28937,6 +28937,7 @@ new Fn();
| <code><a href="#cdktf.Fn.bcrypt">bcrypt</a></code> | {@link /terraform/docs/language/functions/bcrypt.html bcrypt} computes a hash of the given string using the Blowfish cipher, returning a string in [the _Modular Crypt Format_](https://passlib.readthedocs.io/en/stable/modular_crypt_format.html) usually expected in the shadow password file on many Unix systems. |
| <code><a href="#cdktf.Fn.join">join</a></code> | {@link /terraform/docs/language/functions/join.html join} produces a string by concatenating together all elements of a given list of strings with the given delimiter. |
| <code><a href="#cdktf.Fn.lookup">lookup</a></code> | {@link /terraform/docs/language/functions/lookup.html lookup} retrieves the value of a single element from a map, given its key. If the given key does not exist, the given default value is returned instead. |
| <code><a href="#cdktf.Fn.lookupNested">lookupNested</a></code> | returns a property access expression that accesses the property at the given path in the given inputMap. |
| <code><a href="#cdktf.Fn.range">range</a></code> | {@link /terraform/docs/language/functions/range.html range} generates a list of numbers using a start value, a limit value, and a step value. |
| <code><a href="#cdktf.Fn.rawString">rawString</a></code> | Use this function to wrap a string and escape it properly for the use in Terraform This is only needed in certain scenarios (e.g., if you have unescaped double quotes in the string). |

Expand Down Expand Up @@ -30981,7 +30982,7 @@ Fn.join(java.lang.String separator, java.util.List< java.lang.String > list)
```java
import com.hashicorp.cdktf.Fn;

Fn.lookup(java.lang.Object inputMap, java.lang.String key, java.lang.Object defaultValue)
Fn.lookup(java.lang.Object inputMap, java.lang.String key),Fn.lookup(java.lang.Object inputMap, java.lang.String key, java.lang.Object defaultValue)
```

{@link /terraform/docs/language/functions/lookup.html lookup} retrieves the value of a single element from a map, given its key. If the given key does not exist, the given default value is returned instead.
Expand All @@ -30998,12 +30999,36 @@ Fn.lookup(java.lang.Object inputMap, java.lang.String key, java.lang.Object defa

---

###### `defaultValue`<sup>Required</sup> <a name="defaultValue" id="cdktf.Fn.lookup.parameter.defaultValue"></a>
###### `defaultValue`<sup>Optional</sup> <a name="defaultValue" id="cdktf.Fn.lookup.parameter.defaultValue"></a>

- _Type:_ java.lang.Object

---

##### `lookupNested` <a name="lookupNested" id="cdktf.Fn.lookupNested"></a>

```java
import com.hashicorp.cdktf.Fn;

Fn.lookupNested(java.lang.Object inputMap, java.util.List< java.lang.Object > path)
```

returns a property access expression that accesses the property at the given path in the given inputMap.

For example lookupNested(x, ["a", "b", "c"]) will return a Terraform expression like x["a"]["b"]["c"]

###### `inputMap`<sup>Required</sup> <a name="inputMap" id="cdktf.Fn.lookupNested.parameter.inputMap"></a>

- _Type:_ java.lang.Object

---

###### `path`<sup>Required</sup> <a name="path" id="cdktf.Fn.lookupNested.parameter.path"></a>

- _Type:_ java.util.List< java.lang.Object >

---

##### `range` <a name="range" id="cdktf.Fn.range"></a>

```java
Expand Down
Loading