Skip to content

Commit

Permalink
Merge pull request #694 from SilenceLove/release_4.2.0
Browse files Browse the repository at this point in the history
Release 4.2.1
  • Loading branch information
SilenceLove authored May 18, 2024
2 parents b712ae4 + ab67ad9 commit 69510f1
Show file tree
Hide file tree
Showing 13 changed files with 83 additions and 63 deletions.
7 changes: 4 additions & 3 deletions Documentation/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

```swift
dependencies: [
.package(url: "https://github.com/SilenceLove/HXPhotoPicker.git", .upToNextMajor(from: "4.2.0"))
.package(url: "https://github.com/SilenceLove/HXPhotoPicker.git", .upToNextMajor(from: "4.2.1"))
]
```

Expand Down Expand Up @@ -279,7 +279,7 @@ photoAsset.getURL(compression: compression) { result in

```swift
/// Get thumbnail
let thumImage = try await photoAsset.requesthumbnailImage()
let thumImage = try await photoAsset.requesThumbnailImage()

/// Get preview
let previewImage = try await photoAsset.requestPreviewImage()
Expand All @@ -301,7 +301,7 @@ let livePhoto = try await photoAsset.requestLivePhoto()

| Version | Release Date | Xcode | Swift | iOS |
| ---- | ---- | ---- | ---- | ---- |
| [v4.2.0](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE.md#420) | 2024-04-23 | 15.0.0 | 5.9.0 | 12.0+ |
| [v4.2.1](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE.md#421) | 2024-05-18 | 15.0.0 | 5.9.0 | 12.0+ |

</details>

Expand All @@ -310,6 +310,7 @@ let livePhoto = try await photoAsset.requestLivePhoto()

| Version | Release Date | Xcode | Swift | iOS |
| ---- | ---- | ---- | ---- | ---- |
| [v4.2.0](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE.md#420) | 2024-04-23 | 15.0.0 | 5.9.0 | 12.0+ |
| [v4.1.9](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE.md#419) | 2024-04-09 | 15.0.0 | 5.9.0 | 12.0+ |
| [v4.1.8](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE.md#418) | 2024-03-24 | 15.0.0 | 5.9.0 | 12.0+ |
| [v4.1.7](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE.md#417) | 2024-03-09 | 15.0.0 | 5.9.0 | 12.0+ |
Expand Down
11 changes: 10 additions & 1 deletion Documentation/RELEASE_NOTE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Release Notes

## 4.2.1

### Resolved

- [[691]](https://github.com/SilenceLove/HXPhotoPicker/issues/691)
- [[690]](https://github.com/SilenceLove/HXPhotoPicker/issues/690)
- [[686]](https://github.com/SilenceLove/HXPhotoPicker/issues/686)
- [[681]](https://github.com/SilenceLove/HXPhotoPicker/issues/681)

## 4.2.0

### Add
Expand Down Expand Up @@ -61,7 +70,7 @@
```
- `PhotoAsset`Added content for display
```
let thumImage = try await photoAsset.requesthumbnailImage()
let thumImage = try await photoAsset.requesThumbnailImage()
let previewImage = try await photoAsset.requestPreviewImage()
let avAsset = try await photoAsset.requestAVAsset()
let playerItem = try await photoAsset.requestPlayerItem()
Expand Down
11 changes: 10 additions & 1 deletion Documentation/RELEASE_NOTE_CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# 更新日志

## 4.2.1

### 修复

- [[691]](https://github.com/SilenceLove/HXPhotoPicker/issues/691)
- [[690]](https://github.com/SilenceLove/HXPhotoPicker/issues/690)
- [[686]](https://github.com/SilenceLove/HXPhotoPicker/issues/686)
- [[681]](https://github.com/SilenceLove/HXPhotoPicker/issues/681)

## 4.2.0

### 新增
Expand Down Expand Up @@ -59,7 +68,7 @@
- `PhotoAsset`新增获取用于展示的内容
```
/// 获取缩略图
let thumImage = try await photoAsset.requesthumbnailImage()
let thumImage = try await photoAsset.requesThumbnailImage()
/// 获取预览图
let previewImage = try await photoAsset.requestPreviewImage()
Expand Down
2 changes: 1 addition & 1 deletion HXPhotoPicker-Lite.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "HXPhotoPicker-Lite"
spec.version = "4.2.0.3"
spec.version = "4.2.1"
spec.summary = "Photo selector - Support LivePhoto, GIF selection"
spec.homepage = "https://github.com/SilenceLove/HXPhotoPicker"
spec.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
2 changes: 1 addition & 1 deletion HXPhotoPicker.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "HXPhotoPicker"
spec.version = "4.2.0.3"
spec.version = "4.2.1"
spec.summary = "照片/视频选择器 - 支持LivePhoto、GIF图片选择、自定义编辑照片/视频、3DTouch预览、浏览网络图片/网络视频 功能 - Imitation weibo photo/image picker - support for LivePhoto, GIF image selection, 3DTouch preview, browse the web image function"
spec.homepage = "https://github.com/SilenceLove/HXPhotoPicker"
spec.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
4 changes: 2 additions & 2 deletions HXPhotoPickerExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3070,7 +3070,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 4.2.0;
MARKETING_VERSION = 4.2.1;
ONLY_ACTIVE_ARCH = YES;
OTHER_LDFLAGS = (
"$(inherited)",
Expand Down Expand Up @@ -3134,7 +3134,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 4.2.0;
MARKETING_VERSION = 4.2.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-framework",
Expand Down
46 changes: 23 additions & 23 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
PODS:
- HXPhotoPicker (4.2.0.2):
- HXPhotoPicker/Full (= 4.2.0.2)
- HXPhotoPicker/Camera (4.2.0.2):
- HXPhotoPicker/Camera/Lite (= 4.2.0.2)
- HXPhotoPicker/Camera/Location (= 4.2.0.2)
- HXPhotoPicker/Camera/Lite (4.2.0.2):
- HXPhotoPicker (4.2.1):
- HXPhotoPicker/Full (= 4.2.1)
- HXPhotoPicker/Camera (4.2.1):
- HXPhotoPicker/Camera/Lite (= 4.2.1)
- HXPhotoPicker/Camera/Location (= 4.2.1)
- HXPhotoPicker/Camera/Lite (4.2.1):
- HXPhotoPicker/Core
- HXPhotoPicker/Camera/Location (4.2.0.2):
- HXPhotoPicker/Camera/Location (4.2.1):
- HXPhotoPicker/Camera/Lite
- HXPhotoPicker/Core (4.2.0.2):
- HXPhotoPicker/Core (4.2.1):
- HXPhotoPicker/Resources
- HXPhotoPicker/Editor (4.2.0.2):
- HXPhotoPicker/Editor/KF (= 4.2.0.2)
- HXPhotoPicker/Editor/Lite (= 4.2.0.2)
- HXPhotoPicker/Editor/KF (4.2.0.2):
- HXPhotoPicker/Editor (4.2.1):
- HXPhotoPicker/Editor/KF (= 4.2.1)
- HXPhotoPicker/Editor/Lite (= 4.2.1)
- HXPhotoPicker/Editor/KF (4.2.1):
- HXPhotoPicker/Editor/Lite
- HXPhotoPicker/EditorView/KF
- Kingfisher (~> 7.0)
- HXPhotoPicker/Editor/Lite (4.2.0.2):
- HXPhotoPicker/Editor/Lite (4.2.1):
- HXPhotoPicker/EditorView/Lite
- HXPhotoPicker/EditorView/KF (4.2.0.2):
- HXPhotoPicker/EditorView/KF (4.2.1):
- HXPhotoPicker/EditorView/Lite
- Kingfisher (~> 7.0)
- HXPhotoPicker/EditorView/Lite (4.2.0.2):
- HXPhotoPicker/EditorView/Lite (4.2.1):
- HXPhotoPicker/Core
- HXPhotoPicker/Full (4.2.0.2):
- HXPhotoPicker/Full (4.2.1):
- HXPhotoPicker/Camera
- HXPhotoPicker/Editor
- HXPhotoPicker/Picker
- HXPhotoPicker/Picker (4.2.0.2):
- HXPhotoPicker/Picker/KF (= 4.2.0.2)
- HXPhotoPicker/Picker/Lite (= 4.2.0.2)
- HXPhotoPicker/Picker/KF (4.2.0.2):
- HXPhotoPicker/Picker (4.2.1):
- HXPhotoPicker/Picker/KF (= 4.2.1)
- HXPhotoPicker/Picker/Lite (= 4.2.1)
- HXPhotoPicker/Picker/KF (4.2.1):
- HXPhotoPicker/Picker/Lite
- Kingfisher (~> 7.0)
- HXPhotoPicker/Picker/Lite (4.2.0.2):
- HXPhotoPicker/Picker/Lite (4.2.1):
- HXPhotoPicker/Core
- HXPhotoPicker/Resources (4.2.0.2)
- HXPhotoPicker/Resources (4.2.1)
- Kingfisher (7.11.0)

DEPENDENCIES:
Expand All @@ -51,7 +51,7 @@ EXTERNAL SOURCES:
:path: "./"

SPEC CHECKSUMS:
HXPhotoPicker: 0e09d16981c5a4909cc97832a58f956aed98cc83
HXPhotoPicker: e1835b71c58b48058955ea15eb557f1e26e8b784
Kingfisher: b9c985d864d43515f404f1ef4a8ce7d802ace3ac

PODFILE CHECKSUM: 21b9e041ba4e451b12f1e956e5cd813bc50684be
Expand Down
4 changes: 2 additions & 2 deletions Pods/Local Podspecs/HXPhotoPicker.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 23 additions & 23 deletions Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

```swift
dependencies: [
.package(url: "https://github.com/SilenceLove/HXPhotoPicker.git", .upToNextMajor(from: "4.2.0"))
.package(url: "https://github.com/SilenceLove/HXPhotoPicker.git", .upToNextMajor(from: "4.2.1"))
]
```

Expand Down Expand Up @@ -311,7 +311,7 @@ photoAsset.getURL(compression: compression) { result in

```swift
/// 获取缩略图
let thumImage = try await photoAsset.requesthumbnailImage()
let thumImage = try await photoAsset.requesThumbnailImage()

/// 获取预览图
let previewImage = try await photoAsset.requestPreviewImage()
Expand All @@ -333,7 +333,7 @@ let livePhoto = try await photoAsset.requestLivePhoto()

| 版本 | 发布时间 | Xcode | Swift | iOS |
| ---- | ---- | ---- | ---- | ---- |
| [v4.2.0](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE_CN.md#420) | 2024-04-23 | 15.0.0 | 5.9.0 | 12.0+ |
| [v4.2.1](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE_CN.md#421) | 2024-05-18 | 15.0.0 | 5.9.0 | 12.0+ |

</details>

Expand All @@ -342,6 +342,7 @@ let livePhoto = try await photoAsset.requestLivePhoto()

| 版本 | 发布时间 | Xcode | Swift | iOS |
| ---- | ---- | ---- | ---- | ---- |
| [v4.2.0](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE_CN.md#420) | 2024-04-23 | 15.0.0 | 5.9.0 | 12.0+ |
| [v4.1.9](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE_CN.md#419) | 2024-04-09 | 15.0.0 | 5.9.0 | 12.0+ |
| [v4.1.8](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE_CN.md#418) | 2024-03-24 | 15.0.0 | 5.9.0 | 12.0+ |
| [v4.1.7](https://github.com/SilenceLove/HXPhotoPicker/blob/master/Documentation/RELEASE_NOTE_CN.md#417) | 2024-03-09 | 15.0.0 | 5.9.0 | 12.0+ |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ public extension PhotoAsset {
@available(iOS 13.0, *)
public extension PhotoAsset {

func requesthumbnailImage(
func requesThumbnailImage(
targetWidth: CGFloat = 180,
didRequestHandler: ((PhotoAsset, PHImageRequestID) -> Void)? = nil
) async throws -> UIImage {
Expand Down

0 comments on commit 69510f1

Please sign in to comment.