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

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
  • 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.
  • 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 for setMinFrame/Progress, setMaxFrame/Progress and setMinAndMaxFrame/Progress followed by an explicit call to playAnimation or resumeAnimation.
      • reverseAnimation and resumeReverseAnimation apis have been removed in favor of play and resume with speed < 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.
  • v2.2.5 Changes

    ๐Ÿ› Bugs Fixed

    • Call onAnimationEnd when system animations are disabled.