Releases: AFNetworking/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_EXPORTforAFJSONObjectByRemovingKeysWithNullValues.- Implemented by ElfSundae in #4529.
Removed
- Unused UIImage+AFNetworking.h file.
- Implemented by ElfSundae in #4535.
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.
WKWebViewextensions.- 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
AFHTTPSessionManagerto recreate its underlyingNSURLSession.- 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
dataTaskWithHTTPMethodto be public.- Implemented by smartinspereira in #4007.
- Reachability notification to include the instance which issued the notification.
- Implemented by LMsgSendNilSelf in #4051.
AFJSONObjectByRemovingKeysWithNullValuesto be public.- Implemented by ashfurrow in #4051.
AFJSONObjectByRemovingKeysWithNullValuesto removeNSNullvalues fromNSArrays.- Implemented by ashfurrow in #4052.
Changed
- Automated CI to GitHub Actions.
- Implemented by jshier in #4523.
Fixed
- Explicit
NSSecureCodingsupport.- Implemented by jshier in #4523.
- Deprecated API usage on Catalyst.
- Implemented by jshier in #4523.
- Nullability annotations.
- Implemented by jshier in #4523.
AFImageDownloaderto 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_objectand 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
__blockcapture.- Implemented by kinarobin in #4526.
- Workaround for
NSURLSessionUploadTaskcreation on iOS 7.- Implemented by kinarobin in #4525.
- Workaround for safe
NSURLSessionTaskcreation on iOS < 8.- Implemented by kinarobin in #4401.
UIWebViewextensions.- Implemented by tjanela in #4439.
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
- Fixed by SlaunchaMan in #4329.
- Add nullability specifiers to all
id responseObjectparameters- Fixed by sashaweiss in #4335.
- Fix empty content crash on
AFHTTPSessionManager.post
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.
3.2.0
Released on Friday, December 15, 2017. All issues associated with this milestone can be found using this filter.
Added
- Config
AFImageDownloaderNSURLCacheand askAFImageRequestCacheimplementer if an image should be cached- Implemented by wjehenddher in #4010.
- Add
XMLParser/XMLDocumentserializer tests- Implemented by skyline75489 in #3753.
- Enable custom httpbin URL with
HTTPBIN_BASE_URLenvironment variable- Implemented by 0xced in #3748.
AFHTTPSessionManagernow 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
AFHTTPSessionManagerdocumentation 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
NSURLCachesize for < iOS 8.2- Implemented by kcharwood in #3735.
- Fixed issue where
UIWebViewextension 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_UNAVAILABLEis not reported forAFNetworkReachabilityManager- 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
UIProgessViewto 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
NSMutableDictionaryaccess inAFHTTPRequestSerializer- Implemented by alexbird in #3526.
- Updated dash character to improve markdown parsing for license
- Implemented by gemmakbarlow in #3488.
Removed
3.1.0
Released on Thursday, March 31, 2016. All issues associated with this milestone can be found using this filter.
Added
- Improved
AFImageResponseSerializertest coverage- Implemented by quellish in #3367.
- Exposed
AFQueryStringFromParametersandAFPercentEscapedStringFromStringfor 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
NSKeyValueChangeNewKeyconstant 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
NSURLSessionAuthChallengeDispositiontoNSURLSessionAuthChallengeCancelAuthenticationChallengefor 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.
3.0.4
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
AFImageResponseSerializerserialization macros on watchOS and tvOS- Implemented by Charles Joseph in #3229.
3.0.2
Released on Monday, December 14, 2015. All issues associated with this milestone can be found using this filter.
Fixed
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.