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.