Skip to content
This repository was archived by the owner on May 3, 2021. It is now read-only.

Commit c4faead

Browse files
committed
Update podspec, changelog and readme
1 parent ee660a7 commit c4faead

File tree

4 files changed

+75
-6
lines changed

4 files changed

+75
-6
lines changed

CHANGELOG

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
[Changelog](https://github.com/kean/DFImageManager/releases) for all versions
2+
3+
# DFImageManager 0.7.0
4+
5+
`DFImageManager 0.7.0` brings progressive image decoding support, and puts everything in its right place. It adds a separate stage for image decoding (see new `DFImageDecoding` protocol), and narrows role of the `DFImageFetching` protocol which is now only responsible for fetching image data (NSData).
6+
7+
## Changes
8+
9+
### Major
10+
11+
- #46 Add a separate stage for image decoding. Add multiple ways to configure and extend image decoding: add DFImageDecoding protocol, DFImageDecoder class; add decoder to DFImageManagerConfiguration; add dependency injector to set shared decoder.
12+
- #41 Add GIF support for PHAsset. Also includes major changes in DFImageFetching protocol, which is now only responsible for fetching image data (NSData).
13+
- #28 Add progressive image decoding, including progressive JPEG support.
14+
- Remove ALAssetsLibrary support due to the changes to the DFImageFetching protocol that now returns NSData instead of UIImage. It's easy to add you own application-specific ALAssetsLibrary support by either implementing DFImageFetching protocol and fetching NSData (and letting DFImageManager class do all the decoding, processing, caching and preheating), or by implementing DFImageManaging protocol itself.
15+
16+
### Minor
17+
18+
- #56 Xcode 7 compatibility
19+
- #54 Add shouldDecompressImages property to DFImageDecoder. Default value is YES.
20+
- #53 Add Carthage support
21+
- #52 Add defaultOptions class method to DFMutableImageRequestOptions which allows user to modify request options on per-application level
22+
- #51 DFImageProcessor makes a decision of weather it should process GIF images, not DFImageManager
23+
- #50 Add removeAllCachedImages to DFImageManaging protocol; Add optional removeAllCachedImages to DFImageFetching protocol
24+
- #49 Add shouldProcessImage:forRequest: method to DFImageProcessing protocol that would allow DFImageManager to skip processing step entirely
25+
- #47 Better signature checks to identify image formats; Add WebP signature check
26+
- Refactor DFImageManagerImageLoader (private class that was introduced in the previous version)
27+
- Improve DFImageView performance (use DFImageTask directly)
28+
- Remove DFNetworkReachability and auto retry from DFImageView
29+
- Add "Design" section in readme file, update examples
30+
31+
32+
# DFImageManager 0.6.0
33+
34+
`DFImageManager 0.6.0` focuses on consistency and performance. It features some minor improvements in the API and some major improvements in the implementation. The main changes were made to the DFImageManager class that was made much more approachable.
35+
36+
## Changes
37+
38+
### Major
39+
40+
- #38 DFImageRequest and DFImageRequestOptions are now immutable, options are created using builder
41+
- #37 Improve DFImageTaskCompletion completion block. Remove dictionary with DFImageInfo* keys; error (NSError *) is now a separate argument; add response (DFImageResponse) and completedTask (DFImageTask) parameters. It's now easier to discover all options.
42+
- #34 DFImageManager implementation is now much more approachable, and also more robust and performant (request execution management is moved from DFImageManager to a separate private class).
43+
- #32 DFImageTask now changes state synchronously on the callers thread (when you resume or cancel task). As a "side effect" DFImageManager invalidation is now thread safe.
44+
- #19 NSProgress is now used instead of blocks. Includes support for implicit progress composition, cancellation using progress objects, and more.
45+
46+
### Minor
47+
48+
- #39 Improve DFCompositeImageManager dispatch logic for preheating requests
49+
- #36 Multiple preheating performance improvements. DFImageManager now automatically removes obsolete preheating tasks without even resuming them.
50+
- #35 UI classes now accept nullable resources and requests (more convenient)
51+
- #33 BUGFIX: Remove setNeedsUpdateConstrains call from DFImageView
52+
- #30 UIImageView df_setImage: family of methods now return DFImageTask
53+
- Make nullability annotations explicit; fixe nullability annotations in couple of places
54+
- Other minor improvements that include consistent dot-syntax usage, making some properties copying and more
55+
- Remove deprecated methods
56+
57+
58+
# DFImageManager 0.5.0
59+
60+
`DFImageManager 0.5.0` brings [WebP](https://developers.google.com/speed/webp/) support, introduces some great new APIs, and features redesigned `DFCompositeImageTask`.
61+
62+
## Changes
63+
64+
- #14 WebP support
65+
- #22 Rename `DFImageRequestID` to `DFImageTask`, add new public interfaces (`state`, `request`, `error` and more)
66+
- #24 `DFImageManager` guarantees that the error is always created when the task fails
67+
- #25 Add `-resume` method to `DFImageTask`, tasks should not start running automatically
68+
- #26 Completely redesigned `DFCompositeImageTask`, simple interface, fully covered by unit tests
69+
- #27 Add `- (void)getImageTasksWithCompletion:(void (^)(NSArray *tasks, NSArray *preheatingTasks))completion;` method to `DFImageManaging` protocol
70+
- Minor performance improvements

DFImageManager.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "DFImageManager"
3-
s.version = "0.6.0"
4-
s.summary = "Advanced iOS framework for loading images. Zero config, yet immense customization and extensibility."
3+
s.version = "0.7.0"
4+
s.summary = "Advanced iOS framework for loading images. Zero config, yet immense customization and flexibility."
55
s.homepage = "https://github.com/kean/DFImageManager"
66
s.license = { :type => "MIT", :file => "LICENSE" }
77
s.author = "Alexander Grebenyuk"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
Advanced iOS framework for loading, caching, processing, displaying and preheating images. It uses latest advancements in iOS SDK and doesn't reinvent existing technologies. It provides a powerful API that will extend the capabilities of your app.
1111

12-
The DFImageManager is not just a loader, it is a pipeline for executing image requests using pluggable components. It also features [multiple subspecs](#install_using_cocopods) that automatically integrate things like [AFNetworking](https://github.com/AFNetworking/AFNetworking), [FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage), [libwebp](https://developers.google.com/speed/webp/docs/api) and more.
12+
DFImageManager is not just a loader, it's a pipeline for executing image requests using pluggable components. It also features [multiple subspecs](#install_using_cocopods) that automatically integrate things like [FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage), [AFNetworking](https://github.com/AFNetworking/AFNetworking), [libwebp](https://developers.google.com/speed/webp/docs/api) and more.
1313

1414
1. [Getting Started](#h_getting_started)
1515
2. [Usage](#h_usage)
@@ -31,7 +31,7 @@ The DFImageManager is not just a loader, it is a pipeline for executing image re
3131
- Uses latest advancements in [Foundation URL Loading System](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html) including [NSURLSession](https://developer.apple.com/library/ios/documentation/Foundation/Reference/NSURLSession_class/) that supports [HTTP/2](https://en.wikipedia.org/wiki/HTTP/2)
3232
- Has basic built-in networking implementation, and optional [AFNetworking integration](#install_using_cocopods) (which should be your primary choice). Combine the power of both frameworks!
3333
- Groups similar requests and never executes them twice
34-
- [Intelligent preheating](https://github.com/kean/DFImageManager/wiki/Image-Preheating-Guide) of images that are close to the viewport
34+
- [Intelligent preheating](https://github.com/kean/DFImageManager/wiki/Image-Preheating-Guide) of images close to the viewport
3535
- Progress tracking using `NSProgress`
3636

3737
##### Caching
@@ -47,10 +47,10 @@ The DFImageManager is not just a loader, it is a pipeline for executing image re
4747

4848
##### Displaying
4949
- Use UI components and UIKit categories
50+
- Automatically manage requests priorities
5051

5152
##### Advanced
5253
- Customize different parts of the framework using dependency injection
53-
- Add custom image decoders
5454
- Compose image tasks using `DFCompositeImageTask`. You might use it to show a low-resolution placeholder first and swap to a higher-res one when it is loaded. Or implement custom [revalidation policies](https://github.com/kean/DFImageManager/wiki/Advanced-Image-Caching-Guide#custom-revalidation-using-dfcompositeimagetask)
5555
- Create custom image managers
5656
- [Compose image managers](https://github.com/kean/DFImageManager/wiki/Extending-Image-Manager-Guide#using-dfcompositeimagemanager) into a tree of responsibility

0 commit comments

Comments
 (0)