Releases: forcedotcom/SalesforceMobileSDK-iOS
Salesforce Mobile SDK 8.0
What’s New
-
Swift extensions for iOS 12 and iOS 13. For iOS 13, these
extensions use publishers for Combine and SwiftUI. -
New iOS 13 template demonstrating offline features,
master-detail views for Account and related Contact records,
SwiftUI, SceneDelegate, and publishers for REST APIs, , and Mobile Sync. -
For logins and authentication, replaced
SFAuthenticationSession
withASWebAuthenticationSession
. -
Full content notification support.
-
Dark mode support, demonstrated in updated templates and sample
apps. -
New classes for batch and composite requests. See
Version Updates
-
iOS deployment target: 12.2
-
iOS base SDK: 13
-
Xcode: 11
SmartStore Enhancements
-
Queries can return either a JSON object (best choice for native) or a String (best choice for hybrid and RN).
-
Swift extensions for iOS 12 and iOS 13 (publishers for Combine
and SwiftUI) -
Validation tool for JSON configuration files.
Mobile Sync Enhancements
-
Sync up by external ID: For locally created, updated, or deleted SmartStore records that specify an external ID field and provide its value, Mobile SDK performs an upsert instead of an update. However, if the record also contains a Salesforce ID, Mobile Sync performs an update.
-
Swift extensions for iOS 12 and iOS 13 (publishers for Combine
and SwiftUI) -
Validation tool for JSON configuration files.
Deprecations
Check your compiler warnings, or see iOS Current
Deprecations.
Mobile SDK 7.3.0
What’s New
- Successfully tested Mobile SDK and our sample apps on Xcode 11 and iOS 13. Found and fixed one bug.
- Added a method for obtaining an OpenID token that you can use against sanctioned non-Salesforce endpoints.
-(void)openIDTokenForRefresh:(SFSDKOAuthTokenEndpointRequest )endpointReq completion:(void (^)(NSString ))completionBlock
on theSFSDKOAuth2
class. - Refactored the
SFNetwork
class and theSFNetworkSessionManaging
protocol. - Contents of the shared URL cache (cache.db) are now encrypted by default. You can disable this encryption by setting the new
encryptURLCache
property ofSalesforceSDKManager
.
Bug fixes
SmartStore
- Fixed a rarely encountered bug that occurred when writing to external storage. See #2982.
SmartSync Data Framework
- Fixed a batch sync up bug. See #2977.
- Fixed a time format bug that impacted certain locales. See #2965.
Version Updates
- CocoaPods: 1.7 and 1.8 (master repo CDN support).
Deprecations
Check your compiler warnings, or see iOS Current Deprecations.