Skip to content

chore: fix list of deprecated APIs so APIs are actually stripped in V2. - #17708

Merged
mergify[bot] merged 1 commit into
v2-mainfrom
njlynch/fix-deprecated
Nov 25, 2021
Merged

mergify[bot] merged 1 commit into
v2-mainfrom
njlynch/fix-deprecated

Conversation

@njlynch

@njlynch njlynch commented Nov 25, 2021

Copy link
Copy Markdown
Contributor

The change to strip deprecated APIs based on a list was introduced several weeks
ago; however, that list was built off of the v1/master branch, not v2. This
meant the FQNs of all of the types was wrong, leading to nothing being
stripped, and all deprecated APIs being re-introduced into the V2 source.

This change re-builds the deprecated_apis.txt list so the correct APIs are
removed from V2. Also fixed a bug with submodules in the list-deprecated-apis script.


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

The change to strip deprecated APIs based on a list was introduced several weeks
ago; however, that list was built off of the v1/master branch, not v2. This
meant the FQNs of all of the types was wrong, leading to *nothing* being
stripped, and all deprecated APIs being re-introduced into the V2 source.

This change re-builds the deprecated_apis.txt list so the correct APIs are
removed from V2.
@njlynch
njlynch requested review from a team and rix0rrr November 25, 2021 14:20
@njlynch njlynch self-assigned this Nov 25, 2021
@gitpod-io

gitpod-io Bot commented Nov 25, 2021

Copy link
Copy Markdown

@mergify mergify Bot added the contribution/core This is a PR that came from AWS. label Nov 25, 2021
@github-actions github-actions Bot added the aws-cdk-lib Related to the aws-cdk-lib package label Nov 25, 2021
@njlynch

njlynch commented Nov 25, 2021

Copy link
Copy Markdown
Contributor Author

@Mergifyio backport master

@rix0rrr

rix0rrr commented Nov 25, 2021

Copy link
Copy Markdown
Contributor

@Mergifyio backport master

@mergify

mergify Bot commented Nov 25, 2021

Copy link
Copy Markdown
Contributor

backport master

🟠 Waiting for conditions to match

Details
  • merged [:pushpin: backport requirement]

1 similar comment
@mergify

mergify Bot commented Nov 25, 2021

Copy link
Copy Markdown
Contributor

backport master

🟠 Waiting for conditions to match

Details
  • merged [:pushpin: backport requirement]

@aws-cdk-automation

Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 7c6e1a6
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
mergify Bot merged commit 28332e3 into v2-main Nov 25, 2021
@mergify
mergify Bot deleted the njlynch/fix-deprecated branch November 25, 2021 14:56
@mergify

mergify Bot commented Nov 25, 2021

Copy link
Copy Markdown
Contributor

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

mergify Bot pushed a commit that referenced this pull request Nov 25, 2021
…2. (#17708)

The change to strip deprecated APIs based on a list was introduced several weeks
ago; however, that list was built off of the v1/master branch, not v2. This
meant the FQNs of all of the types was wrong, leading to *nothing* being
stripped, and all deprecated APIs being re-introduced into the V2 source.

This change re-builds the deprecated_apis.txt list so the correct APIs are
removed from V2. Also fixed a bug with submodules in the list-deprecated-apis script.

----

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

(cherry picked from commit 28332e3)

# Conflicts:
#	deprecated_apis.txt
@mergify

mergify Bot commented Nov 25, 2021

Copy link
Copy Markdown
Contributor

backport master

✅ Backports have been created

Details

ali-n4i pushed a commit to ali-n4i/aws-cdk that referenced this pull request Jul 29, 2026
…2. (aws#17708)

The change to strip deprecated APIs based on a list was introduced several weeks
ago; however, that list was built off of the v1/master branch, not v2. This
meant the FQNs of all of the types was wrong, leading to *nothing* being
stripped, and all deprecated APIs being re-introduced into the V2 source.

This change re-builds the deprecated_apis.txt list so the correct APIs are
removed from V2. Also fixed a bug with submodules in the list-deprecated-apis script.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aws-cdk-lib Related to the aws-cdk-lib package contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants