Skip to content

Releases: hashicorp/terraform-cdk

v0.17.1

05 Jul 12:01
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v0.15.3

06 Feb 10:02
6c3ab45
Compare
Choose a tag to compare

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

v0.15.2

27 Jan 14:34
fefe3bb
Compare
Choose a tag to compare

feat

  • feat: create a plan file for non-TFC runs #2531

fix

  • fix: cdktf login issues #2543
  • fix(lib): don't use Fn.set on tagged cloud backend #2536
  • fix(provider-generator): use class based map abstractions #2530

chore

  • chore: actually autoclose older GHA updater PRs #2542
  • chore: fill out homebrew pr body #2537
  • chore: support soft sentinel overrides #2485