Image loading system
[Decompressor] Error -17102 decompressing image -- possibly corrupt
console error message when using ImagePipeline.Configuration.isUsingPrepareForDisplay
(disabled by default). The pipeline will now skip decompression for .png
..storeAll
and .automatic
cache policies would not store the thumbnail dataImageRequest.UserInfoKey.scaleKey
not interacting correctly with coalescingonStart
ImageProcessors.CoreImageFilter
with CIFilter
instances (fixes https://github.com/kean/Nuke/issues/758 )file
and data
schemes quickly without using DataLoader
and URLSession
. If you rely on the existing behavior, this optimization can be turned off using the isLocalResourcesSupportEnabled
configuration option. https://github.com/kean/Nuke/pull/779
ImagePipeline.Configuration.dataCachingQueue
and perform data cache lookups on the pipeline's queue, reducing the amount of context switchingScreen.scale
by @jszumski in https://github.com/kean/Nuke/pull/766
showPlaceholderOnFailure
parameter to show placeholder in case of image loading failure by @mlight3 in https://github.com/kean/Nuke/pull/764
ImageRequest
by @woxtu in https://github.com/kean/Nuke/pull/769
if let
shorthand syntax by @mlight3 in https://github.com/kean/Nuke/pull/762
Full Changelog: https://github.com/kean/Nuke/compare/12.4.0...12.5.0
Full Changelog: https://github.com/kean/Nuke/compare/12.2.0...12.3.0
.m4v
files by @leonid-shevtsov in https://github.com/kean/Nuke/pull/735
onStart
callback to LazyImage
by @urbaneewe in https://github.com/kean/Nuke/pull/736
Full Changelog: https://github.com/kean/Nuke/compare/12.1.6...12.2.0
ImageCache
(memory cache) performance by 20%NukeExtensions
performance by 5%canImport
where possible[!WARNING]
Swift Package Manager is not supported yet. There seem to be compilation errors when adding.visionOS(.v1)
to the list of the supported versions. More updates coming soon.
DataCache
metadata to a hidden file - https://github.com/kean/Nuke/pull/718
CommonCrypto
to CryptoKit
and slightly optimize how cryptographic hashes are converted to strings (used as filenames for DataCache
)DataCache/isCompressionEnabled
. It was initially added as a general-purpose feature used in Pulse, but it's not recommended to be used with most image formats.DataCache
now performs sweeps less frequentlyLazyImage
fails to perform memory cache lookup in some scenarios