Skip to content

feat(awscdk): bump default constructs version to 10.5.1 - #4545

Merged
mrgrain merged 2 commits into
mainfrom
mrgrain/chore/awscdk/bump-constructs-default
Feb 20, 2026
Merged

mrgrain merged 2 commits into
mainfrom
mrgrain/chore/awscdk/bump-constructs-default

Conversation

@mrgrain

@mrgrain mrgrain commented Feb 20, 2026 •

Copy link
Copy Markdown
Collaborator

The default version of the constructs library for CDK 2.x projects has been stuck at 10.0.5 since CDK 2 was first introduced.

Bumping the default to 10.5.1 enables support for CDK Mixins out of the box. Constructs 10.5.0 introduced the IMixin interface and Construct.with() method (aws/constructs#2843), allowing newly created projects to use this feature without manually upgrading their constructs dependency.

Additionally, the default for cdkVersion is updated to 2.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.

@codecov

codecov Bot commented Feb 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.46%. Comparing base (83c0fbf) to head (6480d13).
⚠️ Report is 2 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hoegertn

Copy link
Copy Markdown
Contributor

Should the change also increase the aws-cdk-lib version to something modern?

@mrgrain
mrgrain force-pushed the mrgrain/chore/awscdk/bump-constructs-default branch from 1fb7aca to e237f12 Compare February 20, 2026 13:12
@mrgrain mrgrain changed the title chore(awscdk): bump default constructs version to 10.5.1 feat(awscdk): bump default constructs version to 10.5.1 Feb 20, 2026
@mrgrain
mrgrain force-pushed the mrgrain/chore/awscdk/bump-constructs-default branch from e237f12 to 4893feb Compare February 20, 2026 13:15
@mrgrain

mrgrain commented Feb 20, 2026

Copy link
Copy Markdown
Collaborator Author

Should the change also increase the aws-cdk-lib version to something modern?

Done!

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@projen-automation
projen-automation added this pull request to the merge queue Feb 20, 2026
@mrgrain
mrgrain removed this pull request from the merge queue due to a manual request Feb 20, 2026
@mrgrain
mrgrain added this pull request to the merge queue Feb 20, 2026
Merged via the queue into main with commit 7322fee Feb 20, 2026
33 checks passed
@mrgrain
mrgrain deleted the mrgrain/chore/awscdk/bump-constructs-default branch February 20, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants