All Versions
71
Latest Version
Avg Release Cycle
38 days
Latest Release
-
Changelog History
Page 4
Changelog History
Page 4
-
v3.0.6 Changes
June 03, 2019๐ Bugs Fixed
- ๐ Fixed another LottieAnimationView visibility bug.
-
v3.0.5 Changes
May 31, 2019๐ Bugs Fixed
- ๐ Fixed a native crash on Nougat.
- ๐ Improved the performance of animations that have masks and mattes that are partially or fully off screen.
-
v3.0.3 Changes
๐ Bugs Fixed
- ๐ Prevent network connections from being closed before parsing is finished.
- invalidateSelf() after settings alpha.
- Set the correct frame when animations end but speed is < 0.
- 0๏ธโฃ Default missing content types to application/json.
- Consistently use frameTimeNanos to prevent animation frame time from being < 0.
-
v3.0.2 Changes
๐ Features and Improvements
- ๐ Zipped animations with images now support WebP.
๐ Bugs Fixed
- ๐ Use frameTimeNanos LottieAnimator.
- Set wasAnimatingWhenDetached to false at pause().
-
v3.0.1 Changes
๐ Bugs Fixed
- ๐ Fixed an edge case that would resume an animation when it is not shown.
- Disable animations when the system animation scale is 0.
- Fall back to hardware rendering when the animation is too large to create a drawing cache.
-
v3.0.0 Changes
๐ Features and Improvements
- Significant mask and matte performance improvements by only calling saveLayer() on the intersection bounds of the content and mask/matte.
- โ Added support for dynamic properties on rectangles, gradient colors, and gradient fill opacity.
- โ Added support for inverted and intersect masks.
- ๐ Improved support for multiple masks per layer.
- โ Added support for optimized bodymovin json with static transforms removed (v5.5.0+).
- โ Added support for optimized bodymovin json that will omit duplicated vertex out points to reduce json file size (v5.5.0+).
- โ Added support for centered, multiline text, and emojis.
- โ Added support for masked text.
- โ Added support for skew and skew angle in transforms.
- โ Added support for markers. You can now call
setMinFrame
,setMaxFrame
andsetMinAndMaxFrame
with a marker name. - โ Added support for hidden layers and properties (the eye button in After Effects).
- โ Added support for multiple trim paths to be applied on a shape.
- Removed all memory allocations during playback including autoboxing.
- ๐ Replaced
enableHardwareAcceleration
with a newsetRenderMode
API because it has a third (Automatic
) option. Refer to the docs for more info. - โ Added an XML attr for animation speed (lottie_speed).
- โ Removed the recycleBitmaps() API because it is not neccesary anymore.
- Prevented
invalidateSelf()
from being called and recalculating bounds many times per frame. ### ๐ Bugs Fixed - Only redraw the animation when a value changed. This will have a major impact on animations that are static for part of their playback.
- โก๏ธ Optimized keyframes to recalculate values less frequently
- โก๏ธ Optimized static identity transforms so their matrix doesn't get recalculated on every frame.
- Ensure that the last frame is played when setMaxFrame is called.
- Prevent strokes from drawing when the scale is 0.
- Prevented minFrame from being larger than maxFrame.
- โก๏ธ Return the correct (previous) bitmap when updating the BitmapAssetManager.
- Properly use the in-memory cache for network animations.
- Prevented color animations from interpolating before/after the start/end colors even if their interpolator goes 1.
- Annotate
fetchBitmap()
as@Nullable
- ๐ Fixed a bug in the local file cache that would save it with the wrong extensions.
- ๐ Fixed a crash when an animation was missing gradient fill type.
- Prevent shapes that have different numbers of control points in different keyframes from crashing.
- ๐ Fixed an IndexOutOfBoundsException.
- Pause Lottie in onVisibilityChanged.
- ๐ง Properly limited the LRU cache an enable its maximum size to be configured.
- Prevented the cache from returning null values after a key was cleared.
- Properly closed JsonReader in all cases.
- ๐ Fixed text alignment for scaled text when drawn using fonts.
- ๐ Use FutureTask rather than polling for composition parsing to complete.
- ๐ [Sample App] Fixed Lottiefiles integration.
-
v2.8.0 Changes
๐ Features and Improvements
- ๐ Migrated to androidx. This release and all future releases are only compatible with projects that have been migrated to androidx.
-
v2.7.0 Changes
๐ Features and Improvements
- โ Removed deprecated LottieCompositionFactory APIs. If you were using JsonObjects, switch to Strings (#959).
- โ Made LottieTask.EXECUTOR public and static so tests can set it.
- ๐ Allow layer names to be stripped from JSON if desired.
- ๐ Allow returning null from LottieValueCallbacks to fall back to the default value. ### ๐ Bugs Fixed
- ๐ Allow text stroke width to be a double (#940).
-
v2.6.0 Changes
๐ Features and Improvements
- โ Added support for loading an image from a url directly. See LottieCompositionFactory for more information.
- โ Added support for loading an animation from a zip file that contains the json as well as images.
- URLs supports zip files as well as json files.
- ๐ Deprecated
LottieComposition.Factory
in favor of LottieCompositionFactory.- The new factory methods make it easier to catch exceptions by separating out success and failure handlers. Previously, catching exceptions was impossible and would crash your app.
- All APIs now have a mandatory cacheKey that uses an LRU cache rather than a strong/weak ref cache.
- If the same animation is fetched multiple times in parallel, the same task will be returned. This will be massively helpful for animations that are loaded in a list.
- InputStreams are now always closed even if you use the old APIs. Please be aware if you were using this while upgrading.
- โ Added support for miter limit.
- ๐ฑ [Sample App] Added the ability to load a file from assets. ### ๐ Bugs Fixed
- ๐ Fixed a timing issue when there was time stretch on a masked layer.
- ๐ Fixed support for Android P.
- ๐ Make a best-effort attempt at rendering shapes in which the number of vertices changes rather than crashing.
- ๐ Fixed a bug in which the inner radius animation of a polystar wouldn't update.