Skip to content

Commit

Permalink
Bumped version to 4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Mar 21, 2024
1 parent 9e5c869 commit c40da49
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 21 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.4.9
ZLPhotoBrowser version: e.g. 4.5.0
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.0](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.5.0) (2024-03-21)
### Add:
* Adapt the text sticker input interface for iPad landscape mode.

### Fix:
* Resolve the issue causing errors during SPM installation. [#892](https://github.com/longitachi/ZLPhotoBrowser/issues/892)
* Fix the bug where cropping square images to circular shape fails. [#893](https://github.com/longitachi/ZLPhotoBrowser/pull/893) @patryk-sredzinski

---

## [4.4.9](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.4.9) (2024-02-02)
### Add:
* Support for setting the initial index of the first image.
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ 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.0
Add:
Adapt the text sticker input interface for iPad landscape mode.
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.
Expand All @@ -103,12 +109,6 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
Adapt to iOS 17, replace UIGraphicsBeginImageContextWithOptions with UIGraphicsImageRenderer.
Fix:
Fix the bug in ZLImagePreviewController where videos cannot be played.
● 4.4.7
Add:
Enhancing the drawing tool with an eraser function.
Display the total size of selected photos when the full image button is selected.
Fix:
Fix a bug where the video's start time is incorrect when cropping the video.
...
```

Expand Down Expand Up @@ -164,7 +164,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.4.9" as its earliest version.
2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.5.0" 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
12 changes: 6 additions & 6 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
### 更新日志
> [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
```
● 4.5.0
Add:
文字贴纸输入界面适配iPad横屏。
Fix:
修复SPM安装报错的问题。
修复裁剪正方形图片至圆形时,裁剪区域为原图大小的时候裁剪无效的bug。
● 4.4.9
Add:
支持设置首张照片的索引值。
Expand All @@ -114,12 +120,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
适配iOS 17,使用UIGraphicsImageRenderer替换UIGraphicsBeginImageContextWithOptions。
Fix:
修复ZLImagePreviewController界面视频无法播放的bug。
● 4.4.7
Add:
涂鸦工具添加橡皮擦功能。
勾选原图按钮时,添加显示已选择图片总大小功能。
Fix:
修复裁剪视频时,起始时间不对的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.4.9"
let version = "4.5.0"

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

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

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

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

end

0 comments on commit c40da49

Please sign in to comment.