Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0.6.0 (September 15, 2021)
Breaking Changes
Abbreviated version below, for a guide see Upgrade Guide for 0.6
Constructs upgrade (
v3
tov10
)The
constructs
package serves as the base for all building blocks of the CDKs (e.g. CDK for Terraform, AWS CDK and cdk8s). Recently theconstructs
package was lifted to v10 with a few but major changes. The reason behind those was to make it future proof and stable across different CDKs. In this process the API surface area of theconstructs
base package was reduced and some functionality has been moved directly to the AWS CDK instead. For more information and the underlying motivation for the changes to theconstructs
library refer to the Removal of Construct Compatibility Layer RFC.Moved functionality
Aspects
are now part ofcdktf
as they've been removed fromconstructs
. If you use them, you need to change your import statement to import them from thecdktf
package. The api also has changed a bit. The new way to registerAspects
isAspects.of(construct).add(aspect)
instead ofconstruct.node.applyAspect(aspect)
.construct.node.addInfo()
,construct.node.addWarning()
andconstruct.node.addError()
methods are now available under theAnnotations.of(construct)
API: e.g.Annotations.of(construct).addWarning('my warning')
.Annotations
are a part of thecdktf
base library.Removed functionality
construct.onPrepare
/construct.prepare()
has been removed. Instead you can useAspects
.onSynthesize
has been removed. If you find yourself needing support for it, please file a new issue on this repo and describe your use-case.Documentation
Fixed Bugs
Chores
Features