Releases: hashicorp/terraform-cdk
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])
v0.15.5
v0.15.4
v0.15.3
chore
- chore: Don't run
terraform init
when not required #2572 - chore: additionally lock providers for linux only #2593
- chore: refactor 'needs upgrade' #2570
- chore: Update remaining Typescript documentation snippets #2564
- chore: translate more csharp docs #2433
- chore: translate rest of the docs to C# #2558
- chore: run dotnet format #2559
- chore: Update contributing #2479
- chore: truly autoclose older GHA updater PRs #2546
fix
- fix: rename CloudBackendProps to CloudBackendConfig in templates #2553
- fix: switch back to offical image to fix issue with stale signature files #2588
- fix: use correctly named syntax in comments #2562
- fix(lib): Update special defaults #2523
- fix(docs): camel -> snake case in resource escape hatches #2571
- fix(docs): Go post mortem review feedback #2587
- fix(docs): fix typo in CSharp example #2580
- fix(docs): fix links to examples page #2574
- fix(docs): add missing java remote backend example #2563
- fix(docs): properties in create module example use snake case #2561
feat
- feat: add cache flag for prettier to speed up subsequent runs #2556
- feat: Add a wrap in stack optional param to cdktf convert #2539
- feat(docs): Convert some code snippets in docs to Golang #2439
- feat(docs): Translate Aspect example to Go #2445
- feat(docs): Translate more examples to Go #2554
- feat(docs): Translate more examples to Go #2560
- feat(docs): Translate more examples to Go #2569
- feat: also go through files not yet added to git #2567