You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore(release): update changelog and add section about changed type names for recursive attribute types
* chore(docs): add first draft of an 0.12 upgrade guide
* chore(release): bump package.json version to 0.12.0
* chore: add testing matchers PR to changelog
* chore: update generated documentation
* chore: link to upgrade guide
Co-authored-by: Daniel Schmidt <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
## 0.12.0 (unreleased)
1
+
## 0.12.0
2
2
3
3
**Breaking Changes**
4
4
@@ -10,6 +10,46 @@ Previously we would throw an error and exit with 1 if there were no provider or
10
10
11
11
The Terraform `merge` function can merge both lists and maps, but this can cause [issues](https://github.com/hashicorp/terraform-cdk/issues/1653) when using the result in a typed language. Therefore we split it into `Fn.mergeLists` and `Fn.mergeMaps`, this means you need to change your cdktf programs code.
12
12
13
+
### Simplified interfaces of recursive attributes
14
+
15
+
The generated provider bindings are based on the Terraform schema which does not support recursion and hence uses a large, explicit structure instead. Previously this resulted in long names such as e.g. `Wafv2WebAclRuleStatementAndStatementStatementOrStatementStatementLabelMatchStatement`. In 0.12 we implemented a first rough detection for this underlying recursion which drastically reduced the amount of generated interfaces as they now are converted to recursive data structures themselves.
16
+
If you are currently using those types e.g. in a language like Java, you will need to change them to the new shorter names.
17
+
18
+
### feat
19
+
20
+
- feat(lib): Introduce Iterator and `for_each` to implement apply time iteration [\#1830](https://github.com/hashicorp/terraform-cdk/pull/1830)
21
+
- feat(lib): Introduce TerraformDynamicBlock to enable iterator usage on blocks [\#1882](https://github.com/hashicorp/terraform-cdk/pull/1882)
22
+
- feat(cli): support refresh only option for diff and deploy [\#1851](https://github.com/hashicorp/terraform-cdk/pull/1851)
- feat(docs): document FORCE_COLOR env var that allows disabling colored output [\#1917](https://github.com/hashicorp/terraform-cdk/pull/1917)
25
+
- feat(cli): plug provider add command in help printed after initializing a new cdktf project [\#1833](https://github.com/hashicorp/terraform-cdk/pull/1833)
26
+
- feat(lib): exposed testing matchers for other languages properly [\#1935](https://github.com/hashicorp/terraform-cdk/pull/1935)
27
+
28
+
### fix
29
+
30
+
- fix: Allow "all" as ignoreChanges lifecycle value [\#1848](https://github.com/hashicorp/terraform-cdk/pull/1848)
31
+
- fix: Fixed naming collision between resources of different providers [\#1870](https://github.com/hashicorp/terraform-cdk/pull/1870)
32
+
- fix: Small fix to the CONTRIBUTING.md [\#1887](https://github.com/hashicorp/terraform-cdk/pull/1887)
33
+
- fix(cli): increase default max memory for node process when running app command for synth [\#1915](https://github.com/hashicorp/terraform-cdk/pull/1915)
34
+
- fix(provider-generator): Meta arguments available for generated modules [\#1880](https://github.com/hashicorp/terraform-cdk/pull/1880)
35
+
- fix(provider-generator): replace dashes with underscores in module names for Go when generating bindings for Terraform modules [\#1928](https://github.com/hashicorp/terraform-cdk/pull/1928)
36
+
- fix(hcl2json): bundle wasm_exec used for building Go instead of looking for it at runtime [\#1954](https://github.com/hashicorp/terraform-cdk/pull/1954)
37
+
- fix(hcl2cdk): use the same attribute renaming function as in the provider generation [\#1842](https://github.com/hashicorp/terraform-cdk/pull/1842)
38
+
- fix(hcl2cdk): maps should not be wrapped in arrays [\#1838](https://github.com/hashicorp/terraform-cdk/pull/1838)
39
+
40
+
### chore
41
+
42
+
- chore: document CI flag [\#1888](https://github.com/hashicorp/terraform-cdk/pull/1888)
43
+
- chore: modernize example output [\#1914](https://github.com/hashicorp/terraform-cdk/pull/1914)
44
+
- chore: pin provider version [\#1896](https://github.com/hashicorp/terraform-cdk/pull/1896)
0 commit comments