Skip to content

Commit

Permalink
Bumped version to 4.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Jul 5, 2024
1 parent 29b38ee commit fc70968
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 16 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.3
ZLPhotoBrowser version: e.g. 4.5.4
Device: e.g. iPhone 14 Pro
Device version: e.g. iOS 16.0
Xcode version: e.g. Xcode 14.0
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

-----

## [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
* Enhance the user experience of the image cropping interface and optimize the animation effects.
* Support for setting `VideoMirrored` in the custom camera. [#912](https://github.com/longitachi/ZLPhotoBrowser/issues/912)

### 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)
### Add:
* Support customizing the alert for when there is no permission. [#900](https://github.com/longitachi/ZLPhotoBrowser/pull/900) @xiaoyouPrince
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ 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.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.
Expand All @@ -101,12 +108,6 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
● 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.
Fix:
Fix the bug causing a crash when continuously switching between front and rear cameras.
Fix the bug where the status bar in the album thumbnail interface sometimes does not display.
...
```

Expand Down Expand Up @@ -162,7 +163,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.3" as its earliest version.
2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.4" 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
13 changes: 7 additions & 6 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
### 更新日志
> [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
```
● 4.5.4
Add:
支持iOS18。
提升图片编辑的使用体验,优化动画效果。
自定义相机支持设置`VideoMirrored`。
Fix:
修复在非刘海屏的手机上,部分界面UI展示异常的问题。
● 4.5.3
Add:
支持自定义无权限弹窗。
Expand All @@ -112,12 +119,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
● 4.5.2
Fix:
修复图片裁剪界面,裁减比例不为0时,缩放图片时候,图片显示不正确的bug。
● 4.5.1
Add:
添加xcprivacy文件。
Fix:
修复连续切换前后摄像头导致crash的bug。
修复相册小图界面状态栏某些情况下不展示的bug。
...
```

Expand Down
3 changes: 3 additions & 0 deletions Sources/Edit/ZLEditImageViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,9 @@ open class ZLEditImageViewController: UIViewController {

override public var prefersHomeIndicatorAutoHidden: Bool { true }

/// 延缓屏幕上下方通知栏弹出,避免手势冲突
override public var preferredScreenEdgesDeferringSystemGestures: UIRectEdge { [.top, .bottom] }

override public var supportedInterfaceOrientations: UIInterfaceOrientationMask {
deviceIsiPhone() ? .portrait : .all
}
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.3"
let version = "4.5.4"

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

s.description = <<-DESC
Expand Down

0 comments on commit fc70968

Please sign in to comment.