Commit Graph
445 Commits
Author SHA1 Message Date
RevenueCat Git BotandToni Rico 3f5e28bfb0 [AUTOMATIC] Release/5.19.0 (#4854)
* Version bump for 5.19.0

* To revert: Deploy UI SDK on commit to continue release process

* Revert "To revert: Deploy UI SDK on commit to continue release process"

This reverts commit 3dca36e0ae.

---------

Co-authored-by: Toni Rico <antonio.rico.diez@revenuecat.com>
2025-03-06 15:04:17 +01:00
Antonio Pallares de879a0889 Use array instead of sets in diagnostics events (#4839)
* tests: remove `Equatable` conformance of `DiagnosticsEvent` and `AnyEncodable` from RevenueCat and added to test targets (where it's needed)

* Use Arrays instead of Sets in Diagnostics events to have predictable order in sent events

* tests: compare Sets vs Arrays in unit test

The conversion from Array --> Set --> Array may change the order of the elements

* remove `DiagnosticsEvent+Equatable` from some targets

* PR #4839 fixes

* remove `AnyEncodable+Equatable.swift` from some targets
2025-03-02 12:50:03 +01:00
Facundo Menzella 6b5c430082 chore: Enable force_unwrapping for SwiftLint (#4820)
* enable force_unwrapping

* avoid force unwrap

* fixed all errors

* remove extra disable
2025-02-26 12:40:49 +01:00
Facundo Menzella 75471965de feat: Introduce refund window to control if a refund is offered for a purchase (#4784) 2025-02-25 13:13:49 +01:00
RevenueCat Git BotandToni Rico da921f03d9 Preparing for next version (#4816)
Co-authored-by: Toni Rico <toni.rico.diez@revenuecat.com>
2025-02-24 11:55:48 +01:00
RevenueCat Git Bot ce8ad14741 [AUTOMATIC] Release/5.18.0 (#4815)
* Version bump for 5.18.0

* Update RevenueCat-Swift.h for version 5.18.0
2025-02-22 09:41:07 -06:00
RevenueCat Git Bot 2ff17def8d Preparing for next version (#4791) 2025-02-18 06:50:37 +01:00
498d7a8329 [AUTOMATIC] Release/5.17.0 (#4783)
* Version bump for 5.17.0

* Update RevenueCat-Swift.h for version 5.17.0

* fix FeedbackSurveyViewModelTests

* Group SwiftUI previews

---------

Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
Co-authored-by: Mark Villacampa <m@markvillacampa.com>
2025-02-17 17:32:16 +01:00
Facundo Menzella 2b4cc2f233 feat: Introduce ISODurationFormatter (#4776) 2025-02-10 14:44:55 +01:00
RevenueCat Git Bot 0b4b047f6d Preparing for next version (#4765) 2025-02-06 08:10:10 +01:00
RevenueCat Git Bot aeedbe910b [AUTOMATIC] Release/5.16.1 (#4764) 2025-02-05 14:01:22 -06:00
RevenueCat Git Bot ca97d66c5c Preparing for next version (#4753) 2025-01-30 16:38:59 +01:00
RevenueCat Git Bot ac44597def Version bump for 5.16.0 (#4751) 2025-01-30 08:54:30 -06:00
AJPallares b94b47e35e Add uiPreviewMode to DangerousSettings (#4714)
* add new opt-in public API `uiPreviewMode` to `DangerousSettings`

* fix: add missing `convenience` to `uiPreviewInitializer` of `DangerousSettings`

* docs: change documentation of `DangerousSettings` init

* test: add API test for new `DangerousSettings` init
2025-01-28 16:48:45 +01:00
RevenueCat Git Bot ed54862d1e Version bump for 5.15.1 (#4709) 2025-01-27 13:26:46 +01:00
RevenueCat Git Bot b63dfb4b30 Preparing for next version (#4695) 2025-01-22 17:57:13 +01:00
2e01518612 [AUTOMATIC] Release/5.15.0 (#4692)
Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
Co-authored-by: Josh Holtz <me@joshholtz.com>
2025-01-22 15:54:29 +01:00
RevenueCat Git Bot a88f8effd5 Preparing for next version (#4660) 2025-01-14 15:09:28 +01:00
RevenueCat Git Bot 07375bafd4 [AUTOMATIC] Release/5.14.6 (#4639)
* Version bump for 5.14.6

* Update RevenueCat-Swift.h for version 5.14.6
2025-01-14 14:15:39 +01:00
Will Taylor dc3de116a5 Deprecate misnamed purchase(params) function in Obj-C 2025-01-10 11:32:30 -06:00
13942b8818 [EXTERNAL] Lock RateLimiter.shouldProceed() entirely to avoid race conditions (#4635) via @nguyenhuy (#4637)
* [EXTERNAL] Lock RateLimiter.shouldProceed() entirely to avoid race conditions (#4635)

* Lock RateLimiter.shouldProceed() entirely to avoid race conditions

Android does this as well: https://github.com/RevenueCat/purchases-android/blob/eb3c8f4aa1a6993f12d6e2f93cc82d26063101a6/purchases/src/main/kotlin/com/revenuecat/purchases/utils/RateLimiter.kt#L10

* Fix typo in RateLimiterTests' file name

* Update Sources/Misc/RateLimiter.swift

As suggested by @facumenzella

Co-authored-by: Facundo Menzella <facumenzella@users.noreply.github.com>

---------

via @nguyenhuy

* Update Sources/Misc/RateLimiter.swift via @nguyenhuy

Co-authored-by: Huy Nguyen <hi@huynguyen.dev>

---------

Co-authored-by: Huy Nguyen <hi@huynguyen.dev>
2025-01-08 14:20:04 +01:00
RevenueCat Git Bot b02262eb06 Preparing for next version (#4627) 2025-01-02 11:19:57 +01:00
RevenueCat Git Bot c8229a4466 Version bump for 5.14.5 (#4626) 2025-01-02 11:04:15 +01:00
RevenueCat Git Bot 628b0adfde Preparing for next version (#4619) 2024-12-24 15:27:36 +01:00
RevenueCat Git Bot 9f42f178f2 Version bump for 5.14.4 (#4618) 2024-12-24 15:09:44 +01:00
RevenueCat Git Bot 215b65998f Preparing for next version (#4615) 2024-12-20 15:44:30 +01:00
RevenueCat Git Bot 385c9dc738 [AUTOMATIC] Release/5.14.3 (#4609) 2024-12-19 10:57:24 +01:00
RevenueCat Git Bot 824b18b7c4 Version bump for 5.14.2 (#4602) 2024-12-16 17:56:37 -06:00
RevenueCat Git Bot 7a425d8e91 [AUTOMATIC] Release/5.14.1 (#4595) 2024-12-16 13:16:24 -06:00
RevenueCat Git Bot 58121262d0 Preparing for next version (#4583) 2024-12-12 17:40:06 +01:00
RevenueCat Git Bot d93c295913 [AUTOMATIC] Release/5.14.0 (#4581) 2024-12-12 15:19:20 +01:00
RevenueCat Git Bot b924791d9d Preparing for next version (#4558) 2024-12-06 13:36:13 +01:00
RevenueCat Git BotandCesar de la Vega 2cf1535646 [AUTOMATIC] Release/5.13.0 (#4545)
Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
2024-12-06 13:16:27 +01:00
RevenueCat Git Bot 51dd267dc5 Preparing for next version (#4527) 2024-11-29 16:25:24 +01:00
RevenueCat Git BotandCesar de la Vega db9305cb77 [AUTOMATIC] Release/5.12.1 (#4525)
Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
2024-11-29 15:49:30 +01:00
RevenueCat Git Bot 671a415f9b Prepare next version: 5.13.0-SNAPSHOT (#4521) 2024-11-26 11:42:35 +01:00
RevenueCat Git Bot 20a5c8c2d7 [AUTOMATIC] Release/5.12.0 (#4519)
* Version bump for 5.12.0

* Update RevenueCat-Swift.h for version 5.12.0
2024-11-25 16:35:49 -06:00
RevenueCat Git Bot cb19568a7e [AUTOMATIC] Release/5.11.0 (#4517) 2024-11-25 21:11:09 +01:00
RevenueCat Git Bot 12804484a3 Prepare next version: 5.11.0-SNAPSHOT (#4507) 2024-11-21 18:15:59 +01:00
Will Taylor 78de938a77 Release/5.10.0 (#4506) 2024-11-21 10:30:13 -06:00
Will Taylor 6a363db8df make PurchaseParams & Win-Back APIs public 2024-11-19 13:18:21 -06:00
RevenueCat Git Bot af94daccd2 Preparing for next version (#4494) 2024-11-19 11:00:58 +01:00
RevenueCat Git BotandCesar de la Vega d5bbbe9950 [AUTOMATIC] Release/5.9.0 (#4492)
Co-authored-by: Cesar de la Vega <cesarvegaro@gmail.com>
2024-11-15 21:18:25 +01:00
RevenueCat Git Bot a58ab4c82c Preparing for next version (#4459) 2024-11-08 16:42:52 +01:00
RevenueCat Git Bot 2ae34ff502 [AUTOMATIC] Release/5.8.0 (#4458)
* Version bump for 5.8.0

* Update RevenueCat-Swift.h for version 5.8.0
2024-11-08 16:25:45 +01:00
Mark VillacampaandToni Rico 72b06f6943 Introduce PurchaseParams to allow passing extra configuration info when making a purchase (#4400)
* Introduce PurchaseParams to allow passing extra configuration info when making a purchase

* simplify naming

* fallback to old method when flag is not enabled

* Add $(inherited) to the test targets so they pick up compiler flags from Local.xcconfig

* Include product/package inside PurchaseParams

* fix tests

* add compiler flag check

* update purchase tester

* fix docs

* add tests

* Update Sources/Networking/Operations/PostReceiptDataOperation.swift

Co-authored-by: Toni Rico <toni.rico.diez@revenuecat.com>

---------

Co-authored-by: Toni Rico <toni.rico.diez@revenuecat.com>
2024-11-06 16:05:37 +07:00
RevenueCat Git Bot 6b69dbcdd8 Preparing for next version (#4430) 2024-11-04 08:57:36 +01:00
RevenueCat Git Bot 5e1351f82d [AUTOMATIC] Release/5.7.1 (#4426) 2024-10-31 16:52:43 +01:00
RevenueCat Git Bot 649a7a8be3 Preparing for next version (#4403) 2024-10-24 12:53:38 +02:00
RevenueCat Git Bot 6a245d18d8 [AUTOMATIC] Release/5.7.0 (#4402) 2024-10-24 12:39:12 +02:00