Skip to content

Releases: hashicorp/terraform-cdk

v0.9.4

24 Feb 16:14
b9a68c7
Compare
Choose a tag to compare

fix

  • fix(lib): check for null objects and don't try to reverse undefined or null #1592

chore

  • chore(cli): fix typo in test assertion #1591

v0.9.3

24 Feb 13:29
f8406c4
Compare
Choose a tag to compare

feat

  • feat(examples): Add Scaleway Golang example #1576

fix

  • fix(cli): convert failed with a single provider passed #1588
  • fix(tests): Windows needs special docker host override to work #1567

v0.9.2

21 Feb 18:48
7adda1b
Compare
Choose a tag to compare

fix

  • fix: cross-stack references in terraform cloud remote execution mode #1574

chore

  • chore: npm-check-updates && yarn upgrade #1579
  • chore: npm-check-updates && yarn upgrade #1565

v0.9.1

16 Feb 14:35
65fa63d
Compare
Choose a tag to compare

feat

  • feat(cli): show help when no command is passed #1540

fix

  • fix(tests): run package before running unit tests in release pipelines #1563
  • fix(hcl2cdk): handle no providers passed and add cdktf import for remote state data sources #1561
  • fix(cli): Fix template for Go not adding jsii import when using Terraform Cloud #1556
  • fix(lib): Add missing regex Function #1531
  • fix(cli): add better messaging on inint #1524
  • fix(docs): fix a typo in serverless-application-typescript.md #1517
  • fix(provider-generator): Replace jsii incompatible names #1516
  • fix(provider-generator): don't build generated edge provider output as part of building the provider-generator #1509
  • fix(tests): add --ci flag to jest invocations when in CI #1498
  • fix: stringValue rated valid strings as unescaped double quotes #1566
  • chore(deps): upgrade jsii (substantially improves cdktf get performance for Go) #1558
  • fix(cli): reflect correct node version requirement #1573

chore

  • chore(docs): we now support cross stack refs, the section is no longer needed #1571
  • chore(docs): remove old docs files #1542
  • chore(docs): Update main from stable-website #1529
  • chore(docs): remove old layouts folder #1522
  • chore(docs): Merge stable-website into main #1515
  • chore(docs): add 0.9 upgrade guide #1512

test

  • test(hcl2cdk): check if produced code can generate HCL #1539

v0.9.0

26 Jan 12:51
ad77fb4
Compare
Choose a tag to compare

Breaking Changes

Standardize IResolvable Usage #1299

This is an effort to make sure attributes can be freely passed between resources for all different types.

There is a minor breaking change:

  • count on resources and data sources has gone from number | cdktf.IResolvable to number. If code was previously passing an IResolvable, it will now need to use Token.asNumber()

Map Tokens #1411

As part of an effort to use more native types, there are now tokens for maps of primitive values.

As a result, there is a minor breaking change:

  • Map attributes have gone from { [key: string]: TYPE } | cdktf.IResolvable to { [key: string]:TYPE } when TYPE is string, number, or boolean.
    • The most common impact is maps created by using Terraform functions (Fn.(...)) will now need to be passed to Token.as<String/Number/Boolean>Map() before assigning to a resource attribute.

Number[] Tokens #1471

As part of an effort to use more native types, there are now tokens for number[].
This is mostly an internal change, but there is now Token.asNumberList() which can be used to convert other values into number[].

As a result of some standardization, there is a minor breaking change:

  • Boolean[] attributes have gone from boolean[] to Array<boolean | IResolvable> | IResolvable.
    • This is done because neither boolean or boolean[] is representable by a token.
    • This should make it easier to pass around boolean[] between resources and fuctions.
    • For jsii languages (especially Java and C#), these types will end up as List<Object>.

feat

  • feat(cli): output command #1495
  • feat(lib): cross-stack references #1416
  • feat(lib): cross stack references other backends #1488
  • feat(lib): Allow relative assets #1346
  • feat(lib): Create assets for local modules #1476
  • feat(lib): number[] Tokens #1471
  • feat(lib): produce stable cdk.tf.json output #1454
  • feat(lib): Initial improvements for set support #1415
  • feat(lib): Map Tokens #1411
  • feat(provider-generator): reference computed values nested in lists #1468
  • feat(tests): add test which confirms that modules now support sets #1497

fix

  • fix(cli): speed up shell autocompletions #1496
  • fix(cli): remove deprecated -state option #1461
  • fix(lib): resolve objects correctly in cross stack references #1487
  • fix(docs): fix typo #1387
  • fix: increase memory for integration:update command #1490

chore

  • chore(examples): Added go/azurerm examples #1275
  • chore(lib): Standardize IResolvable usage #1299
  • chore(docs): document pinning state to stack #1504
  • chore(docs): link to AWS Constructs base class #1473
  • chore(docs): Final Docs Migration Cleanup #1431
  • chore(docs): Manual windows testing #1407
  • chore: migrate docs to mdx #1421
  • chore: store website nav files #1434
  • chore: update example for azure app service #1484
  • chore: add tooling for an automated issue dashboard #1474
  • chore: decrease update speed of the project board #1485
  • chore: npm-check-updates && yarn upgrade #1477
  • chore: npm-check-updates && yarn upgrade #1489
  • chore: npm-check-updates && yarn upgrade #1503
  • chore: remove patch file created through update automation #1491

v0.8.6

07 Jan 15:54
52de5d4
Compare
Choose a tag to compare

fix

  • fix(lib): don't treat strings as maps #1467
  • fix: update specified nodejs version to >=12.16 to reflect our actual requirements #1466

Other

  • chore: fix constructs error #1460

v0.8.5

05 Jan 15:56
a31c2d1
Compare
Choose a tag to compare

fix

  • fix(provider-generator): rename String resource #1455

chore

  • chore(hcl2cdk): update readme #1452
  • chore(examples): Upgrade aws provider version for Go example #1450
  • chore: update maven config for publishing #1457
  • chore: update constructs to 10.0.25 #1453

v0.8.4

04 Jan 14:26
003f3b6
Compare
Choose a tag to compare

fix

  • fix(provider-generator): remove .html suffix for doc links #1438
  • fix: Update Remote State Outputs documentation #1436

feat

  • feat(lib): Add nullable field to terraform variables #1435

chore

  • chore: update constructs to 10.0.20 #1444
  • chore: store website nav files (main) #1434
  • chore: add make website command to preview docs website #1426

v0.8.3

15 Dec 16:29
5849aa0
Compare
Choose a tag to compare

fix

  • fix(provider-generator): rename system attributes as they conflict in CSharp (fixes Okta provider) #1422
  • fix(docs): fix order of changelog steps to make sure version is bumped after running script #1419

chore

  • chore: migrate docs to mdx #1421
  • chore: fix edge provider tests in pre-release pipeline #1423

v0.8.2

14 Dec 09:58
50654f8
Compare
Choose a tag to compare

fix

  • fix(lib): make sure to resolve reference expression target #1412
  • fix(provider-generator): Fix false block attributes #1405
  • fix(lib): inline references in strings should not destroy string itself #1401
  • fix: data can be null in some cases as well #1395

chore

  • chore(docs): Adds a REAMDE to docs folder #1381
  • chore: update constructs to 10.0.12 #1414
  • chore: copy edge provider on release pipeline #1408

test

  • test(provider-generator): verify generated provider emit same HCL across languages #1311