Skip to content

Commit

Permalink
Bumped version to 4.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Dec 2, 2024
1 parent 863948d commit 881f71e
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 19 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.6
ZLPhotoBrowser version: e.g. 4.5.7
Device: e.g. iPhone 14 Pro
Device version: e.g. iOS 16.0
Xcode version: e.g. Xcode 14.0
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

-----

## [4.5.7](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.7) (2024-12-02)
### Add:
* Custom camera supports tap-to-record mode. [#944](https://github.com/longitachi/ZLPhotoBrowser/pull/944) @tsinis
* Custom camera supports wide-angle lenses on iOS 13 and above. [#948](https://github.com/longitachi/ZLPhotoBrowser/pull/948) @tsinis
* Custom camera allows adding a custom overlay view. [#951](https://github.com/longitachi/ZLPhotoBrowser/pull/951) @tsinis
* Video editing controller adds a callback block for canceling edits. [#953](https://github.com/longitachi/ZLPhotoBrowser/pull/953) @tsinis
* Added `ZLImagePreviewControllerDelegate` protocol to receive event callbacks in ZLImagePreviewController.

---

## [4.5.6](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.6) (2024-10-21)
### Add:
* Support iOS18.
Expand Down
4 changes: 2 additions & 2 deletions Example/Example.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = ZL.Example4;
PRODUCT_BUNDLE_IDENTIFIER = ZL.Example6;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Example/Example-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -953,7 +953,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = ZL.Example4;
PRODUCT_BUNDLE_IDENTIFIER = ZL.Example6;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Example/Example-Bridging-Header.h";
SWIFT_VERSION = 5.0;
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.7
Add:
Custom camera supports tap-to-record mode.
Custom camera supports wide-angle lenses on iOS 13 and above.
Custom camera allows adding a custom overlay view.
Video editing controller adds a callback block for canceling edits.
Added `ZLImagePreviewControllerDelegate` protocol to receive event callbacks in ZLImagePreviewController.
● 4.5.6
Add:
Support iOS18.
Expand All @@ -101,12 +108,6 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
Update the API for obtaining album permissions.
Fix:
Fixed the bug that mosaics were not displayed during painting.
● 4.5.4
Add:
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.
...
```

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.6" as its earliest version.
2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.7" 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
14 changes: 7 additions & 7 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.7
Add:
自定义相机支持点击后保持录像模式。
自定义相机在iOS13以上系统支持广角摄像头。
自定义相机支持添加自定义遮罩层。
视频编辑控制器添加取消编辑的回调block。
新增ZLImagePreviewControllerDelegate协议,接收ZLImagePreviewController中的事件回调。
● 4.5.6
Add:
支持iOS18。
Expand All @@ -112,13 +119,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
更新获取相册权限的API。
Fix:
修复马赛克在涂抹过程中不显示的bug。
● 4.5.4
Add:
支持iOS18。
提升图片编辑的使用体验,优化动画效果。
自定义相机支持设置`VideoMirrored`。
Fix:
修复在非刘海屏的手机上,部分界面UI展示异常的问题。
...
```

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.6"
let version = "4.5.7"

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

s.description = <<-DESC
Expand Down

0 comments on commit 881f71e

Please sign in to comment.