From 7a27e9f920eb4ed5cfc3a859e520b4472929186f Mon Sep 17 00:00:00 2001 From: Cesar de la Vega Date: Mon, 21 Mar 2022 12:12:09 -0700 Subject: [PATCH] Release 4.5.3 (#343) --- CHANGELOG.latest.md | 6 +---- CHANGELOG.md | 4 +++ Gemfile.lock | 58 +++++++++++++++++++++++--------------------- RELEASING.md | 3 ++- VERSIONS.md | 1 + android/build.gradle | 2 +- ios/RNPurchases.m | 2 +- package.json | 2 +- 8 files changed, 42 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.latest.md b/CHANGELOG.latest.md index faae69e1..4d811962 100644 --- a/CHANGELOG.latest.md +++ b/CHANGELOG.latest.md @@ -1,5 +1 @@ -- Fix [an issue](https://github.com/RevenueCat/react-native-purchases/issues/328) where calling `checkTrialOrIntroductoryPriceEligibility` could cause a log in prompt -- Bump `purchases-hybrid-common` to 2.0.1. [Changelog here](https://github.com/RevenueCat/purchases-hybrid-common/releases/tag/2.0.1) -- Bump `purchases-ios` to 3.14.1. [Changelog here](https://github.com/RevenueCat/purchases-ios/releases/3.14.1)) -- Bump `purchases-android` to 4.6.1. [Changelog here](https://github.com/RevenueCat/purchases-android/releases/4.6.1) - https://github.com/RevenueCat/react-native-purchases/pull/329 \ No newline at end of file +- Fix warnings regarding `new NativeEventEmitter()` being called without the required `addListener` and `removeListeners` methods, which fixes [this issue](https://github.com/RevenueCat/react-native-purchases/issues/309) diff --git a/CHANGELOG.md b/CHANGELOG.md index af0f2845..1185629d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.5.3 + +- Fix warnings regarding `new NativeEventEmitter()` being called without the required `addListener` and `removeListeners` methods, which fixes [this issue](https://github.com/RevenueCat/react-native-purchases/issues/309) + ## 4.5.2 - Fix [an issue](https://github.com/RevenueCat/react-native-purchases/issues/328) where calling `checkTrialOrIntroductoryPriceEligibility` could cause a log in prompt diff --git a/Gemfile.lock b/Gemfile.lock index d0216672..fcf91e9c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -16,23 +16,23 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.539.0) - aws-sdk-core (3.124.0) + aws-partitions (1.568.0) + aws-sdk-core (3.130.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.525.0) aws-sigv4 (~> 1.1) jmespath (~> 1.0) - aws-sdk-kms (1.52.0) - aws-sdk-core (~> 3, >= 3.122.0) + aws-sdk-kms (1.55.0) + aws-sdk-core (~> 3, >= 3.127.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.109.0) - aws-sdk-core (~> 3, >= 3.122.0) + aws-sdk-s3 (1.113.0) + aws-sdk-core (~> 3, >= 3.127.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.4) aws-sigv4 (1.4.0) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) - claide (1.0.3) + claide (1.1.0) cocoapods (1.10.1) addressable (~> 2.6) claide (>= 1.0.2, < 2.0) @@ -85,17 +85,18 @@ GEM escape (0.0.4) ethon (0.14.0) ffi (>= 1.15.0) - excon (0.88.0) - faraday (1.8.0) + excon (0.92.0) + faraday (1.10.0) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.1) + faraday-net_http_persistent (~> 1.0) faraday-patron (~> 1.0) faraday-rack (~> 1.0) - multipart-post (>= 1.2, < 3) + faraday-retry (~> 1.0) ruby2_keywords (>= 0.0.4) faraday-cookie_jar (0.0.7) faraday (>= 0.8.0) @@ -104,14 +105,17 @@ GEM faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) faraday-httpclient (1.0.1) + faraday-multipart (1.0.3) + multipart-post (>= 1.2, < 3) faraday-net_http (1.0.1) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) faraday-rack (1.0.0) + faraday-retry (1.0.3) faraday_middleware (1.2.0) faraday (~> 1.0) - fastimage (2.2.5) - fastlane (2.198.1) + fastimage (2.2.6) + fastlane (2.205.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -154,9 +158,9 @@ GEM fourflusher (2.3.1) fuzzy_match (2.0.4) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.14.0) + google-apis-androidpublisher_v3 (0.16.0) google-apis-core (>= 0.4, < 2.a) - google-apis-core (0.4.1) + google-apis-core (0.4.2) addressable (~> 2.5, >= 2.5.1) googleauth (>= 0.16.2, < 2.a) httpclient (>= 2.8.1, < 3.a) @@ -165,11 +169,11 @@ GEM retriable (>= 2.0, < 4.a) rexml webrick - google-apis-iamcredentials_v1 (0.8.0) + google-apis-iamcredentials_v1 (0.10.0) google-apis-core (>= 0.4, < 2.a) - google-apis-playcustomapp_v1 (0.6.0) + google-apis-playcustomapp_v1 (0.7.0) google-apis-core (>= 0.4, < 2.a) - google-apis-storage_v1 (0.10.0) + google-apis-storage_v1 (0.11.0) google-apis-core (>= 0.4, < 2.a) google-cloud-core (1.6.0) google-cloud-env (~> 1.0) @@ -177,16 +181,16 @@ GEM google-cloud-env (1.5.0) faraday (>= 0.17.3, < 2.0) google-cloud-errors (1.2.0) - google-cloud-storage (1.34.1) - addressable (~> 2.5) + google-cloud-storage (1.36.1) + addressable (~> 2.8) digest-crc (~> 0.4) google-apis-iamcredentials_v1 (~> 0.1) google-apis-storage_v1 (~> 0.1) google-cloud-core (~> 1.6) googleauth (>= 0.16.2, < 2.a) mini_mime (~> 1.0) - googleauth (1.1.0) - faraday (>= 0.17.3, < 2.0) + googleauth (1.1.2) + faraday (>= 0.17.3, < 3.a) jwt (>= 1.4, < 3.0) memoist (~> 0.16) multi_json (~> 1.11) @@ -198,7 +202,7 @@ GEM httpclient (2.8.3) i18n (1.8.10) concurrent-ruby (~> 1.0) - jmespath (1.4.0) + jmespath (1.6.1) json (2.6.1) jwt (2.3.0) memoist (0.16.2) @@ -228,9 +232,9 @@ GEM ruby2_keywords (0.0.5) rubyzip (2.3.2) security (0.1.3) - signet (0.16.0) + signet (0.16.1) addressable (~> 2.8) - faraday (>= 0.17.3, < 2.0) + faraday (>= 0.17.5, < 3.0) jwt (>= 1.5, < 3.0) multi_json (~> 1.10) simctl (1.6.8) @@ -252,7 +256,7 @@ GEM uber (0.1.0) unf (0.1.4) unf_ext - unf_ext (0.0.8) + unf_ext (0.0.8.1) unicode-display_width (1.8.0) webrick (1.7.0) word_wrap (1.0.0) diff --git a/RELEASING.md b/RELEASING.md index f59f8e6b..9e3b9940 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -3,7 +3,8 @@ 1. `bundle exec fastlane bump_and_update_changelog version:x.x.x` to set the version number. 1. Update versions in VERSIONS.md. 1. Run `npm run build` -1. `git commit -am "Preparing for version x.y.z"` +1. Open a PR from branch `release/x.x.x` against `main` +1. Merge to `main` and pull from your machine 1. `git tag x.y.z` 1. `git push origin main && git push --tags` 1. Create a new release in github and upload diff --git a/VERSIONS.md b/VERSIONS.md index ae6d2604..e64a4cc2 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -1,5 +1,6 @@ | Version | iOS version | Android version | Common files version | |---------|-------------|-----------------|----------------------| +| 4.5.3 | 3.14.1 | 4.6.1 | 2.0.1 | | 4.5.2 | 3.14.1 | 4.6.1 | 2.0.1 | | 4.5.1 | 3.13.1 | 4.6.0 | 1.11.1 | | 4.5.0 | 3.13.1 | 4.6.0 | 1.11.1 | diff --git a/android/build.gradle b/android/build.gradle index a1467b60..326df691 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -29,7 +29,7 @@ android { minSdkVersion getExtOrIntegerDefault('minSdkVersion') targetSdkVersion getExtOrIntegerDefault('targetSdkVersion') versionCode 1 - versionName '4.5.2' + versionName '4.5.3' } buildTypes { diff --git a/ios/RNPurchases.m b/ios/RNPurchases.m index 41012793..795b39d1 100644 --- a/ios/RNPurchases.m +++ b/ios/RNPurchases.m @@ -369,7 +369,7 @@ - (NSString *)platformFlavor { } - (NSString *)platformFlavorVersion { - return @"4.5.2"; + return @"4.5.3"; } @end diff --git a/package.json b/package.json index f3a5227e..b2c8a699 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-purchases", "title": "React Native Purchases", - "version": "4.5.2", + "version": "4.5.3", "description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ", "main": "dist/index.js", "types": "dist/index.d.ts",