diff --git a/.github/ISSUE_TEMPLATE.MD b/.github/ISSUE_TEMPLATE.MD index c153b77b..1b95e70b 100644 --- a/.github/ISSUE_TEMPLATE.MD +++ b/.github/ISSUE_TEMPLATE.MD @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 83bbf604..edcff6f3 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index 22438252..3ffe7359 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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. ... ``` @@ -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 diff --git a/README_CN.md b/README_CN.md index e49dae4f..007b3870 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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: 支持设置首张照片的索引值。 @@ -114,12 +120,6 @@ ZLPhotoBrowser是一款微信样式的图片选择器,支持预览/相册内 适配iOS 17,使用UIGraphicsImageRenderer替换UIGraphicsBeginImageContextWithOptions。 Fix: 修复ZLImagePreviewController界面视频无法播放的bug。 -● 4.4.7 - Add: - 涂鸦工具添加橡皮擦功能。 - 勾选原图按钮时,添加显示已选择图片总大小功能。 - Fix: - 修复裁剪视频时,起始时间不对的bug。 ... ``` diff --git a/Sources/General/ZLPhotoBrowser.swift b/Sources/General/ZLPhotoBrowser.swift index f20ca017..8c4b2569 100644 --- a/Sources/General/ZLPhotoBrowser.swift +++ b/Sources/General/ZLPhotoBrowser.swift @@ -28,7 +28,7 @@ import UIKit import Foundation import Photos -let version = "4.4.9" +let version = "4.5.0" public struct ZLPhotoBrowserWrapper { public let base: Base diff --git a/ZLPhotoBrowser.podspec b/ZLPhotoBrowser.podspec index eecd5496..b51d1213 100644 --- a/ZLPhotoBrowser.podspec +++ b/ZLPhotoBrowser.podspec @@ -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' @@ -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