Skip to content

Commit

Permalink
Bumped version to 4.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Oct 21, 2024
1 parent 15009db commit aa843d7
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 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.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
Expand Down
17 changes: 12 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,23 @@

-----

## [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.
* 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
Expand All @@ -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)
Expand All @@ -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.
Expand Down
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
...
```

Expand Down Expand Up @@ -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
Expand Down
11 changes: 4 additions & 7 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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界面支持下拉返回手势。
Expand All @@ -115,13 +119,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
自定义相机支持设置`VideoMirrored`。
Fix:
修复在非刘海屏的手机上,部分界面UI展示异常的问题。
● 4.5.3
Add:
支持自定义无权限弹窗。
支持图片编辑工具在较少时居中排列。
Fix:
修复图片裁剪比例仅有一个时初次不显示的bug.
修复保存iCloud的资源时,可能报错的bug.
...
```

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.5"
let version = "4.5.6"

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.5'
s.version = '4.5.6'
s.summary = 'A lightweight and pure Swift implemented library for select photos from album'

s.description = <<-DESC
Expand Down

0 comments on commit aa843d7

Please sign in to comment.