Skip to content

Commit

Permalink
Bumped version to 4.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Apr 15, 2024
1 parent 6fd21f6 commit 9a4ec47
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
ZLPhotoBrowser version: e.g. 4.5.2
Device: e.g. iPhone 14 Pro
Device version: e.g. iOS 16.0
Xcode version: e.g. Xcode 14.0
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

-----

## [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.
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ 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.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.
● 4.5.1
Add:
Add xcprivacy file to the project.
Expand All @@ -103,10 +106,6 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
Fix:
Resolve the issue causing errors during SPM installation.
Fix the bug where cropping square images to circular shape fails.
● 4.4.9
Add:
Support for setting the initial index of the first image.
Define the text for the "Done" button on different screens with different keys to facilitate customizing the text.
...
```

Expand Down Expand Up @@ -162,7 +161,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.1" as its earliest version.
2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.2" 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
Expand Down
7 changes: 3 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
### 更新日志
> [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
```
● 4.5.2
Fix:
修复图片裁剪界面,裁减比例不为0时,缩放图片时候,图片显示不正确的bug。
● 4.5.1
Add:
添加xcprivacy文件。
Expand All @@ -114,10 +117,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
Fix:
修复SPM安装报错的问题。
修复裁剪正方形图片至圆形时,裁剪区域为原图大小的时候裁剪无效的bug。
● 4.4.9
Add:
支持设置首张照片的索引值。
将相机界面确定按钮和文字贴纸输入界面的确定按钮的"localizable"的自定义文案的"key"拆分出来,不同界面不在共用一个"done"。
...
```

Expand Down
2 changes: 1 addition & 1 deletion Sources/General/ZLPhotoBrowser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import UIKit
import Foundation
import Photos

let version = "4.5.1"
let version = "4.5.2"

public struct ZLPhotoBrowserWrapper<Base> {
public let base: Base
Expand Down
2 changes: 1 addition & 1 deletion ZLPhotoBrowser.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ZLPhotoBrowser'
s.version = '4.5.1'
s.version = '4.5.2'
s.summary = 'A lightweight and pure Swift implemented library for select photos from album'

s.description = <<-DESC
Expand Down

0 comments on commit 9a4ec47

Please sign in to comment.