Commit c42c5b4
authored
fix(deploy): bump @aws-cdk/toolkit-lib to read cloud-assembly schema 54 (#1465)
aws-cdk-lib@2.258.0 (published 2026-06-04) bundles
cloud-assembly-schema ^54.0.0, so freshly-created CDK projects now write
schema-54 manifests. The CLI's bundled @aws-cdk/toolkit-lib@1.24.0 reads
only up to schema 53, so synth fails with AssemblyVersionMismatch
("Maximum schema version supported is 53.x.x, but found 54.0.0").
Bump @aws-cdk/toolkit-lib ^1.16.0 -> ^1.28.0 (resolves the bundled reader
to 1.28.0, whose nested cloud-assembly-schema is 54.2.0) and regenerate
npm-shrinkwrap.json. 1.28.0 reads schema 54 and all of 53 — forward
compatible — and is an API-compatible drop-in (no source changes).
Also bump the generated template's aws-cdk devDep 2.1100.1 -> 2.1126.0 so
the manual `npm run cdk` escape hatch can also read schema 54.
Verified by reproducing the customer scenario: a fresh project resolving
aws-cdk-lib@2.258.0 writes a 54.0.0 manifest, and `agentcore deploy
--dry-run` now synthesizes cleanly (Synthesize CloudFormation: SUCCESS).1 parent dd255e3 commit c42c5b4
4 files changed
Lines changed: 50 additions & 39 deletions
File tree
- src/assets
- __tests__/__snapshots__
- cdk
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments