From 7f0acdfad7c60547c334185947311661bc69e271 Mon Sep 17 00:00:00 2001 From: panpf Date: Wed, 17 Jul 2024 18:31:49 +0800 Subject: [PATCH] release: v4.0.0-alpha04 --- CHANGELOG.md | 16 ++++++++-------- CHANGELOG_zh.md | 16 ++++++++-------- gradle.properties | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb77ed1463..791b3793ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,23 +8,23 @@ Translations: [简体中文](CHANGELOG_zh.md) > 2. The maven groupId is upgraded to `io.github.panpf.sketch4`, so versions 2.\* and 3.\* will not prompt for upgrade. -# new +# 4.0.0-alpha04 -* new: Add PlatformContext.sketch and View.sketch extension functions +* fix: Fixed the issue where HurlStack and OkHttpStack failed to control network concurrency due to + switching threads again. [#199](https://github.com/panpf/sketch/issues/199) +* fix: Fixed the bug that decoding pictures will not start until all network tasks are + completed. [#201](https://github.com/panpf/sketch/issues/201) * change: The mergeComponents() method of ImageOptions and ImageRequest has been renamed to addComponents() -* new: Sketch.Builder and ComponentRegistry.Builder added addComponents() function -* improve: Check the type of PlatformContext to prevent passing Activity to Sketch or ImageRequest * change: The drawableResId parameter of ImageView.loadImage() and newResourceUri() functions was renamed to resId * change: AndroidLogPipeline and PrintLogPipeline are changed to singleton mode -* fix: Fixed the issue where HurlStack and OkHttpStack failed to control network concurrency due to - switching threads again. [#199](https://github.com/panpf/sketch/issues/199) +* improve: Check the type of PlatformContext to prevent passing Activity to Sketch or ImageRequest +* new: Add PlatformContext.sketch and View.sketch extension functions +* new: Sketch.Builder and ComponentRegistry.Builder added addComponents() function * new: Sketch.Builder adds networkParallelismLimited() and decodeParallelismLimited() methods to control the number of network and decoding concurrency. [#200](https://github.com/panpf/sketch/issues/200) -* fix: Fixed the bug that decoding pictures will not start until all network tasks are - completed. [#201](https://github.com/panpf/sketch/issues/201) # 4.0.0-alpha03 diff --git a/CHANGELOG_zh.md b/CHANGELOG_zh.md index c7cd8f6ed2..fa1e7fe1d3 100644 --- a/CHANGELOG_zh.md +++ b/CHANGELOG_zh.md @@ -6,20 +6,20 @@ > 1. 4.x 版本为兼容 Compose Multiplatform 而进行了大量破坏性重构和简化,不兼容 3.x 版本 > 2. maven groupId 升级为 `io.github.panpf.sketch4`,因此 2.\*、3.\* 版本不会提示升级 -# new +# 4.0.0-alpha04 -* new: 添加 PlatformContext.sketch 和 View.sketch 扩展函数 +* fix: 修复 HurlStack 和 OkHttpStack + 因再次切换线程导致网络并发控制失败的问题 [#199](https://github.com/panpf/sketch/issues/199) +* fix: 修复所有网络任务完成后才会开始解码图片的 + bug. [#201](https://github.com/panpf/sketch/issues/201) * change: ImageOptions 和 ImageRequest 的 mergeComponents() 方法重命名为 addComponents() -* new: Sketch.Builder 和 ComponentRegistry.Builder 新增 addComponents() 函数 -* improve: 检查 PlatformContext 的类型以防止将 Activity 传递给 Sketch 或 ImageRequest * change: ImageView.loadImage() 和 newResourceUri() 函数的 drawableResId 参数重命名为 resId * change: AndroidLogPipeline 和 PrintLogPipeline 改为单例模式 -* fix: 修复 HurlStack 和 OkHttpStack - 因再次切换线程导致网络并发控制失败的问题 [#199](https://github.com/panpf/sketch/issues/199) +* improve: 检查 PlatformContext 的类型以防止将 Activity 传递给 Sketch 或 ImageRequest +* new: 添加 PlatformContext.sketch 和 View.sketch 扩展函数 +* new: Sketch.Builder 和 ComponentRegistry.Builder 新增 addComponents() 函数 * new: Sketch.Builder 增加 networkParallelismLimited() 和 decodeParallelismLimited() 方法控制网络和解码并发数量 [#200](https://github.com/panpf/sketch/issues/200) -* fix: 修复所有网络任务完成后才会开始解码图片的 - bug. [#201](https://github.com/panpf/sketch/issues/201) # 4.0.0-alpha03 diff --git a/gradle.properties b/gradle.properties index 37223ad7ba..20aea5b593 100644 --- a/gradle.properties +++ b/gradle.properties @@ -33,8 +33,8 @@ org.jetbrains.compose.experimental.wasm.enabled=true minSdk=21 targetSdk=28 compileSdk=34 -versionCode=4003 -versionName=4.0.0-alpha03 +versionCode=4004 +versionName=4.0.0-alpha04 # #------------------------------------------ publish config ----------------------------------------# GROUP=io.github.panpf.sketch4