Skip to content

Un-deprecate Purchases.configure(withAPIKey:appUserID:) and Purchases.configure(withAPIKey:appUserID:observerMode:)#2129

Merged
NachoSoto merged 1 commit into
mainfrom
configuration-undeprecate
Dec 13, 2022
Merged

Un-deprecate Purchases.configure(withAPIKey:appUserID:) and Purchases.configure(withAPIKey:appUserID:observerMode:)#2129
NachoSoto merged 1 commit into
mainfrom
configuration-undeprecate

Conversation

@NachoSoto

@NachoSoto NachoSoto commented Dec 9, 2022

Copy link
Copy Markdown
Contributor

Fixes CSDK-544.

This makes these 2 common configuration patterns a bit simpler than using Configuration.Builder.
I've also updated the docs in https://docs-origin.revenuecat.com/docs/configuring-sdk

The documentation is the same as the old one (see https://github.com/RevenueCat/purchases-ios/blob/5679b2b954c9bfda0d7bddb3e43cdd4dcc489519/Sources/Purchasing/Purchases.swift).

@NachoSoto NachoSoto added the pr:fix A bug fix label Dec 9, 2022
@NachoSoto NachoSoto requested a review from a team December 9, 2022 20:23
@NachoSoto NachoSoto merged commit f4d5b51 into main Dec 13, 2022
@NachoSoto NachoSoto deleted the configuration-undeprecate branch December 13, 2022 16:25
NachoSoto pushed a commit that referenced this pull request Dec 14, 2022
**This is an automatic release.**

### Bugfixes
* Un-deprecate `Purchases.configure(withAPIKey:appUserID:)` and
`Purchases.configure(withAPIKey:appUserID:observerMode:)` (#2129) via
NachoSoto (@NachoSoto)
### Other Changes
* `ReceiptFetcherTests`: refactored tests using `waitUntilValue` (#2144)
via NachoSoto (@NachoSoto)
* Added a few performance improvements for `ReceiptParser` (#2124) via
NachoSoto (@NachoSoto)
* `CallbackCache`: fixed reference (#2143) via NachoSoto (@NachoSoto)
* `PostReceiptDataOperation`: clarified receipt debug log (#2128) via
NachoSoto (@NachoSoto)
* `CallbackCache`: avoid exposing internal mutable cache (#2136) via
NachoSoto (@NachoSoto)
* `CallbackCache`: added assertion for tests to ensure we don't leak
callbacks (#2137) via NachoSoto (@NachoSoto)
* `NetworkOperation`: made `Atomic` references immutable (#2139) via
NachoSoto (@NachoSoto)
* `ReceiptParser`: ensure parsing never happens in the main thread
(#2123) via NachoSoto (@NachoSoto)
* `PostReceiptDataOperation`: also print receipt data with `verbose`
logs (#2127) via NachoSoto (@NachoSoto)
* `BasePurchasesTests`: detecting and fixing many `DeviceCache` leaks
(#2105) via NachoSoto (@NachoSoto)
* `StoreKitIntegrationTests`: added test to check applying a promotional
offer during subscription (#1588) via NachoSoto (@NachoSoto)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants