Skip to content

fix(toolkit-lib): remove deprecated options #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Apr 2, 2025

Remove deprecated options that have been replaced by IoHost functionality:

  • Remove requireApproval from DeployOptions (deprecated)
  • Remove ci and progress from DeployOptions (deprecated)
  • Remove ci from DestroyOptions (deprecated)
  • Remove related usage in toolkit.ts implementation

BREAKING CHANGE: Removes previously deprecated options from toolkit actions. From DeployOptions, removed the options requireApproval, ci and progress. From DestroyOptions, removed the option ci. All removed options were previously deprecated and had no functional effect. Instead you should implement desired functionality in your IIoHost implementation.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@github-actions github-actions bot added the p2 label Apr 2, 2025
@aws-cdk-automation aws-cdk-automation requested a review from a team April 2, 2025 11:09
@codecov-commenter
Copy link

codecov-commenter commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.39%. Comparing base (3e8359c) to head (d66bd2f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #307      +/-   ##
==========================================
- Coverage   85.58%   85.39%   -0.20%     
==========================================
  Files         223      223              
  Lines       37002    37002              
  Branches     4493     4447      -46     
==========================================
- Hits        31668    31597      -71     
- Misses       5233     5313      +80     
+ Partials      101       92       -9     
Flag Coverage Δ
suite.unit 85.39% <ø> (-0.20%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@mrgrain mrgrain added the pr/exempt-integ-test Skips the integ test steps if set. label Apr 3, 2025
@mrgrain mrgrain force-pushed the mrgrain/fix/remove-deprecated-options branch from 07a05e1 to 6e67078 Compare April 3, 2025 09:24
@mrgrain mrgrain marked this pull request as ready for review April 3, 2025 09:25
Remove deprecated options that have been replaced by IoHost functionality:
- Remove `requireApproval` from DeployOptions (deprecated)
- Remove `ci` and `progress` from DeployOptions (deprecated)
- Remove `ci` from DestroyOptions (deprecated)
- Remove related usage in toolkit.ts implementation

BREAKING CHANGE: Removes previously deprecated options from Toolkit actions. From `DeployOptions`, removed the options `requireApproval`, `ci` and `progress`. From `DestroyOptions`, removed the option `ci`. All removed options were previously deprecated and had no functional effect. Instead you should implement desired functionality in your `IIoHost` implementation.
@mrgrain mrgrain force-pushed the mrgrain/fix/remove-deprecated-options branch from 6e67078 to d66bd2f Compare April 3, 2025 09:29
@mrgrain mrgrain disabled auto-merge April 3, 2025 10:32
@mrgrain mrgrain added this pull request to the merge queue Apr 3, 2025
Merged via the queue into main with commit 719cda7 Apr 3, 2025
11 checks passed
@mrgrain mrgrain deleted the mrgrain/fix/remove-deprecated-options branch April 3, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2 pr/exempt-integ-test Skips the integ test steps if set.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants