Skip to content

Commit c40da49

Browse files
committed
Bumped version to 4.5.0
1 parent 9e5c869 commit c40da49

File tree

6 files changed

+28
-21
lines changed

6 files changed

+28
-21
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.4.9
8+
ZLPhotoBrowser version: e.g. 4.5.0
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

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
-----
44

5+
## [4.5.0](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.0) (2024-03-21)
6+
### Add:
7+
* Adapt the text sticker input interface for iPad landscape mode.
8+
9+
### Fix:
10+
* Resolve the issue causing errors during SPM installation. [#892](https://github.com/longitachi/ZLPhotoBrowser/issues/892)
11+
* Fix the bug where cropping square images to circular shape fails. [#893](https://github.com/longitachi/ZLPhotoBrowser/pull/893) @patryk-sredzinski
12+
13+
---
14+
515
## [4.4.9](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.4.9) (2024-02-02)
616
### Add:
717
* Support for setting the initial index of the first image.

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ 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.0
95+
Add:
96+
Adapt the text sticker input interface for iPad landscape mode.
97+
Fix:
98+
Resolve the issue causing errors during SPM installation.
99+
Fix the bug where cropping square images to circular shape fails.
94100
● 4.4.9
95101
Add:
96102
Support for setting the initial index of the first image.
@@ -103,12 +109,6 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
103109
Adapt to iOS 17, replace UIGraphicsBeginImageContextWithOptions with UIGraphicsImageRenderer.
104110
Fix:
105111
Fix the bug in ZLImagePreviewController where videos cannot be played.
106-
● 4.4.7
107-
Add:
108-
Enhancing the drawing tool with an eraser function.
109-
Display the total size of selected photos when the full image button is selected.
110-
Fix:
111-
Fix a bug where the video's start time is incorrect when cropping the video.
112112
...
113113
```
114114

@@ -164,7 +164,7 @@ Rebuild with --use-xcframeworks to create an xcframework bundle instead.` [Click
164164

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

170170
### Support

README_CN.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
102102
### 更新日志
103103
> [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
104104
```
105+
● 4.5.0
106+
Add:
107+
文字贴纸输入界面适配iPad横屏。
108+
Fix:
109+
修复SPM安装报错的问题。
110+
修复裁剪正方形图片至圆形时,裁剪区域为原图大小的时候裁剪无效的bug。
105111
● 4.4.9
106112
Add:
107113
支持设置首张照片的索引值。
@@ -114,12 +120,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
114120
适配iOS 17,使用UIGraphicsImageRenderer替换UIGraphicsBeginImageContextWithOptions。
115121
Fix:
116122
修复ZLImagePreviewController界面视频无法播放的bug。
117-
● 4.4.7
118-
Add:
119-
涂鸦工具添加橡皮擦功能。
120-
勾选原图按钮时,添加显示已选择图片总大小功能。
121-
Fix:
122-
修复裁剪视频时,起始时间不对的bug。
123123
...
124124
```
125125

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.4.9"
31+
let version = "4.5.0"
3232

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

ZLPhotoBrowser.podspec

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

66
s.description = <<-DESC
7-
ZLPhotoBrowser 是一款纯swift实现的框架
8-
* 支持图片、视频、GIF、LivePhoto选择
9-
* 支持图片、视频编辑
10-
* 支持自定义相机拍照及录像
11-
更多自定义功能请查看 ZLPhotoConfiguration 定义
7+
Wechat-like image picker. Support select photos, videos, gif and livePhoto. Support edit image and crop video.
128
DESC
139

1410
s.homepage = 'https://github.com/longitachi/ZLPhotoBrowser'
@@ -30,6 +26,7 @@ Pod::Spec.new do |s|
3026

3127
s.subspec "Core" do |sp|
3228
sp.source_files = ["Sources/**/*.{swift,h,m}", "Sources/ZLPhotoBrowser.h"]
29+
sp.exclude_files = ["Sources/General/ZLWeakProxy.swift"]
3330
end
3431

3532
end

0 commit comments

Comments
 (0)