diff --git a/.github/ISSUE_TEMPLATE.MD b/.github/ISSUE_TEMPLATE.MD index 6bc72b3f..f5bd027a 100644 --- a/.github/ISSUE_TEMPLATE.MD +++ b/.github/ISSUE_TEMPLATE.MD @@ -5,7 +5,7 @@ Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue. #### Info - ZLPhotoBrowser version: e.g. 4.3.5 + ZLPhotoBrowser version: e.g. 4.3.6 Device: e.g. iPhone X Device version: e.g. iOS 14.0 Xcode version: e.g. Xcode 12.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 2996caee..46583d8a 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ ----- +## [4.3.6](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.3.6) (2022-09-06) + +## Add: +* Provide a method to save the PHAsset to local. +* Updated the method of parsing GIF.[#752](https://github.com/longitachi/ZLPhotoBrowser/issues/752) + +## Fix: +* Fixed crash in pop interactive transition.[#753](https://github.com/longitachi/ZLPhotoBrowser/issues/753) + +--- + ## [4.3.5](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.3.5) (2022-07-07) ## Add: diff --git a/README.md b/README.md index 921d7e43..1746170e 100644 --- a/README.md +++ b/README.md @@ -91,18 +91,19 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h ### Change Log > [More logs](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md) ``` +● 4.3.6 + Add: + Provide a method to save the PHAsset to local. + Updated the method of parsing GIF. + Fix: + Fixed crash in pop interactive transition. ● 4.3.5 Add: Support custom alert style. Improve the experience of image editor. ● 4.3.4 Fix: - Fix a bug of the image editor. -● 4.3.3 - Add: - Adjust loading progress hud style to make it prettier. - Add wrapper for ZLPhotoBrowser compatible types. - Support for requesting original images when 'allowSelectOriginal = false'. + Fixed a bug of the image editor. ... ``` diff --git a/README_CN.md b/README_CN.md index dc6d2774..4f0fefae 100644 --- a/README_CN.md +++ b/README_CN.md @@ -102,6 +102,12 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内 ### 更新日志 > [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md) ``` +● 4.3.6 + Add: + 提供一个保存PHAsset到本地的方法; + 更新解析GIF的方法; + Fix: + 修复下拉返回手势动画中的一个crash; ● 4.3.5 Add: 支持自定义Alert样式; @@ -109,11 +115,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内 ● 4.3.4 Fix: 修复图片编辑器的一个bug; -● 4.3.3 - Add: - 优化加载等待框样式; - 添加ZLPhotoBrowserWrapper,避免与其他extension命名冲突; - 当'allowSelectOriginal = false'时候,支持请求原图; ... ``` diff --git a/Sources/General/ZLPhotoBrowser.swift b/Sources/General/ZLPhotoBrowser.swift index 5d563608..69bb9ff7 100644 --- a/Sources/General/ZLPhotoBrowser.swift +++ b/Sources/General/ZLPhotoBrowser.swift @@ -28,7 +28,7 @@ import UIKit import Foundation import Photos -let version = "4.3.5" +let version = "4.3.6" public struct ZLPhotoBrowserWrapper { public let base: Base diff --git a/Sources/General/ZLPhotoManager.swift b/Sources/General/ZLPhotoManager.swift index 6e2fda9e..1c6c6b01 100644 --- a/Sources/General/ZLPhotoManager.swift +++ b/Sources/General/ZLPhotoManager.swift @@ -396,7 +396,7 @@ public class ZLPhotoManager: NSObject { } } - /// Save asset to file url. + /// Save asset to file url. Support save image and video. @objc public class func saveAsset(_ asset: PHAsset, toFile fileUrl: URL, completion: @escaping ((Error?) -> Void)) { guard let resource = asset.zl.resource else { completion(NSError.assetSaveError) diff --git a/ZLPhotoBrowser.podspec b/ZLPhotoBrowser.podspec index 6404b935..28afd662 100644 --- a/ZLPhotoBrowser.podspec +++ b/ZLPhotoBrowser.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'ZLPhotoBrowser' - s.version = '4.3.5' + s.version = '4.3.6' s.summary = 'A lightweight and pure Swift implemented library for select photos from album' s.description = <<-DESC