From 97286e34cfbb401bab4c813f9efb40cf93452f10 Mon Sep 17 00:00:00 2001 From: Gabriel Peal Date: Sun, 8 Nov 2020 19:21:18 -0800 Subject: [PATCH] lottie-3.5.0 and lottie-compose-1.0.0-alpha01 --- CHANGELOG.md | 7 ++++++- CHANGELOG_COMPOSE.md | 6 ++++++ gradle.properties | 2 +- lottie-compose/build.gradle | 1 + lottie-compose/gradle.properties | 2 +- upload_release.sh | 2 ++ 6 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 CHANGELOG_COMPOSE.md create mode 100755 upload_release.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index f67826625e..39317ce281 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ # 3.5.0 ### Features and Improvements * Added a new global configuration to add a custom network stack, custom network cache, enable systrace markers, and more ([#1629](https://github.com/airbnb/lottie-android/pull/1629)) -* Initial implementation of Lottie Compose (not yet released) + + * To use it, checkout the docs for `Lottie.initialize` and `LottieConfig.Builder`. +* Add support for parsing dotLottie files ([#1660](https://github.com/airbnb/lottie-android/pull/1660)) +* Added support for pause listeners on `LottieDrawable` and `LottieAnimationView` ([#1662](https://github.com/airbnb/lottie-android/pull/1662)) +### Bugs Fixed +* Properly cache animations loaded via url in memory ([#1657](https://github.com/airbnb/lottie-android/pull/1657)) # 3.4.4 ### Bugs Fixed diff --git a/CHANGELOG_COMPOSE.md b/CHANGELOG_COMPOSE.md new file mode 100644 index 0000000000..6f0361bcb7 --- /dev/null +++ b/CHANGELOG_COMPOSE.md @@ -0,0 +1,6 @@ +# 1.0.0-alpha01 +* Initial release of Lottie Compose +* Compatible with Jetpack Compose alpha 6 +* Built with Lottie 3.5.0 +* Wraps the existing renderer with Jetpack Compose friendly APIs. +* For up to date docs on how to use it, check out the [docs](http://airbnb.io/lottie/#/android-compose). \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 38dc53494c..d0c98ef9fc 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=3.4.5-SNAPSHOT +VERSION_NAME=3.5.0 GROUP=com.airbnb.android POM_DESCRIPTION=Lottie is an animation library that renders Adobe After Effects animations natively in realtime. diff --git a/lottie-compose/build.gradle b/lottie-compose/build.gradle index 5bf3d6e8ed..b0d6047712 100644 --- a/lottie-compose/build.gradle +++ b/lottie-compose/build.gradle @@ -2,6 +2,7 @@ plugins { id 'com.android.library' id 'kotlin-android' } +apply from: 'gradle-maven-push.gradle' android { compileSdkVersion 30 diff --git a/lottie-compose/gradle.properties b/lottie-compose/gradle.properties index aae93012a0..9e4a2e69c8 100644 --- a/lottie-compose/gradle.properties +++ b/lottie-compose/gradle.properties @@ -2,4 +2,4 @@ POM_NAME=Lottie Compose POM_ARTIFACT_ID=lottie-compose POM_PACKAGING=aar GROUP=com.airbnb.android -VERSION_NAME=1.0.0-dev01-SNAPSHOT \ No newline at end of file +VERSION_NAME=1.0.0-alpha01 \ No newline at end of file diff --git a/upload_release.sh b/upload_release.sh new file mode 100755 index 0000000000..f45edcc7af --- /dev/null +++ b/upload_release.sh @@ -0,0 +1,2 @@ +#!/bin/bash +./gradlew clean lottie:assembleRelease lottie-compose:assembleRelease lottie:uploadArchives lottie-compose:uploadArchives --rerun-tasks --no-parallel \ No newline at end of file