Skip to content

fix: align aws-cdk-lib peer dependency with @aws/agentcore-cdk ^2.243.0#582

Merged
notgitika merged 1 commit intoaws:mainfrom
notgitika:fix/align-cdk-lib-peer-dep
Mar 19, 2026
Merged

fix: align aws-cdk-lib peer dependency with @aws/agentcore-cdk ^2.243.0#582
notgitika merged 1 commit intoaws:mainfrom
notgitika:fix/align-cdk-lib-peer-dep

Conversation

@notgitika
Copy link
Contributor

Summary

  • Bumps aws-cdk-lib peer dependency from ^2.234.1 to ^2.243.0 to match @aws/agentcore-cdk
  • Bumps aws-cdk-lib dev dependency from ^2.240.0 to ^2.243.0 for consistency
  • Fixes unresolvable dependency conflicts customers hit when installing both @aws/agentcore and @aws/agentcore-cdk

Problem

@aws/agentcore-cdk requires aws-cdk-lib ^2.243.0 (for the aws-bedrockagentcore CloudFormation module), but the CLI declared ^2.234.1. A customer with e.g. aws-cdk-lib@2.240.0 would satisfy the CLI's constraint but fail the CDK constructs package — npm cannot resolve both, producing an unresolvable peer dependency error.

Test plan

  • npm run typecheck passes
  • prettier --check passes
  • Verify npm install resolves cleanly in a fresh project depending on both @aws/agentcore and @aws/agentcore-cdk

@notgitika notgitika requested a review from a team March 19, 2026 23:06
@github-actions github-actions bot added the size/m PR size: M label Mar 19, 2026
The CDK constructs package requires aws-cdk-lib ^2.243.0 (for
aws-bedrockagentcore module), but the CLI declared ^2.234.1. This
caused unresolvable dependency conflicts for customers installing both
packages. Bump peer and dev dependencies to ^2.243.0 to match.
@notgitika notgitika force-pushed the fix/align-cdk-lib-peer-dep branch from 5cbceeb to b164eb9 Compare March 19, 2026 23:09
@github-actions github-actions bot added size/xs PR size: XS and removed size/m PR size: M labels Mar 19, 2026
@notgitika notgitika merged commit 9dc4507 into aws:main Mar 19, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants