-
Notifications
You must be signed in to change notification settings - Fork 35
Comparing changes
Open a pull request
base repository: aws/aws-cdk-cli
base: aws-cdk@v2.1017.1
head repository: aws/aws-cdk-cli
compare: aws-cdk@v2.1018.0
- 15 commits
- 109 files changed
- 7 contributors
Commits on May 30, 2025
-
chore: stack refactor code re-organization (#556)
This is a major re-organization of the stack refactoring code. The core change was the introduction of the `RefactoringContext`, that encapsulates the data and operations needed for a refactor, for a single environment. In future changes, this class will also start exposing methods to execute the refactor. No behavior was changed, except in the presentation layer: before, all mappings were grouped in a single table. Now, there is a section for each environment, with its own table, to make it clearer to the user that each one is a different refactor operation:  --- 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 a05a764 - Browse repository at this point
Copy the full SHA a05a764View commit details -
docs(toolkit-lib): update README to use
getStackByName
for retrievi……ng stack template (#558) Now because `getStack` is deprecated. I replaced `getStack` by `getStackByName`. --- 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 3f26aca - Browse repository at this point
Copy the full SHA 3f26acaView commit details
Commits on May 31, 2025
-
chore: update to new Maven endpoint (#557)
--- 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 159ddef - Browse repository at this point
Copy the full SHA 159ddefView commit details
Commits on Jun 2, 2025
-
chore(deps): upgrade dependencies (#562)
Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/aws/aws-cdk-cli/actions/runs/15381104645 ------ *Automatically created by projen via the "upgrade" workflow* --------- 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 ad4ab4d - Browse repository at this point
Copy the full SHA ad4ab4dView commit details -
fix(toolkit-lib):
refactor
feature is not marked as unstable (#563)This introduces the concept of unstable featues to the toolkit. The CLI always opts into it because it has its own similar flag. Over time, the type `UnstableFeature` will change according to the features that are unstable at the moment. All commands that are considered unstable should call the `requireUnstableFeature` method. --- 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 c2f7af8 - Browse repository at this point
Copy the full SHA c2f7af8View commit details -
fix(toolkit-lib): new
mappingSource
option to replace multiple mutu……al exclusive options in the refactor API (#559) Introduce a new type, `MappingSource`, that allows the user to tell how they want the toolkit to get the mappings: computing it, using an explicitly provided one, or using the reverse of an explicitly provided one. This replaces three previous separate properties: `exclude`, `mappings` and `revert` with a single `mappingSource`. --- 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 49699d8 - Browse repository at this point
Copy the full SHA 49699d8View commit details -
feat: drop support for Node.js 14 and 16 (#565)
Since May 30th, 2025, these versions are [no longer supported](https://aws.amazon.com/blogs/devops/announcing-the-end-of-support-for-node-js-14-x-and-16-x-in-aws-cdk/). --- 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 554d2c9 - Browse repository at this point
Copy the full SHA 554d2c9View commit details
Commits on Jun 3, 2025
-
There should be a linter rule against this but I don't have time to write it. Without the extra `*` the documentation does not become part of the docstring for the property. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Configuration menu 10000- View commit details
-
Copy full SHA for 1f9a19e - Browse repository at this point
Copy the full SHA 1f9a19eView commit details -
fix(toolkit-lib): tracing logs on watch action does not close immedia…
…tely (#567) Previously the `CloudWatchLogEventMonitor` wasn't closed immediately when the `FileWatcher` returned from `watch()` was disposed. This wasn't super bad, since it would only wait for one additional tick to finish, but also isn't great. This was discovered by jest reporting open handles. Well done jest! --- 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 e284bbb - Browse repository at this point
Copy the full SHA e284bbbView commit details -
fix(toolkit-lib): cannot use
watch
action without explicitly provid……ing `include` or `exclude` patterns (#564) This PR improves the watch action implementation in the toolkit-lib package by: ## Changes - When neither `include` or `exclude` are been provided, the action now doesn't fail anymore. Instead sensible defaults are used. - `exclude` now uses a list of default excludes as fallback. These defaults aim to cover common development patterns for all CDK languages. - `node_modules` is no longer forcibly excluded, but part of the exclude defaults instead. This is still the behavior in the CLI but seems overly unexpected to users, especially to toolkit-lib users. We now only force exclude hidden files. ## Why these changes address the issue Previously, the watch action would throw an error if no include/exclude patterns were specified, requiring users to always configure these settings. This change makes the watch action more user-friendly by: 1. Using sensible defaults that work out-of-the-box 2. Providing better exclusion patterns for common non-source files 3. Following the principle of least surprise by watching all files by default ## Design decisions - Created a reusable constant that can be used in other parts of the codebase - Improved code comments to better explain the behavior - Maintained backward compatibility while enhancing usability - Organized exclude patterns by language/ecosystem for better maintainability ## Alternatives considered - Keeping the error but providing more guidance - rejected because a sensible default is more user-friendly - Using a more complex configuration system - rejected in favor of simplicity - Language-specific exclude patterns - kept generic to work across all supported CDK languages --- 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 6aea6c1 - Browse repository at this point
Copy the full SHA 6aea6c1View commit details -
fix(cli): update
cdk-from-cfn
to fix a number ofcdk migrate
bugs (……#569) --- 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 a1ef4fc - Browse repository at this point
Copy the full SHA a1ef4fcView commit details
Commits on Jun 4, 2025
-
chore(toolkit-lib): add assets directory to documentation build (#560)
Updates the projen configuration to include the assets directory in the documentation build process. The changes: 1. Adds a step to copy files from the assets directory to the documentation output 2. Updates the docs task in .projen/tasks.json to include this new step This ensures that any assets (like images or other resources) used in the documentation are properly included in the final documentation package. --- 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 81d6c92 - Browse repository at this point
Copy the full SHA 81d6c92View commit details -
chore: new lint rule jsdoc/require-hyphen-before-param-description (#572
Configuration menu - View commit details
-
Copy full SHA for 3b7ef94 - Browse repository at this point
Copy the full SHA 3b7ef94View commit details -
chore(toolkit-lib): improve CCAPI context provider error handling (#570)
Just noticed some missed opportunities in the error handling for the CCAPI provider. This only has limited end-user impact: - instead of `error: cause` it's now `error\ncause` - Some not enough results found error messages now include the expectation --- 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 666c9cc - Browse repository at this point
Copy the full SHA 666c9ccView commit details -
chore(cli): type
currentAction
asCliAction
(#571)`CliAction` type feels slightly off as it should be `CliAction` and not `ToolkitAction`. This makes the default make sense. Either way, the internal property of `CliIoHost` is typed to `CliAction`. In practice this probably doesn't matter because I don't think we are initializing `CliIoHost` with anything but `none`. --- 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 e629e30 - Browse repository at this point
Copy the full SHA e629e30View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff aws-cdk@v2.1017.1...aws-cdk@v2.1018.0