From dede3b38ba9aeaa5a73b63503a73f225b6f2e885 Mon Sep 17 00:00:00 2001 From: onevcat Date: Mon, 8 Mar 2021 21:25:35 +0900 Subject: [PATCH] Bump version to 6.2.0 --- CHANGELOG.md | 14 ++++++++++++++ Kingfisher.podspec | 2 +- Kingfisher.xcodeproj/project.pbxproj | 8 ++++---- Sources/Info.plist | 4 ++-- Tests/KingfisherTests/Info.plist | 4 ++-- 5 files changed, 23 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b42afa68f..e39e709dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ ----- +## [6.2.0 - Spring Release](https://github.com/onevcat/Kingfisher/releases/tag/6.2.0) (2021-03-08) + +#### Add +* The backend of Kingfisher's cache solution, `DiskStorage` and `MemoryStorage`, are now marked as `public`. So you can use them standalone in your project. [#1649](https://github.com/onevcat/Kingfisher/pull/1649) +* An `imageFrameCount` property in image view extensions. It holds the frame count of an animated image if available. [#1647](https://github.com/onevcat/Kingfisher/pull/1647) +* A new `extraSessionDelegateHandler` in `ImageDownloader`. Now you can receive the related session task delegate method by registering an external delegate object. [#1620](https://github.com/onevcat/Kingfisher/pull/1620) +* A new method `loadImmediately` for `KFImage` to start the load manually. It is useful if you want to load the image before `onAppear` is called. + +#### Fix +* Drop the use of `@State` for keeping image across `View` update for `KFImage`. This should fix some SwiftUI internal crash when setting the image in `KFImage`. [#1642](https://github.com/onevcat/Kingfisher/pull/1642) +* The image reference in `ImageBinder` now is marked with `weak`. This helps release memory quicker in some cases. [#1640](https://github.com/onevcat/Kingfisher/pull/1640) + +--- + ## [6.1.1 - SwiftUI Issues](https://github.com/onevcat/Kingfisher/releases/tag/6.1.1) (2021-02-17) #### Fix diff --git a/Kingfisher.podspec b/Kingfisher.podspec index 4cd8a3185..11a3d9697 100644 --- a/Kingfisher.podspec +++ b/Kingfisher.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Kingfisher" - s.version = "6.1.1" + s.version = "6.2.0" s.summary = "A lightweight and pure Swift implemented library for downloading and cacheing image from the web." s.description = <<-DESC diff --git a/Kingfisher.xcodeproj/project.pbxproj b/Kingfisher.xcodeproj/project.pbxproj index b9c74a520..215b41eb2 100644 --- a/Kingfisher.xcodeproj/project.pbxproj +++ b/Kingfisher.xcodeproj/project.pbxproj @@ -1029,9 +1029,9 @@ CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES; CLANG_WARN_UNREACHABLE_CODE = YES_AGGRESSIVE; CLANG_WARN__EXIT_TIME_DESTRUCTORS = YES; - CURRENT_PROJECT_VERSION = 2194; + CURRENT_PROJECT_VERSION = 2221; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 2194; + DYLIB_CURRENT_VERSION = 2221; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES; GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES; @@ -1078,9 +1078,9 @@ CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES; CLANG_WARN_UNREACHABLE_CODE = YES_AGGRESSIVE; CLANG_WARN__EXIT_TIME_DESTRUCTORS = YES; - CURRENT_PROJECT_VERSION = 2194; + CURRENT_PROJECT_VERSION = 2221; DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 2194; + DYLIB_CURRENT_VERSION = 2221; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES; GCC_TREAT_INCOMPATIBLE_POINTER_TYPE_WARNINGS_AS_ERRORS = YES; diff --git a/Sources/Info.plist b/Sources/Info.plist index 9c99f1007..cbfdccd6c 100644 --- a/Sources/Info.plist +++ b/Sources/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 6.1.1 + 6.2.0 CFBundleSignature ???? CFBundleVersion - 2194 + 2221 NSPrincipalClass diff --git a/Tests/KingfisherTests/Info.plist b/Tests/KingfisherTests/Info.plist index 348eab48e..b68a50d10 100644 --- a/Tests/KingfisherTests/Info.plist +++ b/Tests/KingfisherTests/Info.plist @@ -15,10 +15,10 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 6.1.1 + 6.2.0 CFBundleSignature ???? CFBundleVersion - 2194 + 2221