Skip to content

Release/9.0.0#2511

Merged
tonidero merged 2 commits into
mainfrom
release/9.0.0
Jul 10, 2025
Merged

Release/9.0.0#2511
tonidero merged 2 commits into
mainfrom
release/9.0.0

Conversation

@tonidero

Copy link
Copy Markdown
Contributor

RevenueCat SDK

This release updates the SDK to use Google Play Billing Library 8. This version of the Billing Library removed APIs to query for expired subscriptions and consumed one-time products, aside from other improvements. You can check the full list of changes here: https://developer.android.com/google/play/billing/release-notes#8-0-0

Additionally, we've also updated Kotlin to 2.0.21 and our new minimum version is Kotlin 1.8.0+. If you were using an older version of Kotlin, you will need to update it.

Regarding API changes, we've also removed data classes from our public APIs. This means that for classes that were previously data classes, the copy function and componentN functions (destructuring declarations) have been removed. equals and hashCode functions still work as before.

Play Billing Library 8: No expired subscriptions or consumed one-time products

Note: the following is only relevant if you recently integrated RevenueCat, and do not (yet) have all your transactions imported.

Play Billing Library 8 removed functionality to query expired subscriptions or consumed one-time products. This means that, for users migrating from a non-RevenueCat implementation of the Play Billing Library, the SDK will not be able to send purchase information from these purchases. We can still ingest historical data from these purchases through a backend historical import. See docs. This doesn't affect developers that have all transactions in RevenueCat, which is true for the vast majority.

Bumped minimum Kotlin version

RevenueCat SDK v9 bumps Kotlin to 2.0.21, with a minimum Kotlin version of 1.8.0.

Using the SDK with your own IAP code (previously Observer Mode)

Using the SDK with your own IAP code is still supported in v9. Other than updating the SDK version, there are no changes required. Just make sure the version of the Play Billing Library is also version 8.0.0+.

💥 Breaking Changes

🔄 Other Changes

@tonidero tonidero added the pr:next_release Preparing a new release label Jul 10, 2025
@tonidero tonidero requested a review from a team July 10, 2025 16:06

@JayShortway JayShortway left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🚀🚀🚀🚀🚀

@codecov

codecov Bot commented Jul 10, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.93%. Comparing base (2b5959e) to head (daa30fd).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2511   +/-   ##
=======================================
  Coverage   77.93%   77.93%           
=======================================
  Files         286      286           
  Lines       10572    10572           
  Branches     1485     1485           
=======================================
  Hits         8239     8239           
  Misses       1687     1687           
  Partials      646      646           

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

@tonidero tonidero merged commit 5228e5b into main Jul 10, 2025
26 checks passed
@tonidero tonidero deleted the release/9.0.0 branch July 10, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:next_release Preparing a new release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants