From c5b402c848d93d62dbeadf8d2998c8920b69e5d4 Mon Sep 17 00:00:00 2001 From: NachoSoto Date: Tue, 12 Sep 2023 15:44:22 -0700 Subject: [PATCH] Version bump for 4.26.0-beta.4 --- .version | 2 +- CHANGELOG.latest.md | 45 ++++++++++++++++------ CHANGELOG.md | 34 ++++++++++++++++ RevenueCat.podspec | 2 +- Sources/Info.plist | 2 +- Sources/Misc/SystemInfo.swift | 2 +- Tests/BackendIntegrationTestApp/Info.plist | 2 +- Tests/BackendIntegrationTests/Info.plist | 2 +- Tests/UnitTests/Info.plist | 2 +- Tests/UnitTestsHostApp/Info.plist | 2 +- scripts/docs/index.html | 2 +- scripts/docs/v4_api_migration_guide.html | 2 +- 12 files changed, 77 insertions(+), 22 deletions(-) diff --git a/.version b/.version index 02c7edc115..be4118afef 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -4.25.9 +4.26.0-beta.4 diff --git a/CHANGELOG.latest.md b/CHANGELOG.latest.md index 901f9e266f..0dc9699926 100644 --- a/CHANGELOG.latest.md +++ b/CHANGELOG.latest.md @@ -1,12 +1,33 @@ -### Bugfixes -* `DebugViewModel`: fixed runtime crash on iOS < 16 (#3139) via NachoSoto (@NachoSoto) -### Performance Improvements -* `PurchasesOrchestrator`: return early if receipt has no transactions when checking for promo offers (#3123) via Mark Villacampa (@MarkVillacampa) -* `Purchases`: don't clear intro eligibility / purchased products cache on first launch (#3067) via NachoSoto (@NachoSoto) -### Dependency Updates -* `SPM`: update `Package.resolved` (#3130) via NachoSoto (@NachoSoto) -### Other Changes -* `ReceiptParser`: fixed SPM build (#3144) via NachoSoto (@NachoSoto) -* `carthage_installation_tests`: optimize SPM package loading (#3129) via NachoSoto (@NachoSoto) -* `CI`: add workaround for `Carthage` timing out (#3119) via NachoSoto (@NachoSoto) -* `Integration Tests`: workaround to not lose debug logs (#3108) via NachoSoto (@NachoSoto) +### New Features +#### ✨ Introducing RevenueCatUI 📱 (beta): + +RevenueCat's Paywalls allow you to to remotely configure your entire paywall view without any code changes or app updates. +Our paywall templates use native code to deliver smooth, intuitive experiences to your customers when you’re ready to deliver them an Offering; and you can use our Dashboard to pick the right template and configuration to meet your needs. + +To use RevenueCat Paywalls on iOS, simply: + +1. Create a Paywall on the Dashboard for the `Offering` you intend to serve to your customers +2. Add the `RevenueCatUI` SPM dependency to your project +3. `import RevenueCatUI` at the point in the user experience when you want to display a paywall: + +```swift +import RevenueCatUI +import SwiftUI + +struct YourApp: View { + + var body: some View { + YourContent() + .presentPaywallIfNeeded( + requiredEntitlementIdentifier: "pro", + purchaseCompleted: { customerInfo in + print("Purchase completed: \(customerInfo)") + }, + restoreCompleted: { customerInfo in + print("Purchases restored: \(customerInfo)") + } + ) + } + +} +``` \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f5f643567..3caa6fd13f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,37 @@ +## 4.26.0-beta.4 +### New Features +#### ✨ Introducing RevenueCatUI 📱 (beta): + +RevenueCat's Paywalls allow you to to remotely configure your entire paywall view without any code changes or app updates. +Our paywall templates use native code to deliver smooth, intuitive experiences to your customers when you’re ready to deliver them an Offering; and you can use our Dashboard to pick the right template and configuration to meet your needs. + +To use RevenueCat Paywalls on iOS, simply: + +1. Create a Paywall on the Dashboard for the `Offering` you intend to serve to your customers +2. Add the `RevenueCatUI` SPM dependency to your project +3. `import RevenueCatUI` at the point in the user experience when you want to display a paywall: + +```swift +import RevenueCatUI +import SwiftUI + +struct YourApp: View { + + var body: some View { + YourContent() + .presentPaywallIfNeeded( + requiredEntitlementIdentifier: "pro", + purchaseCompleted: { customerInfo in + print("Purchase completed: \(customerInfo)") + }, + restoreCompleted: { customerInfo in + print("Purchases restored: \(customerInfo)") + } + ) + } + +} +``` ## 4.25.9 ### Bugfixes * `DebugViewModel`: fixed runtime crash on iOS < 16 (#3139) via NachoSoto (@NachoSoto) diff --git a/RevenueCat.podspec b/RevenueCat.podspec index 50fbba30d2..36aa17e7fe 100644 --- a/RevenueCat.podspec +++ b/RevenueCat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RevenueCat" - s.version = "4.25.9" + s.version = "4.26.0-beta.4" s.summary = "Subscription and in-app-purchase backend service." s.description = <<-DESC diff --git a/Sources/Info.plist b/Sources/Info.plist index 72b314203e..fa86b78981 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.25.9 + 4.26.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) LSApplicationCategoryType diff --git a/Sources/Misc/SystemInfo.swift b/Sources/Misc/SystemInfo.swift index a8290019f4..8b2c3a9cde 100644 --- a/Sources/Misc/SystemInfo.swift +++ b/Sources/Misc/SystemInfo.swift @@ -54,7 +54,7 @@ class SystemInfo { } static var frameworkVersion: String { - return "4.25.9" + return "4.26.0-beta.4" } static var systemVersion: String { diff --git a/Tests/BackendIntegrationTestApp/Info.plist b/Tests/BackendIntegrationTestApp/Info.plist index c670f9e903..782367cc94 100644 --- a/Tests/BackendIntegrationTestApp/Info.plist +++ b/Tests/BackendIntegrationTestApp/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.25.9 + 4.26.0 CFBundleVersion 1 LSRequiresIPhoneOS diff --git a/Tests/BackendIntegrationTests/Info.plist b/Tests/BackendIntegrationTests/Info.plist index 0c858e3fa4..51c6d0a506 100644 --- a/Tests/BackendIntegrationTests/Info.plist +++ b/Tests/BackendIntegrationTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.25.9 + 4.26.0 CFBundleVersion 1 diff --git a/Tests/UnitTests/Info.plist b/Tests/UnitTests/Info.plist index 0c858e3fa4..51c6d0a506 100644 --- a/Tests/UnitTests/Info.plist +++ b/Tests/UnitTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.25.9 + 4.26.0 CFBundleVersion 1 diff --git a/Tests/UnitTestsHostApp/Info.plist b/Tests/UnitTestsHostApp/Info.plist index 0a53171dc7..fd308262d9 100644 --- a/Tests/UnitTestsHostApp/Info.plist +++ b/Tests/UnitTestsHostApp/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.25.9 + 4.26.0 CFBundleVersion 1 LSRequiresIPhoneOS diff --git a/scripts/docs/index.html b/scripts/docs/index.html index 1c28c62752..84a0e6fdd0 100644 --- a/scripts/docs/index.html +++ b/scripts/docs/index.html @@ -2,7 +2,7 @@ - + diff --git a/scripts/docs/v4_api_migration_guide.html b/scripts/docs/v4_api_migration_guide.html index 07dab22d81..394c55ea9d 100644 --- a/scripts/docs/v4_api_migration_guide.html +++ b/scripts/docs/v4_api_migration_guide.html @@ -2,7 +2,7 @@ - +