Releases: line/apng-drawable
Releases · line/apng-drawable
v1.11.0
v1.10.0
Critical Changes
From this version, ApngDrawable is now hosted on Maven Central due to shutting down JCenter.
Please update your build script if there is no repository setting for Maven Central.
Library Updates
Kotlin is updated to 1.4.30.
See #79 for another dependencies.
New Features / Bug Fixes
N/A
v1.9.1
v1.9.0
Important API Changes
Some APIs are marked as deprecated.
ApngDrawable.currentRepeatCount
is deprecated. Please useApngDrawable.currentLoopIndex
instead.- e.g. In the first loop,
currentRepeatCount
becomes1
andcurrentLoopIndex
becomes0
.
- e.g. In the first loop,
RepeatAnimationCallback.onRepeat
is deprecated. Please useRepeatAnimationCallback.onAnimationRepeat
.- In the previous implementation, the 2nd argument
nextLoop
is 1 based index. - In the current implementation, the 2nd argument
nextLoopIndex
is 0 based index. RepeatAnimationCallback
has both of interface function with default implementation temporary for backward compatibility. They will be removed at the next version.
- In the previous implementation, the 2nd argument
New feature
- Introduce
ApngDrawable.seekToFrame
andApngDrawable.frameDurations
. #68
Fixes
isApng
returns true whenever the image isn't APNG format. Thanks @potetisensei #65
v1.8.1
v1.8.0
v1.7.0
Security Fixes
This release contains fix for security vulnerability.
- Fix Integer Overflow #57
- Impact: by using specially crafted .png file, it leads to a crash or potentially arbitrary code execution. This affects version 1.0.0 to 1.6.0.
- See CVE-2019-6007 for more information.
- This vulnerability is reported by @potetisensei in cooperation with LINE Corporation.
Updates
Libraries
- Kotlin 1.3.50
- AndroidX Annotation 1.1.0
Build Environment
- Gradle 5.6.1
- Android Gradle Plugin 3.5.0