diff --git a/.jazzy.yaml b/.jazzy.yaml index 7aac98f94a..3de76e6808 100644 --- a/.jazzy.yaml +++ b/.jazzy.yaml @@ -2,9 +2,9 @@ clean: true author: RevenueCat author_url: https://revenuecat.com sdk: iphonesimulator -module_version: 4.10.0-SNAPSHOT +module_version: 4.10.0 github_url: https://github.com/revenuecat/purchases-ios -github_file_prefix: https://github.com/revenuecat/purchases-ios/tree/4.10.0-SNAPSHOT +github_file_prefix: https://github.com/revenuecat/purchases-ios/tree/4.10.0 output: generated_docs include: - "Sources/**/*" diff --git a/.version b/.version index 1351c312ac..2da4316236 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -4.10.0-SNAPSHOT +4.10.0 diff --git a/CHANGELOG.latest.md b/CHANGELOG.latest.md index 12a08f4da2..6a5a8dcb3d 100644 --- a/CHANGELOG.latest.md +++ b/CHANGELOG.latest.md @@ -1,12 +1,10 @@ -### Fixes: -* `CustomerInfoResponseHandler`: return `CustomerInfo` instead of error if the response was successful (#1778) via NachoSoto (@NachoSoto) -* Error logging: `logErrorIfNeeded` no longer prints message if it's the same as the error description (#1776) via NachoSoto (@NachoSoto) -* fix another broken link in docC docs (#1777) via aboedo (@aboedo) -* fix links to restorePurchase (#1775) via aboedo (@aboedo) -* fix getProducts docs broken link (#1772) via aboedo (@aboedo) - -### Improvements: -* `Logger`: wrap `message` in `@autoclosure` to avoid creating when `LogLevel` is disabled (#1781) via NachoSoto (@NachoSoto) - -### Other changes: -* Lint: fixed `SubscriberAttributesManager` (#1774) via NachoSoto (@NachoSoto) \ No newline at end of file +## Bugfixes +* `OfferingsManager`: expose underlying error when `ProductsManager` returns an error (#1792) via NachoSoto (@NachoSoto) +* Add missing logs to ProductsFetcherSK2 (#1780) via beylmk (@beylmk) +## Other Changes +* AdServices: Fix failing tests on main in iOS 12 and 13 - IOSAttributionPosterTests (#1797) via Josh Holtz (@joshdholtz) +* Invalidates gem caches and separates danger and macOS caches (#1798) via Cesar de la Vega (@vegaro) +* New AdServices integration (#1727) via Josh Holtz (@joshdholtz) +* Pass CircleCI branch to prepare_next_version job (#1796) via Toni Rico (@tonidero) +* Configure Danger, enforce labels (#1761) via Cesar de la Vega (@vegaro) +* Support for new fastlane internal plugin for automation (#1779) via Toni Rico (@tonidero) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59b823bc16..91439ea624 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 4.10.0 +## Bugfixes +* `OfferingsManager`: expose underlying error when `ProductsManager` returns an error (#1792) via NachoSoto (@NachoSoto) +* Add missing logs to ProductsFetcherSK2 (#1780) via beylmk (@beylmk) +## Other Changes +* AdServices: Fix failing tests on main in iOS 12 and 13 - IOSAttributionPosterTests (#1797) via Josh Holtz (@joshdholtz) +* Invalidates gem caches and separates danger and macOS caches (#1798) via Cesar de la Vega (@vegaro) +* New AdServices integration (#1727) via Josh Holtz (@joshdholtz) +* Pass CircleCI branch to prepare_next_version job (#1796) via Toni Rico (@tonidero) +* Configure Danger, enforce labels (#1761) via Cesar de la Vega (@vegaro) +* Support for new fastlane internal plugin for automation (#1779) via Toni Rico (@tonidero) + ## 4.9.1 ### Fixes: * `CustomerInfoResponseHandler`: return `CustomerInfo` instead of error if the response was successful (#1778) via NachoSoto (@NachoSoto) diff --git a/RevenueCat.podspec b/RevenueCat.podspec index 20513b5206..1077dd8c80 100644 --- a/RevenueCat.podspec +++ b/RevenueCat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RevenueCat" - s.version = "4.10.0-SNAPSHOT" + s.version = "4.10.0" s.summary = "Subscription and in-app-purchase backend service." s.description = <<-DESC diff --git a/Sources/Misc/SystemInfo.swift b/Sources/Misc/SystemInfo.swift index 710cc1251e..ad4f0884a8 100644 --- a/Sources/Misc/SystemInfo.swift +++ b/Sources/Misc/SystemInfo.swift @@ -43,7 +43,7 @@ class SystemInfo { } static var frameworkVersion: String { - return "4.10.0-SNAPSHOT" + return "4.10.0" } static var systemVersion: String { diff --git a/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h b/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h index 1e160f71f0..10a3bc4a6c 100644 --- a/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h +++ b/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h @@ -229,6 +229,13 @@ SWIFT_CLASS_NAMED("Attribution") +SWIFT_AVAILABILITY(watchos,unavailable) SWIFT_AVAILABILITY(tvos,unavailable) SWIFT_AVAILABILITY(maccatalyst,introduced=14.3) SWIFT_AVAILABILITY(macos,introduced=11.1) SWIFT_AVAILABILITY(ios,introduced=14.3) +@interface RCAttribution (SWIFT_EXTENSION(RevenueCat)) +/// Enable automatic collection of AdServices attribution token. +- (void)enableAdServicesAttributionTokenCollection; +@end + + @class NSString; @class NSData; @@ -484,6 +491,8 @@ typedef SWIFT_ENUM_NAMED(NSInteger, RCAttributionNetwork, "AttributionNetwork", RCAttributionNetworkFacebook = 5, /// mParticle https://www.mparticle.com/ RCAttributionNetworkMParticle = 6, +/// AdServices token + RCAttributionNetworkAdServices = 7, }; /// Specifies the behavior for a caching API. @@ -1245,6 +1254,12 @@ typedef SWIFT_ENUM_NAMED(NSInteger, RCPeriodType, "PeriodType", open) { }; +SWIFT_CLASS("_TtC10RevenueCat28PostAdServicesTokenOperation") +@interface PostAdServicesTokenOperation : NetworkOperation +@end + + + SWIFT_CLASS("_TtC10RevenueCat28PostAttributionDataOperation") @interface PostAttributionDataOperation : NetworkOperation @end @@ -1412,10 +1427,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) BOOL isConfigured;) /// Delegate for Purchases instance. The delegate is responsible for handling promotional product purchases and /// changes to customer information. @property (nonatomic, strong) id _Nullable delegate; -/// Enable automatic collection of Apple Search Ads attribution. Defaults to false. -SWIFT_CLASS_PROPERTY(@property (nonatomic, class) BOOL automaticAppleSearchAdsAttributionCollection;) -+ (BOOL)automaticAppleSearchAdsAttributionCollection SWIFT_WARN_UNUSED_RESULT; -+ (void)setAutomaticAppleSearchAdsAttributionCollection:(BOOL)value; /// Used to set the log level. Useful for debugging issues with the lovely team @RevenueCat. ///

Related Symbols

///