From 3c80b0e2af18514784c3d3d527807900f03cd767 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Wed, 31 Jan 2018 18:58:57 +0800 Subject: [PATCH] update CHANGELOG Update the changes for 4.3.0 --- CHANGELOG.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba844cb6..61f884b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,48 @@ +## [4.3.0 - Image Progress & Transition, on Jan 31th, 2018](https://github.com/rs/SDWebImage/releases/tag/4.3.0) +See [all tickets marked for the 4.3.0 release](https://github.com/rs/SDWebImage/milestone/21) + +#### Features +- View Category + - Add NSProgress API in `sd_imageProgress` property represent the image loading progress, this allow user add KVO on it for complicated logic #2172 + - Add Image Transition API in `sd_imageTransition` property support custom image transition after image load finished #2182 + - Add NSButton WebCache category on macOS #2183 +- Cache + - Add query cache options for query method #2162 + - Add sync version API diskImageDataExistsWithKey and diskCacheWritingOptions #2190 +- Manager + - Add a option SDWebImageFromCacheOnly to load the image from cache only and prevent network #2186 + +#### Fixes +- Coder + - Fix GIF loopCount when the GIF image has no Netscape 2.0 loop extension #2155 +- View Category + - Fix the issue that `setAnimationImagesWithURLs` weak reference may dealloc before the animated images was set #2178 +- Cache + - Fix the getSize method which use the default file manager instead of current file manager #2180 +- Manager + - Fix the leak of runningOperations in race condition #2177 (Manager) +- Downloader + - Ensure all the session delegate completionHandler called and fix the leak when response error code below iOS 10 #2197 + - Fix dispatch_sync blocking the main queue on race condition #2184 + - Fix the thread-safe issue for headers mutable dictionary in downlaoder #2204 +- Download Operation + - Fix that 0 pixels error should be used when width OR height is zero but not AND #2160 + - Use the synchronized to access NSURLCache and try fix the potential thread-safe problem #2174 +- Prefetcher + - Fix the issue that prefetcher will cause stack overflow is the input urls list is huge because of recursion function call #2196 + +#### Performance +- View Category + - Use the associate object to store the FLAnimatedImage into memory cache, avoid blinking or UIView transaction #2181 + +#### Improvements +- Cache + - Remove the extra memory warning notification for AutoPurgeCache #2153 +- Downloader + - Avoid user accidentally invalidates the session used in shared downloader #2154 +- Project + - Update the spec file to define the dependency version for libwebp #2169 + ## [4.2.3 - 4.2 Patch, on Nov 30th, 2017](https://github.com/rs/SDWebImage/releases/tag/4.2.3) See [all tickets marked for the 4.2.3 release](https://github.com/rs/SDWebImage/milestone/20)