From cddd64205326fe27b7a1484b54d832ad218e1749 Mon Sep 17 00:00:00 2001 From: aboedo Date: Mon, 17 May 2021 18:00:24 -0300 Subject: [PATCH] Release: 4.1.2 (#243) * prepare release 4.1.2 * update PR number in changelog --- CHANGELOG.md | 21 ++++++++++++++++++++- VERSIONS.md | 1 + android/build.gradle | 4 ++-- examples/purchaseTester/ios/Podfile.lock | 6 +++--- ios/RNPurchases.m | 2 +- package.json | 2 +- scripts/build.js | 4 ++-- 7 files changed, 30 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcc0faa7..cb500623 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +## 4.1.2 + +- Fix wrong types specified in TypeScript + https://github.com/RevenueCat/react-native-purchases/pull/231 +- Cleaned up directory structure + https://github.com/RevenueCat/react-native-purchases/pull/235 + https://github.com/RevenueCat/react-native-purchases/pull/237 + https://github.com/RevenueCat/react-native-purchases/pull/232 +- Updated example apps dependencies + https://github.com/RevenueCat/react-native-purchases/pull/240 + https://github.com/RevenueCat/react-native-purchases/pull/239 + https://github.com/RevenueCat/react-native-purchases/pull/233 + https://github.com/RevenueCat/react-native-purchases/pull/227 + https://github.com/RevenueCat/react-native-purchases/pull/226 + https://github.com/RevenueCat/react-native-purchases/pull/234 +- Bumped purchases-hybrid-common to 1.6.3 [Changelog here](https://github.com/RevenueCat/purchases-hybrid-common/releases/1.6.3) +- Bumped purchases-ios to 3.11.1 [Changelog here](https://github.com/RevenueCat/purchases-ios/releases/3.11.1) + https://github.com/RevenueCat/react-native-purchases/pull/243 + ## 4.1.1 - Updated example app to the latest React-Native version @@ -8,7 +27,7 @@ - Bumped purchases-hybrid-common to 1.6.2 [Changelog here](https://github.com/RevenueCat/purchases-hybrid-common/releases/1.6.2) - Bumped purchases-ios to 3.10.7 [Changelog here](https://github.com/RevenueCat/purchases-ios/releases/3.10.7) - Bumped purchases-android to 4.0.5 [Changelog here](https://github.com/RevenueCat/purchases-hybrid-common/releases/4.0.5) - https://github.com/RevenueCat/purchases-flutter/pull/171 + https://github.com/RevenueCat/react-native-purchases/pull/225 ## 4.1.0 diff --git a/VERSIONS.md b/VERSIONS.md index 81bb00d0..1f943d4f 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -1,5 +1,6 @@ | Version | iOS version | Android version | Common files version | |---------|-------------|-----------------|----------------------| +| 4.1.2 | 3.11.1 | 4.0.5 | 1.6.3 | | 4.1.1 | 3.10.7 | 4.0.5 | 1.6.2 | | 4.1.0 | 3.10.6 | 4.0.4 | 1.6.1 | | 4.0.1 | 3.9.2 | 4.0.1 | 1.5.0 | diff --git a/android/build.gradle b/android/build.gradle index e3007db9..8dd005cc 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -30,7 +30,7 @@ android { minSdkVersion getExtOrIntegerDefault('minSdkVersion') targetSdkVersion getExtOrIntegerDefault('targetSdkVersion') versionCode 1 - versionName '4.1.1' + versionName '4.1.2' } buildTypes { @@ -123,6 +123,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion') dependencies { //noinspection GradleDynamicVersion api 'com.facebook.react:react-native:+' - implementation 'com.revenuecat.purchases:purchases-hybrid-common:1.6.2' + implementation 'com.revenuecat.purchases:purchases-hybrid-common:1.6.3' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" } diff --git a/examples/purchaseTester/ios/Podfile.lock b/examples/purchaseTester/ios/Podfile.lock index ccff0004..b95fac50 100644 --- a/examples/purchaseTester/ios/Podfile.lock +++ b/examples/purchaseTester/ios/Podfile.lock @@ -323,7 +323,7 @@ PODS: - React-perflogger (= 0.64.0) - RNGestureHandler (1.10.3): - React-Core - - RNPurchases (4.1.1): + - RNPurchases (4.1.2): - PurchasesHybridCommon (= 1.6.2) - React-Core - RNScreens (2.18.1): @@ -473,7 +473,7 @@ SPEC CHECKSUMS: CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de FBLazyVector: 49cbe4b43e445b06bf29199b6ad2057649e4c8f5 - FBReactNativeSpec: 2aa0c9acf3d96bd2f9ffbeb939fe3a6a0a36686c + FBReactNativeSpec: 28961e48f545f84f9ca345dad04719ba1177d670 Flipper: d3da1aa199aad94455ae725e9f3aa43f3ec17021 Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41 Flipper-Folly: f7a3caafbd74bda4827954fd7a6e000e36355489 @@ -511,7 +511,7 @@ SPEC CHECKSUMS: React-runtimeexecutor: cad74a1eaa53ee6e7a3620231939d8fe2c6afcf0 ReactCommon: cfe2b7fd20e0dbd2d1185cd7d8f99633fbc5ff05 RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211 - RNPurchases: ffe3b7fd393642f35695907947f2cdb84b282ebb + RNPurchases: 42da7176d5091f95d380968e56c1e33a2040c525 RNScreens: f7ad633b2e0190b77b6a7aab7f914fad6f198d8d Yoga: 8c8436d4171c87504c648ae23b1d81242bdf3bbf YogaKit: f782866e155069a2cca2517aafea43200b01fd5a diff --git a/ios/RNPurchases.m b/ios/RNPurchases.m index 75a10d20..3c723c1b 100644 --- a/ios/RNPurchases.m +++ b/ios/RNPurchases.m @@ -359,7 +359,7 @@ - (NSString *)platformFlavor { } - (NSString *)platformFlavorVersion { - return @"4.1.1"; + return @"4.1.2"; } @end diff --git a/package.json b/package.json index 0f045e0b..1e3e6b85 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-purchases", "title": "React Native Purchases", - "version": "4.1.1", + "version": "4.1.2", "description": "React Native in-app purchases and subscriptions made easy. Supports iOS and Android. ", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/scripts/build.js b/scripts/build.js index 5077224f..bee2c957 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -5,11 +5,11 @@ if (os.type() === "Linux") { console.log("Skipping iOS Dependencies"); } else if (os.type() === "Darwin") { const downloadProcess = exec( - "./scripts/download-purchases-framework.sh 3.10.7" + "./scripts/download-purchases-framework.sh 3.11.1" ); downloadProcess.stdout.pipe(process.stdout); const downloadProcessCommon = exec( - "./scripts/download-purchases-common.sh 1.6.2" + "./scripts/download-purchases-common.sh 1.6.3" ); downloadProcessCommon.stdout.pipe(process.stdout); } else if (os.type() === "Windows_NT") {