From 08aabf269524f3722c9d4a9a7a82eef8f44b9c96 Mon Sep 17 00:00:00 2001 From: RCGitBot Date: Mon, 21 Oct 2024 09:56:47 +0000 Subject: [PATCH 1/2] Version bump for 5.7.0 --- .version | 2 +- CHANGELOG.latest.md | 42 +++++++++++------------- CHANGELOG.md | 27 +++++++++++++++ RevenueCat.podspec | 2 +- RevenueCatUI.podspec | 2 +- Sources/Misc/SystemInfo.swift | 2 +- scripts/docs/index.html | 2 +- scripts/docs/v4_api_migration_guide.html | 2 +- scripts/docs/v5_api_migration_guide.html | 2 +- 9 files changed, 54 insertions(+), 29 deletions(-) diff --git a/.version b/.version index e64ac8f5f8..42cdd0b540 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -5.7.0-SNAPSHOT +5.7.0 diff --git a/CHANGELOG.latest.md b/CHANGELOG.latest.md index d622a35eef..c59974ed49 100644 --- a/CHANGELOG.latest.md +++ b/CHANGELOG.latest.md @@ -1,27 +1,25 @@ -## RevenueCat SDK -### 🐞 Bugfixes -* Fix `hasFeature(RetroactiveAttribute)` check in iOS 14 (#4359) via Cesar de la Vega (@vegaro) -* Only Treat Deferred StoreKit Messages as Shown When They are Shown (#4344) via Will Taylor (@fire-at-will) -### 📦 Dependency Updates -* Bump fastlane from 2.223.1 to 2.224.0 (#4354) via dependabot[bot] (@dependabot[bot]) -* Bump fastlane-plugin-revenuecat_internal from `5b2e35c` to `3b1e7cf` (#4347) via dependabot[bot] (@dependabot[bot]) -### Win-back Offers -#### ✨ New Features -* CAT-1726: Support Deferring Win-Back StoreKit Messages (#4343) via Will Taylor (@fire-at-will) - ## RevenueCatUI SDK -### 🐞 Bugfixes -* Fixes double callbacks when using `PaywallViewController` (#4333) via Cesar de la Vega (@vegaro) ### Customer Center #### 🐞 Bugfixes -* Fix setting accent color in Customer Center (#4358) via Cesar de la Vega (@vegaro) -* Improve promotional offer button when pressed (#4342) via Cesar de la Vega (@vegaro) -* [CustomerCenter] Hide unknown paths (#4350) via Toni Rico (@tonidero) -* Remove access to Localization env variable in ManageSubscriptionsViewModel (#4339) via Cesar de la Vega (@vegaro) +* Fixes `SubscriptionDetailsView` background color in dark mode (#4371) via JayShortway (@JayShortway) +* Better spacing in `PromotionalOfferView` (#4369) via Cesar de la Vega (@vegaro) ### 🔄 Other Changes -* Update MagicWeather sample app (#4337) via nyeu (@nyeu) -* Allows enabling PAYWALL_COMPONENTS using a Local.xcconfig file. (#4341) via JayShortway (@JayShortway) -* Better logs for promotional offer view (#4336) via Cesar de la Vega (@vegaro) -* Fix Xcode 16 warnings (#4334) via Mark Villacampa (@MarkVillacampa) -* Run CI tests on iOS18/watchOS11 & Use Xcode 16 (#4295) via Will Taylor (@fire-at-will) +* Fixes macOS snapshots for X-Is-Debug-Build header (#4383) via JayShortway (@JayShortway) +* Paywall component containers are all stacks (#4380) via Josh Holtz (@joshdholtz) +* Remove Storefront from PaymentWrapperQueue (#4377) via Will Taylor (@fire-at-will) +* Select package and purchase (#4332) via Josh Holtz (@joshdholtz) +* Added new individual corner radius and border modifier (#4328) via Josh Holtz (@joshdholtz) +* Render packages, package, and purchase button views for paywall components (#4324) via Josh Holtz (@joshdholtz) +* ButtonComponent can show the Customer Center (#4373) via JayShortway (@JayShortway) +* Added scaffolding for paywall components, view models, and views (#4321) via Josh Holtz (@joshdholtz) +* Adds actionlint to lint GitHub Actions workflows (#4326) via JayShortway (@JayShortway) +* Local.xcconfig is read by Package.swift (#4368) via JayShortway (@JayShortway) +* ButtonComponent can restore purchases (#4372) via JayShortway (@JayShortway) +* ButtonComponent can dismiss the paywall (#4365) via JayShortway (@JayShortway) +* ButtonComponent can handle URL destinations (#4360) via JayShortway (@JayShortway) +* Models the Action for the ButtonComponent (#4353) via JayShortway (@JayShortway) +* Adds scaffolding for the ButtonComponent. (#4348) via JayShortway (@JayShortway) +* Local.xcconfig is read by PurchaseTester and PaywallsTester (#4367) via JayShortway (@JayShortway) +* Adds X-Is-Debug-Build header (#4364) via JayShortway (@JayShortway) +* Adds `.index-build` to `.gitignore`. (#4366) via JayShortway (@JayShortway) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3cfaab247..08062870a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +## 5.7.0 +## RevenueCatUI SDK +### Customer Center +#### 🐞 Bugfixes +* Fixes `SubscriptionDetailsView` background color in dark mode (#4371) via JayShortway (@JayShortway) +* Better spacing in `PromotionalOfferView` (#4369) via Cesar de la Vega (@vegaro) + +### 🔄 Other Changes +* Fixes macOS snapshots for X-Is-Debug-Build header (#4383) via JayShortway (@JayShortway) +* Paywall component containers are all stacks (#4380) via Josh Holtz (@joshdholtz) +* Remove Storefront from PaymentWrapperQueue (#4377) via Will Taylor (@fire-at-will) +* Select package and purchase (#4332) via Josh Holtz (@joshdholtz) +* Added new individual corner radius and border modifier (#4328) via Josh Holtz (@joshdholtz) +* Render packages, package, and purchase button views for paywall components (#4324) via Josh Holtz (@joshdholtz) +* ButtonComponent can show the Customer Center (#4373) via JayShortway (@JayShortway) +* Added scaffolding for paywall components, view models, and views (#4321) via Josh Holtz (@joshdholtz) +* Adds actionlint to lint GitHub Actions workflows (#4326) via JayShortway (@JayShortway) +* Local.xcconfig is read by Package.swift (#4368) via JayShortway (@JayShortway) +* ButtonComponent can restore purchases (#4372) via JayShortway (@JayShortway) +* ButtonComponent can dismiss the paywall (#4365) via JayShortway (@JayShortway) +* ButtonComponent can handle URL destinations (#4360) via JayShortway (@JayShortway) +* Models the Action for the ButtonComponent (#4353) via JayShortway (@JayShortway) +* Adds scaffolding for the ButtonComponent. (#4348) via JayShortway (@JayShortway) +* Local.xcconfig is read by PurchaseTester and PaywallsTester (#4367) via JayShortway (@JayShortway) +* Adds X-Is-Debug-Build header (#4364) via JayShortway (@JayShortway) +* Adds `.index-build` to `.gitignore`. (#4366) via JayShortway (@JayShortway) + ## 5.6.0 ## RevenueCat SDK ### 🐞 Bugfixes diff --git a/RevenueCat.podspec b/RevenueCat.podspec index a787cc5b36..ee180ade5b 100644 --- a/RevenueCat.podspec +++ b/RevenueCat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RevenueCat" - s.version = "5.7.0-SNAPSHOT" + s.version = "5.7.0" s.summary = "Subscription and in-app-purchase backend service." s.description = <<-DESC diff --git a/RevenueCatUI.podspec b/RevenueCatUI.podspec index ff885e1258..34c323fde7 100644 --- a/RevenueCatUI.podspec +++ b/RevenueCatUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RevenueCatUI" - s.version = "5.7.0-SNAPSHOT" + s.version = "5.7.0" s.summary = "UI library for RevenueCat paywalls." s.description = <<-DESC diff --git a/Sources/Misc/SystemInfo.swift b/Sources/Misc/SystemInfo.swift index a54fb046b3..4b01a3e188 100644 --- a/Sources/Misc/SystemInfo.swift +++ b/Sources/Misc/SystemInfo.swift @@ -83,7 +83,7 @@ class SystemInfo { } static var frameworkVersion: String { - return "5.7.0-SNAPSHOT" + return "5.7.0" } static var systemVersion: String { diff --git a/scripts/docs/index.html b/scripts/docs/index.html index 1c844e9d95..4b09f8ea99 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 4e10444548..9c0a32cc9d 100644 --- a/scripts/docs/v4_api_migration_guide.html +++ b/scripts/docs/v4_api_migration_guide.html @@ -2,7 +2,7 @@ - + diff --git a/scripts/docs/v5_api_migration_guide.html b/scripts/docs/v5_api_migration_guide.html index 46a3754f4a..a4adfc71c8 100644 --- a/scripts/docs/v5_api_migration_guide.html +++ b/scripts/docs/v5_api_migration_guide.html @@ -2,7 +2,7 @@ - + From 6c46827692c364b707c2c08a238582c78e001ba2 Mon Sep 17 00:00:00 2001 From: RCGitBot Date: Mon, 21 Oct 2024 09:57:53 +0000 Subject: [PATCH 2/2] Update RevenueCat-Swift.h for version 5.7.0 --- Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h b/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h index e53b4163d8..44bc638c39 100644 --- a/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h +++ b/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h @@ -1621,14 +1621,12 @@ typedef SWIFT_ENUM_NAMED(NSInteger, RCPackageType, "PackageType", open) { }; @class SKPaymentTransaction; -@class RCStorefront; /// A wrapper for SKPaymentQueue SWIFT_PROTOCOL("_TtP10RevenueCat23PaymentQueueWrapperType_") @protocol PaymentQueueWrapperType - (void)finishTransaction:(SKPaymentTransaction * _Nonnull)transaction completion:(void (^ _Nonnull)(void))completion; - (void)presentCodeRedemptionSheet SWIFT_AVAILABILITY(maccatalyst,unavailable) SWIFT_AVAILABILITY(watchos,unavailable) SWIFT_AVAILABILITY(tvos,unavailable) SWIFT_AVAILABILITY(macos,unavailable) SWIFT_AVAILABILITY(ios,introduced=14.0); -@property (nonatomic, readonly, strong) RCStorefront * _Nullable currentStorefront; @end @@ -1636,7 +1634,6 @@ SWIFT_PROTOCOL("_TtP10RevenueCat23PaymentQueueWrapperType_") SWIFT_CLASS("_TtC10RevenueCat19PaymentQueueWrapper") @interface PaymentQueueWrapper : NSObject - (void)finishTransaction:(SKPaymentTransaction * _Nonnull)transaction completion:(void (^ _Nonnull)(void))completion; -@property (nonatomic, readonly, strong) RCStorefront * _Nullable currentStorefront; - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end @@ -3324,7 +3321,6 @@ typedef SWIFT_ENUM_NAMED(NSInteger, RCStore, "Store", open) { SWIFT_CLASS("_TtC10RevenueCat16StoreKit1Wrapper") @interface StoreKit1Wrapper : NSObject -@property (nonatomic, readonly, strong) RCStorefront * _Nullable currentStorefront; - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end @@ -3622,6 +3618,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, RCDiscountType, "DiscountType", open) { @property (nonatomic, readonly, strong) SKProductDiscount * _Nullable sk1Discount; @end +@class RCStorefront; /// Abstract class that provides access to properties of a transaction. /// StoreTransactions can represent transactions from StoreKit 1, StoreKit 2 or