Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AUTOMATIC] Release/5.7.0 #4395

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.7.0-SNAPSHOT
5.7.0
47 changes: 28 additions & 19 deletions CHANGELOG.latest.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
## 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)
* Bump danger from 9.5.0 to 9.5.1 (#4388) via dependabot[bot] (@dependabot[bot])
* Bump fastlane from 2.224.0 to 2.225.0 (#4387) via dependabot[bot] (@dependabot[bot])

## RevenueCatUI SDK
### 🐞 Bugfixes
* Fixes double callbacks when using `PaywallViewController` (#4333) via Cesar de la Vega (@vegaro)
### Customer Center
#### ✨ New Features
* Support custom URL paths in `ManageSubscriptionsView` (#4382) via Toni Rico (@tonidero)
#### 🐞 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)
* Add default values to enums in Customer Center config response (#4386) 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)
* Fix iOS 15, 14 tests using wrong version of `swift-snapshot-testing` and API tests (#4394) via Cesar de la Vega (@vegaro)
* Fixes broken references in project.pbxproj. (#4385) via JayShortway (@JayShortway)
* Fix `PaywallsTester` compilation (#4389) via Cesar de la Vega (@vegaro)
* 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)
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
## 5.7.0
## RevenueCat SDK
### 📦 Dependency Updates
* Bump danger from 9.5.0 to 9.5.1 (#4388) via dependabot[bot] (@dependabot[bot])
* Bump fastlane from 2.224.0 to 2.225.0 (#4387) via dependabot[bot] (@dependabot[bot])

## RevenueCatUI SDK
### Customer Center
#### ✨ New Features
* Support custom URL paths in `ManageSubscriptionsView` (#4382) via Toni Rico (@tonidero)
#### 🐞 Bugfixes
* Add default values to enums in Customer Center config response (#4386) 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
* Fix iOS 15, 14 tests using wrong version of `swift-snapshot-testing` and API tests (#4394) via Cesar de la Vega (@vegaro)
* Fixes broken references in project.pbxproj. (#4385) via JayShortway (@JayShortway)
* Fix `PaywallsTester` compilation (#4389) via Cesar de la Vega (@vegaro)
* 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
Expand Down
2 changes: 1 addition & 1 deletion RevenueCat.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion RevenueCatUI.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions Sources/CustomerCenter/CustomerCenterConfigData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ public struct CustomerCenterConfigData {

public init(id: String,
title: String,
url: URL?,
openMethod: OpenMethod?,
url: URL? = nil,
openMethod: OpenMethod? = nil,
type: PathType,
detail: PathDetail?) {
self.id = id
Expand Down
2 changes: 1 addition & 1 deletion Sources/Misc/SystemInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class SystemInfo {
}

static var frameworkVersion: String {
return "5.7.0-SNAPSHOT"
return "5.7.0"
}

static var systemVersion: String {
Expand Down
5 changes: 1 addition & 4 deletions Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h
Original file line number Diff line number Diff line change
Expand Up @@ -1621,22 +1621,19 @@ typedef SWIFT_ENUM_NAMED(NSInteger, RCPackageType, "PackageType", open) {
};

@class SKPaymentTransaction;
@class RCStorefront;

/// A wrapper for <code>SKPaymentQueue</code>
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


/// Implementation of <code>PaymentQueueWrapperType</code> used when SK1 is not enabled.
SWIFT_CLASS("_TtC10RevenueCat19PaymentQueueWrapper")
@interface PaymentQueueWrapper : NSObject <PaymentQueueWrapperType>
- (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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
/// <code>StoreTransaction</code>s can represent transactions from StoreKit 1, StoreKit 2 or
Expand Down
2 changes: 1 addition & 1 deletion scripts/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/purchases-ios-docs/5.6.0/documentation/revenuecat"/>
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/purchases-ios-docs/5.7.0/documentation/revenuecat"/>
</head>
<body>
</body>
Expand Down
2 changes: 1 addition & 1 deletion scripts/docs/v4_api_migration_guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/purchases-ios-docs/5.7.0-SNAPSHOT/documentation/revenuecat/v4_api_migration_guide"/>
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/purchases-ios-docs/5.7.0/documentation/revenuecat/v4_api_migration_guide"/>
</head>
<body>
</body>
Expand Down
2 changes: 1 addition & 1 deletion scripts/docs/v5_api_migration_guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/purchases-ios-docs/5.7.0-SNAPSHOT/documentation/revenuecat/v5_api_migration_guide"/>
<meta http-equiv="refresh" content="0; url=https://revenuecat.github.io/purchases-ios-docs/5.7.0/documentation/revenuecat/v5_api_migration_guide"/>
</head>
<body>
</body>
Expand Down