Skip to content
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

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

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

njlynch
Copy link
Contributor

@njlynch njlynch commented Nov 25, 2021

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 rix0rrr and a team November 25, 2021 14:20
@njlynch njlynch self-assigned this Nov 25, 2021
@gitpod-io
Copy link

gitpod-io bot commented Nov 25, 2021

@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
Copy link
Contributor Author

njlynch commented Nov 25, 2021

@Mergifyio backport master

@rix0rrr
Copy link
Contributor

rix0rrr commented Nov 25, 2021

@Mergifyio backport master

@mergify
Copy link
Contributor

mergify bot commented Nov 25, 2021

backport master

🟠 Waiting for conditions to match

  • merged [:pushpin: backport requirement]

1 similar comment
@mergify
Copy link
Contributor

mergify bot commented Nov 25, 2021

backport master

🟠 Waiting for conditions to match

  • merged [:pushpin: backport requirement]

@aws-cdk-automation
Copy link
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
Copy link
Contributor

mergify bot commented Nov 25, 2021

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
Copy link
Contributor

mergify bot commented Nov 25, 2021

backport master

✅ Backports have been created

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