@mattt mattt released this Mar 14, 2014 · 1004 commits to master since this release

Assets 2
  • 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)