Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

AFNetworking 2.2.1

Compare
Choose a tag to compare
@mattt mattt released this 14 Mar 17:52
· 1092 commits to master since this release
  • Fix behavior of SSL pinning. In case of validatesDomainName == YES, it now explicitly uses SecPolicyCreateSSL, which also validates the domain name. Otherwise, SecPolicyCreateBasicX509 is used. AFSSLPinningModeCertificate now uses SecTrustSetAnchorCertificates, which allows explicit specification of all trusted certificates. For AFSSLPinningModePublicKey, the number of trusted public keys determines if the server should be trusted. (Oliver Letterer, Eric Allam)
  • Fix -Wsign-conversion warning in AFURLConnectionOperation (Jesse Collis)
  • Fix -Wshorten-64-to-32 warning (Jesse Collis)
  • Remove unnecessary #imports in UIImageView & UIWebView categories (Jesse Collis)
  • Fix call to CFStringTransform() by checking return value before setting as User-Agent (Kevin Cassidy Jr)
  • Fix small documentation bug (@jkoepcke)
  • Update AFJSONResponseSerializer adding @autorelease to relieve memory pressure (Mattt Thompson, Michal Pietras)
  • Update AFJSONRequestSerializer to accept id (Daren Desjardins)