AFNetworking v3.2.1 Release Notes

Release Date: 2018-05-04 // almost 2 years ago
  • 🚀 Released on Friday, May 04, 2018. All issues associated with this milestone can be found using this filter.

    ⚡️ Updated

    • 👍 Xcode 9.3 Support
    • Implemented by Jeff Kelley in #4199.
    • ⚡️ Update HTTPBin certificates for April 2018.
    • Implemented by Jeff Kelley in #4198.

    ➕ Additional Changes

    • ✂ Remove conflicting nullable specifier on init
    • Implemented by Nick Brook and Jeff Kelley in #4182.
    • ⚠ Use @available if available to silence a warning.
    • Implemented by Jeff Kelley in #4138.
    • UIImageView+AFNetworking: Prevent stuck state for malformed urlRequest
    • Implemented by Adam Duflo and aduflo in #4131.
    • ➕ add the link for LICENSE
    • Implemented by Liao Malin in #4125.
    • 🛠 Fix analyzer warning for upload task creation
    • Implemented by Jeff Kelley in #4122.

Previous changes from v3.2.0

  • 🚀 Released on Friday, December 15, 2017. All issues associated with this milestone can be found using this filter.

    ➕ Added

    • Config AFImageDownloader NSURLCache and ask AFImageRequestCache implementer if an image should be cached
      • Implemented by wjehenddher in #4010.
    • ➕ Add XMLParser/XMLDocument serializer tests
      • Implemented by skyline75489 in #3753.
    • Enable custom httpbin URL with HTTPBIN_BASE_URL environment variable
      • Implemented by 0xced in #3748.
    • 📌 AFHTTPSessionManager now throws exception if SSL pinning mode is set for non https sessions
      • Implemented by 0xced in #3687.

    ⚡️ Updated

    • ⚡️ Update security policy test certificates
      • Implemented by SlaunchaMan in #4103.
    • 👍 Allow return value of HTTP redirection block to be NULL
      • Implemented by TheDom in #3975.
    • 📚 Clarify documentation for supported encodings in AFJSONResponseSerializer
      • Implemented by skyline75489 in #3750.
    • 🖐 Handle Error Pointers according to Cocoa Convention
      • Implemented by tclementdev in #3653.
    • 📚 Updates AFHTTPSessionManager documentation to reflect v3.x change
      • Implemented by ecaselles in #3476.
    • 👌 Improved code base to generate fewer warnings when using stricter compiler settings
      • Implemented by 0xced in 3431.

    🔄 Changed

    • 🔄 Change “Mac OS X” and “OS X” references to “macOS”
      • Implemented by SlaunchaMan in #4104.

    🛠 Fixed

    • 🛠 Fixed crash around customizing NSURLCache size for < iOS 8.2
      • Implemented by kcharwood in #3735.
    • 🛠 Fixed issue where UIWebView extension did not preserve all of the request information
      • Implemented by skyline75489 in #3733.
    • 🛠 Fixed bug with webview delegate callback
      • Implemented by kcharwood in #3727.
    • 🛠 Fixed crash when passing invalid JSON to request serialization
      • Implemented by 0xced in #3719.
    • 🛠 Fixed potential KVO crasher for URL Session Task delegates
      • Implemented by 0xced in #3718.
    • ✂ Removed ambiguous array creation in AFSecurityPolicy
      • Implemented by sgl0v in #3679.
    • 🛠 Fixed issue where NS_UNAVAILABLE is not reported for AFNetworkReachabilityManager
      • Implemented by Microbee23 in #3649.
    • Require app extension api only on watchOS
      • Implemented by ethansinjin in #3612.
    • ✂ Remove KVO of progress in favor of using the NSURLSession delegate APIs
      • Implemented by coreyfloyd in #3607.
    • 🛠 Fixed an issue where registering a UIProgessView to a task that was causing a crash
      • Implemented by Starscream27 in #3604.
    • 🚚 Moved [self didChangeValueForKey:@"currentState"] into correct scope
      • Implemented by chenxin0123 in #3565.
    • 🛠 Fixed issue where response serializers did not inherit super class copying
      • Implemented by kcharwood in #3559.
    • 🛠 Fixed crashes due to race conditions with NSMutableDictionary access in AFHTTPRequestSerializer
      • Implemented by alexbird in #3526.
    • ⚡️ Updated dash character to improve markdown parsing for license
      • Implemented by gemmakbarlow in #3488.

    ✂ Removed

    • 🗄 Deprecate the unused stringEncoding property of AFHTTPResponseSerializer
      • Implemented by 0xced in #3751.
    • ✂ Removed unused AFTaskStateChangedContext
      • Implemented by yulingtianxia in #3432.