Skip to content

Commit

Permalink
chore: Release 0.20.0 (#3402)
Browse files Browse the repository at this point in the history
## 0.20.0

**Breaking changes**

### Module names / import paths changing

To resolve
[\#3026](#3026) we
improved the logic for generating names for [Terraform
Modules](https://developer.hashicorp.com/terraform/cdktf/concepts/modules).
This makes the default module names nicer, but also leads to breaking
changes for Python, C#, and Java. When updating CDKTF, please generate
the new bindings with `cdktf get` after updating the CLI and update your
module imports.

### Removal of deprecated backends

We have removed deprecated backends artifactory, etcd, etcdv3, manta,
and swift. CDK for Terraform v0.14 deprecated these backends initially.
Terraform removed these backends in v1.3. For migration paths from these
removed backends, refer to [Upgrading to Terraform
v1.3](/terraform/language/v1.3.x/upgrade-guides).

### Python 3.7 is no longer supported

We have dropped support for Python 3.7, please update to Python 3.8 or
higher.

### feat

- feat: Synthesis in HCL
[\#3365](#3365)
- feat(lib): update backend options
[\#3352](#3352)
- feat: add Terraform 1.6.5 to Docker image
[\#3336](#3336)
- feat(docs): Add note to address having the same name as new Terraform
stacks feature
[\#3333](#3333)
- feat(lib): Add support for the built-in Terraform data resource
[\#3317](#3317)
- feat(lib): add `.allWithMapKey` iterator to lists
[\#3299](#3299)
- feat(lib): Add DynamicListTerraformIterator with support for lists or
sets with objects that have properties that are only known at apply time
[\#3273](#3273)
- feat(lib): allow chaining of TerraformIterator created resources
[\#3272](#3272)
- feat(lib): add move workflows for specifying ids directly
[\#3231](#3231)

### fix

- fix pipenv build
[\#3364](#3364)
- fix(cli): Handle overlapping resource names in augmented logs
[\#3343](#3343)
- fix: Terraform Modules relatively referencing each other with
generated bindings
[\#3341](#3341)
- fix(lib): respect AppOption.outdir before env var
[\#3334](#3334)
- fix(provider-generator): use module name that does not collide
commonly [\#3332](#3332)
- fix(lib): Fix handling of replaceTriggeredBy lifecycle attribute
[\#3322](#3322)
- fix(cli): error message for non-existent tf cloud orgs
[\#3308](#3308)
- fix(provider-generator): provided name does not need to match name in
source [\#3305](#3305)
- fix(provider-generator): don't require attributes to be set on
nested_type
[\#3304](#3304)
- fix(lib): improve error messages for token resolution
[\#3300](#3300)
- fix: Use unique names to see if Github filters can pick it up
[\#3291](#3291)
- fix(tests): Update provider version in C# snapshot test
[\#3289](#3289)
- fix: Use an additional results step to ensure dynamic matrix jobs can…
[\#3288](#3288)
- fix(provider-generator): fix oci provider by skipping attributes that
conflict after being camel cased
[\#3285](#3285)
- fix(lib): expose `conditional`
[\#3264](#3264)
- fix: lower cache usage by reusing more of the yarn caches
[\#3162](#3162)

### chore

- chore: cd into dist/python
[\#3400](#3400)
- chore: simplify python release
[\#3399](#3399)
- chore: remove set in gh action script
[\#3398](#3398)
- chore: fix python publishing
[\#3397](#3397)
- chore: Upgrade dependencies for @cdktf/hcl2json
[\#3392](#3392)
- chore: Upgrade dependencies for @cdktf/provider-schema
[\#3391](#3391)
- chore: Upgrade dependencies for cdktf
[\#3390](#3390)
- chore: Upgrade dependencies for @cdktf/cli-core
[\#3389](#3389)
- chore: Upgrade dependencies for @cdktf/commons
[\#3388](#3388)
- chore: Upgrade dependencies for @cdktf/provider-generator
[\#3387](#3387)
- chore: set include-system-site-packages=true for python release
[\#3386](#3386)
- chore: set include-system-site-packages=true for python release
[\#3385](#3385)
- chore: activate virtual env in same shell
[\#3384](#3384)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR
[\#3383](#3383)
- chore: use publib for releases
[\#3382](#3382)
- chore: enable python virtual environment before releasing
[\#3381](#3381)
- chore: run python tests in virtual env
[\#3379](#3379)
- chore: npm-check-updates && yarn upgrade
[\#3377](#3377)
- chore: Upgrade dependencies for @cdktf/commons
[\#3375](#3375)
- chore: Upgrade dependencies for @cdktf/cli-core
[\#3373](#3373)
- chore: Upgrade dependencies for cdktf
[\#3371](#3371)
- chore: run prettier
[\#3369](#3369)
- chore: update required python version in examples
[\#3368](#3368)
- chore: use --break-system-packages to install pipenv and pipx globally
[\#3367](#3367)
- chore: use activated virtual env in docker
[\#3366](#3366)
- chore: update docker base image
[\#3363](#3363)
- chore: fix aspects documentation
[\#3362](#3362)
- chore: Use locally built bindings for ts provider doc example
[\#3359](#3359)
- chore: add a subshell
[\#3357](#3357)
- chore: full checkout and deal with empty lists
[\#3356](#3356)
- chore: disable test for TF 1.5.5
[\#3354](#3354)
- chore: delete old branches before docs rollout
[\#3353](#3353)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR
[\#3351](#3351)
- chore: Upgrade dependencies for @cdktf/provider-generator
[\#3347](#3347)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR
[\#3346](#3346)
- chore: document correct environment variable
[\#3344](#3344)
- chore: pin all dependencies
[\#3340](#3340)
- chore: update CI to run against TF 1.6.5 and 1.5.5
[\#3338](#3338)
- chore: update CI to run against TF 1.5 and 1.4
[\#3335](#3335)
- chore: Upgrade dependencies for @cdktf/provider-generator
[\#3330](#3330)
- chore: Upgrade dependencies for @cdktf/provider-schema
[\#3324](#3324)
- chore: update terraform functions
[\#3319](#3319)
- chore(provider-generator): fix typo in docstring
[\#3316](#3316)
- chore: remove label action
[\#3315](#3315)
- chore(tests): re-enable provider schema tests
[\#3314](#3314)
- chore(lib): Formalize error messages in lib
[\#3312](#3312)
- chore: ignore nx cache
[\#3303](#3303)
- chore: re-enable operator example
[\#3302](#3302)
- chore: remove reference to mergeLists
[\#3301](#3301)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR
[\#3293](#3293)
- chore: Run all tests per PR unless skipped
[\#3286](#3286)
- chore: remove tabs in documentation
[\#3284](#3284)
- chore: Upgrade dependencies for @cdktf/hcl2json
[\#3283](#3283)
- chore: Upgrade dependencies for @cdktf/commons
[\#3282](#3282)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR
[\#3279](#3279)
- chore: add depcheck for cdktf lib
[\#3276](#3276)
- chore: add depcheck for hcl2cdk
[\#3275](#3275)
- chore: add depcheck for hcl2json
[\#3274](#3274)
- chore: fix dependencies for provider packages
[\#3271](#3271)
- chore: dependency check commons package
[\#3270](#3270)
- chore: Upgrade dependencies for @cdktf/commons
[\#3268](#3268)
- chore: Upgrade dependencies for @cdktf/provider-schema
[\#3267](#3267)
- chore: Upgrade dependencies for @cdktf/cli-core
[\#3266](#3266)
- chore: Upgrade dependencies for @cdktf/hcl2json
[\#3265](#3265)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR
[\#3263](#3263)
- chore: update registry conversion tool
[\#3261](#3261)
- chore: Upgrade dependencies for cdktf
[\#3252](#3252)
- chore: Upgrade dependencies for @cdktf/cli-core
[\#3244](#3244)

---------

Co-authored-by: Daniel Schmidt <danielmschmidt92@gmail.com>
  • Loading branch information
mutahhir and DanielMSchmidt committed Jan 10, 2024
1 parent d4f9710 commit 610a4f9
Show file tree
Hide file tree
Showing 10 changed files with 5,560 additions and 21,368 deletions.
108 changes: 107 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.20.0 (Unreleased)
## 0.20.0

**Breaking changes**

Expand All @@ -10,6 +10,112 @@ To resolve [\#3026](https://github.com/hashicorp/terraform-cdk/issues/3026) we i

We have removed deprecated backends artifactory, etcd, etcdv3, manta, and swift. CDK for Terraform v0.14 deprecated these backends initially. Terraform removed these backends in v1.3. For migration paths from these removed backends, refer to [Upgrading to Terraform v1.3](/terraform/language/v1.3.x/upgrade-guides).

### Python 3.7 is no longer supported

We have dropped support for Python 3.7, please update to Python 3.8 or higher.

### feat

- feat: Synthesis in HCL [\#3365](https://github.com/hashicorp/terraform-cdk/pull/3365)
- feat(lib): update backend options [\#3352](https://github.com/hashicorp/terraform-cdk/pull/3352)
- feat: add Terraform 1.6.5 to Docker image [\#3336](https://github.com/hashicorp/terraform-cdk/pull/3336)
- feat(docs): Add note to address having the same name as new Terraform stacks feature [\#3333](https://github.com/hashicorp/terraform-cdk/pull/3333)
- feat(lib): Add support for the built-in Terraform data resource [\#3317](https://github.com/hashicorp/terraform-cdk/pull/3317)
- feat(lib): add `.allWithMapKey` iterator to lists [\#3299](https://github.com/hashicorp/terraform-cdk/pull/3299)
- feat(lib): Add DynamicListTerraformIterator with support for lists or sets with objects that have properties that are only known at apply time [\#3273](https://github.com/hashicorp/terraform-cdk/pull/3273)
- feat(lib): allow chaining of TerraformIterator created resources [\#3272](https://github.com/hashicorp/terraform-cdk/pull/3272)
- feat(lib): add move workflows for specifying ids directly [\#3231](https://github.com/hashicorp/terraform-cdk/pull/3231)

### fix

- fix pipenv build [\#3364](https://github.com/hashicorp/terraform-cdk/pull/3364)
- fix(cli): Handle overlapping resource names in augmented logs [\#3343](https://github.com/hashicorp/terraform-cdk/pull/3343)
- fix: Terraform Modules relatively referencing each other with generated bindings [\#3341](https://github.com/hashicorp/terraform-cdk/pull/3341)
- fix(lib): respect AppOption.outdir before env var [\#3334](https://github.com/hashicorp/terraform-cdk/pull/3334)
- fix(provider-generator): use module name that does not collide commonly [\#3332](https://github.com/hashicorp/terraform-cdk/pull/3332)
- fix(lib): Fix handling of replaceTriggeredBy lifecycle attribute [\#3322](https://github.com/hashicorp/terraform-cdk/pull/3322)
- fix(cli): error message for non-existent tf cloud orgs [\#3308](https://github.com/hashicorp/terraform-cdk/pull/3308)
- fix(provider-generator): provided name does not need to match name in source [\#3305](https://github.com/hashicorp/terraform-cdk/pull/3305)
- fix(provider-generator): don't require attributes to be set on nested_type [\#3304](https://github.com/hashicorp/terraform-cdk/pull/3304)
- fix(lib): improve error messages for token resolution [\#3300](https://github.com/hashicorp/terraform-cdk/pull/3300)
- fix: Use unique names to see if Github filters can pick it up [\#3291](https://github.com/hashicorp/terraform-cdk/pull/3291)
- fix(tests): Update provider version in C# snapshot test [\#3289](https://github.com/hashicorp/terraform-cdk/pull/3289)
- fix: Use an additional results step to ensure dynamic matrix jobs can… [\#3288](https://github.com/hashicorp/terraform-cdk/pull/3288)
- fix(provider-generator): fix oci provider by skipping attributes that conflict after being camel cased [\#3285](https://github.com/hashicorp/terraform-cdk/pull/3285)
- fix(lib): expose `conditional` [\#3264](https://github.com/hashicorp/terraform-cdk/pull/3264)
- fix: lower cache usage by reusing more of the yarn caches [\#3162](https://github.com/hashicorp/terraform-cdk/pull/3162)

### chore

- chore: cd into dist/python [\#3400](https://github.com/hashicorp/terraform-cdk/pull/3400)
- chore: simplify python release [\#3399](https://github.com/hashicorp/terraform-cdk/pull/3399)
- chore: remove set in gh action script [\#3398](https://github.com/hashicorp/terraform-cdk/pull/3398)
- chore: fix python publishing [\#3397](https://github.com/hashicorp/terraform-cdk/pull/3397)
- chore: Upgrade dependencies for @cdktf/hcl2json [\#3392](https://github.com/hashicorp/terraform-cdk/pull/3392)
- chore: Upgrade dependencies for @cdktf/provider-schema [\#3391](https://github.com/hashicorp/terraform-cdk/pull/3391)
- chore: Upgrade dependencies for cdktf [\#3390](https://github.com/hashicorp/terraform-cdk/pull/3390)
- chore: Upgrade dependencies for @cdktf/cli-core [\#3389](https://github.com/hashicorp/terraform-cdk/pull/3389)
- chore: Upgrade dependencies for @cdktf/commons [\#3388](https://github.com/hashicorp/terraform-cdk/pull/3388)
- chore: Upgrade dependencies for @cdktf/provider-generator [\#3387](https://github.com/hashicorp/terraform-cdk/pull/3387)
- chore: set include-system-site-packages=true for python release [\#3386](https://github.com/hashicorp/terraform-cdk/pull/3386)
- chore: set include-system-site-packages=true for python release [\#3385](https://github.com/hashicorp/terraform-cdk/pull/3385)
- chore: activate virtual env in same shell [\#3384](https://github.com/hashicorp/terraform-cdk/pull/3384)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3383](https://github.com/hashicorp/terraform-cdk/pull/3383)
- chore: use publib for releases [\#3382](https://github.com/hashicorp/terraform-cdk/pull/3382)
- chore: enable python virtual environment before releasing [\#3381](https://github.com/hashicorp/terraform-cdk/pull/3381)
- chore: run python tests in virtual env [\#3379](https://github.com/hashicorp/terraform-cdk/pull/3379)
- chore: npm-check-updates && yarn upgrade [\#3377](https://github.com/hashicorp/terraform-cdk/pull/3377)
- chore: Upgrade dependencies for @cdktf/commons [\#3375](https://github.com/hashicorp/terraform-cdk/pull/3375)
- chore: Upgrade dependencies for @cdktf/cli-core [\#3373](https://github.com/hashicorp/terraform-cdk/pull/3373)
- chore: Upgrade dependencies for cdktf [\#3371](https://github.com/hashicorp/terraform-cdk/pull/3371)
- chore: run prettier [\#3369](https://github.com/hashicorp/terraform-cdk/pull/3369)
- chore: update required python version in examples [\#3368](https://github.com/hashicorp/terraform-cdk/pull/3368)
- chore: use --break-system-packages to install pipenv and pipx globally [\#3367](https://github.com/hashicorp/terraform-cdk/pull/3367)
- chore: use activated virtual env in docker [\#3366](https://github.com/hashicorp/terraform-cdk/pull/3366)
- chore: update docker base image [\#3363](https://github.com/hashicorp/terraform-cdk/pull/3363)
- chore: fix aspects documentation [\#3362](https://github.com/hashicorp/terraform-cdk/pull/3362)
- chore: Use locally built bindings for ts provider doc example [\#3359](https://github.com/hashicorp/terraform-cdk/pull/3359)
- chore: add a subshell [\#3357](https://github.com/hashicorp/terraform-cdk/pull/3357)
- chore: full checkout and deal with empty lists [\#3356](https://github.com/hashicorp/terraform-cdk/pull/3356)
- chore: disable test for TF 1.5.5 [\#3354](https://github.com/hashicorp/terraform-cdk/pull/3354)
- chore: delete old branches before docs rollout [\#3353](https://github.com/hashicorp/terraform-cdk/pull/3353)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3351](https://github.com/hashicorp/terraform-cdk/pull/3351)
- chore: Upgrade dependencies for @cdktf/provider-generator [\#3347](https://github.com/hashicorp/terraform-cdk/pull/3347)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3346](https://github.com/hashicorp/terraform-cdk/pull/3346)
- chore: document correct environment variable [\#3344](https://github.com/hashicorp/terraform-cdk/pull/3344)
- chore: pin all dependencies [\#3340](https://github.com/hashicorp/terraform-cdk/pull/3340)
- chore: update CI to run against TF 1.6.5 and 1.5.5 [\#3338](https://github.com/hashicorp/terraform-cdk/pull/3338)
- chore: update CI to run against TF 1.5 and 1.4 [\#3335](https://github.com/hashicorp/terraform-cdk/pull/3335)
- chore: Upgrade dependencies for @cdktf/provider-generator [\#3330](https://github.com/hashicorp/terraform-cdk/pull/3330)
- chore: Upgrade dependencies for @cdktf/provider-schema [\#3324](https://github.com/hashicorp/terraform-cdk/pull/3324)
- chore: update terraform functions [\#3319](https://github.com/hashicorp/terraform-cdk/pull/3319)
- chore(provider-generator): fix typo in docstring [\#3316](https://github.com/hashicorp/terraform-cdk/pull/3316)
- chore: remove label action [\#3315](https://github.com/hashicorp/terraform-cdk/pull/3315)
- chore(tests): re-enable provider schema tests [\#3314](https://github.com/hashicorp/terraform-cdk/pull/3314)
- chore(lib): Formalize error messages in lib [\#3312](https://github.com/hashicorp/terraform-cdk/pull/3312)
- chore: ignore nx cache [\#3303](https://github.com/hashicorp/terraform-cdk/pull/3303)
- chore: re-enable operator example [\#3302](https://github.com/hashicorp/terraform-cdk/pull/3302)
- chore: remove reference to mergeLists [\#3301](https://github.com/hashicorp/terraform-cdk/pull/3301)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3293](https://github.com/hashicorp/terraform-cdk/pull/3293)
- chore: Run all tests per PR unless skipped [\#3286](https://github.com/hashicorp/terraform-cdk/pull/3286)
- chore: remove tabs in documentation [\#3284](https://github.com/hashicorp/terraform-cdk/pull/3284)
- chore: Upgrade dependencies for @cdktf/hcl2json [\#3283](https://github.com/hashicorp/terraform-cdk/pull/3283)
- chore: Upgrade dependencies for @cdktf/commons [\#3282](https://github.com/hashicorp/terraform-cdk/pull/3282)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3279](https://github.com/hashicorp/terraform-cdk/pull/3279)
- chore: add depcheck for cdktf lib [\#3276](https://github.com/hashicorp/terraform-cdk/pull/3276)
- chore: add depcheck for hcl2cdk [\#3275](https://github.com/hashicorp/terraform-cdk/pull/3275)
- chore: add depcheck for hcl2json [\#3274](https://github.com/hashicorp/terraform-cdk/pull/3274)
- chore: fix dependencies for provider packages [\#3271](https://github.com/hashicorp/terraform-cdk/pull/3271)
- chore: dependency check commons package [\#3270](https://github.com/hashicorp/terraform-cdk/pull/3270)
- chore: Upgrade dependencies for @cdktf/commons [\#3268](https://github.com/hashicorp/terraform-cdk/pull/3268)
- chore: Upgrade dependencies for @cdktf/provider-schema [\#3267](https://github.com/hashicorp/terraform-cdk/pull/3267)
- chore: Upgrade dependencies for @cdktf/cli-core [\#3266](https://github.com/hashicorp/terraform-cdk/pull/3266)
- chore: Upgrade dependencies for @cdktf/hcl2json [\#3265](https://github.com/hashicorp/terraform-cdk/pull/3265)
- chore(deps): pin trusted workflows based on HashiCorp TSCCR [\#3263](https://github.com/hashicorp/terraform-cdk/pull/3263)
- chore: update registry conversion tool [\#3261](https://github.com/hashicorp/terraform-cdk/pull/3261)
- chore: Upgrade dependencies for cdktf [\#3252](https://github.com/hashicorp/terraform-cdk/pull/3252)
- chore: Upgrade dependencies for @cdktf/cli-core [\#3244](https://github.com/hashicorp/terraform-cdk/pull/3244)

## 0.19.1

### feat
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.19.1",
"version": "0.20.0",
"private": true,
"scripts": {
"build-and-package": "lerna run --scope 'cdktf*' --scope @cdktf/* build,package && tools/collect-dist.sh",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ export class FnGenerated {
);
}
/**
* {@link https://developer.hashicorp.com/terraform/language/functions/sensitive sensitive} takes any value and returns a copy of it marked so that Terraform will treat it as sensitive, with the same meaning and behavior as for [sensitive input variables](/language/values/variables#suppressing-values-in-cli-output).
* {@link https://developer.hashicorp.com/terraform/language/functions/sensitive sensitive} takes any value and returns a copy of it marked so that Terraform will treat it as sensitive, with the same meaning and behavior as for [sensitive input variables](/terraform/language/values/variables#suppressing-values-in-cli-output).
* @param {any} value
*/
static sensitive(value: any) {
Expand Down

0 comments on commit 610a4f9

Please sign in to comment.