diff --git a/CHANGELOG.md b/CHANGELOG.md index b6f5925de6..0a8db13e2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,14 +8,14 @@ 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-alpha03 * change: ComposeBitmapValue renamed to ComposeBitmapImageValue -* improve: Painter.asSketchImage() now returns PainterImage; ComposeBitmap.asSketchImage() now returns ComposeBitmapImage -* new: ImageRequest.Builder and ImageOptions.Builder add sizeWithView(), sizeWithDisplay(), size(IntSize) extension functions -* change: Refactor enqueueDownload() and executeDownload() and move from sketch-extensions-core module to sketch-core module +* change: Refactor Sketch.enqueueDownload() and executeDownload() and move from sketch-extensions-core module to sketch-core module * change: LongImageClipPrecisionDecider renamed to LongImagePrecisionDecider, LongImageStartCropScaleDecider renamed to LongImageScaleDecider * change: Revert to using screen size as final Size when building ImageRequest +* improve: Painter.asSketchImage() now returns PainterImage; ComposeBitmap.asSketchImage() now returns ComposeBitmapImage +* new: ImageRequest.Builder and ImageOptions.Builder add sizeWithView(), sizeWithDisplay(), size(IntSize) extension functions # 4.0.0-alpha02 diff --git a/CHANGELOG_zh.md b/CHANGELOG_zh.md index 49c924002a..d5d721a4c1 100644 --- a/CHANGELOG_zh.md +++ b/CHANGELOG_zh.md @@ -6,14 +6,14 @@ > 1. 4.x 版本为兼容 Compose Multiplatform 而进行了大量破坏性重构和简化,不兼容 3.x 版本 > 2. maven groupId 升级为 `io.github.panpf.sketch4`,因此 2.\*、3.\* 版本不会提示升级 -# new +# 4.0.0-alpha03 * change: ComposeBitmapValue 重命名为 ComposeBitmapImageValue -* improve: Painter.asSketchImage() 现在返回 PainterImage; ComposeBitmap.asSketchImage() 现在返回 ComposeBitmapImage -* new: ImageRequest.Builder 和 ImageOptions.Builder 新增 sizeWithView()、sizeWithDisplay()、size(IntSize) 扩展函数 -* change: 重构 enqueueDownload() 和 executeDownload() 并从 sketch-extensions-core 模块移到 sketch-core 模块 +* change: 重构 Sketch.enqueueDownload() 和 executeDownload() 并从 sketch-extensions-core 模块移到 sketch-core 模块 * change: LongImageClipPrecisionDecider 重命名为 LongImagePrecisionDecider, LongImageStartCropScaleDecider 重命名为 LongImageScaleDecider * change: 恢复在构建 ImageRequest 时使用屏幕大小作为最终的 Size +* improve: Painter.asSketchImage() 现在返回 PainterImage; ComposeBitmap.asSketchImage() 现在返回 ComposeBitmapImage +* new: ImageRequest.Builder 和 ImageOptions.Builder 新增 sizeWithView()、sizeWithDisplay()、size(IntSize) 扩展函数 # 4.0.0-alpha02 diff --git a/gradle.properties b/gradle.properties index 303683b19d..37223ad7ba 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=4002 -versionName=4.0.0-alpha02 +versionCode=4003 +versionName=4.0.0-alpha03 # #------------------------------------------ publish config ----------------------------------------# GROUP=io.github.panpf.sketch4