Skip to content

Commit

Permalink
Bumped version to 4.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Sep 6, 2022
1 parent f48ee92 commit b651ee1
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 15 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.3.5
ZLPhotoBrowser version: e.g. 4.3.6
Device: e.g. iPhone X
Device version: e.g. iOS 14.0
Xcode version: e.g. Xcode 12.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.3.6](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.3.6) (2022-09-06)

## Add:
* Provide a method to save the PHAsset to local.
* Updated the method of parsing GIF.[#752](https://github.com/longitachi/ZLPhotoBrowser/issues/752)

## Fix:
* Fixed crash in pop interactive transition.[#753](https://github.com/longitachi/ZLPhotoBrowser/issues/753)

---

## [4.3.5](https://github.com/longitachi/ZLPhotoBrowser/releases/tag/4.3.5) (2022-07-07)

## Add:
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,19 @@ If you only want to use the image edit feature, please move to [ZLImageEditor](h
### <a id="ChangeLog"></a>Change Log
> [More logs](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
```
4.3.6
Add:
Provide a method to save the PHAsset to local.
Updated the method of parsing GIF.
Fix:
Fixed crash in pop interactive transition.
4.3.5
Add:
Support custom alert style.
Improve the experience of image editor.
4.3.4
Fix:
Fix a bug of the image editor.
4.3.3
Add:
Adjust loading progress hud style to make it prettier.
Add wrapper for ZLPhotoBrowser compatible types.
Support for requesting original images when 'allowSelectOriginal = false'.
Fixed a bug of the image editor.
...
```

Expand Down
11 changes: 6 additions & 5 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,19 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内
### <a id="更新日志"></a>更新日志
> [更多更新日志](https://github.com/longitachi/ZLPhotoBrowser/blob/master/CHANGELOG.md)
```
● 4.3.6
Add:
提供一个保存PHAsset到本地的方法;
更新解析GIF的方法;
Fix:
修复下拉返回手势动画中的一个crash;
● 4.3.5
Add:
支持自定义Alert样式;
优化图片编辑体验;
● 4.3.4
Fix:
修复图片编辑器的一个bug;
● 4.3.3
Add:
优化加载等待框样式;
添加ZLPhotoBrowserWrapper,避免与其他extension命名冲突;
当'allowSelectOriginal = false'时候,支持请求原图;
...
```

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.3.5"
let version = "4.3.6"

public struct ZLPhotoBrowserWrapper<Base> {
public let base: Base
Expand Down
2 changes: 1 addition & 1 deletion Sources/General/ZLPhotoManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ public class ZLPhotoManager: NSObject {
}
}

/// Save asset to file url.
/// Save asset to file url. Support save image and video.
@objc public class func saveAsset(_ asset: PHAsset, toFile fileUrl: URL, completion: @escaping ((Error?) -> Void)) {
guard let resource = asset.zl.resource else {
completion(NSError.assetSaveError)
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.3.5'
s.version = '4.3.6'
s.summary = 'A lightweight and pure Swift implemented library for select photos from album'

s.description = <<-DESC
Expand Down

0 comments on commit b651ee1

Please sign in to comment.