This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
2.6.2
Released on Friday, November 06, 2015. All issues associated with this milestone can be found using this filter.
Important Upgrade Note for Swift
- #3130 fixes a swift interop error that does have a breaking API change if you are using Swift. This was identified after 2.6.2 was released. It changes the method from
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 affectsAFURLRequestionSerializer
andAFURLResponseSerializer
.
Added
AFHTTPSessionManager
now copies itssecurityPolicy
- Fixed by mohamede1945 in #2887.
Updated
- Updated travis to run on 7.1
- Simplifications of if and return statements in
AFSecurityPolicy
- Fixed by TorreyBetts in #3063.
Fixed
- Fixed swift interop issue that prevented returning a nil NSURL for a download task
- Suppressed false positive memory leak warning in Reachability Manager
- Fixed swift interop issue with throws and Request/Response serialization
- Fixed race condition in reachability callback delivery
- Fixed by MichaelHackett in #3117.
- Fixed URLs that were redirecting in the README
- Fixed by frankenbot in #3109.
- Fixed Project Warnings
- Fixed README link to WWDC session
- Switched from
OS_OBJECT_HAVE_OBJC_SUPPORT
toOS_OBJECT_USE_OBJC
for watchOS 2 support. - Added missing __nullable attributes to failure blocks in
AFHTTPRequestOperationManager
andAFHTTPSessionManager
- Fixed by hoppenichu in #3057.
- Fixed memory leak in NSURLSession handling
- Fixed by olegnaumenko in #2794.