diff --git a/.jazzy.yaml b/.jazzy.yaml index 30b3cf42e5..e6f6dd8bbb 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.15.0-SNAPSHOT +module_version: 4.14.1 github_url: https://github.com/revenuecat/purchases-ios -github_file_prefix: https://github.com/revenuecat/purchases-ios/tree/4.15.0-SNAPSHOT +github_file_prefix: https://github.com/revenuecat/purchases-ios/tree/4.14.1 output: generated_docs include: - "Sources/**/*" diff --git a/.version b/.version index d8efb92bba..d2b9909a99 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -4.15.0-SNAPSHOT +4.14.1 diff --git a/CHANGELOG.latest.md b/CHANGELOG.latest.md index 4fc7962e3a..4772882ae8 100644 --- a/CHANGELOG.latest.md +++ b/CHANGELOG.latest.md @@ -1,16 +1,21 @@ -### New Features -* Introduced `PurchasesDiagnostics` to help diagnose SDK configuration errors (#1977) via NachoSoto (@NachoSoto) ### Bugfixes -* Avoid posting empty receipts by making`TransactionsManager` always use `SK1` implementation (#2015) via NachoSoto (@NachoSoto) -* `NetworkOperation`: workaround for iOS 12 crashes (#2008) via NachoSoto (@NachoSoto) +* `ISO8601DateFormatter.withMilliseconds`: fixed iOS 11 crash (#2037) via NachoSoto (@NachoSoto) +* Changed `StoreKit2Setting.default` back to `.enabledOnlyForOptimizations` (#2022) via NachoSoto (@NachoSoto) ### Other Changes -* Makes hold job wait for installation tests to pass (#2017) via Cesar de la Vega (@vegaro) -* Update fastlane-plugin-revenuecat_internal (#2016) via Cesar de la Vega (@vegaro) -* `bug_report.md`: changed SK2 wording (#2010) via NachoSoto (@NachoSoto) -* Added `Set + Set` and `Set += Set` operators (#2013) via NachoSoto (@NachoSoto) -* fix the link to StoreKit Config file from watchOS purchaseTester (#2009) via Andy Boedo (@aboedo) -* `PurchaseTesterSwiftUI`: combined targets into one multi-platform and fixed `macOS` (#1996) via NachoSoto (@NachoSoto) -* Less Array() (#2005) via SabinaHuseinova (@SabinaHuseinova) -* Docs: fixed `logIn` references (#2002) via NachoSoto (@NachoSoto) -* CI: use `Xcode 14.1` (#1992) via NachoSoto (@NachoSoto) -* `PurchaseTesterSwiftUI`: fixed warnings and simplified code using `async` methods (#1985) via NachoSoto (@NachoSoto) +* `Integration Tests`: changed weekly to monthly subscriptions to work around 0-second subscriptions (#2042) via NachoSoto (@NachoSoto) +* `Integration Tests`: fixed `testPurchaseWithAskToBuyPostsReceipt` (#2040) via NachoSoto (@NachoSoto) +* `ReceiptRefreshPolicy.retryUntilProductIsFound`: default to returning "invalid" receipt (#2024) via NachoSoto (@NachoSoto) +* `CachingProductsManager`: use partial cached products (#2014) via NachoSoto (@NachoSoto) +* Added `BackendErrorCode.purchasedProductMissingInAppleReceipt` (#2033) via NachoSoto (@NachoSoto) +* `PurchaseTesterSwiftUI`: replaced `Purchases` dependency with `SPM` (#2027) via NachoSoto (@NachoSoto) +* `Integration Tests`: changed log output to `raw` (#2031) via NachoSoto (@NachoSoto) +* `Integration Tests`: run on iOS 16 (#2035) via NachoSoto (@NachoSoto) +* CI: fixed `iOS 14` tests Xcode version (#2030) via NachoSoto (@NachoSoto) +* `Async.call`: added non-throwing overload (#2006) via NachoSoto (@NachoSoto) +* Documentation: Fixed references in `V4_API_Migration_guide.md` (#2018) via NachoSoto (@NachoSoto) +* `eligiblePromotionalOffers`: don't log error if response is ineligible (#2019) via NachoSoto (@NachoSoto) +* Runs push-pods after make-release (#2025) via Cesar de la Vega (@vegaro) +* Some updates on notify-on-non-patch-release-branches: (#2026) via Cesar de la Vega (@vegaro) +* Deploy `PurchaseTesterSwiftUI` to TestFlight (#2003) via NachoSoto (@NachoSoto) +* `PurchaseTesterSwiftUI`: added "logs" screen (#2012) via NachoSoto (@NachoSoto) +* `PurchaseTesterSwiftUI`: allow configuring API key at runtime (#1999) via NachoSoto (@NachoSoto) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3c48c194d..f3e1f299b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +## 4.14.1 +### Bugfixes +* `ISO8601DateFormatter.withMilliseconds`: fixed iOS 11 crash (#2037) via NachoSoto (@NachoSoto) +* Changed `StoreKit2Setting.default` back to `.enabledOnlyForOptimizations` (#2022) via NachoSoto (@NachoSoto) +### Other Changes +* `Integration Tests`: changed weekly to monthly subscriptions to work around 0-second subscriptions (#2042) via NachoSoto (@NachoSoto) +* `Integration Tests`: fixed `testPurchaseWithAskToBuyPostsReceipt` (#2040) via NachoSoto (@NachoSoto) +* `ReceiptRefreshPolicy.retryUntilProductIsFound`: default to returning "invalid" receipt (#2024) via NachoSoto (@NachoSoto) +* `CachingProductsManager`: use partial cached products (#2014) via NachoSoto (@NachoSoto) +* Added `BackendErrorCode.purchasedProductMissingInAppleReceipt` (#2033) via NachoSoto (@NachoSoto) +* `PurchaseTesterSwiftUI`: replaced `Purchases` dependency with `SPM` (#2027) via NachoSoto (@NachoSoto) +* `Integration Tests`: changed log output to `raw` (#2031) via NachoSoto (@NachoSoto) +* `Integration Tests`: run on iOS 16 (#2035) via NachoSoto (@NachoSoto) +* CI: fixed `iOS 14` tests Xcode version (#2030) via NachoSoto (@NachoSoto) +* `Async.call`: added non-throwing overload (#2006) via NachoSoto (@NachoSoto) +* Documentation: Fixed references in `V4_API_Migration_guide.md` (#2018) via NachoSoto (@NachoSoto) +* `eligiblePromotionalOffers`: don't log error if response is ineligible (#2019) via NachoSoto (@NachoSoto) +* Runs push-pods after make-release (#2025) via Cesar de la Vega (@vegaro) +* Some updates on notify-on-non-patch-release-branches: (#2026) via Cesar de la Vega (@vegaro) +* Deploy `PurchaseTesterSwiftUI` to TestFlight (#2003) via NachoSoto (@NachoSoto) +* `PurchaseTesterSwiftUI`: added "logs" screen (#2012) via NachoSoto (@NachoSoto) +* `PurchaseTesterSwiftUI`: allow configuring API key at runtime (#1999) via NachoSoto (@NachoSoto) + ## 4.14.0 ### New Features * Introduced `PurchasesDiagnostics` to help diagnose SDK configuration errors (#1977) via NachoSoto (@NachoSoto) diff --git a/RevenueCat.podspec b/RevenueCat.podspec index 8d1065ef7b..d6ed0e288a 100644 --- a/RevenueCat.podspec +++ b/RevenueCat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RevenueCat" - s.version = "4.15.0-SNAPSHOT" + s.version = "4.14.1" s.summary = "Subscription and in-app-purchase backend service." s.description = <<-DESC diff --git a/Sources/Info.plist b/Sources/Info.plist index 9125e774d5..01b46a31b6 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.15.0 + 4.14.1 CFBundleVersion $(CURRENT_PROJECT_VERSION) LSApplicationCategoryType diff --git a/Sources/Misc/SystemInfo.swift b/Sources/Misc/SystemInfo.swift index de1a967370..c73b215a1d 100644 --- a/Sources/Misc/SystemInfo.swift +++ b/Sources/Misc/SystemInfo.swift @@ -48,7 +48,7 @@ class SystemInfo { } static var frameworkVersion: String { - return "4.15.0-SNAPSHOT" + return "4.14.1" } static var systemVersion: String { diff --git a/Tests/BackendIntegrationTestApp/Info.plist b/Tests/BackendIntegrationTestApp/Info.plist index 11efb6856e..c53c87baf7 100644 --- a/Tests/BackendIntegrationTestApp/Info.plist +++ b/Tests/BackendIntegrationTestApp/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.15.0 + 4.14.1 CFBundleVersion 1 LSRequiresIPhoneOS diff --git a/Tests/BackendIntegrationTests/Info.plist b/Tests/BackendIntegrationTests/Info.plist index f6a9f50f26..74c1d9a778 100644 --- a/Tests/BackendIntegrationTests/Info.plist +++ b/Tests/BackendIntegrationTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.15.0 + 4.14.1 CFBundleVersion 1 diff --git a/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h b/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h index 27aeb47238..b9ddd4ee87 100644 --- a/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h +++ b/Tests/InstallationTests/CommonFiles/RevenueCat-Swift.h @@ -637,8 +637,8 @@ SWIFT_CLASS_NAMED("Builder") /// - (RCConfigurationBuilder * _Nonnull)withUserDefaults:(NSUserDefaults * _Nonnull)userDefaults SWIFT_WARN_UNUSED_RESULT; /// Set usesStoreKit2IfAvailable. -/// \param usesStoreKit2IfAvailable opt out of using StoreKit 2 on devices that support it. -/// Defaults to true. +/// \param usesStoreKit2IfAvailable opt in using StoreKit 2 on devices that support it. +/// Defaults to false. /// - (RCConfigurationBuilder * _Nonnull)withUsesStoreKit2IfAvailable:(BOOL)usesStoreKit2IfAvailable SWIFT_WARN_UNUSED_RESULT; /// Set dangerousSettings. diff --git a/Tests/UnitTests/Info.plist b/Tests/UnitTests/Info.plist index f6a9f50f26..74c1d9a778 100644 --- a/Tests/UnitTests/Info.plist +++ b/Tests/UnitTests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.15.0 + 4.14.1 CFBundleVersion 1 diff --git a/Tests/UnitTestsHostApp/Info.plist b/Tests/UnitTestsHostApp/Info.plist index 311ebfa36c..d431969c2f 100644 --- a/Tests/UnitTestsHostApp/Info.plist +++ b/Tests/UnitTestsHostApp/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 4.15.0 + 4.14.1 CFBundleVersion 1 LSRequiresIPhoneOS diff --git a/scripts/docs/index.html b/scripts/docs/index.html index 9a2fd73102..3242d2a67e 100644 --- a/scripts/docs/index.html +++ b/scripts/docs/index.html @@ -2,7 +2,7 @@ - +