Skip to content

Commit d20fb03

Browse files
committed
Bumped version to 4.5.3
1 parent b0c5f54 commit d20fb03

7 files changed

+31
-18
lines changed

.github/ISSUE_TEMPLATE.MD

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
66

77
#### Info
8-
ZLPhotoBrowser version: e.g. 4.5.2
8+
ZLPhotoBrowser version: e.g. 4.5.3
99
Device: e.g. iPhone 14 Pro
1010
Device version: e.g. iOS 16.0
1111
Xcode version: e.g. Xcode 14.0

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
-----
44

5+
## [4.5.3](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.3) (2024-05-23)
6+
### Add:
7+
* Support customizing the alert for when there is no permission. [#900](https://github.com/longitachi/ZLPhotoBrowser/pull/900) @xiaoyouPrince
8+
* Add configuration option to center tools in tools collection view. [#903](https://github.com/longitachi/ZLPhotoBrowser/pull/903) @patryk-sredzinski
9+
10+
### Fix:
11+
* Fix the bug where the crop ratio view is not hidden when there is only one ratio in the cropping interface.
12+
* Fix a bug that may cause failure when saving images from iCloud to local storage. [#901](https://github.com/longitachi/ZLPhotoBrowser/pull/901) @ilfocus
13+
14+
---
15+
516
## [4.5.2](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.2) (2024-04-15)
617
### Fix:
718
* 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.

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
9191
### Change Log
9292
> [More logs](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
9393
```
94+
● 4.5.3
95+
Add:
96+
Support customizing the alert for when there is no permission.
97+
Add configuration option to center tools in tools collection view.
98+
Fix:
99+
Fix the bug where the crop ratio view is not hidden when there is only one ratio in the cropping interface.
100+
Fix a bug that may cause failure when saving images from iCloud to local storage.
94101
● 4.5.2
95102
Fix:
96103
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.
@@ -100,12 +107,6 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
100107
Fix:
101108
Fix the bug causing a crash when continuously switching between front and rear cameras.
102109
Fix the bug where the status bar in the album thumbnail interface sometimes does not display.
103-
● 4.5.0
104-
Add:
105-
Adapt the text sticker input interface for iPad landscape mode.
106-
Fix:
107-
Resolve the issue causing errors during SPM installation.
108-
Fix the bug where cropping square images to circular shape fails.
109110
...
110111
```
111112

@@ -161,7 +162,7 @@ Rebuild with --use-xcframeworks to create an xcframework bundle instead.` [Click
161162

162163
#### Swift Package Manager
163164
1. Select File > Add Packages. Enter https://github.com/longitachi/ZLPhotoBrowser.git in the "Choose Package Repository" dialog.
164-
2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.2" as its earliest version.
165+
2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.3" as its earliest version.
165166
3. After Xcode checking out the source and resolving the version, you can choose the "ZLPhotoBrowser" library and add it to your app target.
166167

167168
### Support

README_CN.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
102102
### 更新日志
103103
> [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
104104
```
105+
● 4.5.3
106+
Add:
107+
支持自定义无权限弹窗。
108+
支持图片编辑工具在较少时居中排列。
109+
Fix:
110+
修复图片裁剪比例仅有一个时初次不显示的bug.
111+
修复保存iCloud的资源时,可能报错的bug.
105112
● 4.5.2
106113
Fix:
107114
修复图片裁剪界面,裁减比例不为0时,缩放图片时候,图片显示不正确的bug。
@@ -111,12 +118,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
111118
Fix:
112119
修复连续切换前后摄像头导致crash的bug。
113120
修复相册小图界面状态栏某些情况下不展示的bug。
114-
● 4.5.0
115-
Add:
116-
文字贴纸输入界面适配iPad横屏。
117-
Fix:
118-
修复SPM安装报错的问题。
119-
修复裁剪正方形图片至圆形时,裁剪区域为原图大小的时候裁剪无效的bug。
120121
...
121122
```
122123

Sources/Edit/ZLEditImageViewController.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ open class ZLEditImageViewController: UIViewController {
609609

610610
let editToolWidth = view.zl.width - 20 - 20 - doneBtnW - 20
611611
editToolCollectionView.frame = CGRect(x: 20, y: toolY, width: editToolWidth, height: 30)
612-
612+
613613
if ZLPhotoUIConfiguration.default().shouldCenterTools {
614614
let editToolLayout = editToolCollectionView.collectionViewLayout as? ZLCollectionViewFlowLayout
615615
let itemSize = editToolLayout?.itemSize.width ?? 0
@@ -620,7 +620,7 @@ open class ZLEditImageViewController: UIViewController {
620620
editToolCollectionView.contentInset.right = sideInset
621621
}
622622
}
623-
623+
624624
if !drawPaths.isEmpty {
625625
drawLine()
626626
}

Sources/General/ZLPhotoBrowser.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import UIKit
2828
import Foundation
2929
import Photos
3030

31-
let version = "4.5.2"
31+
let version = "4.5.3"
3232

3333
public struct ZLPhotoBrowserWrapper<Base> {
3434
public let base: Base

ZLPhotoBrowser.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'ZLPhotoBrowser'
3-
s.version = '4.5.2'
3+
s.version = '4.5.3'
44
s.summary = 'A lightweight and pure Swift implemented library for select photos from album'
55

66
s.description = <<-DESC

0 commit comments

Comments
 (0)