Repository navigation
feat(awscdk): bump default constructs version to 10.5.1 - #4545
Merged
Merged
Conversation
projen-automation
enabled auto-merge
February 20, 2026 12:26
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4545 +/- ##
=======================================
Coverage 96.46% 96.46%
=======================================
Files 205 205
Lines 42286 42286
Branches 3813 3811 -2
=======================================
Hits 40791 40791
Misses 1495 1495 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
Should the change also increase the aws-cdk-lib version to something modern? |
mrgrain
force-pushed
the
mrgrain/chore/awscdk/bump-constructs-default
branch
from
February 20, 2026 13:12
1fb7aca to
e237f12
Compare
mrgrain
force-pushed
the
mrgrain/chore/awscdk/bump-constructs-default
branch
from
February 20, 2026 13:15
e237f12 to
4893feb
Compare
Collaborator
Author
Done! |
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
iliapolo
approved these changes
Feb 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The default version of the
constructslibrary for CDK 2.x projects has been stuck at10.0.5since CDK 2 was first introduced.Bumping the default to
10.5.1enables support for CDK Mixins out of the box. Constructs10.5.0introduced theIMixininterface andConstruct.with()method (aws/constructs#2843), allowing newly created projects to use this feature without manually upgrading their constructs dependency.Additionally, the default for
cdkVersionis updated to2.189.1, which is the oldest CDK version without a published security advisory. This makes it a suitable minimum version for CDK Construct Libraries. Only affects new projects, which will now be created by putting this version into the generated projen RC file.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.