| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| nuke-xcframeworks-ios.zip | 2024-05-18 | 1.5 MB | |
| nuke-xcframeworks-all-platforms.zip | 2024-05-18 | 8.8 MB | |
| Nuke 12.7 source code.tar.gz | 2024-05-18 | 6.6 MB | |
| Nuke 12.7 source code.zip | 2024-05-18 | 6.7 MB | |
| README.md | 2024-05-18 | 2.1 kB | |
| Totals: 5 Items | 23.5 MB | 0 | |
This release contains major improvements to the Structured Concurrency support and ImagePipeline internals.
- Add
previews: AsyncStream<ImageResponse>,progress: AsyncStream<Progress>,image: PlatformImage asyncandresponse: ImageResponse asyncdirectly toImageTaskand deprecateAsyncImageTask. These APIs have zero cost unless you use them. - Add
ImageTask.Eventand addevents: AsyncStream<Event>toImageTaskfor observing all events associated with the image loading. - Improve the support for
AsyncStream: a new stream is created every time you access the respective property to make it easier to have multiple consumers. - Add
ImagePipelineDelegate/imageTask(:didReceiveEvent:pipeline:)and deprecate the previous methods it replaced (context: these methods were introduced in Nuke 11.0 as the initial and misguided attempt at Structured Concurrency support that tried to borrow from theURLSessionAPI design) - (Internal) Rework
ImagePipelinethat accumulated a lot of cruft after the introduction of data tasks, Combine, Async/Await, and AsyncStream support in the previous releases. - Deprecate
ImagePipeline/loadData(with:)andImagePipeline/data(with:)methods that acceptURLas parameters – use theImageRequestvariants instead (these are rarely used and low-level APIs that don't require convenience variants) - Remove
@discardableResultfromImagePipeline/data(with:) async throws– it was never meant to be there - Rename
ImageTask/progresstoImageTask/currentProgress(warning: this is a small breaking change in the API) - Fix some of the Strict Concurrency Checking & Swift 6 warnings preparing for the upcoming Swift releases
- Fix documentation for
AsyncImageTask/previewsthat was previously specifying that it was delivering the previews and the final image – it's only the previews. - Fix https://github.com/kean/Nuke/issues/782, an issue with grayscale images (8 bpp) not being rendered correctly when
Resizeprocessor is used