0.23 contains breaking changes to the language runtimes CDK Terrain (Documentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
cdktn) supports. The
framework and CLI APIs are unchanged — you only need to make sure your toolchain is running a
supported runtime version before upgrading.
If your project already uses recent runtime versions, upgrading is as simple as bumping
cdktn and cdktn-cli (and any @cdktn/provider-* packages) to ^0.23.2.Breaking Changes
Dropped runtime support
| Language | No longer supported | Minimum supported | Recommended |
|---|---|---|---|
| Go | 1.18 – 1.24 | 1.25 | 1.25+ |
| Python | 3.8 | 3.9 | 3.9+ |
| TypeScript | < 4.5 | 4.5 | Latest 5.x |
- Go: update your
go.modtoolchain directive and CI to Go 1.25 or higher. - Python: update your environment /
pyproject.toml/requirements.txtto Python 3.9 or higher. - TypeScript: provider generation now uses features from TypeScript 4.5. There is no official minimum TypeScript version at this time, but using the latest 5.x release is recommended.
Upcoming Breaking Changes
Node.js 20.x is end-of-life. Node.js 22.x will become the minimum supported version in an upcoming release. Plan to move your local and CI environments to Node 22.x soon.
Upgrade Process
- TypeScript/JavaScript
- Python
- Go
- Java
- C#
1. Ensure TypeScript 4.5+ (latest 5.x recommended):2. Bump cdktn packages in package.json:3. Reinstall and verify:
What Stays the Same
The framework and CLI surface is unchanged from v0.22. Configuration (cdktf.json), the output
directory (cdktf.out/), CDKTF_* environment variables, the ~/.cdktf home directory, Terraform
provider sources, and your Terraform state are all unaffected. See the
v0.22 migration guide if you are still migrating from cdktf.
Verification
After upgrading, confirm your project still synthesizes:Getting Help
- Ask a question in the cdk.dev Slack
- GitHub Issues: https://github.com/open-constructs/cdk-terrain/issues