SDWebImage v5.0.0-beta4 Release Notes
Release Date: 2019-01-26 // about 5 years ago-
๐ See all tickets marked for the 5.0.0 release
๐ Features
- ๐ฆ Expose the graphics helper method for coder plugin author and fix scale issue #2523
๐ Performances
- โฌ Decrease animated decode times when cache enable #2468
- โ Remove kCGImageSourceShouldCache option when creating image source #2472
- โ Add autoreleasepool to release autorelease objects in advance when using GCD #2474
๐ Fixes
- โ Add protect when custom animated image class image data is nil during progressive animation check #2466
- ๐ Fix background download #2500
Project
- ๐ Merged targets + MapKit dedicated target for Carthage installs #2476. Carthage user now does not enable MapKit support by default.
- โฌ๏ธ Upgrade Xcode 10 + using xcconfig for project settings #2494
Notable Changes (from beta3)
Behavior:
- ๐ Move webp component (and libwebp dependency) to SDWebImage/SDWebImageWebPCoder #2469. Any user who use WebP in 5.0.0 should add SDWebImageWebPCoder to your Podfile or Cartfile instead.
- ๐จ Refactory cache path about namespace && final cache directory #2535. Now the default disk cache path was moved to suitable path with the namespace.
- ๐ Use the memory bytes size, instead of pixel size to calculate the memory cost function #2568. Now the memory cost function use bytes size instead of pixels count.
Swift Only:
- ๐ Fix the accident changes of Swift API naming for
sd_imageDataAsFormat:
#2517
โ You can always check 5.0 migration guide for the latest information for these changes.