diff --git a/.github/ISSUE_TEMPLATE.MD b/.github/ISSUE_TEMPLATE.MD index 1b17558c..0b25dec8 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.5.5 + ZLPhotoBrowser version: e.g. 4.5.6 Device: e.g. iPhone 14 Pro Device version: e.g. iOS 16.0 Xcode version: e.g. Xcode 14.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 169ce5af..08bbacb3 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ ----- +## [4.5.6](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.6) (2024-10-21) +### Add: +* Support iOS18. +* When saving pictures and videos, add error parameters in the callback. + +--- + ## [4.5.5](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.5) (2024-09-18) ### Add: * The ZLImagePreviewController interface supports gesture-driven pull-down return animations. @@ -9,9 +16,9 @@ ### Fix: * Fixed the bug that mosaics were not displayed during painting. - + --- - + ## [4.5.4](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.4) (2024-07-05) ### Add: * Support iOS18. [#909](https://github.com/longitachi/ZLPhotoBrowser/pull/909) @patryk-sredzinski @@ -20,7 +27,7 @@ ### Fix: * Fix the issue where some UI elements are displayed incorrectly on phones without a notch. [#914](https://github.com/longitachi/ZLPhotoBrowser/issues/914) - + --- ## [4.5.3](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.3) (2024-05-23) @@ -33,13 +40,13 @@ * Fix a bug that may cause failure when saving images from iCloud to local storage. [#901](https://github.com/longitachi/ZLPhotoBrowser/pull/901) @ilfocus --- - + ## [4.5.2](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.2) (2024-04-15) ### Fix: * Fix the bug in the image cropping interface where the image is not displayed correctly when zooming in and the crop ratio is not 0. --- - + ## [4.5.1](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.1) (2024-03-29) ### Add: * Add xcprivacy file to the project. diff --git a/README.md b/README.md index 2defee74..03a329ba 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,10 @@ 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.5.6 + Add: + Support iOS18. + When saving pictures and videos, add error parameters in the callback. ● 4.5.5 Add: The ZLImagePreviewController interface supports gesture-driven pull-down return animations. @@ -99,18 +103,10 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h Fixed the bug that mosaics were not displayed during painting. ● 4.5.4 Add: - Support iOS18. Enhance the user experience of the image cropping interface and optimize the animation effects. Support for setting `VideoMirrored` in the custom camera. Fix: Fix the issue where some UI elements are displayed incorrectly on phones without a notch. -● 4.5.3 - Add: - Support customizing the alert for when there is no permission. - Add configuration option to center tools in tools collection view. - Fix: - Fix the bug where the crop ratio view is not hidden when there is only one ratio in the cropping interface. - Fix a bug that may cause failure when saving images from iCloud to local storage. ... ``` @@ -166,7 +162,7 @@ Rebuild with --use-xcframeworks to create an xcframework bundle instead.` [Click #### Swift Package Manager 1. Select File > Add Packages. Enter https://github.com/longitachi/ZLPhotoBrowser.git in the "Choose Package Repository" dialog. -2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.5" as its earliest version. +2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.6" as its earliest version. 3. After Xcode checking out the source and resolving the version, you can choose the "ZLPhotoBrowser" library and add it to your app target. ### Support diff --git a/README_CN.md b/README_CN.md index ba7d19c1..4e9d1bfe 100644 --- a/README_CN.md +++ b/README_CN.md @@ -102,6 +102,10 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内 ### 更新日志 > [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md) ``` +● 4.5.6 + Add: + 支持iOS18。 + 保存图片和视频的回调里添加error参数。 ● 4.5.5 Add: ZLImagePreviewController界面支持下拉返回手势。 @@ -115,13 +119,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内 自定义相机支持设置`VideoMirrored`。 Fix: 修复在非刘海屏的手机上,部分界面UI展示异常的问题。 -● 4.5.3 - Add: - 支持自定义无权限弹窗。 - 支持图片编辑工具在较少时居中排列。 - Fix: - 修复图片裁剪比例仅有一个时初次不显示的bug. - 修复保存iCloud的资源时,可能报错的bug. ... ``` diff --git a/Sources/General/ZLPhotoBrowser.swift b/Sources/General/ZLPhotoBrowser.swift index 882796ac..24898e83 100644 --- a/Sources/General/ZLPhotoBrowser.swift +++ b/Sources/General/ZLPhotoBrowser.swift @@ -28,7 +28,7 @@ import UIKit import Foundation import Photos -let version = "4.5.5" +let version = "4.5.6" public struct ZLPhotoBrowserWrapper { public let base: Base diff --git a/ZLPhotoBrowser.podspec b/ZLPhotoBrowser.podspec index c391d8d7..d4dcd4ee 100644 --- a/ZLPhotoBrowser.podspec +++ b/ZLPhotoBrowser.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'ZLPhotoBrowser' - s.version = '4.5.5' + s.version = '4.5.6' s.summary = 'A lightweight and pure Swift implemented library for select photos from album' s.description = <<-DESC