Skip to content

Commit

Permalink
release: v1.1.0-alpha01
Browse files Browse the repository at this point in the history
  • Loading branch information
panpf committed Jul 12, 2024
1 parent 1561b0c commit 6bf4015
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 19 deletions.
26 changes: 17 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,38 @@

Translations: [简体中文](CHANGELOG_zh.md)

## new
## 1.1.0-alpha01

> [!CAUTION]
> To support js and iOS platforms, all `remove` and `change` tag changes are destructive
subsampling:

* remove: Remove the disallowReuseBitmap parameter of the put() method of TileBitmapCache
* change: Remove ignoreExifOrientation attribute
* change: Remove disabledTileBitmapReuse and TileBitmapPool attributes
* change: Non-Android platforms now use Skia to decode images
* change: Use Jetbrains Lifecycle instead of StoppedController
* change: ImageSource now uses okio's Source instead of InputStream
* change: ImageSource.fromResource() on desktop platform changed to fromKotlinResource()
* change: ImageSource.fromFile(File) is now a JVM platform-specific extension function
* remove: Remove the showThreadName parameter of Logger
* new: New ImageSource.fromKotlinResource() function on ios platform
* new: Added support for js, wasmJs, and iOS platforms
* new: TileBitmap adds bitmapFrom attribute
* new: GlideZoomAsyncImage, GlideZoomImageView, and PicassoZoomImageView support extended
ImageSource

other:

* remove: Remove the showThreadName parameter of Logger
* remove: Remove the module attribute of Logger
* change: Logger.DEBUG change to Logger.Level.Debug
* change: Now each component's log tag is separate
* change: zoomimage-view-sketch and zoomimage-compose-sketch modules upgraded to sketch4, while
adding zoomimage-view-sketch3 and zoomimage-compose-sketch3 modules to continue to support sketch3
* change: zoomimage-view-coil and zoomimage-compose-coil modules are upgraded to coil3, and new
The zoomimage-view-coil2 and zoomimage-compose-coil2 modules continue to support coil2
* remove: Remove the disallowReuseBitmap parameter of the put() method of TileBitmapCache
* new: GlideZoomAsyncImage, GlideZoomImageView, and PicassoZoomImageView support extended
ImageSource
* change: The name of the `state: ZoomState` parameter of ZoomImage, SketchZoomAsyncImage,
CoilZoomAsyncImage, GlideZoomAsyncImage and other functions is changed to `zoomState: ZoomState`
* change: Logger.DEBUG change to Logger.Level.Debug
* remove: Remove the module attribute of Logger
* change: Now each component's log tag is separate

## v1.0.2

Expand Down
24 changes: 16 additions & 8 deletions CHANGELOG_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,37 @@

翻译:[English](CHANGELOG.md)

## new
## 1.1.0-alpha01

> [!CAUTION]
> 为实现支持 js 和 iOS 平台,所有 `remove``change` 标签的变更都是破坏性的
subsampling:

* remove: 移除 TileBitmapCache 的 put() 方法的 disallowReuseBitmap 参数
* change: 移除 ignoreExifOrientation 属性
* change: 移除 disabledTileBitmapReuse 和 TileBitmapPool 属性
* change: 非安卓平台现在使用 Skia 解码图片
* change: 用 Jetbrains Lifecycle 代替 StoppedController
* change: ImageSource 现在使用 okio 的 Source 代替 InputStream
* change: 桌面平台的 ImageSource.fromResource() 改为 fromKotlinResource()
* change: ImageSource.fromFile(File) 现在是 JVM 平台专属的扩展函数
* remove: 移除 Logger 的 showThreadName 参数
* new: ios 平台新增 ImageSource.fromKotlinResource() 函数
* new: 新增支持 js、wasmJs、iOS 平台
* new: TileBitmap 增加 bitmapFrom 属性
* new: GlideZoomAsyncImage、GlideZoomImageView、PicassoZoomImageView 支持扩展 ImageSource

other:

* remove: 移除 Logger 的 showThreadName 参数
* remove: 移除 Logger 的 module 属性
* change: Logger.DEBUG 改为 Logger.Level.Debug
* change: 现在每个组件的日志的 tag 都是单独的
* change: zoomimage-view-sketch 和 zoomimage-compose-sketch 模块升级到 sketch4,同时新增
zoomimage-view-sketch3 和 zoomimage-compose-sketch3 模块继续支持 sketch3
* change: zoomimage-view-coil 和 zoomimage-compose-coil 模块升级到 coil3,同时新增
zoomimage-view-coil2 和 zoomimage-compose-coil2 模块继续支持 coil2
* remove: 移除 TileBitmapCache 的 put() 方法的 disallowReuseBitmap 参数
* new: GlideZoomAsyncImage、GlideZoomImageView、PicassoZoomImageView 支持扩展 ImageSource
* change: ZoomImage、SketchZoomAsyncImage、CoilZoomAsyncImage、GlideZoomAsyncImage
等函数的 `state: ZoomState` 参数的名字改为 `zoomState: ZoomState`
* change: Logger.DEBUG 改为 Logger.Level.Debug
* remove: 移除 Logger 的 module 属性
* change: 现在每个组件的日志的 tag 都是单独的

## v1.0.2

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ org.jetbrains.compose.experimental.wasm.enabled=true
minSdk=21
targetSdk=28
compileSdk=34
versionCode=110
versionName=1.1.0-SNAPSHOT
versionCode=1100
versionName=1.1.0-alpha01
#
#------------------------------------------ publish config ----------------------------------------#
GROUP=io.github.panpf.zoomimage
Expand Down

0 comments on commit 6bf4015

Please sign in to comment.