-
Notifications
You must be signed in to change notification settings - Fork 17
Comparing changes
Open a pull request
base repository: aws/aws-cdk-cli
base: @aws-cdk/cloud-assembly-schema@v41.0.0
head repository: aws/aws-cdk-cli
compare: @aws-cdk/cloud-assembly-schema@v41.2.0
Commits on Mar 6, 2025
-
feat(toolkit-lib): additional messages contain structured data (#193)
Adds many more explicit codes and message payload to messages that previously were default messages. Within `toolkit-lib` replace all previous message helpers with the new Message Maker pattern: `CODES.CDK_CAT_I1234.msg("my message")`. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: Eli Polonsky <Eli.polonsky@gmail.com> Co-authored-by: github-actions <github-actions@github.com>
Configuration menu - View commit details
-
Copy full SHA for a3160a7 - Browse repository at this point
Copy the full SHA a3160a7View commit details -
feat(toolkit-lib): can disable cloud assembly version and enum checks…
Configuration menu - View commit details
-
Copy full SHA for 6e0b7f2 - Browse repository at this point
Copy the full SHA 6e0b7f2View commit details -
feat(toolkit-lib): wrap errors from assembly builder into AssemblyErr…
…or (#200) Fixes errors thrown from a CloudAssembly produced by a builder function are unstructured. Wrapping errors will allow better handling by implementors. Also introduced the `source` property on `ToolkitError`s as per the RFC, to denote the source of an error (user or toolkit). --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for e3b0856 - Browse repository at this point
Copy the full SHA e3b0856View commit details -
chore: enforce
consistent-type-imports
eslint rule on modern packag……es (#204) I would have liked to use the `verbatimModuleSyntax` tsconfig, but that's only available for ESM projects. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for 47a4e1d - Browse repository at this point
Copy the full SHA 47a4e1dView commit details -
refactor(cli): require approval is a part of the CliIoHost (#151)
`CliIoHost` now governs when to ask for approval or not. This was previously passed into deploy via deployOptions. - `deployOptions.requireApproval` was deprecated before, and now it is no longer being used (this may have to be pulled into a different change that removes the `requireApproval` option entirely in a minor version bump of toolkit-lib. - `CliIoHost` has a property, `requireApproval` that can be set. When the `requestResponse` API is called, we check to see if the message code is a known `requireApproval` code and if so, see if the request is necessary or if the default can be used. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
Configuration menu - View commit details
-
Copy full SHA for 7b00dd1 - Browse repository at this point
Copy the full SHA 7b00dd1View commit details
Commits on Mar 7, 2025
-
chore(toolkit-lib): fixes "ambiguous redirect" error during docs publ…
…ishing (#205) It makes the job fail. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for 8c5ec76 - Browse repository at this point
Copy the full SHA 8c5ec76View commit details -
chore(toolkit-lib): rename CODES to IO (#206)
I don't want to type `CODES` all the time and the new name is more inline with the new purpose of a message builder registry anyway. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for a6d4516 - Browse repository at this point
Copy the full SHA a6d4516View commit details -
feat: record CLI version in manifest package (#184)
Record the current CLI version in the manifest package when we release the manifest. This by itself will not trigger a new release of the `cloud-assembly-schema` package, so the version only gets recorded (and published!) when there is a new version of `cloud-assembly-schema` to publish anyway, and the version will only be displayed back to the user if there is an incompatibility of the major version number. That means we won't necessarily show the *lowest* possible CLI version number when the user needs to upgrade, but we'll show a valid CLI version number that will definitely support the given manifest. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
Configuration menu - View commit details
-
Copy full SHA for ef550a0 - Browse repository at this point
Copy the full SHA ef550a0View commit details -
chore: remove
.d.ts.map
files (#208)--- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for 2dca898 - Browse repository at this point
Copy the full SHA 2dca898View commit details -
refactor(cli): make the cli use more shared code (#207)
Removes duplicated interfaces. I know this is messy. Please bear with me 🙈 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for db6aa96 - Browse repository at this point
Copy the full SHA db6aa96View commit details -
fix:
--force
flag does not applies to assets (#197)The `cdk deploy --force` flag is intended to disable all smartness around saving work. If set, it won't check whether assets already exist in the cloud, and remove the build and publishing steps from the work graph. However, this by itself is not enough to make sure the asset truly gets published again, because the `publish()` action has its own version of short-circuiting again. Rather than remove the short-circuiting behavior from `cdk-assets`, we add another `{ force }` flag there as well, which gets its value from the CLI's `--force` flag. This will make it possible to recover from corrupted assets which were accidentally published, as fixed in aws/aws-cdk#33692, by running `rm -rf cdk.out && cdk deploy --force`. Fixes aws/aws-cdk#14474. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Kaizen Conroy <36202692+kaizencc@users.noreply.github.com> Co-authored-by: Momo Kornher <kornherm@amazon.co.uk>
Configuration menu - View commit details
-
Copy full SHA for da515f4 - Browse repository at this point
Copy the full SHA da515f4View commit details -
refactor(cli): use IoHelper in internal APIs (#209)
This PR is a lot. There is no good way of reviewing it, so thanks for taking the time. The main change here is the usage of the `IoHelper` in all internal APIs. Previously we would pass an `IoHost` and an `action` around as pair, but separate value. Instead we now use the `IoHelper` which knows how to send messages with an action. I also decided to rename all properties and params respectively. This is partly what makes the PR so large. Note that all changes are to private APIs. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for c71caf0 - Browse repository at this point
Copy the full SHA c71caf0View commit details
Commits on Mar 9, 2025
-
docs(toolkit-lib): ensure all message data interfaces are documented …
…and other improvements (#210) Main change here is to fail the build when the docs generation has warnings. This enforces that all referenced message data interfaces are exported and documented. Made some organizational changes and how the message registry is presented. Also added basic support for links to external interface from `cxapi`. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for ac56f9b - Browse repository at this point
Copy the full SHA ac56f9bView commit details
Commits on Mar 10, 2025
-
refactor(cli): replace getters and setters with a public field (#215)
The `CliIoHost` had a number of fields that had the following pattern: ```ts class CliIoHost { private _someField: string; /** Get someField */ public get someField() { return this._someField; } /** Set someField */ public set someField(value: string) { this._someField = value; } } ``` There is no additional code in the getters and setters other than directly forwarding every access to a private field, so the above is equivalent to the following: ```ts class CliIoHost { public someField: string; } ``` Since the above is simpler, this PR proposed to remove the getters and setters and just expose the field mutably. If we ever want to run additional code in a setter in some of these fields, we can refactor back to a getter and setter pair without impacting source or binary compatibility (forwards compatibility was the argument in the olden C++ and Java days for pre-emptively wrapping fields in getters and setters, but doesn't apply in JS land). (🤖 This PR was generated using AI) --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for 4566d8d - Browse repository at this point
Copy the full SHA 4566d8dView commit details -
chore: remove unused dependencies (#216)
- `glob` and `uuid` ship with types in their latest versions (which we use) - `make-runnable` is an unused dev dependency - `json-diff` and `source-map-support` are unused prod dependencies - We don't need the `CLI_SDK_VERSION` switch anymore, everything is on v3 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for db60595 - Browse repository at this point
Copy the full SHA db60595View commit details -
refactor(cli): remove generic argument from
notify<T>()
(#217)The `IIoHost` interface has the following method: ```ts interface IIoHost { notify<T>(msg: IoMessage<T>): Promise<void>; } ``` The generic parameter `T` is only used once, without bounds, for a singleton argument in input position. This means it is equivalent to the following: ```ts interface IIoHost { notify(msg: IoMessage<unknown>): Promise<void>; } ``` (Preferring `unknown` over `any` so that implementors are forced to test for the type of the `data` field, just like they would need to do with an argument of type `T`) In the words of the [Java generics tutorial](https://docs.oracle.com/javase/tutorial/extra/generics/methods.html): > Generic methods allow type parameters to be used to express > dependencies among the types of one or more arguments to a method and/or > its return type. If there isn't such a dependency, a generic method > should not be used. Or [similar advice for TypeScript](https://effectivetypescript.com/2020/08/12/generics-golden-rule/): > Type Parameters Should Appear Twice > > Type parameters are for relating the types of multiple values. If a > type parameter is only used once in the function signature, it's not > relating anything. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Co-authored-by: Momo Kornher <kornherm@amazon.co.uk>
Configuration menu - View commit details
-
Copy full SHA for e20f1a8 - Browse repository at this point
Copy the full SHA e20f1a8View commit details -
refactor(toolkit-lib): move message definitions to shared package (#220)
Move the message definitions to the shared package and make them public. This also required moving a bunch of type definitions to the shared package because they are used as payloads for the message types. In the CLI it's now possible to access those numbers and access their associated payload types in a type-checked way. A type-safe `switch` statement now looks like this: <img width="583" alt="image" src="https://github.com/user-attachments/assets/01c1cbf6-2e1a-4b8f-bd5c-180f72ff2f55" /> This change also makes the `data` field of an `IoMessage` required. The type of a message without payload is now `IoMessage<void>`: `data: void` is only inhabited by `data: undefined` which sort of tracks because `m.data === undefined` even if there is no payload (don't look too closely at the different behavior for `'data' in m` 😎 ). The type can no longer be `never` because a type like `{ data: never }` can not be inhabited by any values. We could also use `data: undefined`, *also* only admitting `undefined`, but `void` reads more clearly for its intent. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for 0c21495 - Browse repository at this point
Copy the full SHA 0c21495View commit details
Commits on Mar 11, 2025
-
chore: in tests, publish both upstream and candidate versions of sche…
…ma (#222) We need 2 different versions of `@aws-cdk/cloud-assembly-schema` versions available at the same time: - The candidate version is used by `cdk-assets` (which doesn't bundle it) - The released version is used by `aws-cdk-lib` (which is used as part of tests. Requires updating to a new version of cdklabs-projen-project-types. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for 1b22ebc - Browse repository at this point
Copy the full SHA 1b22ebcView commit details -
feat(toolkit-lib): emit marker messages during actions (#219)
Introduces the new concept of "Message Spans" to connect multiple messages for toolkit sub-tasks like "synth" or "build-assets" together. A span consists of a number of messages that have the same `span` value. At a minimum, a span is a pair of a `start` and an `end` message. Every end message also reports the elapsed time since the start of the span. Message spans will allow integrators to more easily track the flow of "tasks" completed in the Toolkit. ## Changes - Refactors the previous `Timer` class to "Message Spans" - Introduces a new registry for spans at the bottom of the existing messages registry. A span consists of a start and an end message maker. - This PR makes use of the new `IoHelper` to provide a nicer API - There is some more of type magic to ensure correct payloads, I don't think this can be tested further - I also changed the message registry to be private again, we are not ready to have it as part of the public interface (this doesn't affect our packages) - Made some improvements to the bundling of declaration files. It's currently really slow because it ends up scanning through A LOT of SDK types. Will look into this more in a follow-up PR. Fixes aws/aws-cdk#33286 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for 84d0b54 - Browse repository at this point
Copy the full SHA 84d0b54View commit details -
feat(toolkit-lib): structured log monitoring events (#218)
Moves more of the APIs to use modern IO infrastructure. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
Configuration menu - View commit details
-
Copy full SHA for 1bef263 - Browse repository at this point
Copy the full SHA 1bef263View commit details
Commits on Mar 13, 2025
-
fix(cdk-assets):
--profile
is ignored while publishing assets (#224)We neglected to configure the main credentials when assuming the file publishing role. The main credentials are where the profile is already configured. - Integration Test: aws/aws-cdk-cli-testing#59 Fixes #212 --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for f0ad96e - Browse repository at this point
Copy the full SHA f0ad96eView commit details -
chore(cli): fix tests are grouped incorrectly (#228)
This just annoyed me a lot. Let's fix it! No other changes than moving tests around. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for 59d44ee - Browse repository at this point
Copy the full SHA 59d44eeView commit details -
chore(deps-dev): bump axios from 1.8.1 to 1.8.2 (#213)
Bumps [axios](https://github.com/axios/axios) from 1.8.1 to 1.8.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p> <blockquote> <h2>Release v1.8.2</h2> <h2>Release notes:</h2> <h3>Bug Fixes</h3> <ul> <li><strong>http-adapter:</strong> add allowAbsoluteUrls to path building (<a href="https://redirect.github.com/axios/axios/issues/6810">#6810</a>) (<a href="https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f">fb8eec2</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/lexcorp16" title="+1/-1 ([#6810](axios/axios#6810) )">Fasoro-Joseph Alexander</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/axios/axios/compare/v1.8.1...v1.8.2">1.8.2</a> (2025-03-07)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>http-adapter:</strong> add allowAbsoluteUrls to path building (<a href="https://redirect.github.com/axios/axios/issues/6810">#6810</a>) (<a href="https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f">fb8eec2</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/lexcorp16" title="+1/-1 ([#6810](axios/axios#6810) )">Fasoro-Joseph Alexander</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/axios/axios/commit/a9f7689b0c4b6d68c7f587c3aa376860da509d94"><code>a9f7689</code></a> chore(release): v1.8.2 (<a href="https://redirect.github.com/axios/axios/issues/6812">#6812</a>)</li> <li><a href="https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f"><code>fb8eec2</code></a> fix(http-adapter): add allowAbsoluteUrls to path building (<a href="https://redirect.github.com/axios/axios/issues/6810">#6810</a>)</li> <li><a href="https://github.com/axios/axios/commit/98120457559e573024862e2925d56295a965ad7e"><code>9812045</code></a> chore(sponsor): update sponsor block (<a href="https://redirect.github.com/axios/axios/issues/6804">#6804</a>)</li> <li><a href="https://github.com/axios/axios/commit/72acf759373ef4e211d5299818d19e50e08c02f8"><code>72acf75</code></a> chore(sponsor): update sponsor block (<a href="https://redirect.github.com/axios/axios/issues/6794">#6794</a>)</li> <li>See full diff in <a href="https://github.com/axios/axios/compare/v1.8.1...v1.8.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/aws/aws-cdk-cli/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f1ef615 - Browse repository at this point
Copy the full SHA f1ef615View commit details -
chore: enforce consistent-type-imports everywhere (#229)
We were already enforcing this rule in `toolkit-lib`. Let's enforce it everywhere. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
Configuration menu - View commit details
-
Copy full SHA for 008590b - Browse repository at this point
Copy the full SHA 008590bView commit details -
chore(deps): bump @babel/helpers from 7.26.9 to 7.26.10 (#230)
Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.26.9 to 7.26.10. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@babel/helpers</code>'s releases</a>.</em></p> <blockquote> <h2>v7.26.10 (2025-03-11)</h2> <p>Thanks <a href="https://github.com/jordan-choi"><code>@jordan-choi</code></a> and <a href="https://github.com/mmmsssttt404"><code>@mmmsssttt404</code></a> for your first PRs!</p> <p>This release includes a fix for <a href="https://github.com/babel/babel/security/advisories/GHSA-968p-4wvh-cqc8">https://github.com/babel/babel/security/advisories/GHSA-968p-4wvh-cqc8</a>, a security vulnerability which affects the <code>.replace</code> method of transpiled regular expressions that use named capturing groups.</p> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17159">#17159</a> Disallow decorator in array pattern (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-parser</code>, <code>babel-template</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17164">#17164</a> Fix: always initialize ExportDeclaration attributes (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17142">#17142</a> fix: "Map maximum size exceeded" in deepClone (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17154">#17154</a> Update typescript parser tests (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-traverse</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17151">#17151</a> fix: Should not evaluate vars in child scope (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17153">#17153</a> fix: Correctly generate <code>abstract override</code> (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17107">#17107</a> Fix source type detection when parsing TypeScript (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-runtime</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17173">#17173</a> Fix processing of replacement pattern with named capture groups (<a href="https://github.com/%5Bmmmsssttt404%5D(https://github.com/mmmsssttt404)"><code>@mmmsssttt404</code></a>)</li> </ul> </li> </ul> <h4>:nail_care: Polish</h4> <ul> <li><code>babel-standalone</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17158">#17158</a> Avoid warnings when re-bundling <code>@babel/standalone</code> with webpack (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> </ul> <h4>:house: Internal</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17160">#17160</a> Left-value parsing cleanup (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>Committers: 6</h4> <ul> <li>Babel Bot (<a href="https://github.com/babel-bot"><code>@babel-bot</code></a>)</li> <li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> <li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> <li>Yunyoung Jordan Choi (<a href="https://github.com/jordan-choi"><code>@jordan-choi</code></a>)</li> <li><a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a></li> <li><a href="https://github.com/mmmsssttt404"><code>@mmmsssttt404</code></a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@babel/helpers</code>'s changelog</a>.</em></p> <blockquote> <h2>v7.26.10 (2025-03-11)</h2> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17159">#17159</a> Disallow decorator in array pattern (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-parser</code>, <code>babel-template</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17164">#17164</a> Fix: always initialize ExportDeclaration attributes (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17142">#17142</a> fix: "Map maximum size exceeded" in deepClone (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-parser</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17154">#17154</a> Update typescript parser tests (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-traverse</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17151">#17151</a> fix: Should not evaluate vars in child scope (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17153">#17153</a> fix: Correctly generate <code>abstract override</code> (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17107">#17107</a> Fix source type detection when parsing TypeScript (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-runtime</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17173">#17173</a> Fix processing of replacement pattern with named capture groups (<a href="https://github.com/%5Bmmmsssttt404%5D(https://github.com/mmmsssttt404)"><code>@mmmsssttt404</code></a>)</li> </ul> </li> </ul> <h4>:nail_care: Polish</h4> <ul> <li><code>babel-standalone</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17158">#17158</a> Avoid warnings when re-bundling <code>@babel/standalone</code> with webpack (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> </ul> <h4>:house: Internal</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/17160">#17160</a> Left-value parsing cleanup (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/babel/babel/commit/e1ce99df422971175249509e7bbc2b327b8f7957"><code>e1ce99d</code></a> v7.26.10</li> <li><a href="https://github.com/babel/babel/commit/d5952e80c0faa5ec20e35085531b6e572d31dad4"><code>d5952e8</code></a> Fix processing of replacement pattern with named capture groups (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-helpers/issues/17173">#17173</a>)</li> <li>See full diff in <a href="https://github.com/babel/babel/commits/v7.26.10/packages/babel-helpers">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/aws/aws-cdk-cli/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3791941 - Browse repository at this point
Copy the full SHA 3791941View commit details
Commits on Mar 14, 2025
-
fix(cli): cannot set
progress
via app or user configuration (#231)In [v2.172.0](https://github.com/aws/aws-cdk/releases/tag/v2.172.0) (via aws/aws-cdk@069b72c) we accidentally broke the "bar" stack activity progress output mode (*). Turns out no-one noticed. In [v2.1002.0](https://github.com/aws/aws-cdk-cli/releases/tag/aws-cdk%40v2.1002.0) (via 0d9912f) this got unintentionally fixed and the `--progress` was honored again. However the accidental fix didn't consider options set by app or user configuration. Again noone really noticed, until this week a user alerted my to the issue on the cdk.dev Slack. This PR fixes `progress` set via app or user configuration. (*) This line is the culprit: aws/aws-cdk@069b72c#diff-d03bd87f399ba5824d5442aa691df8b6f08f4f8a3848cfc8492c3d52fab5e48bR105 Previously "default" verbosity was a `0`, which meant `verbose = 0` and later on `!verbose` would turn into `true`. The change caused `verbose` to be a value different than `0` and thus turning `!verbose` to be `false` and the code would always assume we are in verbose logging mode and must use the "events" progress. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for 5631014 - Browse repository at this point
Copy the full SHA 5631014View commit details -
chore(toolkit-lib): fix s3 docs upload (#232)
Re-write the script to upload the `toolkit-lib` docs S3. This has been AI assisted and actually been tested in a testing repo. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for dba601a - Browse repository at this point
Copy the full SHA dba601aView commit details -
fix(cli): fix for code scanning alerts: Prototype-polluting assignment (
#233) Fix for [https://github.com/aws/aws-cdk-cli/security/code-scanning/5](https://github.com/aws/aws-cdk-cli/security/code-scanning/5) [https://github.com/aws/aws-cdk-cli/security/code-scanning/6](https://github.com/aws/aws-cdk-cli/security/code-scanning/6) [https://github.com/aws/aws-cdk-cli/security/code-scanning/7](https://github.com/aws/aws-cdk-cli/security/code-scanning/7) To fix the prototype pollution vulnerability, we need to ensure that the keys used in the `deepSet` function do not include any properties that can modify `Object.prototype`. This can be achieved by validating the keys in the `path` array and rejecting any keys that are `__proto__`, `constructor`, or `prototype`. The best way to fix this problem without changing existing functionality is to add a validation step before using the keys in the `path` array. We will add a check to ensure that none of the keys in the `path` array are `__proto__`, `constructor`, or `prototype`. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f855b15 - Browse repository at this point
Copy the full SHA f855b15View commit details
Commits on Mar 17, 2025
-
docs: compatibility table for CLI/library versions (#239)
Describe the compatibility model, and add a table linking the CLI and library versions. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for a1fbefe - Browse repository at this point
Copy the full SHA a1fbefeView commit details -
chore: remove unused packages (#240)
We moved `cdk-build-tools` and `yarn-cling` over from the old repo, but they are not really used here. Just `bockfs` was being used as a testing tool -- move that into the `aws-cdk` package using it as a test helper. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for cb8a7e0 - Browse repository at this point
Copy the full SHA cb8a7e0View commit details
Commits on Mar 18, 2025
-
refactor(toolkit): resource metadata (#243)
Pulls out resource-metadata extraction into a separate API so it can easily be reused in other places. Also adds support for resource metadata to `EvaluateCloudFormationTemplate` (internal API) in preparation for a change in hotswap. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for a139c52 - Browse repository at this point
Copy the full SHA a139c52View commit details -
fix(cli): hotswap is reporting and running changes that don't happen (#…
…244) This change is three fold: - We clean up the private `HotswapOperation` interface (née `HotswappableChange`) by removing two unused fields and adding in a new filed in preparation for structured data alongside hotswap messages - In the hotswap providers, pull gates outside of the apply function. This prevents hotswaps being reported when nothing would actually be done. These are local checks and now just run a little bit earlier. - In `lambda-functions.ts` don't report hotswappable changes for versions and aliases. These used to be reported with an empty array for `resourceNames` and a noop `apply` function. This means that literally nothing happens with these entries, since `apply` doesn't do anything and the CLI uses `resourceNames` to print anything. Just removing these as they are reported as part of a change to the function. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for 53ea256 - Browse repository at this point
Copy the full SHA 53ea256View commit details -
fix(toolkit-lib): deployment total time includes stray output (#238)
Fixes an extra `Deployment <number>` at the end of the "Total Time" message reporting the total deployment time. Adds missing test cases for the `MessageSpan` feature (GenAI supported). --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu - View commit details
-
Copy full SHA for ec93ebd - Browse repository at this point
Copy the full SHA ec93ebdView commit details -
feat(toolkit-lib): report hotswap messages into a message span (#247)
Requested by early `toolkit-lib` users, all hotswap messages are now reported into span. Structured data reported for start and end is intentionally limited and will be extended further in future. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
Configuration menu - View commit details
-
Copy full SHA for fe143da - Browse repository at this point
Copy the full SHA fe143daView commit details -
fix(cli): write notices to stderr or don't write them at all (#221)
(Replaces #188). On CI systems, the CDK CLI tries to avoid writing to `stderr` because there are a couple of CI systems that are commonly configured to fail if any output is written to `stderr`. That means all output, like notices, must go to `stdout`. Some commands (like `cdk synth` or `cdk bootstrap --show-template`) produce usable output on `stdout`, and these are commonly scripted, like piping their output to a file. However, because notices must go to `stdout`, these now interfere with the output of these commands. This needs a more thorough reworking of the CLI output streams, but there is a risk of affecting users who are currently relying on the fact that all output goes to `stdout`. In this PR, we are doing the first steps to solving this situation: - Notices will always go to `stderr`, so that they will never interfere with `stdout` anymore. - We try to detect what CI system we are running on, and we will completely suppress notices *unless* we determine that we are running on a CI system where it is "safe" to write to `sterr` (fail closed). "Safe" in this case means that the CI system doesn't come with an easy to toggle checkbox that makes commands fail based on what they print, instead of their exit codes. The only systems I'm aware of that have this checkbox are "Azure DevOps", and "TeamCity running PowerShell scripts". Even though we know the systems that are "unsafe", we will only show notices on systems known to be "safe". Fixes aws/aws-cdk#33589. Also in this PR, because this grew. * Introduce `IoDefaultMessages` in the CLI package, which helps migrate "legacy" logging code to just emit default warning/info/etc messages to the IoHost. * Removed the ability to log with a `{ message: 'asdf' }` object to the global logger functions. This wasn't being used anywhere other than tests, and it's sort of pointless: if you know the code you should be using the `MessageMaker` to make a message object; if you don't know the code you can emit a string. There is no need to look up the right code given a level and a message object. * Make it possible for result types to be any type, not just object types. This is necessary to cover the "result" from legacy logging, where the result is just a string. * Updated many tests in a test file (`cli-io-host.test.ts`) that failed type checking, but succeeded running, and therefore didn't fail the build of #220. * Centralized `TestIoHost` into the helper package, and renamed it to `MockIoHost`. * Introducing a `FakeIoHost` in the CLI package to assert on messages emitted to an `IoHost`. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
Configuration menu - View commit details
-
Copy full SHA for be378de - Browse repository at this point
Copy the full SHA be378deView commit details
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.