v2.5.0-rc2
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 41d7ecb..582935f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,10 +5,16 @@
* Added a setRepeatMode and setRepeatCount (Thanks Fabio Nuno!).
* Completely overhauled json deserialization. Deserializing a composition takes half as long and
can deserialize much larger json files (tested 50mb) without ooming.
+* Overhauled the underlying time animator. It now:
+ * More accurately handles setFrame/getFrame/minFrame/maxFrame APIs. There were cases where they
+ could be off by one before.
+ * Renders at the fps specified by After Effects.
+ * Added docs and clearer rules around animatedValue and animatedFraction in animator callbacks.
* API to remove all animator listeners.
* Adhere to the Animatable interface.
+* Bumped the minSdk from 14 to 16 to use Choreographer in the animator mentioned above.
### Bugs Fixed
-* Fixed some setFrame/getFrame calculations.
+* Fixed a bug that made it difficult to chain animations in onAnimationEnd callbacks.
* Fixed a regression with unknown masks modes.
* Fixed a crash trying to recycle a null bitmap.
* Fixed a bug when an opacity animation time interpolator was >1.
diff --git a/LottieSample/build.gradle b/LottieSample/build.gradle
index 18aa029..a847513 100644
--- a/LottieSample/build.gradle
+++ b/LottieSample/build.gradle
@@ -9,8 +9,8 @@
applicationId "com.airbnb.lottie"
minSdkVersion 16
targetSdkVersion 27
- versionCode 32
- versionName "2.5.0-rc1"
+ versionCode 33
+ versionName "2.5.0-rc2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
buildConfigField("String", "S3AccessKey", "\"" + System.getenv("LOTTIE_S3_API_KEY") + "\"")
diff --git a/README.md b/README.md
index a8593b0..afcd21b 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,6 @@
```groovy
dependencies {
- compile 'com.airbnb.android:lottie:2.5.0-rc1'
+ compile 'com.airbnb.android:lottie:2.5.0-rc2'
}
```
diff --git a/gradle.properties b/gradle.properties
index a0b7ee6..365d77c 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -17,7 +17,7 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
-VERSION_NAME=2.5.0-rc1
+VERSION_NAME=2.5.0-rc2
GROUP=com.airbnb.android
POM_DESCRIPTION=Lottie is an animation library that renders Adobe After Effects animations natively in realtime.
diff --git a/lottie/build.gradle b/lottie/build.gradle
index fb9e49f..de619a4 100644
--- a/lottie/build.gradle
+++ b/lottie/build.gradle
@@ -10,7 +10,7 @@
minSdkVersion 16
targetSdkVersion 27
versionCode 100
- versionName "2.5.0-rc1"
+ versionName "2.5.0-rc2"
}
lintOptions {
abortOnError true