Skip to content

fix(deps): update dependency com.airbnb.android:lottie to v2.8.0 - #32

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/com.airbnb.android-lottie-2.x
Open

fix(deps): update dependency com.airbnb.android:lottie to v2.8.0#32
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/com.airbnb.android-lottie-2.x

Conversation

@renovate

@renovate renovate Bot commented May 13, 2020

Copy link
Copy Markdown

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.airbnb.android:lottie 2.0.0 -> 2.8.0 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

airbnb/lottie-android

v2.8.0

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

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

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.

v2.5.6

  • Added support for targeting Android P
  • Fixed a potential dangling Choreographer callback (#​775)

v2.5.5

  • 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

  • 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.1

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

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

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

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

Bugs Fixed
  • Call onAnimationEnd when system animations are disabled.

v2.2.4

Bugs Fixed
  • Improved the reliability of scaling and using ImageView scale types.
  • Fixed a clipping issue with precomps.
  • Fixed an ArrayIndexOutOfBounds crash in the interpolator cache.

v2.2.3

Bugs Fixed
  • Fixed some issues with progress and resume
  • Fixed a StackOverflowErrors when animations are disabled
  • Fixed a NPE in Keyframe.Factory

v2.2.1

Features and Improvements
  • Text now supports opacity.
Bugs Fixed
  • Fixed a couple of couple of concurrency crashes.
  • Fixed a crash when animations are disabled.
  • Fixed a crash for letters with no shapes.

v2.2.0

Features and Improvements
  • Added play(startFrame, endFrame) and play(startProgress, endProgress).
  • Added the ability to set a minimum and maximum frame/progress for a given animation.
  • Made WeakRef the default cache strategy.
Bugs Fixed
  • Cancel loading animations when non-Lottie animations are set.

v2.1.2

Bugs Fixed
  • Reduced memory footprint.
  • Allowed animations with masks and mattes to scale larger than their view.
  • Respect hardware acceleration when async loading a composition.
  • Fixed a gradient point counting issue.
  • Fixed a trim path issue.

v2.1.0

Features and Improvements
  • Added support for animated text (glyphs and fonts)
  • Enabled text to be set dynamically
  • Added support for repeaters
  • Added support for time stretching
  • Added support for work area (trimming start and end frames)
  • Added support for mask opacity
  • Migrated the sample app to Kotlin
  • Added a real time render performance graph in the sample app
  • Added many systrace markers to improve performance tracking

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate Bot changed the title chore(deps): update dependency com.airbnb.android:lottie to v2.8.0 fix(deps): update dependency com.airbnb.android:lottie to v2.8.0 Sep 25, 2022
@renovate

renovate Bot commented Mar 24, 2023

Copy link
Copy Markdown
Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant