Commit Graph
313 Commits
Author SHA1 Message Date
RevenueCat Releases f6e4258fa7 [AUTOMATIC] Release/4.13.2 (#1980) 2022-10-15 03:27:56 -07:00
RevenueCat ReleasesandDistiller 3f76556d1f Prepare next version: 4.14.0-SNAPSHOT (#1953)
Co-authored-by: Distiller <distiller@static.198.206.135.114.macminivault.com>
2022-09-28 13:10:13 -07:00
RevenueCat ReleasesandRCGitBot 242ba62186 [AUTOMATIC] Release/4.13.1 (#1950)
**This is an automatic release.**

### Other Changes
* `ProductsFetcherSK2`: removed now redundant caching logic (#1908) via
NachoSoto (@NachoSoto)
* Created `CachingProductsManager` to provide consistent caching logic
when fetching products (#1907) via NachoSoto (@NachoSoto)
* Refactored `ReceiptFetcher.receiptData` (#1941) via NachoSoto
(@NachoSoto)
* Abstracted conversion from `async` to completion-block APIs (#1943)
via NachoSoto (@NachoSoto)
* Moved `InAppPurchase` into `AppleReceipt` (#1942) via NachoSoto
(@NachoSoto)
* `Purchases+async`: combined `@available` statements into a single one
(#1944) via NachoSoto (@NachoSoto)
* `Integration Tests`: don't initialize `Purchases` until the
`SKTestSession` has been re-created (#1946) via NachoSoto (@NachoSoto)
* `PostReceiptDataOperation`: print receipt data if `debug` logs are
enabled (#1940) via NachoSoto (@NachoSoto)

Co-authored-by: RCGitBot <dev+RCGitBot@revenuecat.com>
2022-09-28 13:05:44 -07:00
RevenueCat ReleasesandDistiller b4e095ede2 Prepare next version: 4.14.0-SNAPSHOT (#1939)
Co-authored-by: Distiller <distiller@static.38.39.185.50.cyberlynk.net>
2022-09-27 11:47:08 -07:00
NachoSoto 423057cd61 [AUTOMATIC] Release/4.13.0 (#1938)
**This is an automatic release.**

### New Features
* 🚨 `StoreKit 2` is now enabled by default 🚨 (#1922) via NachoSoto
(@NachoSoto)
* Extracted `PurchasesType` and `PurchasesSwiftType` (#1912) via
NachoSoto (@NachoSoto)
### Bugfixes
* `StoreKit 1`: changed result of cancelled purchases to be consistent
with `StoreKit 2` (#1910) via NachoSoto (@NachoSoto)
* `PaymentQueueWrapper`: handle promotional purchase requests from App
Store when SK1 is disabled (#1901) via NachoSoto (@NachoSoto)
### Other Changes
* Fixed iOS 12 tests (#1936) via NachoSoto (@NachoSoto)
* `CacheableNetworkOperation`: fixed race condition in new test (#1932)
via NachoSoto (@NachoSoto)
* `BasePurchasesTests`: changed default back to SK1 (#1935) via
NachoSoto (@NachoSoto)
* `Logger`: refactored default `LogLevel` definition (#1934) via
NachoSoto (@NachoSoto)
* `AppleReceipt`: refactored declarations into nested types (#1933) via
NachoSoto (@NachoSoto)
* `Integration Tests`: relaunch tests when retrying failures (#1925) via
NachoSoto (@NachoSoto)
* `CircleCI`: downgraded release jobs to Xcode 13.x (#1927) via
NachoSoto (@NachoSoto)
* `ErrorUtils`: added test to verify that `PublicError`s can be
`catch`'d as `ErrorCode` (#1924) via NachoSoto (@NachoSoto)
* `StoreKitIntegrationTests`: print `AppleReceipt` data whenever
`verifyEntitlementWentThrough` fails (#1929) via NachoSoto (@NachoSoto)
* `OperationQueue`: log debug message when requests are found in cache
and skipped (#1926) via NachoSoto (@NachoSoto)
* `GetCustomerInfoAPI`: avoid making a request if there's any
`PostReceiptDataOperation` in progress (#1911) via NachoSoto
(@NachoSoto)
* `PurchaseTester`: allow HTTP requests and enable setting `ProxyURL`
(#1917) via NachoSoto (@NachoSoto)
2022-09-27 11:00:38 -07:00
RevenueCat ReleasesandDistiller 19f4b76a30 Prepare next version: 4.13.0-SNAPSHOT (#1937)
Co-authored-by: Distiller <distiller@static.38.23.38.190.cyberlynk.net>
2022-09-23 13:34:18 -07:00
RevenueCat Releases a13fc8d1d2 [AUTOMATIC] Release/4.12.1 (#1923)
**This is an automatic release.**

### Bugfixes
* `Purchases.beginRefundRequest`: ensured errors are `PublicError`
(#1913) via NachoSoto (@NachoSoto)
* `PurchaseTesterSwiftUI`: fixed macOS target (#1915) via NachoSoto
(@NachoSoto)
### Other Changes
* `SnapshotTesting`: require version 1.9.0 to keep supporting iOS 12/13
tests (#1931) via NachoSoto (@NachoSoto)
* Fixed `tvOS` tests (#1928) via NachoSoto (@NachoSoto)
* `pre-commit` hook: also verify leftover API keys in `PurchaseTester`
(#1914) via NachoSoto (@NachoSoto)
* `CircleCI`: changed iOS 12/13 to use Xcode 13 (#1918) via NachoSoto
(@NachoSoto)
* `PurchaseTesterSwiftUI`: removed unnecessary `UIApplicationDelegate`
(#1916) via NachoSoto (@NachoSoto)
* `CircleCI`: changed all jobs to use Xcode 14 (#1909) via NachoSoto
(@NachoSoto)
* `Atomic`: added unit test to verify `value`'s setter (#1905) via
NachoSoto (@NachoSoto)
* `spm build` CI job: changed to release build (#1903) via NachoSoto
(@NachoSoto)
* `StoreKitUnitTests`: compile on iOS 11.0+ (#1904) via NachoSoto
(@NachoSoto)
* `Purchases`: only expose testing data on `DEBUG` (#1902) via NachoSoto
(@NachoSoto)
* `Integration Tests`: added test to verify re-subscription behavior
(#1898) via NachoSoto (@NachoSoto)
* `IntegrationTests`: simplified `testExpireSubscription` to fix flaky
test (#1899) via NachoSoto (@NachoSoto)
* `Integration Tests`: actually verify that entitlement is active
(#1880) via NachoSoto (@NachoSoto)
2022-09-23 13:30:46 -07:00
RevenueCat ReleasesandDistiller dcceb9f251 Preparing for next version (#1897)
Co-authored-by: Distiller <distiller@static.38.23.40.57.cyberlynk.net>
2022-09-08 14:21:45 -07:00
RevenueCat Releases 51f4834529 [AUTOMATIC] Release/4.12.0 (#1890)
**This is an automatic release.**

### Bugfixes
* `watchOS`: fixed crash when ran on single-target apps with Xcode 14 and before `watchOS 9.0` (#1895) via NachoSoto (@NachoSoto)
* `CustomerInfoManager`/`OfferingsManager`: improved display of underlying errors (#1888) via NachoSoto (@NachoSoto)
* `Offering`: improved confusing log for `PackageType.custom` (#1884) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator`: don't log warning if `allowSharingAppStoreAccount` setting was never explicitly set (#1885) via NachoSoto (@NachoSoto)
* Introduced type-safe `PurchasesError` and fixed some incorrect returned error types (#1879) via NachoSoto (@NachoSoto)
* `CustomerInfoManager`: fixed thread-unsafe implementation (#1878) via NachoSoto (@NachoSoto)
### New Features
* Disable SK1's `StoreKitWrapper` if SK2 is enabled and available (#1882) via NachoSoto (@NachoSoto)
* `Sendable` support (#1795) via NachoSoto (@NachoSoto)
### Other Changes
* Renamed `StoreKitWrapper` to `StoreKit1Wrapper` (#1886) via NachoSoto (@NachoSoto)
* Enabled `DEAD_CODE_STRIPPING` (#1887) via NachoSoto (@NachoSoto)
* `HTTPClient`: added `X-Client-Bundle-ID` and logged on SDK initialization (#1883) via NachoSoto (@NachoSoto)
* add link to SDK reference (#1872) via Andy Boedo (@aboedo)
* Added `StoreKit2Setting.shouldOnlyUseStoreKit2` (#1881) via NachoSoto (@NachoSoto)
* Introduced `TestLogHandler` to simplify how we test logged messages (#1858) via NachoSoto (@NachoSoto)
* `Integration Tests`: added test for purchasing `StoreProduct` instead of `Package` (#1875) via NachoSoto (@NachoSoto)
* `ErrorUtils`: added test to verify that returned errors can be converted to `ErrorCode` (#1871) via NachoSoto (@NachoSoto)
2022-09-08 14:11:43 -07:00
RevenueCat ReleasesandDistiller 0944a16c5a Preparing for next version (#1874)
Co-authored-by: Distiller <distiller@static.38.23.40.96.cyberlynk.net>
2022-08-31 10:48:47 -07:00
RevenueCat Git BotandCesar de la Vega a1c1a3c496 [AUTOMATIC] Release/4.11.0 (#1873)
Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
2022-08-30 15:08:30 -07:00
Cesar de la Vega ef1250202c Release/4.10.3 (#1867) 2022-08-26 15:22:53 -07:00
NachoSoto ea105e3172 Prepare next version: 4.11.0-SNAPSHOT (#1854) 2022-08-19 07:25:51 -07:00
NachoSoto 2099e2ef55 Release/4.10.2 (#1848)
### Bugfixes
* `ErrorResponse`: don't add attribute errors to message if empty (#1844) via NachoSoto (@NachoSoto)
* Purchase cancellations: unify behavior between SK1 and SK2 (#1841) via NachoSoto (@NachoSoto)
* StoreKit 2: `PurchasesOrchestrator`: don't log "purchased product" if it was cancelled (#1840) via NachoSoto (@NachoSoto)
* `Backend`: fixed potential race conditions introduced by `OperationDispatcher.dispatchOnWorkerThread(withRandomDelay:)` (#1827) via NachoSoto (@NachoSoto)
* `DeviceCache`: `Sendable` conformance and fixed thread-safety (#1823) via NachoSoto (@NachoSoto)
* Directly send delegate customer info when delegate is set (always sends cached CustomerInfo value) (#1828) via Josh Holtz (@joshdholtz)
* `SystemInfo.finishTransactions`: made thread-safe (#1807) via NachoSoto (@NachoSoto)
* `Purchases.shared` and `Purchases.isConfigured` are now thread-safe (#1813) via NachoSoto (@NachoSoto)
* `PriceFormatterProvider: Sendable` conformance and fixed thread-safety (#1818) via NachoSoto (@NachoSoto)
* `StoreKitConfigTestCase.changeStorefront`: re-enabled on iOS 16 (#1811) via NachoSoto (@NachoSoto)

### Other Changes
* `DeviceCache`: no longer set cache timestamp before beginning request (#1839) via NachoSoto (@NachoSoto)
* `MagicWeatherSwiftUI`: updated to use `async` APIs (#1843) via NachoSoto (@NachoSoto)
* Release train (#1842) via Cesar de la Vega (@vegaro)
* Adds hotfixes section to RELEASING doc (#1837) via Cesar de la Vega (@vegaro)
* Update fastlane plugin (#1838) via Toni Rico (@tonidero)
* Update migration doc from didReceiveUpdatedCustomerInfo to receivedUpdatedCustomerInfo (#1836) via Josh Holtz (@joshdholtz)
* `PurchasesDelegate`: added test for latest cached customer info always being sent (#1830) via NachoSoto (@NachoSoto)
* `CallbackCache: Sendable` conformance (#1835) via NachoSoto (@NachoSoto)
* `CallbackCache`: simplified implementation using `Atomic` (#1834) via NachoSoto (@NachoSoto)
* `PurchasesLogInTests`: added test to verify `logIn` updates offerings cache (#1833) via NachoSoto (@NachoSoto)
* Created `PurchasesLoginTests` (#1832) via NachoSoto (@NachoSoto)
* `SwiftLint`: cleaned up output (#1821) via NachoSoto (@NachoSoto)
* Link to sdk reference (#1831) via aboedo (@aboedo)
* `Atomic: ExpressibleByBooleanLiteral` (#1822) via NachoSoto (@NachoSoto)
* `SwiftLint`: fixed build warning (#1820) via NachoSoto (@NachoSoto)
* Adds an approval job that will tag the release (#1815) via Cesar de la Vega (@vegaro)
* `Atomic: ExpressibleByNilLiteral` (#1804) via NachoSoto (@NachoSoto)
* `PurchasesAttributionDataTests`: fixed potential race condition in flaky test (#1805) via NachoSoto (@NachoSoto)
* Fixed warnings for unnecessary `try` (#1816) via NachoSoto (@NachoSoto)
* Moved `AttributionFetcherError` inside `AttributionFetcher` (#1808) via NachoSoto (@NachoSoto)
* Update documentation for presentCodeRedemptionSheet (#1817) via Joshua Liebowitz (@taquitos)
* `Dangerfile`: added "next_release" as supported label (#1810) via NachoSoto (@NachoSoto)
* PurchaseTester- Update Podfile.lock (#1814) via Joshua Liebowitz (@taquitos)
* Update to latest fastlane plugin (#1802) via Toni Rico (@tonidero)
* Clean up: moved `BackendIntegrationTests.xctestplan` to `TestPlans` folder (#1812) via NachoSoto (@NachoSoto)
* `SK2StoreProduct`: conditionally removed `@available` workaround (#1794) via NachoSoto (@NachoSoto)
* `SwiftLint`: fixed deprecation warning (#1809) via NachoSoto (@NachoSoto)
* Update gems (#1791) via Joshua Liebowitz (@taquitos)
* Replace usages of replace_in with replace_text_in_files action (#1803) via Toni Rico (@tonidero)
2022-08-18 19:59:22 -07:00
Josh Holtz 0d2e858e7d Preparing for next version (#1801) 2022-08-09 13:50:22 -07:00
Josh Holtz 7ff1261d7b Release/4.10.0 (#1800)
* Version bump for 4.10.0

* Update RevenueCat-Swift.h for version 4.10.0

* Update changelog

* Using replace_in from plugin helper

* [ci skip] Updating CHANGELOG.md
2022-08-08 13:56:52 -05:00
RevenueCat ReleasesandDistiller 9b5b3f26e6 Preparing for next version (#1790)
Co-authored-by: Distiller <distiller@static.38.23.38.46.cyberlynk.net>
2022-08-02 11:31:24 -07:00
NachoSoto 6bba57d6a3 Release/4.9.1 (#1782)
### 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)
2022-08-01 10:04:20 -07:00
RevenueCat ReleasesandDistiller 5247ab01b6 Preparing for next version (#1763)
Co-authored-by: Distiller <distiller@static.38.23.38.65.cyberlynk.net>
2022-07-13 13:50:17 -07:00
Joshua Liebowitz fe34b33df5 Release/4.9.0 (#1762)
* Version bump for 4.9.0
* Update RevenueCat-Swift.h for version 4.9.0
2022-07-13 13:15:50 -07:00
Joshua Liebowitz 5096260140 Release/4.8.0 (#1758)
* Version bump for 4.8.0
* Update RevenueCat-Swift.h for version 4.8.0
2022-07-12 15:08:14 -07:00
cfdd80f73d Prepare next version: 4.8.0-SNAPSHOT (#1750)
* Preparing for next version

* Remove prerelease modifiers from plist files

Co-authored-by: Distiller <distiller@static.198.206.135.57.macminivault.com>
Co-authored-by: Toni Rico <antonio.rico.diez@revenuecat.com>
2022-07-05 06:50:37 +02:00
NachoSoto bb8687d511 Release/4.7.0 (#1745)
### Changes:
* Replaced `CustomerInfo.nonSubscriptionTransactions` with a new non-`StoreTransaction` type (#1733) via NachoSoto (@NachoSoto)
* `Purchases.configure`: added overload taking a `Configuration.Builder` (#1720) via NachoSoto (@NachoSoto)
* Extract Attribution logic out of Purchases (#1693) via Joshua Liebowitz (@taquitos)
* Remove create alias (#1695) via Joshua Liebowitz (@taquitos)

All attribution APIs can now be accessed from `Purchases.shared.attribution`.

### Improvements:
* Improved purchasing logs, added promotional offer information (#1725) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator`: don't log attribute errors if there are none (#1742) via NachoSoto (@NachoSoto)
* `FatalErrorUtil`: don't override `fatalError` on release builds (#1736) via NachoSoto (@NachoSoto)
* `SKPaymentTransaction`: added more context to warnings about missing properties (#1731) via NachoSoto (@NachoSoto)
* New SwiftUI Purchase Tester example (#1722) via Josh Holtz (@joshdholtz)
* update docs for `showManageSubscriptions` (#1729) via aboedo (@aboedo)
* `PurchasesOrchestrator`: unify finish transactions between SK1 and SK2 (#1704) via NachoSoto (@NachoSoto)
* `SubscriberAttribute`: converted into `struct` (#1648) via NachoSoto (@NachoSoto)
* `CacheFetchPolicy.notStaleCachedOrFetched`: added warning to docstring (#1708) via NachoSoto (@NachoSoto)
* Clear cached offerings and products after Storefront changes (2/4) (#1583) via Juanpe Catalán (@Juanpe)
* `ROT13`: optimized initialization and removed magic numbers (#1702) via NachoSoto (@NachoSoto)

### Fixes:
* `logIn`/`logOut`: sync attributes before aliasing (#1716) via NachoSoto (@NachoSoto)
* `Purchases.customerInfo(fetchPolicy:)`: actually use `fetchPolicy` parameter (#1721) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator`: fix behavior dealing with `nil` `SKPaymentTransaction.productIdentifier` during purchase (#1680) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator.handlePurchasedTransaction`: always refresh receipt data (#1703) via NachoSoto (@NachoSoto)
2022-07-04 07:27:41 -07:00
RevenueCat ReleasesandDistiller b0440f6a98 Preparing for next version (#1692)
Co-authored-by: Distiller <distiller@Mac.local>
2022-06-14 11:39:47 -07:00
NachoSoto 9d092a1c79 Release/4.6.1
_This release is compatible with Xcode 14 beta 1_

### Bug fixes

* `EntitlementInfo.isActive` returns true if `requestDate == expirationDate` (#1684) via beylmk (@beylmk)
* Fixed usages of `seealso` (#1689) via NachoSoto (@NachoSoto)
* Fixed `ROT13.string` thread-safety (#1686) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator`: replaced calls to `syncPurchases` with posting receipt for an individual product during SK2 purchases (#1666) via NachoSoto (@NachoSoto)
2022-06-10 13:02:56 -07:00
RevenueCat ReleasesandDistiller f5367bf98d Preparing for next version (#1682)
Co-authored-by: Distiller <distiller@static.38.39.184.153.cyberlynk.net>
2022-06-09 14:06:43 -07:00
NachoSoto 6d015ee353 Release/4.6.0
_This release is compatible with Xcode 14 beta 1_

### New Features

* `EntitlementInfos`: added `activeInAnyEnvironment` and `activeInCurrentEnvironment` (#1647) via NachoSoto (@NachoSoto)

In addition to `EntitlementInfos.active`, two new methods are added to allow detecting entitlements from sandbox and production environments:
```swift
customerInfo.entitlements.activeInCurrentEnvironment
customerInfo.entitlements.activeInAnyEnvironment
```

### Bug fixes

* `MacDevice`: changed usage of `kIOMasterPortDefault` to fix Catalyst compilation on Xcode 14 (#1676) via NachoSoto (@NachoSoto)
* `Result.init(value:error:)`: avoid creating error if value is provided (#1672) via NachoSoto (@NachoSoto)
2022-06-09 13:48:33 -07:00
RevenueCat Releases 7bea8b1869 Preparing for next version (#1675) 2022-06-07 18:43:21 -07:00
NachoSoto 13750c2335 Release/4.5.2 (#1674)
_This version supports Xcode 14 beta 1_

* `PurchasesOrchestrator.handleDeferredTransaction`: check `NSError.domain` too (#1665) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator`: replaced manual `Lock` with `Atomic` (#1664) via NachoSoto (@NachoSoto)
* `CodableStrings.decoding_error`: added underlying error information (#1668) via NachoSoto (@NachoSoto)
* Fixed Xcode 14 compilation: avoid `@available` properties (#1661) via NachoSoto (@NachoSoto)
2022-06-07 16:54:29 -07:00
RevenueCat ReleasesandDistiller c3eefe46d9 Preparing for next version (#1646)
Co-authored-by: Distiller <distiller@Mac-2.local>
2022-06-02 12:24:36 -07:00
NachoSoto d8910ba956 Release/4.5.0 (#1643)
### New Features
* `Purchases.customerInfo()`: added overload with a new `CacheFetchPolicy` (#1608) via NachoSoto (@NachoSoto)
* `Storefront`: added `sk1CurrentStorefront` for Objective-C (#1614) via NachoSoto (@NachoSoto)

### Bug Fixes
* Fix for not being able to read receipts on watchOS (#1625) via Patrick Busch (@patrickbusch)

### Other Changes
* Added tests for `PurchasesOrchestrator` invoking `listenForTransactions` only if SK2 is enabled (#1618) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator`: removed `lazy` hack for properties with `@available` (#1596) via NachoSoto (@NachoSoto)
* `PurchasesOrchestrator.purchase(sk2Product:promotionalOffer:)`: simplified implementation with new operator (#1602) via NachoSoto (@NachoSoto)
2022-06-02 12:03:46 -07:00
RevenueCat ReleasesandDistiller 77d849acb3 Preparing for next version (#1622)
Co-authored-by: Distiller <distiller@Mac.local>
2022-05-26 18:49:51 -03:00
Josh HoltzandNachoSoto 192fa9be8f Release/4.4.0 (#1617)
* Version bump for 4.4.0

* Updated changelogs

* Updated `RevenueCat-Swift.h`

Co-authored-by: NachoSoto <ignaciosoto90@gmail.com>
2022-05-26 16:25:29 -05:00
RevenueCat ReleasesandNachoSoto 1ddbc2511c Preparing for next version (#1533)
Co-authored-by: NachoSoto <ignaciosoto90@gmail.com>
2022-04-26 15:04:50 -03:00
NachoSoto f36d596e80 Release/4.3.0 (#1524)
#### API updates:

- Introduced new `Storefront` type to abstract SK1's `SKStorefront` and SK2's `StoreKit.Storefront`.
- Exposed `Storefront.currentStorefront`.
- Added new `ErrorCode.offlineConnectionError` to differenciate offline errors versus the more generic `.networkError`.
- Added `Purchases-setFirebaseAppInstanceID` to allow associating RevenueCat users with Firebase.
- Added `Purchases.setPushTokenString` as an overload to `Purchases.setPushToken`.
- Renamed `PurchasesDelegate.purchases(_:shouldPurchasePromoProduct:defermentBlock:)` to `PurchasesDelegate.purchases(_ purchases: Purchases, readyForPromotedProduct product: StoreProduct, purchase:)` to clarify its usage (see #1460).

#### Other:

- Many improvements to error reporting and logging to help debugging.
- Optimized StoreKit 2 purchasing by eliminating a duplicate API request.
- A lot of under-the-hood improvements, mainly focusing on networking. If you see any issues we'd appreciate [bug reports](https://github.com/RevenueCat/purchases-ios/issues/new?assignees=&labels=bug&template=bug_report.md&title=)!
2022-04-25 11:38:01 -07:00
RevenueCat ReleasesandDistiller 20f00982db Preparing for next version (#1483)
Co-authored-by: Distiller <distiller@static.38.39.184.191.cyberlynk.net>
2022-04-08 15:36:26 -07:00
NachoSoto 56f6124605 Release/4.2.1 (#1482)
### Version 4.2.1 changes:

- Fixed a potential race condition when syncing user attributes #1479

### Version 4.2.0 changes:

#### API updates:

- Added new method `setMixpanelDistinctID` as a convenience method for setting the required attribute for the Mixpanel integration #1397

- `getPromotionalOffer` has been deprecated in favor of `promotionalOffer` #1405

- `getEligiblePromotionalOffers` has been deprecated in favor of `eligiblePromotionalOffers` #1405

- `StoreProductDiscount` now includes the `numberOfPeriods` property #1428
2022-04-08 15:15:55 -07:00
RevenueCat ReleasesandDistiller e50c62b0f1 Preparing for next version (#1478)
Co-authored-by: Distiller <distiller@static.38.39.184.142.cyberlynk.net>
2022-04-08 17:18:53 -03:00
Cody Kerns f8f599909b Release/4.2.0 (#1471)
* Version bump for 4.2.0

* Update CHANGELOG.latest.md

* Update CHANGELOG.latest.md

* Update CHANGELOG.md
2022-04-08 15:27:43 -04:00
aboedo f5697de730 renamed Purchases folder to Sources (#1416)
* renamed `Purchases` folder to `Sources`

* temporarily enabling installation test jobs

* re-disabling installation test jobs
2022-03-28 11:53:24 -03:00
RevenueCat ReleasesandDistiller ee9cd76695 Preparing for next version (#1391)
Co-authored-by: Distiller <distiller@static.38.39.183.175.cyberlynk.net>
2022-03-14 16:01:00 -03:00
aboedo 4938fddf4a Release: 4.1.0 (#1383)
* Version bump for 4.1.0

* added some more docs

* updated changelog

* undo accidental line change

* reverted file that was accidentally updated
2022-03-14 15:48:36 -03:00
aboedo 2d2e59e373 Release: 4.0.0 (#1339)
* removed beta warning

* updated changelog

* re-enabled the prepare-next-version job

* updated changelog and docs

* bumped version number

* updated changelog

* fixed config.yml

* updated changelog and removed Release Candidate notes from Readme

* clena up markdown

* small update to docs link

* fixed changelog link
2022-02-25 14:45:19 -03:00
aboedo 590b7eaf1f Release: 4.0.0-RC.4 (#1331)
* Version bump for 4.0.0-rc.4

* updated docs and changelog

* updated fastlane

* removed extra period at end of line
2022-02-22 14:34:57 -03:00
aboedo c5538940ed hastle -> hassle (#1293) 2022-02-14 13:55:38 -03:00
aboedo 5f6d35444b Release: 4.0.0-rc.3 (#1289)
* Version bump for 4.0.0-rc.3

* update docs

* updated changelog

* updated docs
2022-02-14 11:50:37 -03:00
aboedo 09c9d4d2ce Release/4.0.0-rc.2 (#1245)
* fixed purchases path in fastfile

* Version bump for 4.0.0-rc.2

* updated changelog to add a note about `useStoreKit2IfAvailable`
2022-02-02 13:23:25 -03:00
aboedo 75c421bd0b Release/4.0.0-rc.1 (#1208)
* Version bump for 4.0.0-rc.1

* updated readme to replace instances of beta with RC, and removed some outdated notes

* fix backend integration tests using outdated method

* fix backend integration tests

* removed outdated "unknown" case in promotional offer eligibility

* updated references to `paymentDiscountForProductDiscount`, added double-backticks to a couple of symbols

* updated CHANGELOG.latest.md

* updated main changelog

* updated RevenueCat-Swift.h to latest

* updated the readme to reflect the fact that the migration is done, and that we're temporarily disabling SK2
2022-01-28 13:55:46 -03:00
aboedo d8ededc1ea Release/4.0.0-beta.10 (#1146)
* Version bump for 4.0.0-beta.10

* added missing `import Foundation` for `MacDevice` (#1162)

* clarified differences introduced in beta 10 vs beta 9
2022-01-11 14:20:43 -03:00
aboedo f6304b3339 Release/4.0.0-beta.9 (#1132)
* Version bump for 4.0.0-beta.9

* added note about "lots of under the hood improvements"

* fixed issue with carthage integration tests cache referencing file that was removed from versioning, fixed issue with scan-and-archive passing in an nonexistent scheme

* added updated deployment targets to changelog

* updated deployment target for cocoapods integration tests

* fixed issue with duplicate swift_name

* update Package.resolved

* removed unnecessary copy frameworks phase

* update deployment target for spm integration tests

* deleted duplicate line in devices

* updated swift tools to swift 5.5

* added all non-SDK files to exclude

* added missing foundation imports
2022-01-06 09:30:09 -03:00