AFNetworking/AFNetworking
 Watch   
 Star   
 Fork   
2020-04-20 10:21:21
AFNetworking

Fixes and Updates

Released on Sunday, April 19, 2020. All issues associated with this milestone can be found using this filter.

Updated

  • Project templates and integrations.
    • Implemented by Kaspik in #4531.
  • Various CocoaPods podspec settings.

Fixed

  • Crash during authentication delegate method.
  • SPM integration.
    • Implemented by jshier in #4554.
  • Improper update instead of replacement of header values.
    • Implemented by ElfSundae in #4550.
  • Nullability of some methods.
    • Implemented by ElfSundae in #4551.
  • Typos in CHANGELOG.
    • Implemented by ElfSundae in #4537.
  • Missing tvOS compatibility for some methods.
    • Implemented by ElfSundae in #4536.
  • Missing FOUNDATION_EXPORT for AFJSONObjectByRemovingKeysWithNullValues.
    • Implemented by ElfSundae in #4529.

Removed

  • Unused UIImage+AFNetworking.h file.
    • Implemented by ElfSundae in #4535.
2020-03-30 04:48:58
AFNetworking

A Long Time Coming

Released on Sunday, March 29, 2020. All issues associated with this milestone can be found using this filter.

Added

  • Notificate when a downloaded file has been moved successfully.
    • Implemented by xingheng in #4393.
  • Specific error for certificate pinning failure.
    • Implemented by 0xced in #3425.
  • WKWebView extensions.
    • Implemented by tjanela in #4439.
  • Automatic location of certificates in the main bundle for certificate pinning.
    • Implemented by 0xced in #3752.
  • User-Agent support for tvOS.
    • Implemented by ghking in #4014.
  • Ability for AFHTTPSessionManager to recreate its underlying NSURLSession.
    • Implemented by Kaspik in #4256.
  • Ability to set HTTP headers per request.
    • Implemented by stnslw in #4113.
  • Ability to capture NSURLSessionTaskMetrics.
    • Implemented by Caelink in #4237.

Updated

  • dataTaskWithHTTPMethod to be public.
    • Implemented by smartinspereira in #4007.
  • Reachability notification to include the instance which issued the notification.
    • Implemented by LMsgSendNilSelf in #4051.
  • AFJSONObjectByRemovingKeysWithNullValues to be public.
    • Implemented by ashfurrow in #4051.
  • AFJSONObjectByRemovingKeysWithNullValues to remove NSNull values from NSArrays.
    • Implemented by ashfurrow in #4052.

Changed

  • Automated CI to GitHub Actions.
    • Implemented by jshier in #4523.

Fixed

  • Explicit NSSecureCoding support.
    • Implemented by jshier in #4523.
  • Deprecated API usage on Catalyst.
    • Implemented by jshier in #4523.
  • Nullability annotations.
    • Implemented by jshier in #4523.
  • AFImageDownloader to more accurately cancel downloads.
    • Implemented by kinarobin in #4407.
  • Double KVO notifications in AFNetworkActivityManager.
    • Implemented by kinarobin in #4406.
  • Availability annotations around NSURLSessionTaskMetrics.
    • Implemented by ElfSundae in #4516.
  • Issues with associated_object and subclasses.
    • Implemented by welcommand in #3872.
  • Memory leak in example application.
    • Implemented by svoit in #4196.
  • Crashes in mulithreaded scenarios and dispatch_barrier.
    • Implemetned by streeter in #4474.
  • Issues with NSSecureCoding.
    • Implemented by ElfSudae in #4409.
  • Code style issues.
    • Implemented by svoit in #4200.
  • Race condition in AFImageDownloader.
    • Implemented by bbeversdorf in #4246.
  • Coding style issues.
    • Implemented by LeeHongHwa in #4002.

Removed

  • Support for iOS < 9, macOS < 10.10.
    • Implemented by jshier in #4523.
  • All previously deprecated APIs.
    • Implemented by jshier in #4523.
  • Unnecessary __block capture.
    • Implemented by kinarobin in #4526.
  • Workaround for NSURLSessionUploadTask creation on iOS 7.
    • Implemented by kinarobin in #4525.
  • Workaround for safe NSURLSessionTask creation on iOS < 8.
    • Implemented by kinarobin in #4401.
  • UIWebView extensions.
    • Implemented by tjanela in #4439.
2019-02-13 12:47:01
AFNetworking

2.7.0

Released on Tuesday, February 12, 2019. All issues associated with this milestone can be found using this filter.

Fixed

  • Update Podfile to work on modern CocoaPods
  • Add nullability specifiers to all id responseObject parameters
  • Fix empty content crash on AFHTTPSessionManager.post
2018-05-05 00:59:28
AFNetworking

3.2.1

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.
2018-01-27 13:55:59
AFNetworking

3.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.
2016-04-01 01:28:05
AFNetworking

3.1.0

Released on Thursday, March 31, 2016. All issues associated with this milestone can be found using this filter.

Added

  • Improved AFImageResponseSerializer test coverage
    • Implemented by quellish in #3367.
  • Exposed AFQueryStringFromParameters and AFPercentEscapedStringFromString for public use.
    • Implemented by Kevin Harwood in #3160.

Updated

  • Updated Test Suite to run on Xcode 7.3
    • Implemented by Kevin Harwood in #3418.
  • Added white space to URLs in code comment to allow Xcode to properly parse them
    • Implemented by Draveness in #3384.
  • Updated documentation to match method names and correct compiler warnings
    • Implemented by Hakon Hanesand in #3369.
  • Use NSKeyValueChangeNewKey constant in change dictionary rather than hardcoded string.
    • Implemented by Wenbin Zhang in #3360.
  • Resolved compiler warnings for documentation errors
    • Implemented by Ricardo Santos in #3336.

Changed

  • Reverted NSURLSessionAuthChallengeDisposition to NSURLSessionAuthChallengeCancelAuthenticationChallenge for SSL Pinning
    • Implemented by Kevin Harwood in #3417.

Fixed

  • Removed trailing question mark in query string if parameters are empty
    • Implemented by Kevin Harwood in #3386.
  • Fixed crash if bad URL was passed into the image downloader
    • Implemented by Christian Wen and Kevin Harwood in #3385.
  • Fixed image memory calculation
    • Implemented by 周明宇 in #3344.
  • Fixed issue where UIButton image downloading called wrong cancel method
    • Implemented by duanhong in #3332.
  • Fixed image downloading cancellation race condition
    • Implemented by Kevin Harwood in #3325.
  • Fixed static analyzer warnings on AFNetworkReachabilityManager
    • Implemented by Jeff Kelley in #3315.
  • Fixed issue where download progress would not be reported in iOS 7
    • Implemented by zwm in #3294.
  • Fixed status code 204/205 handling
    • Implemented by Kevin Harwood in #3292.
  • Fixed crash when passing nil/null for progress in UIWebView extension
    • Implemented by Kevin Harwood in #3289.

Removed

  • Removed workaround for NSJSONSerialization bug that was fixed in iOS 7
    • Implemented by Cédric Luthi in #3253.
2015-12-19 02:51:50
AFNetworking

3.0.4

Released on Friday, December 18, 2015. All issues associated with this milestone can be found using this filter.

Fixed

  • Fixed issue where AFNSURLSessionTaskDidResumeNotification was removed twice
    • Implemented by Kevin Harwood in #3236.
2015-12-17 03:49:50
AFNetworking

3.0.3

Released on Wednesday, December 16, 2015. All issues associated with this milestone can be found using this filter.

Added

  • Added tests for response serializers to increase test coverage
    • Implemented by Kevin Harwood in #3233.

Fixed

  • Fixed AFImageResponseSerializer serialization macros on watchOS and tvOS
    • Implemented by Charles Joseph in #3229.
2015-12-15 04:28:36
AFNetworking

3.0.2

Released on Monday, December 14, 2015. All issues associated with this milestone can be found using this filter.

Fixed

  • Fixed a crash in AFURLSessionManager when resuming download tasks
    • Implemented by Chongyu Zhu in #3222.
  • Fixed issue where background button image would not be updated
    • Implemented by eofs in #3220.
2015-12-12 04:57:48
AFNetworking

3.0.1

Released on Friday, December 11, 2015. All issues associated with this milestone can be found using this filter.

Added

  • Added Xcode 7.2 support to Travis
    • Implemented by Kevin Harwood in #3216.

Fixed

  • Fixed race condition with ImageView/Button image downloading when starting/cancelling/starting the same request
    • Implemented by Kevin Harwood in #3215.