All Versions
71
Latest Version
Avg Release Cycle
38 days
Latest Release
-

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.4 Changes

    ๐Ÿ› Bugs Fixed

    • ๐Ÿ‘‰ Use a copy of Moshi's JsonReader implementation to fix #667.
    • ๐Ÿ›  Fix animations not autoplaying when they became visible on pre-marshmallow devices.
    • ๐Ÿ›  Fix PerformanceTracker#removeFrameListener not working.
  • 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 and setMinAndMaxFrame 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 new setRenderMode 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.