Skip to content

Releases: hashicorp/terraform-cdk

v0.17.3

26 Jul 12:21

Choose a tag to compare

fix

  • fix: don't cross package boundaries for templates #3029
  • fix: use local NPM registry for running integration tests on unix systems #3031
  • fix: trying to fix tsc error by updating how we invoke ts projects #3033
  • fix(docs): python docs for aspect #3002

chore

  • chore: update vercel.json #3028

v0.17.2

21 Jul 15:01
fe4fbce

Choose a tag to compare

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

05 Jul 12:01

Choose a tag to compare

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

  • feat: Specific imports for convert #2946
  • feat: allow partial snippet translation #2920

v0.17.0

15 Jun 10:43

Choose a tag to compare

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

  • refactor: exit after cdktf project commands finishes #2934
  • refactor(cli): upgrade inquirer to @inquirer/prompts #2853

v0.16.3

01 Jun 09:52

Choose a tag to compare

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

31 May 09:33

Choose a tag to compare

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

  • chore: Mock synth to make parallelism test fail less #2831
  • chore: Refactor hcl2cdk to read nicer #2826

v0.16.1

27 Apr 18:15
8c07df7

Choose a tag to compare

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

  • chore: Mock synth to make parallelism test fail less #2831
  • chore: Refactor hcl2cdk to read nicer #2826

v0.16.0

18 Apr 15:31
836268c

Choose a tag to compare

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:

The following functions changed:

  • Fn.parseInt() is now Fn.parseint() to match the format of all other functions
  • Fn.mergeLists() does not exist anymore, use Fn.concat() instead
  • Fn.mergeMaps() does not exist anymore, use Fn.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

16 Feb 16:13

Choose a tag to compare

fix

  • chore: update JSII to 1.75.0 #2653
  • fix(lib): zipmap arg validators #2633

v0.15.4

09 Feb 13:35

Choose a tag to compare

fix

  • fix(cli): Remove @types/node-fetch from dependencies as those take precedence over direct devDependencies on @node/types #2623