Skip to content

Commit

Permalink
Bumped version to 4.4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Nov 23, 2023
1 parent 169e679 commit aa6c78e
Show file tree
Hide file tree
Showing 6 changed files with 23 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.4.7
ZLPhotoBrowser version: e.g. 4.4.8
Device: e.g. iPhone 14 Pro
Device version: e.g. iOS 16.0
Xcode version: e.g. Xcode 14.0
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

-----

## [4.4.8](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.4.8) (2023-11-23)
### Add:
* Adapt to iOS 17, replace `UIGraphicsBeginImageContextWithOptions` with `UIGraphicsImageRenderer`.

### Fix:
* Fix the bug in `ZLImagePreviewController` where videos cannot be played. [#875](https://github.com/longitachi/ZLPhotoBrowser/issues/875)

---

## [4.4.7](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.4.7) (2023-11-17)
### Add:
* Enhancing the drawing tool with an eraser function.
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ 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.4.8
Add:
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.
Expand All @@ -108,13 +113,6 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
Optimize screen rotation experience.
Fix:
Fix the bug that text stickers are not displayed when typing in Arabic.
● 4.4.5
Add:
Can set whether the shadow is always displayed when cropping the picture.
Fix:
When there are too many photos, the album may crash when opened.
Crash on simulator version 14.0.1.
In the image editor where the sticker position was incorrect after the image was rotated.
...
```

Expand Down Expand Up @@ -170,7 +168,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.7" as its earliest version.
2. In the next page, specify the version resolving rule as "Up to Next Major" with "4.4.8" 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
18 changes: 5 additions & 13 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
### 更新日志
> [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
```
● 4.4.8
Add:
适配iOS 17,使用UIGraphicsImageRenderer替换UIGraphicsBeginImageContextWithOptions。
Fix:
修复ZLImagePreviewController界面视频无法播放的bug。
● 4.4.7
Add:
涂鸦工具添加橡皮擦功能。
Expand All @@ -119,19 +124,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
优化屏幕旋转体验,
Fix:
修复阿拉伯语言环境下,文字贴纸不显示的bug。
● 4.4.5
Add:
可以设置裁剪图片时是否保留阴影的显示效果。
Fix:
修复图片过多时,打开相册可能crash得问题。
修复14.0.1版本的模拟器上crash得问题。
修复图片编辑器中图片旋转后贴纸位置不正确的问题。
● 4.4.4
Add:
支持在选中视频前先下载视频源数据。
优化编辑图片时涂鸦功能,使曲线更平滑。
Fix:
修复保存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.4.7"
let version = "4.4.8"

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

s.description = <<-DESC
Expand Down

0 comments on commit aa6c78e

Please sign in to comment.