Skip to content

Latest commit

 

History

History
85 lines (57 loc) · 2.48 KB

CHANGELOG.markdown

File metadata and controls

85 lines (57 loc) · 2.48 KB

3.0.0

  • Added a simpler interface for use with swift

2.5.0

  • Updated minimum deployment target to iOS 9
  • Removed watchOS 2 target
  • Fixed a thread safety issue when flushing caches on app launch
  • Fixed "this block declaration is not a prototype" warnings
  • Removed the explicit dependency of AFNetworking since we get it from SGHTTPRequest
  • Don’t crossfade images using the category method if we already have the image cached locally and can immediately set it
  • Suppressed documentation warnings coming from promiseKit

2.4.0

  • Enabled watchOS 2 target

2.3.0

  • SGImageCache is now based on AFNetworking 3
  • Fixed bug where sometimes images were fetched remotely even if they were available from the cache

2.2.1

  • Added a way to remove images from the cache manually
  • Fixed caching bug to do with hash collisions
  • Use Framework style import statements for pod Framework compatibility

2.2.0

  • Added the ability to handle remote fetch failures and perform actions on fetch retry attempts (eg. show fail screens, retry loading spinners).
  • Added an addImage:forURL method for adding images to the cache locally

2.1.0

  • Added an addData: method for adding cache data locally

2.1.0

  • Added SGCache, a generic NSData cacher
  • Added the ability to use custom HTTP headers
  • Allow providing custom cache keys
  • Added the ability to force a remote fetch

2.1.0

  • Added SGCache, a generic NSData cacher
  • Added the ability to use custom HTTP headers
  • Allow providing custom cache keys
  • Added the ability to force a remote fetch

2.0.1

  • Allow SGImageCache to work with projects using Alamofire and use_frameworks!
  • Fixed a race condition bug
  • Specified a PromiseKit dependency of 1.5.x

2.0.0

  • PromiseKit is now compulsory, and non PromiseKit based methods have been removed
  • Fixed auto retrying of image fetches on return of network connectivity

1.2.0

  • Added optional PromiseKit based completions, courtesy of @dbachrach.

1.1.0

  • No longer uses imageNamed: for memory caching, due to nasty performance degredation on iOS 8, and imageNamed's questionable memory management.
  • A new SGImageView class which can automatically release its image property on memory warning if possible (ie if not on screen). The image will be automatically reloaded from cache if the image view returns to screen. (Note that this functionality is only enabled if one of the setImageForURL: methods was used).

1.0.1

Added console logging option

1.0.0

Initial release