A delightful networking framework for iOS, macOS, watchOS, and tvOS.
Released on Thursday, December 10, 2015. All issues associated with this milestone can be found using this filter.
For detailed information about migrating to AFNetworking 3.0.0, please reference the migration guide.
instancetype
where applicable
NSURLErrorServerCertificateUntrusted
NSProgress
pinnedCertificates
type in AFSecurityPolicy
from NSArray
to NSSet
AFMultipartBodyStream
that may cause the input stream to read more bytes than required.
AFImageDownloader
stalling after numerous failures
NSURLConnection
UIAlertView
category support since it is now deprecated
For detailed information about migrating to AFNetworking 3.0.0, please reference the migration guide. All 3.0.0 beta changes will be tracked with this filter.
Beta 3 introduces API changes for tracking NSProgress. Feedback from the community is welcome as the 3.0.0 release will soon be finalized. Please provide feedback in #3187.
The following changes have been made since 3.0.0-beta.2:
NSURLErrorServerCertificateUntrusted
NSProgress
pinnedCertificates
type in AFSecurityPolicy
from NSArray
to NSSet
AFMultipartBodyStream
that may cause the input stream to read more bytes than required.
For detailed information about migrating to AFNetworking 3.0.0, please reference the migration guide. All 3.0.0 beta changes will be tracked with this filter.
In addition to all the relevant changes from 2.6.2 and 2.6.3, the following changes have been made since 3.0.0-beta.1:
Released on Wednesday, November 11, 2015. All issues associated with this milestone can be found using this filter.
Released on Friday, November 06, 2015. All issues associated with this milestone can be found using this filter.
throws
to an error pointer, since that method does return an object and also handles an error pointer, which does not play nicely with the Swift/Objective-C error conversion. See #2810 for additional notes. This affects AFURLRequestionSerializer
and AFURLResponseSerializer
.AFHTTPSessionManager
now copies its securityPolicy
AFSecurityPolicy
OS_OBJECT_HAVE_OBJC_SUPPORT
to OS_OBJECT_USE_OBJC
for watchOS 2 support.
AFHTTPRequestOperationManager
and AFHTTPSessionManager
For detailed information about migrating to AFNetworking 3.0.0, please reference the migration guide. All future 3.0.0 beta changes will be tracked with this filter.
NSURLSession
. All NSURLConnection
support has been removed from AFNetworking.NSURLSession
.The full changelog will be available for the final 3.0.0 release.
Future Compatibility Note
Note that AFNetworking 3.0 will soon be released, and will drop support for all NSURLConnection
based API's (AFHTTPRequestOperationManager
, AFHTTPRequestOperation
, and AFURLConnectionOperation
. If you have not already migrated to NSURLSession
based API's, please do so soon. For more information, please see the 3.0 migration guide.
Fixed
AFURLRequestSerialization
and AFURLSessionManager
.
OS_OBJECT_USE_OBJC
.
FOUNDATION_EXPORT
from extern
.
AFURLConnectionOperation
could get stuck in an infinite loop.
2.6.0 (08-18-2015) Released on Tuesday, August 18th, 2015. All issues associated with this milestone can be found using this filter.
Important Upgrade Notes Please note the following API/project changes have been made:
AFSecurityPolicy
. As discussed in #2744, there was no documented security advantage to pinning against an entire certificate chain. If you were using full certificate chain, please determine and select the most ideal certificate in your chain to pin against.
UIImageView
category if the image is returned from cache. In previous releases, both the request and the response were nil. Going forward, only the response will be nil.
NS_EXTENSION_UNAVAILABLE_IOS
. You no longer need to define AF_APP_EXTENSIONS
in order to include code in a extension target.
#ifndef TARGET_OS_IOS
#define TARGET_OS_IOS TARGET_OS_IPHONE
#endif
#ifndef TARGET_OS_WATCH
#define TARGET_OS_WATCH 0
#endif
/
and ?
are no longer encoded by default.
Note that support for NSURLConnection
based API's will be removed in a future update. If you have not already done so, it is recommended that you transition to the NSURLSession
APIs in the very near future.
Added
AFNetworking
can now be added to watchOS targets using CocoaPods.
Fixed
AFImageResponseSerialization
.
AFNetworkReachabilityManager
.
Documentation Improvements
startMonitoring
call to the Reachability section of the README
baseURL
is used for reachability monitoring.
Released on 2015-05-14. All issues associated with this milestone can be found using this filter.
Updated
Fixed
AFNSURLSessionTaskDidResumeNotification
and AFNSURLSessionTaskDidSuspendNotification
were not being properly called due to implementation differences in NSURLSessionTask
in iOS 7 and iOS 8, which also affects the AFNetworkActivityIndicatorManager
.
validatesDomainName
property to default to YES
under all security policiesaddObserver:...:withBlock: