All Versions
71
Latest Version
Avg Release Cycle
38 days
Latest Release
-
Changelog History
Page 5
Changelog History
Page 5
-
v2.5.7 Changes
- Reapply min/max frame once composition is loaded (#827).
- ๐ Fixed a bug that would ignore setting minFrame to 0 before the composition was set (#820).
- Prevented Lottie from drawing a recycled bitmap (#828).
-
v2.5.6 Changes
- โ Added support for targeting Android P
- ๐ Fixed a potential dangling Choreographer callback (#775)
-
v2.5.5 Changes
- ๐ Fixed end times for layers/animations. Before, if the layer/animation out frame was 20, it would fully render frame 20. This is incorrect. The last rendered frame should be 19.999... in this case. This should make Lottie reflect After Effects more accurately. However, if you are getting the frame in onAnimationEnd or onAnimationRepeat, it will be one less than it used to be.
- โ Added support for base64 encoded images directly in the json instead of the filename. They are 33% larger than their equivalent image file but enables you to have images with a single file.
- ๐ Fixed a lint error about KeyPath visibility.
- ๐ A few min/max progress bug fixes.
- Prevent autoPlay from starting before the animation was attached to the window. This caused animations in a RecyclerView to start playing before they were on screen.
-
v2.5.4 Changes
- You can now call playAnimation() from onAnimationEnd
- Min/Max frames are clipped to the composition start/end
- setProgress takes into account start and end frame
-
v2.5.2 Changes
๐ Features and Improvements
- Totally new sample app!
- Rebuilt from the ground up.
- Lottiefiles integration
- Render times per layer
- Can open zip files with images from lottiefiles, even with qr scanning.
- Change speed
- Totally new sample app!
-
v2.5.1 Changes
๐ Features and Improvements
- โ Removed framerate restriction introduced in 2.5.0 that caused Lottie to attempt to render at the After Effects framerate. This caused animations to appear unexpectedly janky in most cases. ### ๐ Bugs Fixed
- ๐ Many minor bug fixes around setting min/max frames
- โ Removed @RestrictTo on LottieValueCallback
- ๐ Improved thread safety of animation listeners
- ๐ Fixed looping when the animation speed is reversed
-
v2.5.0 Changes
๐ Features and Improvements
- โ Added the ability to dynamically change properties at runtime. See docs for more info. This feature removed the existing APIs for ๐ changing the color dynamically with a color filter. Refer to the docs for migration info from existing ColorFilter APIs.
- โ 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 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.
-
v2.3.1 Changes
๐ Features and Improvements
- ๐ฆ Expose
LottieComposition#getImages()
to aid in preloading images. - โ Added support for text baseline. ### ๐ Bugs Fixed
- Prevented a crash when setting min frame > previous max frame.
- ๐ Fixed some bugs in subtract masks.
- ๐ Fixed some animation clamping when an animation was longer than its parent and time stretched.
- Stopped applying time stretch to a layer transform.
- ๐ฆ Expose
-
v2.3.0 Changes
๐ Features and Improvements
- ๐ Animator fixes:
- Previously, some usages of lottie animator apis/api listeners would cause unexpected behavior, especially calling apis from listener callbacks.
- This is breaking change if you use
playAnimation(start, end)
. It has been removed in favor of explicit methods forsetMinFrame/Progress
,setMaxFrame/Progress
andsetMinAndMaxFrame/Progress
followed by an explicit call toplayAnimation
orresumeAnimation
. reverseAnimation
andresumeReverseAnimation
apis have been removed in favor ofplay
andresume
withspeed
< 0.- If you have created hack around these limitations or complex animator chaining, please test your animations after updating.
- Set an animation from R.raw (res/raw) if you want static references to your animation files. This can help prevent mismatches between api calls and file names. Thanks @cyrilmottier!
- ๐ Support for ellipse direction.
- ๐ฆ Expose image directory name if set from bodymovin. ### ๐ Bugs Fixed
- ๐ Fixed a bug with animations that use both mattes and time stretch.
- ๐ Fixed a few keyframe issues where keyframe start/end values would be off by 1 frame.
- ๐ Animator fixes:
-
v2.2.5 Changes
๐ Bugs Fixed
- Call onAnimationEnd when system animations are disabled.