From 302decd27d71b43505b4d198b4831d7a73edb0bd Mon Sep 17 00:00:00 2001 From: RevenueCat Git Bot <72824662+RCGitBot@users.noreply.github.com> Date: Fri, 26 Jul 2024 17:05:06 +0200 Subject: [PATCH] Release/1.0.0-beta.2 (#132) * Version bump for 1.0.0-beta.2 * Updates VERSIONS.md * Updates maven.publish to 0.29.0. * Increases Sonatype connection timeout to 5 minutes (instead of 1). --------- Co-authored-by: JayShortway <29483617+JayShortway@users.noreply.github.com> --- CHANGELOG-LATEST.md | 55 ++++++++++----------------------------- CHANGELOG.md | 20 ++++++++++++++ VERSIONS.md | 1 + fastlane/Fastfile | 3 +++ gradle/libs.versions.toml | 4 +-- 5 files changed, 40 insertions(+), 43 deletions(-) diff --git a/CHANGELOG-LATEST.md b/CHANGELOG-LATEST.md index 7c749475..84ca1f71 100644 --- a/CHANGELOG-LATEST.md +++ b/CHANGELOG-LATEST.md @@ -1,45 +1,18 @@ ### Breaking Changes - -* Changes package to com.revenuecat (#80) via JayShortway (@JayShortway) -* Fix iOS StoreProduct description & price (#108) via JayShortway (@JayShortway) -* Uses PurchasesAreCompletedBy (#105) via JayShortway (@JayShortway) -* PurchasesConfiguration binary compatibility (#72) via JayShortway (@JayShortway) -* Removes PurchasesFactory (#103) via JayShortway (@JayShortway) -* configuration consistency (#71) via JayShortway (@JayShortway) -* Removes StoreProduct.pricePer*() functions, as they are not available in PHC, nor in e.g. - Flutter & React Native. via JayShortway (@JayShortway) -### New Features -* Adds ProductCategory to StoreProduct (#114) via JayShortway (@JayShortway) -* Checks PHC version at configure() time on iOS (#104) via JayShortway (@JayShortway) +* Removes Offerings.getCurrentOfferingForPlacement() (#121) via JayShortway (@JayShortway) ### Bugfixes -* Fixes Compose<->K2 compilation error (#111) via JayShortway (@JayShortway) -* Fixes the Transaction type (#113) via JayShortway (@JayShortway) -* Fixes showInAppMessagesIfNeeded() on iOS (#110) via JayShortway (@JayShortway) +* Fix iOS crash showing paywall for current offering (#129) via JayShortway (@JayShortway) ### Dependency Updates -* Consolidates Compose versions (#112) via JayShortway (@JayShortway) -* Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.0 (#66) via JayShortway ( - @JayShortway) -* Update agp to v8.4.1 (#68) via JayShortway (@JayShortway) -* Update agp to v8.4.0 (#62) via JayShortway (@JayShortway) +* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 11.1.1 (#124) via RevenueCat Git Bot (@RCGitBot) + * [Android 7.12.0](https://github.com/RevenueCat/purchases-android/releases/tag/7.12.0) + * [iOS 4.43.2](https://github.com/RevenueCat/purchases-ios/releases/tag/4.43.2) + * [iOS 4.43.1](https://github.com/RevenueCat/purchases-ios/releases/tag/4.43.1) ### Other Changes -* Adds .aiexclude (#109) via JayShortway (@JayShortway) -* Fixes snapshot publishing (#107) via JayShortway (@JayShortway) -* Adds prepare-next-snapshot-version CI job (#102) via JayShortway (@JayShortway) -* Copies some CI jobs from GitHub Actions to CircleCI. (#101) via JayShortway (@JayShortway) -* Moves publishing logic from the CircleCI config to Fastlane. (#100) via JayShortway (@JayShortway) -* Release train (#99) via JayShortway (@JayShortway) -* Adds the upgrade-hybrid-common action (#93) via JayShortway (@JayShortway) -* Adds Fastlane (#90) via JayShortway (@JayShortway) -* Adds the Danger bot. (#87) via JayShortway (@JayShortway) -* Corrects the artifactId of the :paywalls module. (#86) via JayShortway (@JayShortway) -* Adds snapshot publishing (#83) via JayShortway (@JayShortway) -* Adds note on migration to README.md (#79) via JayShortway (@JayShortway) -* Update README.md (#78) via JayShortway (@JayShortway) -* Adds Paywalls (#77) via JayShortway (@JayShortway) -* Adds issue and PR templates. via JayShortway (@JayShortway) -* Fixes docs for StoreProduct.presentedOfferingContext. via JayShortway (@JayShortway) -* Adds a currently-disabled check for the PHC version on iOS. via JayShortway (@JayShortway) -* Minor consistency update. via JayShortway (@JayShortway) -* PlatformInfo is properly passed on Android and iOS. via JayShortway (@JayShortway) -* Adds klib abi validation. via JayShortway (@JayShortway) -* Now depends on PurchasesHybridCommon (#70) via JayShortway (@JayShortway) +* Improves the error message when the PurchasesInitializer is missing from the merged AndroidManifest.xml. (#130) via JayShortway (@JayShortway) +* Fixes viewing revenuecatui Kotlin code in Xcode (#127) via JayShortway (@JayShortway) +* Removes the Compose Compiler Gradle Plugin from :apiTester. (#125) via JayShortway (@JayShortway) +* Adds missing API tests (#106) via JayShortway (@JayShortway) +* Publishes API reference only on release. (#122) via JayShortway (@JayShortway) +* Fixes the release pipeline (#119) via JayShortway (@JayShortway) +* Adds KobanKat migration guide (#116) via JayShortway (@JayShortway) +* Updates README.md (#115) via JayShortway (@JayShortway) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac639fcd..64626cc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## 1.0.0-beta.2 +### Breaking Changes +* Removes Offerings.getCurrentOfferingForPlacement() (#121) via JayShortway (@JayShortway) +### Bugfixes +* Fix iOS crash showing paywall for current offering (#129) via JayShortway (@JayShortway) +### Dependency Updates +* [AUTOMATIC BUMP] Updates purchases-hybrid-common to 11.1.1 (#124) via RevenueCat Git Bot (@RCGitBot) + * [Android 7.12.0](https://github.com/RevenueCat/purchases-android/releases/tag/7.12.0) + * [iOS 4.43.2](https://github.com/RevenueCat/purchases-ios/releases/tag/4.43.2) + * [iOS 4.43.1](https://github.com/RevenueCat/purchases-ios/releases/tag/4.43.1) +### Other Changes +* Improves the error message when the PurchasesInitializer is missing from the merged AndroidManifest.xml. (#130) via JayShortway (@JayShortway) +* Fixes viewing revenuecatui Kotlin code in Xcode (#127) via JayShortway (@JayShortway) +* Removes the Compose Compiler Gradle Plugin from :apiTester. (#125) via JayShortway (@JayShortway) +* Adds missing API tests (#106) via JayShortway (@JayShortway) +* Publishes API reference only on release. (#122) via JayShortway (@JayShortway) +* Fixes the release pipeline (#119) via JayShortway (@JayShortway) +* Adds KobanKat migration guide (#116) via JayShortway (@JayShortway) +* Updates README.md (#115) via JayShortway (@JayShortway) + ## 1.0.0-beta.1 ### Breaking Changes diff --git a/VERSIONS.md b/VERSIONS.md index d1fce25e..c0448209 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -1,3 +1,4 @@ | Version | iOS version | Android version | Common files version | |---------|-------------|-----------------|----------------------| +| 1.0.0-beta.2 | 4.43.2 | 7.12.0 | 11.1.1 | | 1.0.0-beta.1 | 4.43.0 | 7.11.1 | 10.10.0 | diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 2740d97f..f6980477 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -206,6 +206,9 @@ def publish ENV["ORG_GRADLE_PROJECT_mavenCentralPassword"] = ENV["SONATYPE_NEXUS_TOKEN_PASSWORD"] ENV["ORG_GRADLE_PROJECT_signingInMemoryKey"] = ENV["SIGNING_GPG_IN_MEMORY"] ENV["ORG_GRADLE_PROJECT_signingInMemoryKeyPassword"] = ENV["GPG_SIGNING_KEY_PW_NEW"] + # Sonatype has a tendency to timeout. Default is 1 minute. This sets it to 5. + # https://vanniktech.github.io/gradle-maven-publish-plugin/central/#timeouts + ENV["SONATYPE_CONNECT_TIMEOUT_SECONDS"] = "300" gradle( task: "publishAllPublicationsToMavenCentralRepository", flags: "--no-configuration-cache" diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9fc92c57..6a5dace6 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -6,7 +6,7 @@ android-targetSdk = "34" java = "1.8" kotlin = "1.9.23" revenuecat-common = "11.1.1" -revenuecat-kmp = "1.0.0-SNAPSHOT" +revenuecat-kmp = "1.0.0-beta.2" [libraries] android-gradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "agp" } @@ -29,4 +29,4 @@ jetbrains-compose = { id = "org.jetbrains.compose", version = "1.6.11" } kotlin-cocoapods = { id = "org.jetbrains.kotlin.native.cocoapods", version.ref = "kotlin" } kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } kotlinx-binaryCompatibilityValidator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.15.0-Beta.2" } -vanniktech-mavenPublish = { id = "com.vanniktech.maven.publish", version = "0.28.0" } +vanniktech-mavenPublish = { id = "com.vanniktech.maven.publish", version = "0.29.0" }