-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release: 3.12.0 #648
Release: 3.12.0 #648
Changes from all commits
0567396
540c988
507b4da
ceea56d
71edc18
2839338
6a37f38
c9ee588
35f6618
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,9 @@ commands: | |
directory: | ||
type: string | ||
steps: | ||
- run: | ||
name: Install swiftlint | ||
command: brew install swiftlint | ||
- install-gems: | ||
directory: << parameters.directory >> | ||
- scan-and-archive: | ||
|
@@ -89,8 +92,7 @@ commands: | |
steps: | ||
- install-gems | ||
- run: | ||
name: Update git commit in SPM package | ||
working_directory: IntegrationTests/SPMIntegration/ | ||
name: Update git commit in targets that use SPM for dependencies | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
So I updated them to point to |
||
command: | | ||
bundle exec fastlane update_swift_package_commit | ||
|
||
|
@@ -158,6 +160,9 @@ jobs: | |
steps: | ||
- checkout | ||
- trust-github-key | ||
- run: | ||
name: Install swiftlint | ||
command: brew install swiftlint | ||
|
||
# Bundler | ||
- restore_cache: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.12.0-SNAPSHOT | ||
3.12.0 |
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: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this was a tough list to compile. We usually make releases much more often, and we should continue to release often. |
||
|
||
#### 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. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should update the instructions at this link: https://docs.revenuecat.com/docs/debugging |
||
|
||
#### Other | ||
|
||
- Fixed CI issues with creating pull requests | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i haven't typically included these kinds of changes, but i kinda like that you did... |
||
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 |
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). |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1480,7 +1480,7 @@ | |
352629FA1F7C4B9100C04F2C /* Frameworks */, | ||
352629FB1F7C4B9100C04F2C /* Headers */, | ||
352629FC1F7C4B9100C04F2C /* Resources */, | ||
B385A1532674324500C6F132 /* ShellScript */, | ||
B385A1532674324500C6F132 /* Swiftlint */, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added a name for the script so it's easier to understand which one it is if it fails |
||
); | ||
buildRules = ( | ||
); | ||
|
@@ -1633,7 +1633,7 @@ | |
/* End PBXResourcesBuildPhase section */ | ||
|
||
/* Begin PBXShellScriptBuildPhase section */ | ||
B385A1532674324500C6F132 /* ShellScript */ = { | ||
B385A1532674324500C6F132 /* Swiftlint */ = { | ||
isa = PBXShellScriptBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
|
@@ -1642,6 +1642,7 @@ | |
); | ||
inputPaths = ( | ||
); | ||
name = Swiftlint; | ||
outputFileListPaths = ( | ||
); | ||
outputPaths = ( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was missing for some jobs