AFNetworking v3.2.0 Release Notes

Release Date: 2017-12-15 // over 6 years ago
  • ๐Ÿš€ 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.