Release/4.19.0#2491
Merged
Merged
Conversation
Closed
Contributor
Author
That was only required for Xcode 12, which is no longer supported. Also added `--verbose` parameter to the job to avoid timeouts from slow builds (see https://app.circleci.com/pipelines/github/RevenueCat/purchases-ios/11009/workflows/9a750760-2a24-4f0e-adeb-b464bfc8d25e/jobs/66974)
See CocoaPods/CocoaPods#11808. That's fixed in CocoaPods 1.12.1, but that's not included in [CircleCI's 14.3.0 image](https://circle-macos-docs.s3.amazonaws.com/image-manifest/v11629/manifest.txt). This changes it to use the `CocoaPods` from `Bundle` to use `1.12.1`. Fixes https://app.circleci.com/pipelines/github/RevenueCat/purchases-ios/11009/workflows/9a750760-2a24-4f0e-adeb-b464bfc8d25e/jobs/66978
Contributor
Author
|
I filed a ticket to look into the purchase tester deployment, the provisioning profile for the Mac app doesn't work again (ugh). |
aboedo
approved these changes
May 16, 2023
NachoSoto
added a commit
to NachoSoto/purchases-ios
that referenced
this pull request
May 17, 2023
### New Features * New `ErrorCode.signatureVerificationFailed` which will be used for an upcoming feature ### Bugfixes * `Purchases.deinit`: don't reset `Purchases.proxyURL` (RevenueCat#2346) via NachoSoto (@NachoSoto) <details> <summary><b>Other Changes</b></summary> * Introduced `Configuration.EntitlementVerificationMode` and `VerificationResult` (RevenueCat#2277) via NachoSoto (@NachoSoto) * `PurchasesDiagnostics`: added step to verify signature verification (RevenueCat#2267) via NachoSoto (@NachoSoto) * `HTTPClient`: added signature validation and introduced `ErrorCode.signatureVerificationFailed` (RevenueCat#2272) via NachoSoto (@NachoSoto) * `ETagManager`: don't use ETags if response verification failed (RevenueCat#2347) via NachoSoto (@NachoSoto) * `Integration Tests`: removed `@preconcurrency import` (RevenueCat#2464) via NachoSoto (@NachoSoto) * Clean up: moved `ReceiptParserTests-Info.plist` out of root (RevenueCat#2460) via NachoSoto (@NachoSoto) * Update `CHANGELOG` (RevenueCat#2461) via NachoSoto (@NachoSoto) * Update `SwiftSnapshotTesting` (RevenueCat#2453) via NachoSoto (@NachoSoto) * Fixed docs (RevenueCat#2432) via Kaunteya Suryawanshi (@kaunteya) * Remove unnecessary line break (RevenueCat#2435) via Andy Boedo (@aboedo) * `ProductEntitlementMapping`: enabled entitlement mapping fetching (RevenueCat#2425) via NachoSoto (@NachoSoto) * `BackendPostReceiptDataTests`: increased timeout to fix flaky test (RevenueCat#2426) via NachoSoto (@NachoSoto) * Updated requirements to drop Xcode 13.x support (RevenueCat#2419) via NachoSoto (@NachoSoto) * `Integration Tests`: fixed flaky errors when loading offerings (RevenueCat#2420) via NachoSoto (@NachoSoto) * `PurchaseTester`: fixed compilation for `internal` entitlement verification (RevenueCat#2417) via NachoSoto (@NachoSoto) * `ETagManager`/`HTTPClient`: sending new `X-RC-Last-Refresh-Time` header (RevenueCat#2373) via NachoSoto (@NachoSoto) * `ETagManager`: don't send validation time if not present (RevenueCat#2490) via NachoSoto (@NachoSoto) * SwiftUI Sample Project: Refactor Package terms method to a computed property (RevenueCat#2405) via Joseph Kokenge (@JOyo246) * Clean up v3 load shedder integration tests (RevenueCat#2402) via Andy Boedo (@aboedo) * Fix iOS 12 compilation (RevenueCat#2394) via NachoSoto (@NachoSoto) * Added new `VerificationResult.verifiedOnDevice` (RevenueCat#2379) via NachoSoto (@NachoSoto) * `PurchaseTester`: fix memory leaks (RevenueCat#2392) via Keita Watanabe (@kitwtnb) * Integration tests: add scheduled job (RevenueCat#2389) via Andy Boedo (@aboedo) * Add lane for running iOS v3 load shedder integration tests (RevenueCat#2388) via Andy Boedo (@aboedo) * iOS v3 load shedder integration tests (RevenueCat#2387) via Andy Boedo (@aboedo) * `Offline Entitlements`: created `LoadShedderIntegrationTests` (RevenueCat#2362) via NachoSoto (@NachoSoto) * Purchases.configure: log warning if attempting to use a static appUserID (RevenueCat#2385) via Mark Villacampa (@MarkVillacampa) * `SubscriberAttributesManagerIntegrationTests`: fixed flaky failures (RevenueCat#2381) via NachoSoto (@NachoSoto) * `@DefaultDecodable.Now`: fixed flaky test (RevenueCat#2374) via NachoSoto (@NachoSoto) * `PurchaseTesterSwiftUI`: fixed iOS compilation (RevenueCat#2376) via NachoSoto (@NachoSoto) * `SubscriberAttributesManagerIntegrationTests`: fixed potential race condition (RevenueCat#2380) via NachoSoto (@NachoSoto) * `Offline Entitlements`: create `CustomerInfo` from offline entitlements (RevenueCat#2358) via NachoSoto (@NachoSoto) * Added `@DefaultDecodable.Now` (RevenueCat#2372) via NachoSoto (@NachoSoto) * `HTTPClient`: debug log when performing redirects (RevenueCat#2371) via NachoSoto (@NachoSoto) * `HTTPClient`: new flag to force server errors (RevenueCat#2370) via NachoSoto (@NachoSoto) * `OfferingsManager`: fixed Xcode 13.x build (RevenueCat#2369) via NachoSoto (@NachoSoto) * `Offline Entitlements`: store `ProductEntitlementMapping` in cache (RevenueCat#2355) via NachoSoto (@NachoSoto) * `Offline Entitlements`: added support for fetching `ProductEntitlementMappingResponse` in `OfflineEntitlementsAPI` (RevenueCat#2353) via NachoSoto (@NachoSoto) * `Offline Entitlements`: created `ProductEntitlementMapping` (RevenueCat#2365) via NachoSoto (@NachoSoto) * Implemented `NetworkError.isServerDown` (RevenueCat#2367) via NachoSoto (@NachoSoto) * `ETagManager`: added test for 304 responses with no etag (RevenueCat#2360) via NachoSoto (@NachoSoto) * `TestLogHandler`: increased default capacity (RevenueCat#2357) via NachoSoto (@NachoSoto) * `OfferingsManager`: moved log to common method to remove hardcoded string (RevenueCat#2363) via NachoSoto (@NachoSoto) * `Offline Entitlements`: created `ProductEntitlementMappingResponse` (RevenueCat#2351) via NachoSoto (@NachoSoto) * `HTTPClient`: added test for 2xx response for request with etag (RevenueCat#2361) via NachoSoto (@NachoSoto) * `PurchaseTesterSwiftUI` improvements (RevenueCat#2345) via NachoSoto (@NachoSoto) * `ConfigureStrings`: fixed double-space typo (RevenueCat#2344) via NachoSoto (@NachoSoto) * `ETagManagerTests`: fixed tests on iOS 12 (RevenueCat#2349) via NachoSoto (@NachoSoto) * `DeviceCache`: simplified constructor (RevenueCat#2354) via NachoSoto (@NachoSoto) * `Trusted Entitlements`: changed all APIs to `internal` (RevenueCat#2350) via NachoSoto (@NachoSoto) * `VerificationResult.notRequested`: removed caching reference (RevenueCat#2337) via NachoSoto (@NachoSoto) * Finished signature verification `HTTPClient` tests (RevenueCat#2333) via NachoSoto (@NachoSoto) * `Configuration.Builder.with(entitlementVerificationMode:)`: improved documentation (RevenueCat#2334) via NachoSoto (@NachoSoto) * `ETagManager`: don't ignore failed etags with `Signing.VerificationMode.informational` (RevenueCat#2331) via NachoSoto (@NachoSoto) * `IdentityManager`: clear `ETagManager` and `DeviceCache` if verification is enabled but cached `CustomerInfo` is not (RevenueCat#2330) via NachoSoto (@NachoSoto) * Made `Configuration.EntitlementVerificationMode.enforced` unavailable (RevenueCat#2329) via NachoSoto (@NachoSoto) * Refactor: reorganized files in new Security and Misc folders (RevenueCat#2326) via NachoSoto (@NachoSoto) * `CustomerInfo`: use same grace period logic for active subscriptions (RevenueCat#2327) via NachoSoto (@NachoSoto) * `HTTPClient`: don't verify 4xx/5xx responses (RevenueCat#2322) via NachoSoto (@NachoSoto) * `EntitlementInfo`: request date is not optional (RevenueCat#2325) via NachoSoto (@NachoSoto) * `CustomerInfo`: removed `entitlementVerification` (RevenueCat#2320) via NachoSoto (@NachoSoto) * Renamed `VerificationResult.notVerified` to `.notRequested` (RevenueCat#2321) via NachoSoto (@NachoSoto) * `EntitlementInfo`: add a grace period limit to outdated entitlements (RevenueCat#2288) via NachoSoto (@NachoSoto) * Update `CustomerInfo.requestDate` from 304 responses (RevenueCat#2310) via NachoSoto (@NachoSoto) * `Signing`: added request time & eTag to signature verification (RevenueCat#2309) via NachoSoto (@NachoSoto) * `HTTPClient`: changed header search to be case-insensitive (RevenueCat#2308) via NachoSoto (@NachoSoto) * `HTTPClient`: automatically add `nonce` based on `HTTPRequest.Path` (RevenueCat#2286) via NachoSoto (@NachoSoto) * `PurchaseTester`: added ability to reload `CustomerInfo` with a custom `CacheFetchPolicy` (RevenueCat#2312) via NachoSoto (@NachoSoto) * Fix issue where underlying error information for product fetch errors was not printed in log. (RevenueCat#2281) via Chris Vasselli (@chrisvasselli) * `PurchaseTester`: added ability to set `Configuration.EntitlementVerificationMode` (RevenueCat#2290) via NachoSoto (@NachoSoto) * SwiftUI: Paywall View should respond to changes on the UserView model (RevenueCat#2297) via ConfusedVorlon (@ConfusedVorlon) * Deprecate `usesStoreKit2IfAvailable` (RevenueCat#2293) via Andy Boedo (@aboedo) * `Signing`: updated to use production public key (RevenueCat#2274) via NachoSoto (@NachoSoto) </details> --------- Co-authored-by: RCGitBot <dev+RCGitBot@revenuecat.com>
NachoSoto
commented
May 25, 2023
| @@ -1,3 +1,88 @@ | |||
| ## 4.18.1 | |||
Contributor
Author
There was a problem hiding this comment.
Oops this was wrong, should have been 4.19.0. Will fix.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Features
ErrorCode.signatureVerificationFailedwhich will be used for an upcoming featureBugfixes
Purchases.deinit: don't resetPurchases.proxyURL(Purchases.deinit: don't resetPurchases.proxyURL#2346) via NachoSoto (@NachoSoto)Other Changes
Configuration.EntitlementVerificationModeandVerificationResult(IntroducedConfiguration.EntitlementVerificationModeandVerificationResult#2277) via NachoSoto (@NachoSoto)PurchasesDiagnostics: added step to verify signature verification (PurchasesDiagnostics: added step to verify signature verification #2267) via NachoSoto (@NachoSoto)HTTPClient: added signature validation and introducedErrorCode.signatureVerificationFailed(HTTPClient: added signature validation and introducedErrorCode.signatureVerificationFailed#2272) via NachoSoto (@NachoSoto)ETagManager: don't use ETags if response verification failed (ETagManager: don't use ETags if response verification failed #2347) via NachoSoto (@NachoSoto)Integration Tests: removed@preconcurrency import(Integration Tests: removed@preconcurrency import#2464) via NachoSoto (@NachoSoto)ReceiptParserTests-Info.plistout of root (Clean up: movedReceiptParserTests-Info.plistout of root #2460) via NachoSoto (@NachoSoto)CHANGELOG(UpdateCHANGELOG#2461) via NachoSoto (@NachoSoto)SwiftSnapshotTesting(UpdateSwiftSnapshotTesting#2453) via NachoSoto (@NachoSoto)ProductEntitlementMapping: enabled entitlement mapping fetching (ProductEntitlementMapping: enabled entitlement mapping fetching #2425) via NachoSoto (@NachoSoto)BackendPostReceiptDataTests: increased timeout to fix flaky test (BackendPostReceiptDataTests: increased timeout to fix flaky test #2426) via NachoSoto (@NachoSoto)Integration Tests: fixed flaky errors when loading offerings (Integration Tests: fixed flaky errors when loading offerings #2420) via NachoSoto (@NachoSoto)PurchaseTester: fixed compilation forinternalentitlement verification (PurchaseTester: fixed compilation forinternalentitlement verification #2417) via NachoSoto (@NachoSoto)ETagManager/HTTPClient: sending newX-RC-Last-Refresh-Timeheader (ETagManager/HTTPClient: sending newX-RC-Last-Refresh-Timeheader #2373) via NachoSoto (@NachoSoto)ETagManager: don't send validation time if not present (ETagManager: don't send validation time if not present #2490) via NachoSoto (@NachoSoto)VerificationResult.verifiedOnDevice(Added newVerificationResult.verifiedOnDevice#2379) via NachoSoto (@NachoSoto)PurchaseTester: fix memory leaks (PurchaseTester: fix memory leaks #2392) via Keita Watanabe (@kitwtnb)Offline Entitlements: createdLoadShedderIntegrationTests(Offline Entitlements: createdLoadShedderIntegrationTests#2362) via NachoSoto (@NachoSoto)SubscriberAttributesManagerIntegrationTests: fixed flaky failures (SubscriberAttributesManagerIntegrationTests: fixed flaky failures #2381) via NachoSoto (@NachoSoto)@DefaultDecodable.Now: fixed flaky test (@DefaultDecodable.Now: fixed flaky test #2374) via NachoSoto (@NachoSoto)PurchaseTesterSwiftUI: fixed iOS compilation (PurchaseTesterSwiftUI: fixed iOS compilation #2376) via NachoSoto (@NachoSoto)SubscriberAttributesManagerIntegrationTests: fixed potential race condition (SubscriberAttributesManagerIntegrationTests: fixed potential race condition #2380) via NachoSoto (@NachoSoto)Offline Entitlements: createCustomerInfofrom offline entitlements (Offline Entitlements: createCustomerInfofrom offline entitlements #2358) via NachoSoto (@NachoSoto)@DefaultDecodable.Now(Added@DefaultDecodable.Now#2372) via NachoSoto (@NachoSoto)HTTPClient: debug log when performing redirects (HTTPClient: debug log when performing redirects #2371) via NachoSoto (@NachoSoto)HTTPClient: new flag to force server errors (HTTPClient: new flag to force server errors #2370) via NachoSoto (@NachoSoto)OfferingsManager: fixed Xcode 13.x build (OfferingsManager: fixed Xcode 13.x build #2369) via NachoSoto (@NachoSoto)Offline Entitlements: storeProductEntitlementMappingin cache (Offline Entitlements: storeProductEntitlementMappingin cache #2355) via NachoSoto (@NachoSoto)Offline Entitlements: added support for fetchingProductEntitlementMappingResponseinOfflineEntitlementsAPI(Offline Entitlements: added support for fetchingProductEntitlementMappingResponseinOfflineEntitlementsAPI#2353) via NachoSoto (@NachoSoto)Offline Entitlements: createdProductEntitlementMapping(Offline Entitlements: createdProductEntitlementMapping#2365) via NachoSoto (@NachoSoto)NetworkError.isServerDown(ImplementedNetworkError.isServerDown#2367) via NachoSoto (@NachoSoto)ETagManager: added test for 304 responses with no etag (ETagManager: added test for 304 responses with no etag #2360) via NachoSoto (@NachoSoto)TestLogHandler: increased default capacity (TestLogHandler: increased default capacity #2357) via NachoSoto (@NachoSoto)OfferingsManager: moved log to common method to remove hardcoded string (OfferingsManager: moved log to common method to remove hardcoded string #2363) via NachoSoto (@NachoSoto)Offline Entitlements: createdProductEntitlementMappingResponse(Offline Entitlements: createdProductEntitlementMappingResponse#2351) via NachoSoto (@NachoSoto)HTTPClient: added test for 2xx response for request with etag (HTTPClient: added test for 2xx response for request with etag #2361) via NachoSoto (@NachoSoto)PurchaseTesterSwiftUIimprovements (PurchaseTesterSwiftUIimprovements #2345) via NachoSoto (@NachoSoto)ConfigureStrings: fixed double-space typo (ConfigureStrings: fixed double-space typo #2344) via NachoSoto (@NachoSoto)ETagManagerTests: fixed tests on iOS 12 (ETagManagerTests: fixed tests on iOS 12 #2349) via NachoSoto (@NachoSoto)DeviceCache: simplified constructor (DeviceCache: simplified constructor #2354) via NachoSoto (@NachoSoto)Trusted Entitlements: changed all APIs tointernal(Trusted Entitlements: changed all APIs tointernal#2350) via NachoSoto (@NachoSoto)VerificationResult.notRequested: removed caching reference (VerificationResult.notRequested: removed caching reference #2337) via NachoSoto (@NachoSoto)HTTPClienttests (Finished signature verificationHTTPClienttests #2333) via NachoSoto (@NachoSoto)Configuration.Builder.with(entitlementVerificationMode:): improved documentation (Configuration.Builder.with(entitlementVerificationMode:): improved documentation #2334) via NachoSoto (@NachoSoto)ETagManager: don't ignore failed etags withSigning.VerificationMode.informational(ETagManager: don't ignore failed etags withSigning.VerificationMode.informational#2331) via NachoSoto (@NachoSoto)IdentityManager: clearETagManagerandDeviceCacheif verification is enabled but cachedCustomerInfois not (IdentityManager: clearETagManagerandDeviceCacheif verification is enabled but cachedCustomerInfois not #2330) via NachoSoto (@NachoSoto)Configuration.EntitlementVerificationMode.enforcedunavailable (MadeConfiguration.EntitlementVerificationMode.enforcedunavailable #2329) via NachoSoto (@NachoSoto)CustomerInfo: use same grace period logic for active subscriptions (CustomerInfo: use same grace period logic for active subscriptions #2327) via NachoSoto (@NachoSoto)HTTPClient: don't verify 4xx/5xx responses (HTTPClient: don't verify 4xx/5xx responses #2322) via NachoSoto (@NachoSoto)EntitlementInfo: request date is not optional (EntitlementInfo: request date is not optional #2325) via NachoSoto (@NachoSoto)CustomerInfo: removedentitlementVerification(CustomerInfo: removedentitlementVerification#2320) via NachoSoto (@NachoSoto)VerificationResult.notVerifiedto.notRequested(RenamedVerificationResult.notVerifiedto.notRequested#2321) via NachoSoto (@NachoSoto)EntitlementInfo: add a grace period limit to outdated entitlements (EntitlementInfo: add a grace period limit to outdated entitlements #2288) via NachoSoto (@NachoSoto)CustomerInfo.requestDatefrom 304 responses (UpdateCustomerInfo.requestDatefrom 304 responses #2310) via NachoSoto (@NachoSoto)Signing: added request time & eTag to signature verification (Signing: added request time & eTag to signature verification #2309) via NachoSoto (@NachoSoto)HTTPClient: changed header search to be case-insensitive (HTTPClient: changed header search to be case-insensitive #2308) via NachoSoto (@NachoSoto)HTTPClient: automatically addnoncebased onHTTPRequest.Path(HTTPClient: automatically addnoncebased onHTTPRequest.Path#2286) via NachoSoto (@NachoSoto)PurchaseTester: added ability to reloadCustomerInfowith a customCacheFetchPolicy(PurchaseTester: added ability to reloadCustomerInfowith a customCacheFetchPolicy#2312) via NachoSoto (@NachoSoto)PurchaseTester: added ability to setConfiguration.EntitlementVerificationMode(PurchaseTester: added ability to setConfiguration.EntitlementVerificationMode#2290) via NachoSoto (@NachoSoto)usesStoreKit2IfAvailable(DeprecateusesStoreKit2IfAvailable#2293) via Andy Boedo (@aboedo)Signing: updated to use production public key (Signing: updated to use production public key #2274) via NachoSoto (@NachoSoto)