Releases: airbnb/lottie-android
Releases · airbnb/lottie-android
6.6.6
What's Changed
- Guard against Bitmap allocations of size 0 by @allenchen1154 in #2626
Full Changelog: v6.6.4...v6.6.6
6.6.4
6.6.3
6.6.2
What's Changed
- Parse as width/height as double by @gpeal in #2596
- Re-measure line height when justifying dynamic text by @gpeal in #2597
- Only apply parent layer alpha to mattes by @gpeal in #2598
- Binary compatibility with 6.5 and lower on LottieAnimation by @inorichi in #2591
- Better handle clip specs when minProgress == maxProgress by @gpeal in #2600
New Contributors
Full Changelog: v6.6.1...v6.6.2
6.6.1
6.6.0
New Features
- Overhauled drop shadow support for even better correctness (#2548)
- Major thanks to David Davidović (who works at Lottielab) for his contributions here.
- Adds a new API:
applyShadowsToLayers
which will apply shadows to a whole layer rather than an individual shape. - Use RenderNodes on APIs that support it.
- Lays a foundation that can potentially add RenderNode support to existing mattes and masks.
- Fixed a number of existing correctness issues
- Add an overload to LottieCompositionFactory.clearCache that clears the network cache (#2559)
Bugs Fixed
- Fix rounded corners when the underlying shape doesn't animate (#2567)
- Fix animation update listener order to be called after the internal frame has updated (#2497)
- Unify all parsing to more reliably handle all file types including dotLottie as ZIP files (#2558)
- Fix keypath resolving for matte layers (#2544)
- Apply translate before scale in LottieDrawable (#2565)
6.5.2
6.5.1
Bugs Fixed
- Fix value callback is not called for PathKeyframeAnimation (#2540)
- Fix shadow softness accuracy (#2541)
- Add a global configuration to control reduced motion settings for a11y (#2536)
- Fix a NPE on ImageAssetManager#getContext (#2532)
- Improve strokes with skew (#2531)
- LottieCompositionFactory: Avoid NPE when animation contains a Font Family and Context is null (#2530)
- LottieCompositionFactory: Add factory methods that take an okio Source (#2527)
- LottieCompositionFactory#fromZipStreamSyncInternal close FileOutputStream (#2548)
6.5.0
6.4.0
New Features
Bugs Fixed
- Allow easings to go <0 and >1 (#2457)
- Fix a memory leak in LottieTask (#2465)
- Prevent play from working after a non-Lottie drawable was set and then returned back (#2468)
- Respect autoPlay in LottieAnimationView when setting a new composition (#2469)
- Call LottieTask synchronously when already on the main thread (#2470)
- Properly rescale bitmaps when the system scale changes (#2475)
Compose
New Contributors
- @bassettsj made their first contribution in #2451
- @kunal-jar made their first contribution in #2455
- @idlewan made their first contribution in #2457
- @pyricau made their first contribution in #2465
- @LinDevHard made their first contribution in #2454
Full Changelog: v6.3.0...v6.4.0