Changelog History
Page 3
-
v11.0.0 Changes
π ATTENTION: The Platform SDK v11.0 release introduces a few key changes to how dependencies will be managed moving forward. These changes are being implemented to drive more efficiency in our development process and reduce an over-reliance on singletons and tight coupling.. As part of these changes, we are currently in the process of converting existing types to use injected dependencies. As a result, many types will no longer be usable until the SDK is initialized. In order to ensure that types are configured correctly before being used, you will need to call
FBSDKApplicationDelegate.application:didFinishLaunchingWithOptions:
first before attempting to (i) get or set any properties, or (ii) invoke any methods on the SDK.β‘οΈ The source code has been updated to include reminders in the form of exceptions in
DEBUG
builds across several locations. These reminders will serve as pointers for Developers to callFBSDKApplicationDelegate.application:didFinishLaunchingWithOptions:
before using the SDK. For more information see: https://github.com/facebook/facebook-ios-sdk/issues/1763.β Added
- Login with Facebook iOS app now populates a shared
AuthenticationToken
instance. - Added Limited Login support for
user_hometown
,user_location
,user_gender
anduser_link
permissions under public beta. - β‘οΈ Updated Profile on Limited Login to include first, middle and last name as separate fields.
- Released
user_messenger_contact
permission to enable Login Connect with Messenger. This new feature allows people to opt in to being contacted by a business on Messenger following the FB Login flow. - Added ability to add
messenger_page_id
param toFBSDKLoginButton
andFBSDKLoginConfiguration
- β Added
FBSDKApplicationObserving
- a protocol for describing types that can optional respond to lifecycle events propagated byApplicationDelegate
- β Added
addObserver:
andremoveObserver:
toFBSDKApplicationDelegate
- β Added
startWithCompletion:
toFBSDKGraphRequest
. ReplacesstartWithCompletionHandler:
- β Added
addRequest:completion
toFBSDKGraphRequestConnection
. ReplacesaddRequest:completionHandler:
. - β Added
addRequest:name:completion:
toFBSDKGraphRequestConnection
. ReplacesaddRequest:batchEntryName:completionHandler:
. - β Added
addRequest:parameters:completion:
toFBSDKGraphRequestConnection
. ReplacesaddRequest:batchParameters:completionHandler:
. - β Added instance method
activateApp
toAppEvents
.
π Deprecated
FBSDKGraphRequestBlock
. Replaced byFBSDKGraphRequestCompletion
which returns an abstractFBSDKGraphRequestConnection
in the formid<FBSDKGraphRequestConnecting>
(ObjC) orGraphRequestConnecting
(Swift)FBSDKGraphRequest
'sstartWithCompletionHandler:
replaced bystartWithCompletion:
FBSDKGraphRequestConnection
'saddRequest:completionHandler:
replaced byaddRequest:completion:
FBSDKGraphRequestConnection
'saddRequest:batchEntryName:completionHandler:
replaced byaddRequest:name:completion:
FBSDKGraphRequestConnection
'saddRequest:batchParameters:completionHandler:
replaced byaddRequest:parameters:completion:
FBSDKGraphRequestBlock
- Class method
AppEvents.activateApp
. It is replaced by an instance method of the same name.
β Removed
FBSDKApplicationDelegate.initializeSDK:launchOptions:
. The replacement method isFBSDKApplicationDelegate.application:didFinishLaunchingWithOptions:
- β‘οΈ
FBSDKAppEvents
'updateUserProperties:handler:
method. - β‘οΈ
FBSDKAppEvents
'supdateUserProperties:handler:
method. FBSDKAppLinkReturnToRefererControllerDelegate
FBSDKAppLinkReturnToRefererController
FBSDKIncludeStatusBarInSize
FBSDKAppLinkReturnToRefererViewDelegate
FBAppLinkReturnToRefererView
FBSDKErrorRecoveryAttempting
'sattemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:
FBSDKProfile
'sinitWithUserID:firstName:middleName:lastName:name:linkURL:refreshDate:imageURL:email:
FBSDKProfile
'sinitWithUserID:firstName:middleName:lastName:name:linkURL:refreshDate:imageURL:email:friendIDs:birthday:ageRange:isLimited:
FBSDKProfile
'sinitWithUserID:firstName:middleName:lastName:name:linkURL:refreshDate:imageURL:email:friendIDs:
FBSDKProfile
'sinitWithUserID:firstName:middleName:lastName:name:linkURL:refreshDate:imageURL:email:friendIDs:birthday:ageRange:
FBSDKAccessTokensBlock
- β
FBSDKTestUsersManager
FBSDKGraphErrorRecoveryProcessor
'sdelegate
propertyFBSDKGraphErrorRecoveryProcessor
'sdidPresentErrorWithRecovery:contextInfo:
FBSDKGamingVideoUploader
'suploadVideoWithConfiguration:andCompletionHandler:
FBSDKGamingImageUploader
'suploadImageWithConfiguration:andCompletionHandler:
π 2021-06-01 | Full Changelog
- Login with Facebook iOS app now populates a shared
-
v10.0.0 Changes
π NOT RELEASED
π Reason: The SDK is primarily a means of interacting with the Graph API. The decision was made to skip this version in order to maintain major version parity. Since Graph API is on v11, it did not make sense to release a v10 then immediately release a v11.
-
v9.3.0 Changes
Important
π Performance Improvements
- Cocoapods: FBSDKCoreKit rebuilds FacebookSDKStrings.bundle so xcode processes the strings files into binary plist format. This strips comments and saves ~181KB in disk space for apps. #1713
β Added
- β Added AEM (Aggregated Events Measurement) support under public beta.
- β Added
external_id
support in advanced matching. - π
GamingServicesKit
changed the Game Request feature flow where if the user has the facebook app installed, they will not see a webview to complete a game request. Instead they will switch to the facebook app and app switch back once the request is sent or the user cancels the dialog.
π Fixed
- π Fix for shadowing swift type. #1721
- π Optimization for cached token fetching. See the commit message for more details.
- Cocoapods with generate_multiple_pod_projects #1709
π 2021-04-25 | Full Changelog
-
v9.2.0 Changes
β Added
- Added Limited Login support for
user_friends
,user_birthday
anduser_age_range
permissions under public beta. - Shared Profile instance will be populated with
birthday
andageRange
fields using the claims from theAuthenticationToken
. (NOTE: birthday and ageRange fields are in public beta mode) - β Added a convenience initializer to
Profile
as part of fixing a bug where upgrading from limited to regular login would fail to fetch the profile using the newly available access token. - π°
GamingServicesKit
added an observer class where if developers set the delegate we will trigger the delegate method with aGamingPayload
object if any urls contain gaming payload data. (NOTE: This feature is currently under development)
π Fixed
π Performance Improvements
- β Added in memory cache for carrier and timezone so they are not dynamically loaded on every
didBecomeActive
- β Added cached
ASIdentifierManager
to avoid dynamic loading on everydidBecomeActive
- Backgrounds the expensive property creation that happens during AppEvents class initialization.
- β Added thread safety for incrementing the serial number used by the logging utility.
- β Added early return to Access Token to avoid unnecessary writes to keychain which can cause performance issues.
π Bug Fixes
- Fixed using CocoaPods with the
generate_multiple_pod_projects
flag. #1707 - π² Adhere to flush behavior for logging completion. Will now only flush events if the flush behavior is
explicitOnly
. - Static library binaries are built with
BITCODE_GENERATION_MODE = bitcode
to fix errors where Xcode is unable to build apps with bitcode enabled. #1698
π Deprecated
- π
TestUsersManager
. The APIs that back this convenience type still exist but there is no compelling reason to have this be part of the core SDK. See the commit message for more on the rationale.
β Removed
- Internal type
AudioResourceLoader
.
π 2021-04-06 | Full Changelog
- Added Limited Login support for
-
v9.1.0 Changes
β Added
- π
friendIDs
property added toFBSDKProfile
(NOTE: We are building out thefriendIDs
property in Limited Login with the intention to roll it out in early spring) FBSDKProfile
initializer that includes optionalfriendIDs
argumentclaims
property of typeFBSDKAuthenticationTokenClaims
added toFBSDKAuthenticationToken
π Fixed
- π Build Warnings for SPM with Xcode 12.5 Beta 2 #1661
- Memory leak in
FBSDKGraphErrorRecoveryProcessor
- Name conflict for Swift version of
FBSDKURLSessionTask
- Avoids call to
AppEvents
singleton when setting overriding app ID #1647 - CocoaPods now compiles
FBSDKDynamicFrameworkLoader
with ARC. - CocoaPods now uses static frameworks as the prebuilt libraries for the aggregate FacebookSDK podspec
- App Events use the correct token if none have been provided manually (@ptxmac#1670
π Deprecated
FBSDKGraphErrorRecoveryProcessor
'sdelegate
propertyFBSDKGraphErrorRecoveryProcessor
'sdidPresentErrorWithRecovery:contextInfo:
methodFBSDKAppLinkReturnToRefererView
FBSDKAppLinkReturnToRefererController
β Removed
- Internal type
FBSDKErrorRecoveryAttempter
π 2021-02-25 | Full Changelog
- π
-
v9.0.1 Changes
β Added
- β Add control support for the key FacebookSKAdNetworkReportEnabled in the info.plist
- β Add APIs to control SKAdNetwork Report
π Fixed
- π Fix deadlock issue between SKAdNetwork Report and AAM/Codeless
- π Fix default ATE sync for the first app launch
- π Fix build error caused by LoginButton nonce property (@kmcbride in #1616)
- π Fix crash on FBSDKWebViewAppLinkResolverWebViewDelegate (@Kry256 in #1624)
- π Fix XCFrameworks build issue (#1628)
- π Fix deadlock when AppEvents ActivateApp is called without initializing the SDK (#1636)
π 2021-02-02 | Full Changelog
-
v9.0.0 Changes
π We have a number of exciting changes in this release! π For more information on the v9 release please read our associated blog post!
β Added
- π¦ Swift Package Manager now supports Mac Catalyst
- β‘οΈ Limited Login. Please read the blog post and docs for a general overview and implementation details.
π Changed
- β‘οΈ The default Graph API version is updated to v9.0
- The
linkURL
property ofFBSDKProfile
will only be populated if the user has granted theuser_link
permission. - FBSDKGamingServicesKit will no longer embed FBSDKCoreKit as a dependency. This may affect you if you are manually integrating pre-built binaries.
- The aggregate CocoaPod
FacebookSDK
now vendors XCFrameworks. Note: this may cause conflicts with other CocoaPods that have dependencies on the our libraries, ex: Audience Network. If you encounter a conflict it is easy to resolve by using one or more of the individual library pods instead of the aggregate pod.
β Removed
- π The
autoInitEnabled
option is removed from the SDK. From here on, developers are required to initialize the SDK explicitly with theinitializeSDK
method or implicitly by calling it inapplicationDidFinishLaunching
.
π Fixed
- π¦ Swift Package Manager Mac Catalyst support #1577
π 2021-01-05 | Full Changelog
-
v8.2.0 Changes
November 13, 2020π Changed
- β Remove SignalHandler to avoid hiding root cause of crashes caused by fatal signals.
- π¦ Expose functions in
FBSDKUserDataStore
as public for apps using Audience Network SDK only to use advanced matching.
π 2020-11-10 | Full Changelog
-
v8.1.0 Changes
October 28, 2020β Added
- β
Introduced
AppLinkResolverRequestBuilder
for use in cleaning up and adding tests aroundAppLinkResolver
π Changed
- β Removed version checks for iOS 9 since itβs the default version now.
- π¨ Refactored
AppLinkResolver
to use a request builder - π¨ Refactored and added tests around
FBSDKProfile
andFBSDKProfilePictureView
- β‘οΈ Updated
FBSDKSettings
to useADIdentifierManager
for tracking status - π Removes usages of deprecated
UI_USER_INTERFACE_IDIOM()
π Fixed
- β Issues with Swift names causing warnings - #1522
- π Fixes bugs related to crash handling - #1444
- π Fixes Carthage distribution to include the correct binary slices when building on Xcode12 - #1484
- π Fixes duplicate symbol for
FBSDKVideoUploader
bug #1512 - β GET requests now default to having a 'fields' parameter to avoid warnings about missing fields #1403
- π Fixes Multithreading issue related to crash reporting - #1550
π 2020-10-23 | Full Changelog
- β
Introduced
-
v8.0.0 Changes
September 29, 2020Consult Changelog