Skip to content

Release 1.19.1 #1563

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

Merged
merged 13 commits into from
Oct 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ workflows:
jobs:
- ios
- macos
- carthage:
requires:
- ios
- carthage
nightly:
jobs:
- carthage
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,3 @@ jobs:
on:
all_branches: true
tags: true

22 changes: 17 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
# Parse-SDK-iOS-OSX Changelog

### master
[Full Changelog](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/1.19.0...master)
[Full Changelog](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/1.19.1...master)
* _Contributing to this repo? Add info about your change here to be included in next release_

### 1.19.1
[Full Changelog](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/1.19.0...1.19.1)

__Improvements__
- Allow SDK to build for Mac Catalyst ([#1543](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1543)), thanks to [Martin Mann](https://github.com/mman).

__Fixes__
- Pass user details from Sign In With Apple to user ([#1551](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1551)), thanks to [Darren Black](https://github.com/drdaz).
- Bolts compilation error in Xcode 12 ([#1548](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1548)), thanks to [Derek Lee](https://github.com/derekleerock).
- App Store submission failed for MinimumOSVersion ([#1515](https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1515)), thanks to [Manuel Trezza](https://github.com/mtrezza).

### 1.19.0
[Full Changelog](https://github.com/parse-community/Parse-SDK-iOS-OSX/compare/1.18.0...1.19.0)

__New features__
- Added Sign In With Apple support to ParseUI [#1475](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1475), thanks to [Darren Black](https://github.com/drdaz). Transparent icons thanks to [Donald Ness](https://github.com/programmarchy)
- Added Sign In With Apple support to ParseUI ([#1475](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1475)), thanks to [Darren Black](https://github.com/drdaz).
- Transparent icons ([#1530](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1530)), thanks to [Donald Ness](https://github.com/programmarchy).

__Improvements__
- Updated Facebook SDK to 6.x [#1504](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1504), thanks to [Markus Winkler](https://github.com/markuswinkler)
- Updated Facebook SDK to 6.x ([#1504](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1504)), thanks to [Markus Winkler](https://github.com/markuswinkler).

__Fixes__
- Removes deprecated UIWebView usage [#1511](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1511), thanks to [Nathan Kellert](https://github.com/parse-community/Parse-SDK-iOS-OSX/commits?author=noobs2ninjas)
- Fixes building with Xcode 12 [#1527](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1527), thanks to [Steffen Matthischke](https://github.com/HeEAaD)
- Removes deprecated UIWebView usage ([#1511](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1511)), thanks to [Nathan Kellert](https://github.com/parse-community/Parse-SDK-iOS-OSX/commits?author=noobs2ninjas).
- Fixes building with Xcode 12 ([#1527](https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1527)), thanks to [Steffen Matthischke](https://github.com/HeEAaD).


### 1.18.0
Expand Down
2 changes: 1 addition & 1 deletion Parse.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Parse'
s.version = '1.19.0'
s.version = '1.19.1'
s.license = { :type => 'BSD', :file => 'LICENSE' }
s.homepage = 'http://parseplatform.org/'
s.summary = 'A library that gives you access to the powerful Parse cloud platform from your iOS/OS X/watchOS/tvOS app.'
Expand Down
4 changes: 2 additions & 2 deletions Parse/Parse.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9046,7 +9046,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MACCATALYST = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -9065,7 +9065,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MACCATALYST = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down
2 changes: 1 addition & 1 deletion Parse/Parse/PFConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#pragma mark - SDK Version
///--------------------------------------

#define PARSE_VERSION @"1.19.0"
#define PARSE_VERSION @"1.19.1"

///--------------------------------------
#pragma mark - Platform
Expand Down
4 changes: 2 additions & 2 deletions Parse/Parse/Resources/Parse-OSX.Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions Parse/Parse/Resources/Parse-iOS.Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>MinimumOSVersion</key>
<string>8.0</string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions Parse/Parse/Resources/Parse-tvOS.Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions Parse/Parse/Resources/Parse-watchOS.Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down
8 changes: 4 additions & 4 deletions ParseFacebookUtils/Resources/Info-iOS.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>MinimumOSVersion</key>
<string>6.0</string>
<string>8.0</string>
</dict>
</plist>
</plist>
4 changes: 2 additions & 2 deletions ParseFacebookUtils/Resources/Info-tvOS.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSMainNibFile</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSMainNibFile</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIMainStoryboardFile</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIMainStoryboardFile</key>
Expand Down
6 changes: 3 additions & 3 deletions ParseTwitterUtils/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>1.19.0</string>
<string>1.19.1</string>
<key>MinimumOSVersion</key>
<string>6.0</string>
<string>8.0</string>
</dict>
</plist>
9 changes: 9 additions & 0 deletions ParseUI/Classes/LogInViewController/PFLogInViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,15 @@ shouldBeginLogInWithUsername:(NSString *)username
*/
- (void)logInViewControllerDidCancelLogIn:(PFLogInViewController *)logInController;

/**
Sent to the delegate when user data is received following successful login using Sign In With Apple.

@param logInController The login view controller that received the credentials
@param credential The ASAuthorizationAppleIDCredential object received
*/

-(void)logInViewController:(PFLogInViewController *)logInController didReceiveAppleCredential:(ASAuthorizationAppleIDCredential *)credential forUser:(PFUser *)user API_AVAILABLE(ios(13.0));

@end

NS_ASSUME_NONNULL_END
45 changes: 22 additions & 23 deletions ParseUI/Classes/LogInViewController/PFLogInViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#import "PFSignUpViewController.h"
#import "PFTextField.h"
#import "PFLogInView_Private.h"
#import "PFAppleUtils.h"

NSString *const PFLogInSuccessNotification = @"com.parse.ui.login.success";
NSString *const PFLogInFailureNotification = @"com.parse.ui.login.failure";
Expand Down Expand Up @@ -332,7 +333,7 @@ - (void)_requestPasswordResetWithEmail:(NSString *)email {

#pragma mark Sign in with Apple
-(void)_loginWithApple API_AVAILABLE(ios(13.0)){

if (self.loading) {
return;
}
Expand All @@ -344,28 +345,26 @@ -(void)_loginWithApple API_AVAILABLE(ios(13.0)){

__weak typeof(self) wself = self;

Class appleUtils = NSClassFromString(@"PFAppleUtils");
SEL selector = NSSelectorFromString(@"logInInBackground");
if ([appleUtils respondsToSelector:selector]) {
[[appleUtils logInInBackground] continueWithBlock:^id _Nullable(BFTask * _Nonnull t) {
__strong typeof(wself) sself = wself;
dispatch_async(dispatch_get_main_queue(), ^{
sself.loading = NO;
if ([sself.logInView.appleButton isKindOfClass:[PFActionButton class]]) {
[(PFActionButton *)sself.logInView.appleButton setLoading:NO];
}
if (t.error) {
[sself _loginDidFailWithError:t.error];
}
else
{
PFUser *user = t.result[@"user"];
[sself _loginDidSucceedWithUser:user];
}
});
return nil;
}];
}
[[PFAppleUtils logInInBackground] continueWithBlock:^id _Nullable(BFTask * _Nonnull t) {
__strong typeof(wself) sself = wself;
dispatch_async(dispatch_get_main_queue(), ^{
sself.loading = NO;
if ([sself.logInView.appleButton isKindOfClass:[PFActionButton class]]) {
[(PFActionButton *)sself.logInView.appleButton setLoading:NO];
}
if (t.error) {
[sself _loginDidFailWithError:t.error];
}
else
{
PFUser *user = t.result[PFAppleAuthUserKey];
ASAuthorizationAppleIDCredential *cred = t.result[PFAppleAuthCredentialKey];
[sself _loginDidSucceedWithUser:user];
[sself.delegate logInViewController:sself didReceiveAppleCredential:cred forUser:user];
}
});
return nil;
}];
}

#pragma mark Log In With Facebook
Expand Down
Loading