Releases: hashicorp/terraform-cdk
v0.17.3
v0.17.2
feat
- feat(cli): allow skipping synth #2993
fix
- fix(provider-generator): wrap dynamic block iterator .key and .value in Token.asString as simply concatenating it won't work in non-TS languages #3014
- fix: remove old lerna option causing it to fail when building a matrix in CI runs #3004
- fix: quote files in shared workflows #2994
- fix: let workflow checkout different repositories #2991
- fix(provider-generator): sanitize all comments #2990
chore
- chore: fix link to examples #3015
- chore: build example script should show stdout and stderr #3013
- chore: retry pushing converted code in registry conversion #2999
- chore: Convert should use a typescript project to convert within #2992
- chore: update cdk.tf links #2989
- chore: add registry translation workflow #2958
v0.17.1
fix
- fix: Handle */ sequences within variable descriptions and defaults for variables in modules #2986
- fix: Upgrade @inquirer/prompts to resolve #2952 #2977
- fix(tests): update integration test snapshot #2962
- fix(cli): catch possible errors when trying to open a url #2961
- fix(cli): Support PNPM when retrieving package dependency information #2959
- fix(hcl2cdk): parse handling of null providers and aliases #2947
- fix(hcl2cdk): use correct import path per language #2935
- fix: do not always overwrite global.performance #2922
chore
- chore(deps): upgrade semver version #2981
- chore(docs): update doc links to new URLs #2979
- chore: Add regression test for input on init #2978
- chore: Update diagram in docs with new provider count #2974
- chore: trigger project board update when issues modified #2973
- chore: remove project board update script #2970
- chore: use resource name only unless conflict #2956
- chore: remove dependency updates #2950
- chore: correct constructs docs "Through Validations" example #2927
feat
v0.17.0
feat
- feat(provider-generator): allow removing big, cost intensive structures #2932
- feat(cli): add flag to display memory / time used for get and synth #2914
- feat(cli): Improve telemetry reporting #2840
- feat: make testing more resilient towards usage with app.synth #2762
- feat(provider-generator): Add docstring to main class generated for modules #2589
fix
- fix(cli): exit ink app when done synthesizing #2933
- fix(lib): Support Computed List<List> #2850
- fix(cli): Give hint when cdktf synth failed to create config #2714
- fix(cli): Always run init, but selectively skip locking providers #2617
chore
- chore: remove existing feature flags #2937
- chore: remove legacy comment #2938
- chore: pin all workflows after update #2926
- chore: remove PR sizing #2925
- chore: remove update snapshots CI job #2924
- chore: fix CODEOWNERS #2921
- chore: add merge queue and remove timechart #2909
- chore(hcl2cdk): add testing infrastructure for convert in Python & CSharp #2716
refactor
v0.16.3
In 0.16.2 the release to maven failed, we fixed the issue and release this version so that maven is included in the release.
v0.16.2
fix
- fix(provider-generator): remove duplicates between wrapper classes and interfaces generated from provider schemas #2895
- fix(cli): run terraform init in serial so no text file is busy in the cache #2843
- fix(cli): buffer the output from the Terraform CLI and only forward output that has been terminated by a newline #2844
- fix(cli): fix no-color flag passing #2845
- fix(hcl2cdk): Support conversion of functions that have variate arguments at the end #2833
chore
v0.16.1
fix
- fix(cli): run terraform init in serial so no text file is busy in the cache #2843
- fix(cli): buffer the output from the Terraform CLI and only forward output that has been terminated by a newline #2844
- fix(cli): fix no-color flag passing #2845
- fix(hcl2cdk): Support conversion of functions that have variate arguments at the end #2833
chore
v0.16.0
Breaking changes
Update to .NET 6.0
We updated our C# template to .NET 6.0 as JSII updated recently and dropped support for netcoreapp3.1:
The runtime library for .NET & generated .NET bindings will no longer support netcoreapp3.1 after this release. Users are advised to upgrade their apps to use net6.0 or net7.0 instead.
from JSII v.1.76.0 release notes
Changes to Terraform function bindings
Terraform functions are now generated based on the JSON schema returned by the new metadata functions command which is going to be added to the Terraform CLI in version 1.4 (PR #32487, already available in v1.4.0-beta2).
The following new functions were introduced:
Fn.endswith()- checks the suffix of a stringFn.startswith()- checks the prefix of a stringFn.timecmp()- compares two timestamps
The following functions changed:
Fn.parseInt()is nowFn.parseint()to match the format of all other functionsFn.mergeLists()does not exist anymore, useFn.concat()insteadFn.mergeMaps()does not exist anymore, useFn.merge()instead
As part of this change, we use the same parameter names as Terraform which might require changing keyword arguments in Python.
Fn.join(",", [src.stringResource.result, src.stringResource.result])
Fn.join(separator=",", value=[src.stringResource.result, src.stringResource.result])