diff --git a/.version b/.version index dbdb3a3a81..10a06ec161 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -4.42.0-SNAPSHOT +4.42.0 diff --git a/CHANGELOG.latest.md b/CHANGELOG.latest.md index 702c26f404..6b6059bd4d 100644 --- a/CHANGELOG.latest.md +++ b/CHANGELOG.latest.md @@ -1,11 +1,26 @@ +### New Features +* RemoteImage Low Res Image support (#3906) via James Borthwick (@jamesrb1) ### Bugfixes -* `Paywalls`: Update Norwegian "restore" localization (#3844) via Josh Holtz (@joshdholtz) +* [EXTERNAL] Hide decorative Paywall images from accessibility (#3886) via @shiftingsand (#3892) via Toni Rico (@tonidero) ### Dependency Updates -* Bump fastlane-plugin-revenuecat_internal from `f88dcd4` to `dd5e21f` (#3839) via dependabot[bot] (@dependabot[bot]) -* Update Package.resolved (#3822) via Cesar de la Vega (@vegaro) -* Bump fastlane-plugin-revenuecat_internal from `1e62420` to `f88dcd4` (#3831) via dependabot[bot] (@dependabot[bot]) +* Bump rexml from 3.2.6 to 3.2.8 in /Tests/InstallationTests/CocoapodsInstallation (#3908) via dependabot[bot] (@dependabot[bot]) +* Bump fastlane-plugin-revenuecat_internal from `dd5e21f` to `8ec0072` (#3873) via dependabot[bot] (@dependabot[bot]) ### Other Changes -* Add diagnostics event for Customer Info verification (#3823) via Cesar de la Vega (@vegaro) -* Fix backend integration test (#3847) via Josh Holtz (@joshdholtz) -* Push to SPM after release has been made (#3834) via James Borthwick (@jamesrb1) -* Add note to readme about new spm repo (#3828) via James Borthwick (@jamesrb1) +* Revert to use xcode 14 to fix deploys (#3929) via Cesar de la Vega (@vegaro) +* SPMInstallation tests deployment version increase (#3922) via Cesar de la Vega (@vegaro) +* Only install `swiftlint` on Xcode 15 jobs (#3913) via Josh Holtz (@joshdholtz) +* Add `http_request_performed` diagnostics event (#3897) via Toni Rico (@tonidero) +* Paywalls Tester: App Store Prep (#3889) via James Borthwick (@jamesrb1) +* Paywalls Tester: Enable Example Paywalls in Release Mode (#3885) via James Borthwick (@jamesrb1) +* Use Ruby 3.2 on CircleCI (#3896) via Josh Holtz (@joshdholtz) +* PaywallsTester: Remove unused code (#3884) via James Borthwick (@jamesrb1) +* Improved Error Handling (#3883) via James Borthwick (@jamesrb1) +* Clear diagnostics file if we detect it's too big during event tracking (#3824) via Toni Rico (@tonidero) +* Preprocessor to make select constructs public (#3880) via James Borthwick (@jamesrb1) +* Paywalls Tester: Use key defined in CI (#3869) via James Borthwick (@jamesrb1) +* Cleanup: Remove test storekit configuration files when importing through SPM (#3878) via Andy Boedo (@aboedo) +* Update fastlane plugin and fix docs index path (#3872) via Toni Rico (@tonidero) +* Update to use xcode 15.3 in CI (#3870) via Cesar de la Vega (@vegaro) +* Paywalls Tester 0.1 (#3868) via James Borthwick (@jamesrb1) +* Update config.yml for SPM repo copy (#3861) via James Borthwick (@jamesrb1) +* Change deploy-purchase-tester to use xcode 15 (#3858) via Cesar de la Vega (@vegaro) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07ba450c7c..d09897344a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,31 @@ +## 4.42.0 +### New Features +* RemoteImage Low Res Image support (#3906) via James Borthwick (@jamesrb1) +### Bugfixes +* [EXTERNAL] Hide decorative Paywall images from accessibility (#3886) via @shiftingsand (#3892) via Toni Rico (@tonidero) +### Dependency Updates +* Bump rexml from 3.2.6 to 3.2.8 in /Tests/InstallationTests/CocoapodsInstallation (#3908) via dependabot[bot] (@dependabot[bot]) +* Bump fastlane-plugin-revenuecat_internal from `dd5e21f` to `8ec0072` (#3873) via dependabot[bot] (@dependabot[bot]) +### Other Changes +* Revert to use xcode 14 to fix deploys (#3929) via Cesar de la Vega (@vegaro) +* SPMInstallation tests deployment version increase (#3922) via Cesar de la Vega (@vegaro) +* Only install `swiftlint` on Xcode 15 jobs (#3913) via Josh Holtz (@joshdholtz) +* Add `http_request_performed` diagnostics event (#3897) via Toni Rico (@tonidero) +* Paywalls Tester: App Store Prep (#3889) via James Borthwick (@jamesrb1) +* Paywalls Tester: Enable Example Paywalls in Release Mode (#3885) via James Borthwick (@jamesrb1) +* Use Ruby 3.2 on CircleCI (#3896) via Josh Holtz (@joshdholtz) +* PaywallsTester: Remove unused code (#3884) via James Borthwick (@jamesrb1) +* Improved Error Handling (#3883) via James Borthwick (@jamesrb1) +* Clear diagnostics file if we detect it's too big during event tracking (#3824) via Toni Rico (@tonidero) +* Preprocessor to make select constructs public (#3880) via James Borthwick (@jamesrb1) +* Paywalls Tester: Use key defined in CI (#3869) via James Borthwick (@jamesrb1) +* Cleanup: Remove test storekit configuration files when importing through SPM (#3878) via Andy Boedo (@aboedo) +* Update fastlane plugin and fix docs index path (#3872) via Toni Rico (@tonidero) +* Update to use xcode 15.3 in CI (#3870) via Cesar de la Vega (@vegaro) +* Paywalls Tester 0.1 (#3868) via James Borthwick (@jamesrb1) +* Update config.yml for SPM repo copy (#3861) via James Borthwick (@jamesrb1) +* Change deploy-purchase-tester to use xcode 15 (#3858) via Cesar de la Vega (@vegaro) + ## 4.41.2 ### Bugfixes * `Paywalls`: Update Norwegian "restore" localization (#3844) via Josh Holtz (@joshdholtz) diff --git a/RevenueCat.podspec b/RevenueCat.podspec index a2ce3f3419..4c0e6d1f0a 100644 --- a/RevenueCat.podspec +++ b/RevenueCat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RevenueCat" - s.version = "4.42.0-SNAPSHOT" + s.version = "4.42.0" s.summary = "Subscription and in-app-purchase backend service." s.description = <<-DESC diff --git a/RevenueCat.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/RevenueCat.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 8f25fd2b75..db942d7e03 100644 --- a/RevenueCat.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/RevenueCat.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -21,7 +21,7 @@ { "identity" : "nimble", "kind" : "remoteSourceControl", - "location" : "git@github.com:Quick/Nimble.git", + "location" : "https://github.com/quick/nimble", "state" : { "revision" : "1f3bde57bde12f5e7b07909848c071e9b73d6edc", "version" : "10.0.0" @@ -39,7 +39,7 @@ { "identity" : "swift-snapshot-testing", "kind" : "remoteSourceControl", - "location" : "git@github.com:pointfreeco/swift-snapshot-testing.git", + "location" : "https://github.com/pointfreeco/swift-snapshot-testing", "state" : { "revision" : "26ed3a2b4a2df47917ca9b790a57f91285b923fb", "version" : "1.12.0" diff --git a/RevenueCatUI.podspec b/RevenueCatUI.podspec index fed19a2906..6bc3f620d4 100644 --- a/RevenueCatUI.podspec +++ b/RevenueCatUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RevenueCatUI" - s.version = "4.42.0-SNAPSHOT" + s.version = "4.42.0" s.summary = "UI library for RevenueCat paywalls." s.description = <<-DESC diff --git a/Sources/Misc/SystemInfo.swift b/Sources/Misc/SystemInfo.swift index 33cfd9e234..3d81823846 100644 --- a/Sources/Misc/SystemInfo.swift +++ b/Sources/Misc/SystemInfo.swift @@ -70,7 +70,7 @@ class SystemInfo { } static var frameworkVersion: String { - return "4.42.0-SNAPSHOT" + return "4.42.0" } static var systemVersion: String { diff --git a/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h b/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h index c6def33c62..709fd04619 100644 --- a/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h +++ b/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h @@ -1,4 +1,4 @@ -// Generated by Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) +// Generated by Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) #ifndef REVENUECAT_SWIFT_H #define REVENUECAT_SWIFT_H #pragma clang diagnostic push @@ -40,12 +40,18 @@ #include #endif #if defined(__cplusplus) -#if __has_include() +#if defined(__arm64e__) && __has_include() # include #else +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wreserved-macro-identifier" # ifndef __ptrauth_swift_value_witness_function_pointer # define __ptrauth_swift_value_witness_function_pointer(x) # endif +# ifndef __ptrauth_swift_class_method_pointer +# define __ptrauth_swift_class_method_pointer(x) +# endif +#pragma clang diagnostic pop #endif #endif @@ -244,6 +250,17 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #else # define SWIFT_NOEXCEPT #endif +#if !defined(SWIFT_C_INLINE_THUNK) +# if __has_attribute(always_inline) +# if __has_attribute(nodebug) +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug)) +# else +# define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) +# endif +# else +# define SWIFT_C_INLINE_THUNK inline +# endif +#endif #if defined(_WIN32) #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL) # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport) @@ -753,7 +770,6 @@ SWIFT_CLASS_NAMED("Configuration") - @interface RCConfiguration (SWIFT_EXTENSION(RevenueCat)) @end @@ -791,6 +807,7 @@ typedef SWIFT_ENUM_NAMED(NSInteger, RCEntitlementVerificationMode, "EntitlementV }; + @class RCEntitlementInfos; @class NSDate; @class RCNonSubscriptionTransaction; @@ -1414,6 +1431,7 @@ SWIFT_CLASS_NAMED("Offering") + /// This class contains all the offerings configured in RevenueCat dashboard. /// Offerings let you control which products are shown to users without requiring an app update. /// Building paywalls that are dynamic and can react to different product @@ -2640,6 +2658,7 @@ SWIFT_PROTOCOL("_TtP10RevenueCat29PurchasesOrchestratorDelegate_") + @interface RCPurchases (SWIFT_EXTENSION(RevenueCat)) SWIFT_CLASS_PROPERTY(@property (nonatomic, class, strong) RCPlatformInfo * _Nullable platformInfo;) + (RCPlatformInfo * _Nullable)platformInfo SWIFT_WARN_UNUSED_RESULT; @@ -2656,8 +2675,6 @@ SWIFT_CLASS_NAMED("PlatformInfo") - - @interface RCPurchases (SWIFT_EXTENSION(RevenueCat)) /// Enable debug logging. Useful for debugging issues with the lovely team @RevenueCat. SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL debugLogsEnabled SWIFT_DEPRECATED_MSG("use Purchases.logLevel instead");) @@ -2685,6 +2702,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL debugLogsEnabled SWIFT_DE @end + @interface RCPurchases (SWIFT_EXTENSION(RevenueCat)) - (void)logIn:(NSString * _Nonnull)appUserID completion:(void (^ _Nonnull)(RCCustomerInfo * _Nullable, BOOL, NSError * _Nullable))completion; - (void)logIn:(NSString * _Nonnull)appUserID completionHandler:(void (^ _Nonnull)(RCCustomerInfo * _Nullable, BOOL, NSError * _Nullable))completionHandler SWIFT_AVAILABILITY(watchos,introduced=6.2) SWIFT_AVAILABILITY(tvos,introduced=13.0) SWIFT_AVAILABILITY(macos,introduced=10.15) SWIFT_AVAILABILITY(ios,introduced=13.0); @@ -3114,6 +3132,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=defau @end + SWIFT_AVAILABILITY(watchos,introduced=6.2) SWIFT_AVAILABILITY(tvos,introduced=13.0) SWIFT_AVAILABILITY(macos,introduced=10.15) SWIFT_AVAILABILITY(ios,introduced=13.0) @interface RCPurchasesDiagnostics (SWIFT_EXTENSION(RevenueCat)) /// Perform tests to ensure SDK is configured correctly. @@ -3128,7 +3147,6 @@ SWIFT_AVAILABILITY(watchos,introduced=6.2) SWIFT_AVAILABILITY(tvos,introduced=13 - /// A type that can parse Apple receipts from a device. /// This implements parsing based on Appleā€™s documentation. /// To use this class you must access PurchasesReceiptParser/default: @@ -3146,6 +3164,7 @@ SWIFT_CLASS("_TtC10RevenueCat22PurchasesReceiptParser") + @interface PurchasesReceiptParser (SWIFT_EXTENSION(RevenueCat)) - (BOOL)receiptHasTransactionsWithReceiptData:(NSData * _Nonnull)receiptData SWIFT_WARN_UNUSED_RESULT; @end @@ -3160,7 +3179,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong, getter=defau - SWIFT_CLASS("_TtC10RevenueCat21RCPurchasesErrorUtils") SWIFT_AVAILABILITY(maccatalyst,obsoleted=1) SWIFT_AVAILABILITY(macos,obsoleted=1) SWIFT_AVAILABILITY(watchos,obsoleted=1) SWIFT_AVAILABILITY(tvos,obsoleted=1) SWIFT_AVAILABILITY(ios,obsoleted=1) @interface RCPurchasesErrorUtils : NSObject - (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; @@ -3695,11 +3713,11 @@ typedef SWIFT_ENUM_NAMED(NSInteger, RCVerificationResult, "VerificationResult", RCVerificationResultFailed = 2, }; -#endif -#if defined(__cplusplus) #endif #if __has_attribute(external_source_symbol) # pragma clang attribute pop #endif +#if defined(__cplusplus) +#endif #pragma clang diagnostic pop #endif diff --git a/scripts/docs/index.html b/scripts/docs/index.html index 8ae5e0aa46..19e54515ca 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 7109078d0e..8ed90a0628 100644 --- a/scripts/docs/v4_api_migration_guide.html +++ b/scripts/docs/v4_api_migration_guide.html @@ -2,7 +2,7 @@ - +