Skip to content

Commit

Permalink
release: v4.0.0-alpha07
Browse files Browse the repository at this point in the history
  • Loading branch information
panpf committed Aug 23, 2024
1 parent 02cee0f commit ae15572
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ 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-alpha07

* improve: SkiaAnimatedImagePainter now does not share Bitmap for decoding and drawing to avoid
cluttered images. [#206](https://github.com/panpf/sketch/issues/206)
* improve: SkiaAnimatedImagePainter now still does not start animation when drawing, it will
automatically load the first frame
* new: SkiaAnimatedImagePainter now supports caching frames that take longer to decode than the
frame duration to improve playback smoothness, but this uses more memory, closed by default,
enabled through 'cacheDecodeTimeoutFrame()' function
* improve: SkiaAnimatedImagePainter now still does not start animation when drawing, it will
automatically load the first frame

# 4.0.0-alpha06

Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
> 1. 4.x 版本为兼容 Compose Multiplatform 而进行了大量破坏性重构和简化,不兼容 3.x 版本
> 2. maven groupId 升级为 `io.github.panpf.sketch4`,因此 2.\*、3.\* 版本不会提示升级
# new
# 4.0.0-alpha07

* improve: SkiaAnimatedImagePainter 现在解码和绘制不共享 Bitmap
了,以避免画面错乱。 [#206](https://github.com/panpf/sketch/issues/206)
* improve: SkiaAnimatedImagePainter 现在走到绘制时依然没有启动动画,则会自动加载第一帧
* new: SkiaAnimatedImagePainter
现在支持缓存解码耗时超过帧持续时间的帧以提高播放流畅度,但这会使用更多的内存,默认关闭,通过 '
cacheDecodeTimeoutFrame()' 函数开启
* improve: SkiaAnimatedImagePainter 现在走到绘制时依然没有启动动画,则会自动加载第一帧

# 4.0.0-alpha06

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ org.jetbrains.compose.experimental.wasm.enabled=true
minSdk=21
targetSdk=28
compileSdk=34
versionCode=4006
versionName=4.0.0-alpha06
versionCode=4007
versionName=4.0.0-alpha07
#
#------------------------------------------ publish config ----------------------------------------#
GROUP=io.github.panpf.sketch4
Expand Down

0 comments on commit ae15572

Please sign in to comment.