Fixes
- Fix an issue with an optimization that is supposed to skip decompression if one or more processors are applied
- Fix a
[Decompressor] Error -17102 decompressing image -- possibly corrupt
console error message when usingImagePipeline.Configuration.isUsingPrepareForDisplay
(disabled by default). The pipeline will now skip decompression for.png
. - Fix #705 with integration between thumbnail options (link) and original data caching: the original data is now stored without a thumbnail key
- Fix an issue where
.storeAll
and.automatic
cache policies would not store the thumbnail data - Fix #746 an issue with
ImageRequest.UserInfoKey.scaleKey
not interacting correctly with coalescing - Fix #763 SwiftUI Warning: Accessing StateObject's object without being installed on a View when using
onStart
Changes
- Add support for initializing
ImageProcessors.CoreImageFilter
withCIFilter
instances (fixes #758 ) - Add support for disk cache lookup for intermediate processed images (as opposed to only final and original as before)
- Add an optimization that loads local resources with
file
anddata
schemes quickly without usingDataLoader
andURLSession
. If you rely on the existing behavior, this optimization can be turned off using theisLocalResourcesSupportEnabled
configuration option. #779 - Update the infrastructure for coalescing image-processing tasks to use the task-dependency used for other operations
Deprecations
- Deprecate
ImagePipeline.Configuration.dataCachingQueue
and perform data cache lookups on the pipeline's queue, reducing the amount of context switching