Skip to content

Releases: pinterest/PINRemoteImage

3.0.3

23 Oct 18:43
Compare
Choose a tag to compare

Changelog

3.0.3 (2020-10-23)

Full Changelog

3.0.2

22 Oct 21:45
Compare
Choose a tag to compare

Changelog

3.0.2 (2020-10-22)

Full Changelog

3.0.1 Xcode 12

16 Sep 15:21
696077c
Compare
Choose a tag to compare

3.0.1 (2020-09-08)

Full Changelog

Merged pull requests:

  • Update PINCache in podspec #564 (garrettmoon)
  • Update PINCache and PINOperation #562 (garrettmoon)
  • Let's use the same commands we use locally. #561 (garrettmoon)
  • Ensure the example defines the macros before referencing them. #557 (bolsinga)
  • Remove the PCH file and ensure macros are defined before using #556 (bolsinga)
  • Seems that having the framework and example have the same name confuses cocoapods #555 (garrettmoon)
  • Upgrade WebP to 1.1.0 #554 (garrettmoon)
  • Conditionally call CADisplayLink method based upon iOS10 availability to remove deprecation warning #552 (bolsinga)
  • Fix typos #548 (pgrimaud)
  • Remove unused CI directory #547 (jparise)
  • PINCachedAnimatedImage: Fix retain cycles #546 (bolsinga)
  • Fix up analyze for new github CI #545 (garrettmoon)
  • Switch to GitHub Actions for CI #544 (jparise)
  • #trivial Fix performance issue caused by saving encoded image data to memory cache #539 (Naituw)
  • Update 3.0.0 change log and podspec #537 (ernestmama)
  • Fix memory cache content in README #530 (OhKanghoon)
  • Refactor remote manager task for uuid method #526 (zhongwuzw)
  • Burst Animated Image speed of frame index search #523 (zhongwuzw)
  • Set HTTPMaximumConnectionsPerHost to PINRemoteImageHTTPMaximumConnectionsPerHost only if user don't provide sessionConfiguration #516 (zhongwuzw)
  • Fixes re-downloading data corrupt for the same url #514 (zhongwuzw)

3.0.0 Finally!

06 Jan 23:53
Compare
Choose a tag to compare
  • [new] Add PINRemoteImageManagerConfiguration configuration object. #492 rqueue
  • [fixed] Fixes blending in animated WebP images. #507 garrettmoon
  • [fixed] Fixes support in PINAnimatedImageView for WebP animated images. #507 garrettmoon
  • [new] Exposure didCompleteTask:withError: delegate method of protocol PINURLSessionManagerDelegate. #519 zhongwuzw
  • [fixed] Fixes AnimatedImageView designated initializer not work. #512 zhongwuzw
  • [fixed] Set bpp(bits per pixel) to 32 bit for GIF. #511 zhongwuzw
  • [new] Add cancel method for PINRemoteImageManager. #509 zhongwuzw
  • [fixed] Fixes build error when using Xcode 10.2.1. #524 ANNotunzdY

Fixes galore!

20 Feb 19:39
Compare
Choose a tag to compare
Fixes galore! Pre-release
Pre-release
  • [new] Allow use of NSURLCache via a custom NSURLSession #477 wiseoldduck
  • [new] Respect Cache-Control and Expires headers if the cache supports TTL. #462 wiseoldduck
  • [new] Updated to latest PINCache beta 7. #461 wiseoldduck
  • [iOS11] Fix warnings #428 Eke
  • [new / beta] Native Support for GIFs and animated WebP #453 garrettmoon
  • [new] Add support for getting NSURLSessionMetrics back. #456 garrettmoon
  • [removed] Removed support for FLAnimatedImage #453 garrettmoon
  • [new] Add support for higher frame rate devices to animated images. #417 garrettmoon
  • [fixed] Fixes non-animated GIFs being delivered as an animated image. #434 garrettmoon
  • [fixed] Fixes a bug where using PINRemoteImageBasicCache would cause images to be decoded on the main thread. #457 kgaidis
  • [cleanup] Remove unused code that supported iOS < 7. #435 Adlai-Holler
  • [cleanup] Use NS_ERROR_ENUM to improve Swift import. #440 Adlai-Holler
  • [fixed] Fixes nil session manager configuration. #460 garrettmoon
  • [fixed] Fixes deprecated -defaultImageCache not being called if overridden. 479 nguyenhuy
  • [new] Add a new API that allows a priority to be set when a new download task is scheduled. #490 nguyenhuy

3.0 beta 13: Animated WebP support / better GIF handling

09 Oct 16:08
Compare
Choose a tag to compare
  • [new] Support for webp and improved support for GIFs. #411 garrettmoon
  • [new] Added back tvOS support through a new target #408 jverdi
  • [refactor] Refactor out KVO on NSURLSessionTask to avoid Apple crashes. #410 garrettmoon

3.0 beta 12

08 Sep 23:54
Compare
Choose a tag to compare
3.0 beta 12 Pre-release
Pre-release
  • [new] Added a way to specify custom retry logic when network error happens #386
  • [new] Improve disk cache migration performance #391 chuganzy, #394 nguyenhuy
  • [new] Adds support for using cell vs. wifi in leau of speed for determing which URL to download if speed is unavailable. garrettmoon
  • [new] Uses BPS minus time to first byte for deciding which of a set of URLs to download. garrettmoon
  • [fixed] Fixes an edge case when image returned with 404 response, we now treat it as image instead of error #399 maxwang

3.0 Beta 11

30 Jun 20:08
Compare
Choose a tag to compare
3.0 Beta 11 Pre-release
Pre-release

Beta 11 has a bunch of bug fixes as well some new features:

  • [new] PINRemoteImageManager now respects the request timeout value of session configuration. garrettmoon
  • [new] Added support for getting NSURLResponse from a PINRemoteImageManagerResult object. garrettmoon
  • [new] Updated to latest PINCache beta 5. garrettmoon
  • [fixed] Fixes a deadlock with canceling processor tasks #374 zachwaugh
  • [fixed] Fixes a deadlock in the retry system. garrettmoon
  • [fixed] Fixes a threadsafety issue in accessing callbacks. garrettmoon
  • [fixed] Fixes a crash with resumed downloads when a key is long. garrettmoon

3.0 Beta 10

05 Jun 18:23
Compare
Choose a tag to compare
3.0 Beta 10 Pre-release
Pre-release

Beta 10 is mostly a bug fix release with one new feature:

  • [new] Added support (in iOS 10) for skipping cancelation if the estimated amount of time to complete the download is less than the average time to first byte for a host. #364 garrettmoon
  • [fixed] Fixes an issue where PINResume would assert because the server didn't return an expected content length.
  • [fixed] Fixed bytes per second on download tasks (which could affect if an image is progressively rendered) #360 garrettmoon
  • [new] Added request configuration handler to allow customizing HTTP headers per request #355 zachwaugh
  • [fixed] Moved storage of resume data to disk from memory. garrettmoon
  • [fixed] Hopefully fixes crashes occuring in PINURLSessionManager on iOS 9. garrettmoon

Beta 9: Support for resuming downloads, faster operation queue

05 Apr 22:04
Compare
Choose a tag to compare

Included in Beta 9 is one big feature and one big performance improvement:

  • New support for resuming canceled downloads. If you call cancelTaskWithUUID:storeResumeData: you can specify that any data already downloaded be stored in the memory cache. If you later attempt to download the image at the URL again, it will resume where it left off. (#331) Caveats:
    • Resume data is only stored in the memory cache, not the disk cache
    • Your server must support resuming downloads by responding to requests with the Accept-Range header == bytes and providing either an ETag header or a Last-Modified header.
  • Performance switch to PINOperationQueue from NSOperationQueue which turned out to take a lot of the time PINRemoteImage used on the main thread. (#338, #326, #329)