From 2019cec1ce51831d9e4580069ee60498e8e69bb8 Mon Sep 17 00:00:00 2001 From: longitachi Date: Wed, 18 Sep 2024 17:05:58 +0800 Subject: [PATCH] Bumped version to 4.5.5 --- .github/ISSUE_TEMPLATE.MD | 2 +- CHANGELOG.md | 10 ++++++++++ README.md | 11 +++++++---- README_CN.md | 9 ++++++--- Sources/General/ZLPhotoBrowser.swift | 2 +- ZLPhotoBrowser.podspec | 2 +- 6 files changed, 26 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.MD b/.github/ISSUE_TEMPLATE.MD index e3e82fa6..1b17558c 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.4 + ZLPhotoBrowser version: e.g. 4.5.5 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 f1396af2..169ce5af 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ----- +## [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. +* Update the API for obtaining album permissions. + +### 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 diff --git a/README.md b/README.md index 7dcf87df..2defee74 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,12 @@ 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.5 + Add: + The ZLImagePreviewController interface supports gesture-driven pull-down return animations. + Update the API for obtaining album permissions. + Fix: + Fixed the bug that mosaics were not displayed during painting. ● 4.5.4 Add: Support iOS18. @@ -105,9 +111,6 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h 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. -● 4.5.2 - 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. ... ``` @@ -163,7 +166,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.4" as its earliest version. +2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.5" 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 063f38f5..ba7d19c1 100644 --- a/README_CN.md +++ b/README_CN.md @@ -102,6 +102,12 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内 ### 更新日志 > [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md) ``` +● 4.5.5 + Add: + ZLImagePreviewController界面支持下拉返回手势。 + 更新获取相册权限的API。 + Fix: + 修复马赛克在涂抹过程中不显示的bug。 ● 4.5.4 Add: 支持iOS18。 @@ -116,9 +122,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内 Fix: 修复图片裁剪比例仅有一个时初次不显示的bug. 修复保存iCloud的资源时,可能报错的bug. -● 4.5.2 - Fix: - 修复图片裁剪界面,裁减比例不为0时,缩放图片时候,图片显示不正确的bug。 ... ``` diff --git a/Sources/General/ZLPhotoBrowser.swift b/Sources/General/ZLPhotoBrowser.swift index 1f5da16f..882796ac 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.4" +let version = "4.5.5" public struct ZLPhotoBrowserWrapper { public let base: Base diff --git a/ZLPhotoBrowser.podspec b/ZLPhotoBrowser.podspec index cec80028..c391d8d7 100644 --- a/ZLPhotoBrowser.podspec +++ b/ZLPhotoBrowser.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'ZLPhotoBrowser' - s.version = '4.5.4' + s.version = '4.5.5' s.summary = 'A lightweight and pure Swift implemented library for select photos from album' s.description = <<-DESC