From 295dc1051da4808d247320c6723cb2ba09a29aed Mon Sep 17 00:00:00 2001 From: Christian Noon Date: Sun, 23 Feb 2020 10:10:29 -0800 Subject: [PATCH] Prepping 4.0.0 Release (#397) * Added release notes to the CHANGELOG and bumped podspec * Regenerate jazzy docs for 4.0.0 release --- AlamofireImage.podspec | 2 +- CHANGELOG.md | 47 + docs/Classes.html | 23 +- docs/Classes/AutoPurgingImageCache.html | 59 +- docs/Classes/ImageDownloader.html | 139 +- .../DownloadPrioritization.html | 11 +- docs/Classes/ImageResponseSerializer.html | 52 +- docs/Classes/RequestReceipt.html | 11 +- docs/Enums.html | 12 +- docs/Enums/AFIError.html | 28 +- docs/Extensions.html | 77 +- docs/Extensions/AlamofireExtension.html | 2202 +++++++++++++++++ docs/Extensions/DataRequest.html | 11 +- docs/Extensions/UIButton.html | 560 +---- docs/Extensions/UIImage.html | 342 +-- docs/Extensions/UIImageView.html | 410 +-- .../UIImageView/ImageTransition.html | 13 +- docs/Protocols.html | 51 +- docs/Protocols/CompositeImageFilter.html | 19 +- docs/Protocols/CoreImageFilter.html | 11 +- docs/Protocols/ImageCache.html | 11 +- docs/Protocols/ImageFilter.html | 188 +- docs/Protocols/ImageRequestCache.html | 11 +- docs/Protocols/Roundable.html | 11 +- docs/Protocols/Sizable.html | 11 +- docs/Structs.html | 67 +- .../AspectScaledToFillSizeCircleFilter.html | 11 +- .../Structs/AspectScaledToFillSizeFilter.html | 11 +- ...ledToFillSizeWithRoundedCornersFilter.html | 11 +- docs/Structs/AspectScaledToFitSizeFilter.html | 11 +- docs/Structs/BlurFilter.html | 11 +- docs/Structs/CircleFilter.html | 11 +- docs/Structs/DynamicCompositeImageFilter.html | 11 +- docs/Structs/DynamicImageFilter.html | 11 +- docs/Structs/RoundedCornersFilter.html | 11 +- docs/Structs/ScaledToSizeCircleFilter.html | 11 +- docs/Structs/ScaledToSizeFilter.html | 11 +- .../ScaledToSizeWithRoundedCornersFilter.html | 11 +- docs/Typealiases.html | 23 +- docs/badge.svg | 6 +- docs/css/jazzy.css | 22 +- .../Contents/Resources/Documents/Classes.html | 23 +- .../Classes/AutoPurgingImageCache.html | 59 +- .../Documents/Classes/ImageDownloader.html | 139 +- .../DownloadPrioritization.html | 11 +- .../Classes/ImageResponseSerializer.html | 52 +- .../Documents/Classes/RequestReceipt.html | 11 +- .../Contents/Resources/Documents/Enums.html | 12 +- .../Resources/Documents/Enums/AFIError.html | 28 +- .../Resources/Documents/Extensions.html | 77 +- .../Extensions/AlamofireExtension.html | 2202 +++++++++++++++++ .../Documents/Extensions/DataRequest.html | 11 +- .../Documents/Extensions/UIButton.html | 560 +---- .../Documents/Extensions/UIImage.html | 342 +-- .../Documents/Extensions/UIImageView.html | 410 +-- .../UIImageView/ImageTransition.html | 13 +- .../Resources/Documents/Protocols.html | 51 +- .../Protocols/CompositeImageFilter.html | 19 +- .../Documents/Protocols/CoreImageFilter.html | 11 +- .../Documents/Protocols/ImageCache.html | 11 +- .../Documents/Protocols/ImageFilter.html | 188 +- .../Protocols/ImageRequestCache.html | 11 +- .../Documents/Protocols/Roundable.html | 11 +- .../Documents/Protocols/Sizable.html | 11 +- .../Contents/Resources/Documents/Structs.html | 67 +- .../AspectScaledToFillSizeCircleFilter.html | 11 +- .../Structs/AspectScaledToFillSizeFilter.html | 11 +- ...ledToFillSizeWithRoundedCornersFilter.html | 11 +- .../Structs/AspectScaledToFitSizeFilter.html | 11 +- .../Documents/Structs/BlurFilter.html | 11 +- .../Documents/Structs/CircleFilter.html | 11 +- .../Structs/DynamicCompositeImageFilter.html | 11 +- .../Documents/Structs/DynamicImageFilter.html | 11 +- .../Structs/RoundedCornersFilter.html | 11 +- .../Structs/ScaledToSizeCircleFilter.html | 11 +- .../Documents/Structs/ScaledToSizeFilter.html | 11 +- .../ScaledToSizeWithRoundedCornersFilter.html | 11 +- .../Resources/Documents/Typealiases.html | 23 +- .../Resources/Documents/css/jazzy.css | 22 +- .../Contents/Resources/Documents/index.html | 114 +- .../Contents/Resources/Documents/search.json | 2 +- .../Contents/Resources/docSet.dsidx | Bin 69632 -> 86016 bytes docs/docsets/AlamofireImage.tgz | Bin 135793 -> 144468 bytes docs/docsets/AlamofireImage.xml | 2 +- docs/index.html | 114 +- docs/search.json | 2 +- docs/undocumented.json | 254 +- 87 files changed, 6507 insertions(+), 3050 deletions(-) create mode 100644 docs/Extensions/AlamofireExtension.html create mode 100644 docs/docsets/AlamofireImage.docset/Contents/Resources/Documents/Extensions/AlamofireExtension.html diff --git a/AlamofireImage.podspec b/AlamofireImage.podspec index 9506e3be..38a8752f 100644 --- a/AlamofireImage.podspec +++ b/AlamofireImage.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'AlamofireImage' - s.version = '4.0.0-beta.6' + s.version = '4.0.0' s.license = 'MIT' s.summary = 'AlamofireImage is an image component library for Alamofire' s.homepage = 'https://github.com/Alamofire/AlamofireImage' diff --git a/CHANGELOG.md b/CHANGELOG.md index 257a041e..57ad5c52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. `AlamofireImage` adheres to [Semantic Versioning](http://semver.org/). #### 4.x Releases +- `4.0.0` - [4.0.0](#400) - `4.0.0` Betas - [4.0.0-beta.1](#400-beta1) | [4.0.0-beta.2](#400-beta2) | [4.0.0-beta.3](#400-beta3) | [4.0.0-beta.4](#400-beta4) | [4.0.0-beta.5](#400-beta5) | [4.0.0-beta.6](#400-beta6) #### 3.x Releases @@ -30,6 +31,52 @@ All notable changes to this project will be documented in this file. --- +## [4.0.0](https://github.com/Alamofire/AlamofireImage/releases/tag/4.0.0) +Released on 2020-02-23. All issues associated with this milestone can be found using this +[filter](https://github.com/Alamofire/AlamofireImage/milestone/23?closed=1). + +#### Added +- Custom `cacheKey` support to `ImageDownloader` and `UIImageView` and `UIButton` extensions. + - Added by [Måns Severin](https://github.com/graphiclife) in Pull Request [#324](https://github.com/Alamofire/AlamofireImage/pull/324) in regards to Issue [#222](https://github.com/Alamofire/AlamofireImage/issues/222). +- The `application/octet-stream` to the list of acceptable image content types to support iOS 13. + - Added by [Rafael Costa](https://github.com/rafaelc0sta) in Pull Request [#390](https://github.com/Alamofire/AlamofireImage/pull/390) in regards to Issues [#370](https://github.com/Alamofire/AlamofireImage/issues/370) and [#378](https://github.com/Alamofire/AlamofireImage/issues/378). +- Custom `ImageResponseSerializer` support to `ImageDownloader` and `UIImageView` and `UIButton` extensions. + - Added by [Christian Noon](https://github.com/cnoon) in regards to Issues [#277](https://github.com/Alamofire/AlamofireImage/issues/277) and [#332](https://github.com/Alamofire/AlamofireImage/issues/332). +- Tests to various types to verify they can handle `URLRequestConvertible` types that throw. + - Added by [Marina Gornostaeva](https://github.com/hybridcattt) in Pull Request [#392](https://github.com/Alamofire/AlamofireImage/pull/392). +- `AlamofireExtended` support to `UIImage`, `UIImageView`, and `UIButton` types to use `af.` prefixing instead of `af_`. + - Added by [Christian Noon](https://github.com/cnoon) in Pull Request [#394](https://github.com/Alamofire/AlamofireImage/pull/394) in regards to Issue [#197](https://github.com/Alamofire/AlamofireImage/issues/197). +- A 4.0 migration guide to the project and linked in the README. + - Added by [Christian Noon](https://github.com/cnoon) in Pull Request [#395](https://github.com/Alamofire/AlamofireImage/pull/395). +- SwiftFormat support to the project. + - Added by [Jon Shier](https://github.com/jshier) in Pull Request [#396](https://github.com/Alamofire/AlamofireImage/pull/396). + +#### Updated +- The license section of the README to link to the actual LICENSE file. + - Updated by [Yunsu Guk](https://github.com/krgoodnews) in Pull Request [#364](https://github.com/Alamofire/AlamofireImage/pull/364). +- The `ImageDownloader` download image logic by removing variable shadowing to simplify logic flow. + - Updated by [Marina Gornostaeva](https://github.com/hybridcattt) in Pull Request [#392](https://github.com/Alamofire/AlamofireImage/pull/392). +- The image cache capacity section in the README to improve in-memory setting recommendations. + - Updated by [Christian Noon](https://github.com/cnoon) in regards to Issue [#330](https://github.com/Alamofire/AlamofireImage/issues/330). +- The Alamofire dependency to `~> 5.0` across dependency management files. + - Updated by [Christian Noon](https://github.com/cnoon). +- The README to match all the newer conventions with the Alamofire 5 changes and `af.` prefixing on extensions. + - Updated by [Christian Noon](https://github.com/cnoon). + +#### Deprecated +- The `af_` APIs on `UIImage`, `UIImageView`, and `UIButton` in favor of the new `af.` equivalent APIs. These APIs will be removed in AFI5. + - Deprecated by [Christian Noon](https://github.com/cnoon) in Pull Request [#394](https://github.com/Alamofire/AlamofireImage/pull/394). + +#### Fixed +- Issue in the README where the documentation link was incorrect. + - Fixed by [Will Jessop](https://github.com/spnkr) in Pull Request [#367](https://github.com/Alamofire/AlamofireImage/pull/367). +- Issue where `af_setBackgroundImage` was not setting the filter correctly on the image download. + - Fixed by [Dan Koza](https://github.com/djk12587) in Pull Request [#260](https://github.com/Alamofire/AlamofireImage/pull/260). +- Issue where `runImageTransitionIfCached` on `UIImageView` was not setting the placeholder image correctly. + - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue [#293](https://github.com/Alamofire/AlamofireImage/issues/293). + +--- + ## [4.0.0-beta.6](https://github.com/Alamofire/AlamofireImage/releases/tag/4.0.0-beta.6) Released on 2019-10-27. All issues associated with this milestone can be found using this [filter](https://github.com/Alamofire/AlamofireImage/milestone/35?closed=1). diff --git a/docs/Classes.html b/docs/Classes.html index c437e3fc..8a243be5 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -23,7 +23,7 @@ AlamofireImage Docs - (85% documented) + (77% documented)

@@ -87,6 +87,9 @@