-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* looks like in some rebase createAlias got un-deprecated, re-deprecated it * updated changelog and version number to 3.12.0 * added missing PR for identity v3 in changelog * added install swiflint step to more ci jobs * fix typo in circleci config.yml * updated the name of the swiftlint step in xcode so it's more obvious at first glance when it fails * fixed an issue where a few targets wouldn't compile correctly when doing carthage archive because they were pointing to unreleased versions of Purchases. * re-added the old carthage script for archives * added `vendor` folder to excluded directories for swiftlint
- Loading branch information
Showing
25 changed files
with
310 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.12.0-SNAPSHOT | ||
3.12.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,58 @@ | ||
- Updates log message for `createAlias` to improve clarity | ||
https://github.com/RevenueCat/purchases-ios/pull/498 | ||
- Adds `rc_` to all Foundation extensions to prevent name collisions | ||
https://github.com/RevenueCat/purchases-ios/pull/500 | ||
|
||
### Identity V3: | ||
|
||
#### New methods | ||
- Introduces `logIn`, a new way of identifying users, which also returns whether a new user has been registered in the system. | ||
`logIn` uses a new backend endpoint. | ||
- Introduces `logOut`, a replacement for `reset`. | ||
|
||
#### Deprecations | ||
- deprecates `createAlias` in favor of `logIn` | ||
- deprecates `identify` in favor of `logIn` | ||
- deprecates `reset` in favor of `logOut` | ||
- deprecates `allowSharingAppStoreAccount` in favor of dashboard-side configuration | ||
|
||
https://github.com/RevenueCat/purchases-ios/pull/453 | ||
https://github.com/RevenueCat/purchases-ios/pull/438 | ||
https://github.com/RevenueCat/purchases-ios/pull/506 | ||
|
||
|
||
### Other changes: | ||
|
||
#### Public additions | ||
##### SharedPurchases nullability | ||
- Fixed `sharedPurchases` nullability | ||
- Introduced new property, `isConfigured`, that can be used to check whether the SDK has been configured and `sharedPurchases` won't be `nil`. | ||
https://github.com/RevenueCat/purchases-ios/pull/508 | ||
|
||
##### Improved log handling | ||
- Added new property `logLevel`, which provides more granular settings for the log level. Valid values are `debug`, `info`, `warn` and `error`. | ||
- Added new method, `setLogHandler`, which allows developers to use their own code to handle logging, and integrate their existing systems. | ||
https://github.com/RevenueCat/purchases-ios/pull/481 | ||
https://github.com/RevenueCat/purchases-ios/pull/515 | ||
|
||
|
||
#### Deprecations | ||
- Deprecated `debugLogsEnabled` property in favor of `LogLevel`. Use `Purchases.logLevel = .debug` as a replacement. | ||
|
||
#### Other | ||
|
||
- Fixed CI issues with creating pull requests | ||
https://github.com/RevenueCat/purchases-ios/pull/504 | ||
- Improved Github Issues bot behavior | ||
https://github.com/RevenueCat/purchases-ios/pull/507 | ||
- Added e-tags to reduce network traffic usage | ||
https://github.com/RevenueCat/purchases-ios/pull/509 | ||
- Fixed a warning in Xcode 13 with an outdated path in Package.swift | ||
https://github.com/RevenueCat/purchases-ios/pull/522 | ||
- Switched to Swift Package Manager for handling dependencies for test targets. | ||
https://github.com/RevenueCat/purchases-ios/pull/527 | ||
- Removed all `fatalError`s from the codebase | ||
https://github.com/RevenueCat/purchases-ios/pull/529 | ||
https://github.com/RevenueCat/purchases-ios/pull/527 | ||
- Updated link for error message when UserDefaults are deleted outside the SDK | ||
https://github.com/RevenueCat/purchases-ios/pull/531 | ||
- Improved many of the templates and added `CODE_OF_CONDUCT.md` to make contributing easier | ||
https://github.com/RevenueCat/purchases-ios/pull/534 | ||
https://github.com/RevenueCat/purchases-ios/pull/537 | ||
https://github.com/RevenueCat/purchases-ios/pull/589 |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
fastlane documentation | ||
================ | ||
# Installation | ||
|
||
Make sure you have the latest version of the Xcode command line tools installed: | ||
|
||
``` | ||
xcode-select --install | ||
``` | ||
|
||
Install _fastlane_ using | ||
``` | ||
[sudo] gem install fastlane -NV | ||
``` | ||
or alternatively using `brew install fastlane` | ||
|
||
# Available Actions | ||
### update_swift_package_commit | ||
``` | ||
fastlane update_swift_package_commit | ||
``` | ||
Update swift package commit | ||
|
||
---- | ||
|
||
## iOS | ||
### ios setup_dev | ||
``` | ||
fastlane ios setup_dev | ||
``` | ||
Setup development environment | ||
### ios test | ||
``` | ||
fastlane ios test | ||
``` | ||
Runs all the tests | ||
### ios bump | ||
``` | ||
fastlane ios bump | ||
``` | ||
Increment build number | ||
### ios bump_and_update_changelog | ||
``` | ||
fastlane ios bump_and_update_changelog | ||
``` | ||
Increment build number and update changelog | ||
### ios github_release | ||
``` | ||
fastlane ios github_release | ||
``` | ||
Make github release | ||
### ios create_sandbox_account | ||
``` | ||
fastlane ios create_sandbox_account | ||
``` | ||
Create sandbox account | ||
### ios deployment_checks | ||
``` | ||
fastlane ios deployment_checks | ||
``` | ||
Deployment checks | ||
### ios carthage_archive | ||
``` | ||
fastlane ios carthage_archive | ||
``` | ||
Run the carthage archive steps to prepare for carthage distribution | ||
### ios archive | ||
``` | ||
fastlane ios archive | ||
``` | ||
archive | ||
### ios replace_api_key_integration_tests | ||
``` | ||
fastlane ios replace_api_key_integration_tests | ||
``` | ||
replace API KEY for integration tests | ||
### ios deploy | ||
``` | ||
fastlane ios deploy | ||
``` | ||
Deploy | ||
### ios prepare_next_version | ||
``` | ||
fastlane ios prepare_next_version | ||
``` | ||
Prepare next version | ||
### ios export_xcframework | ||
``` | ||
fastlane ios export_xcframework | ||
``` | ||
Export XCFramework | ||
### ios storekit_tests | ||
``` | ||
fastlane ios storekit_tests | ||
``` | ||
Run StoreKitTests | ||
|
||
---- | ||
|
||
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. | ||
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools). | ||
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools). |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.