Skip to content

Commit b260e4c

Browse files
authored
Release/10.0.0 (#1721)
## RevenueCat SDK > [!WARNING] > If you don't have any login system in your app, please make sure your one-time purchase products have been correctly configured in the RevenueCat dashboard as either consumable or non-consumable. If they're incorrect as consumables, RevenueCat will consume these purchases. This means that customers won't be able to restore them from version 10.0.0 onward. > Non-consumables are products that are meant to be bought only once, for example, lifetime subscriptions. Please see more information in our [docs](https://www.revenuecat.com/docs/known-store-issues/play-billing-library/restore-consumable-purchases-bc8) ### 💥 Breaking Changes This release updates to Billing Library 8.3.0 with min SDK supported of Android 6 (API 23), previously min was 21. It also removes a previous workaround used to be able to restore consumed one time products which is not available anymore. * [AUTOMATIC BUMP] Updates purchases-hybrid-common to 18.0.0 (#1720) via RevenueCat Git Bot (@RCGitBot) * [Android 10.1.2](https://github.com/RevenueCat/purchases-android/releases/tag/10.1.2) * [Android 10.1.1](https://github.com/RevenueCat/purchases-android/releases/tag/10.1.1) * [Android 10.1.0](https://github.com/RevenueCat/purchases-android/releases/tag/10.1.0) * [Android 10.0.2](https://github.com/RevenueCat/purchases-android/releases/tag/10.0.2) * [Android 10.0.1](https://github.com/RevenueCat/purchases-android/releases/tag/10.0.1) * [Android 9.29.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.29.1) * [Android 10.0.0](https://github.com/RevenueCat/purchases-android/releases/tag/10.0.0) * [iOS 5.67.2](https://github.com/RevenueCat/purchases-ios/releases/tag/5.67.2) ### 🔄 Other Changes * Bump fastlane-plugin-revenuecat_internal from `894bb1b` to `20911d1` (#1719) via dependabot[bot] (@dependabot[bot]) * Update CODEOWNERS default owner to @RevenueCat/sdk (#1717) via Antonio Pallares (@ajpallares) * Bump fastlane-plugin-revenuecat_internal from `ceecf91` to `894bb1b` (#1718) via dependabot[bot] (@dependabot[bot]) * Bump addressable from 2.8.9 to 2.9.0 (#1715) via dependabot[bot] (@dependabot[bot]) * Bump fastlane-plugin-revenuecat_internal from `6289be1` to `ceecf91` (#1713) via dependabot[bot] (@dependabot[bot]) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Mostly a release/version bump, but it ships a major `10.0.0` update that advertises breaking behavior changes tied to Play Billing 8.3.0 and one-time purchase restore/consumption behavior, which could impact apps on upgrade. > > **Overview** > Publishes **v10.0.0** across the Flutter plugin and RevenueCatUI plugin by updating package/pod/Gradle versions and the runtime-reported plugin version strings. > > Updates release documentation (`CHANGELOG(-LATEST).md`, `VERSIONS.md`) to describe the **breaking changes** for 10.0.0 (Play Billing 8.3.0/min Android API 23 and removal of a consumed one-time-purchase restore workaround) and bumps `purchases-hybrid-common` to `18.0.0`. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit b5a29b5. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 8b547f2 commit b260e4c

15 files changed

Lines changed: 61 additions & 21 deletions

File tree

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9.16.1
1+
10.0.0

CHANGELOG-LATEST.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
## RevenueCat SDK
2-
### 📦 Dependency Updates
3-
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 17.55.1 (#1710) via RevenueCat Git Bot (@RCGitBot)
4-
* [Android 9.29.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.29.0)
5-
* [iOS 5.67.1](https://github.com/RevenueCat/purchases-ios/releases/tag/5.67.1)
6-
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 17.55.0 (#1709) via RevenueCat Git Bot (@RCGitBot)
2+
> [!WARNING]
3+
> If you don't have any login system in your app, please make sure your one-time purchase products have been correctly configured in the RevenueCat dashboard as either consumable or non-consumable. If they're incorrect as consumables, RevenueCat will consume these purchases. This means that customers won't be able to restore them from version 10.0.0 onward.
4+
> Non-consumables are products that are meant to be bought only once, for example, lifetime subscriptions. Please see more information in our [docs](https://www.revenuecat.com/docs/known-store-issues/play-billing-library/restore-consumable-purchases-bc8)
5+
6+
### 💥 Breaking Changes
7+
This release updates to Billing Library 8.3.0 with min SDK supported of Android 6 (API 23), previously min was 21. It also removes a previous workaround used to be able to restore consumed one time products which is not available anymore.
8+
9+
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 18.0.0 (#1720) via RevenueCat Git Bot (@RCGitBot)
10+
* [Android 10.1.2](https://github.com/RevenueCat/purchases-android/releases/tag/10.1.2)
11+
* [Android 10.1.1](https://github.com/RevenueCat/purchases-android/releases/tag/10.1.1)
12+
* [Android 10.1.0](https://github.com/RevenueCat/purchases-android/releases/tag/10.1.0)
13+
* [Android 10.0.2](https://github.com/RevenueCat/purchases-android/releases/tag/10.0.2)
14+
* [Android 10.0.1](https://github.com/RevenueCat/purchases-android/releases/tag/10.0.1)
15+
* [Android 9.29.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.29.1)
16+
* [Android 10.0.0](https://github.com/RevenueCat/purchases-android/releases/tag/10.0.0)
17+
* [iOS 5.67.2](https://github.com/RevenueCat/purchases-ios/releases/tag/5.67.2)
718

819
### 🔄 Other Changes
9-
* Bump fastlane-plugin-revenuecat_internal from `5d6e93f` to `6289be1` (#1708) via dependabot[bot] (@dependabot[bot])
10-
* feat: Run lint and tests against both stable and min Flutter version (#1707) via Rick (@rickvdl)
11-
* Bump fastlane-plugin-revenuecat_internal from `f11fe40` to `5d6e93f` (#1706) via dependabot[bot] (@dependabot[bot])
20+
* Bump fastlane-plugin-revenuecat_internal from `894bb1b` to `20911d1` (#1719) via dependabot[bot] (@dependabot[bot])
21+
* Update CODEOWNERS default owner to @RevenueCat/sdk (#1717) via Antonio Pallares (@ajpallares)
22+
* Bump fastlane-plugin-revenuecat_internal from `ceecf91` to `894bb1b` (#1718) via dependabot[bot] (@dependabot[bot])
23+
* Bump addressable from 2.8.9 to 2.9.0 (#1715) via dependabot[bot] (@dependabot[bot])
24+
* Bump fastlane-plugin-revenuecat_internal from `6289be1` to `ceecf91` (#1713) via dependabot[bot] (@dependabot[bot])

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
## 10.0.0
2+
## RevenueCat SDK
3+
> [!WARNING]
4+
> If you don't have any login system in your app, please make sure your one-time purchase products have been correctly configured in the RevenueCat dashboard as either consumable or non-consumable. If they're incorrect as consumables, RevenueCat will consume these purchases. This means that customers won't be able to restore them from version 10.0.0 onward.
5+
> Non-consumables are products that are meant to be bought only once, for example, lifetime subscriptions. Please see more information in our [docs](https://www.revenuecat.com/docs/known-store-issues/play-billing-library/restore-consumable-purchases-bc8)
6+
7+
### 💥 Breaking Changes
8+
This release updates to Billing Library 8.3.0 with min SDK supported of Android 6 (API 23), previously min was 21. It also removes a previous workaround used to be able to restore consumed one time products which is not available anymore.
9+
10+
* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 18.0.0 (#1720) via RevenueCat Git Bot (@RCGitBot)
11+
* [Android 10.1.2](https://github.com/RevenueCat/purchases-android/releases/tag/10.1.2)
12+
* [Android 10.1.1](https://github.com/RevenueCat/purchases-android/releases/tag/10.1.1)
13+
* [Android 10.1.0](https://github.com/RevenueCat/purchases-android/releases/tag/10.1.0)
14+
* [Android 10.0.2](https://github.com/RevenueCat/purchases-android/releases/tag/10.0.2)
15+
* [Android 10.0.1](https://github.com/RevenueCat/purchases-android/releases/tag/10.0.1)
16+
* [Android 9.29.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.29.1)
17+
* [Android 10.0.0](https://github.com/RevenueCat/purchases-android/releases/tag/10.0.0)
18+
* [iOS 5.67.2](https://github.com/RevenueCat/purchases-ios/releases/tag/5.67.2)
19+
20+
### 🔄 Other Changes
21+
* Bump fastlane-plugin-revenuecat_internal from `894bb1b` to `20911d1` (#1719) via dependabot[bot] (@dependabot[bot])
22+
* Update CODEOWNERS default owner to @RevenueCat/sdk (#1717) via Antonio Pallares (@ajpallares)
23+
* Bump fastlane-plugin-revenuecat_internal from `ceecf91` to `894bb1b` (#1718) via dependabot[bot] (@dependabot[bot])
24+
* Bump addressable from 2.8.9 to 2.9.0 (#1715) via dependabot[bot] (@dependabot[bot])
25+
* Bump fastlane-plugin-revenuecat_internal from `6289be1` to `ceecf91` (#1713) via dependabot[bot] (@dependabot[bot])
26+
127
## 9.16.1
228
## RevenueCat SDK
329
### 📦 Dependency Updates

VERSIONS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
| Version | iOS version | Android version | Common files version | Play Billing Library version |
22
|---------------|-------------|-----------------|----------------------|------------------------------|
3+
| 10.0.0 | [5.67.2](https://github.com/RevenueCat/purchases-ios/releases/tag/5.67.2) | [10.1.2](https://github.com/RevenueCat/purchases-android/releases/tag/10.1.2) | [18.0.0](https://github.com/RevenueCat/purchases-hybrid-common/releases/tag/18.0.0) | [8.3.0](https://developer.android.com/google/play/billing/release-notes) |
34
| 9.16.1 | [5.67.1](https://github.com/RevenueCat/purchases-ios/releases/tag/5.67.1) | [9.29.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.29.0) | [17.55.1](https://github.com/RevenueCat/purchases-hybrid-common/releases/tag/17.55.1) | [8.0.0](https://developer.android.com/google/play/billing/release-notes) |
45
| 9.16.0 | [5.67.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.67.0) | [9.28.1](https://github.com/RevenueCat/purchases-android/releases/tag/9.28.1) | [17.54.0](https://github.com/RevenueCat/purchases-hybrid-common/releases/tag/17.54.0) | [8.0.0](https://developer.android.com/google/play/billing/release-notes) |
56
| 9.15.1 | [5.66.0](https://github.com/RevenueCat/purchases-ios/releases/tag/5.66.0) | [9.27.0](https://github.com/RevenueCat/purchases-android/releases/tag/9.27.0) | [17.53.0](https://github.com/RevenueCat/purchases-hybrid-common/releases/tag/17.53.0) | [8.0.0](https://developer.android.com/google/play/billing/release-notes) |

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group 'com.revenuecat.purchases_flutter'
2-
version '9.16.1'
2+
version '10.0.0'
33

44
buildscript {
55
ext.kotlin_version = '1.8.22'

android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class PurchasesFlutterPlugin implements FlutterPlugin, MethodCallHandler,
6363
private final Handler handler = new Handler(Looper.getMainLooper());
6464

6565
private static final String PLATFORM_NAME = "flutter";
66-
private static final String PLUGIN_VERSION = "9.16.1";
66+
private static final String PLUGIN_VERSION = "10.0.0";
6767

6868
@Override
6969
public void onAttachedToEngine(@NonNull FlutterPluginBinding binding) {

ios/purchases_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'purchases_flutter'
6-
s.version = '9.16.1'
6+
s.version = '10.0.0'
77
s.summary = 'Cross-platform subscriptions framework for Flutter.'
88
s.description = <<-DESC
99
Client for the RevenueCat subscription and purchase tracking system, making implementing in-app subscriptions in Flutter easy - receipt validation and status tracking included!

ios/purchases_flutter/Sources/purchases_flutter/PurchasesFlutterPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ - (NSString *)platformFlavor {
839839
}
840840

841841
- (NSString *)platformFlavorVersion {
842-
return @"9.16.1";
842+
return @"10.0.0";
843843
}
844844

845845
- (NSError *)createUnsupportedErrorWithDescription:(NSString *)description {

lib/web/purchases_flutter_web.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class PurchasesFlutterPlugin {
1414
static final _configurationErrorCode = '${PurchasesErrorCode.configurationError.index}';
1515
static const _purchasesHybridMappingsVersion = '18.0.0';
1616
static const _platformName = 'flutter';
17-
static const _pluginVersion = '9.16.1';
17+
static const _pluginVersion = '10.0.0';
1818
static const _purchasesHybridMappingsUrl =
1919
'https://cdn.jsdelivr.net/npm/@revenuecat/purchases-js-hybrid-mappings@$_purchasesHybridMappingsVersion/dist/index.umd.js';
2020

macos/purchases_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'purchases_flutter'
7-
s.version = '9.16.1'
7+
s.version = '10.0.0'
88
s.summary = 'Cross-platform subscriptions framework for Flutter.'
99
s.description = <<-DESC
1010
Client for the RevenueCat subscription and purchase tracking system, making implementing in-app subscriptions in Flutter easy - receipt validation and status tracking included!

0 commit comments

Comments
 (0)