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

[deliver][spaceship] migrate AgeRatingDeclaration from AppStoreVersion to AppInfo for App Store Connect API 1.3 update #18732

Merged
merged 7 commits into from
May 22, 2021

Conversation

joshdholtz
Copy link
Member

Motivation and Context

App Store Connect API released version 1.3 today

  • AgeRatingDelcaration deprecated on AppStoreVersion
  • AgeRatingDeclaration added as relationship on AppInfo
  • gamblingAndContests split into
    • gambling (boolean value)
    • contests (string value)
  • Added new seventeenPlus rating (boolean value)

Description

  • Moved API and helper methods from AppStoreVersion to AppInfo
  • Added a new deprecation method on AgeRatingDelcaration to map values to new format if possible
    • Returns the changed Hash
    • Returns deprecation messages to be printed out
    • Returns error messages to be raised

…n to AppInfo for App Store Connect API 1.3 update
Copy link
Contributor

@ainame ainame left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's so quick! Amazing to see you've done this update from day 1😍
Changes make sense to me. What I suggested is mostly improving minor details.

deliver/lib/deliver/upload_metadata.rb Outdated Show resolved Hide resolved
spaceship/lib/spaceship/connect_api/tunes/tunes.rb Outdated Show resolved Hide resolved
Josh Holtz and others added 3 commits May 21, 2021 18:10
Co-authored-by: Satoshi Namai <s.namai.09@gmail.com>
Co-authored-by: Satoshi Namai <s.namai.09@gmail.com>
@joshdholtz joshdholtz requested a review from ainame May 21, 2021 23:33
Copy link
Contributor

@ainame ainame left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@joshdholtz joshdholtz merged commit 90062c9 into master May 22, 2021
@joshdholtz joshdholtz deleted the joshdholtz-asc-api-1.3-age-rating-updates branch May 22, 2021 00:05
@fastlane-bot
Copy link

Congratulations! 🎉 This was released as part of fastlane 2.184.0 🚀

@Saravia83c
Copy link

@

@fastlane fastlane locked and limited conversation to collaborators Jul 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants