Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Peal committed Mar 22, 2019
1 parent d58a39d commit d7e044f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 41 deletions.
63 changes: 23 additions & 40 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,28 @@
# 3.0.0-beta4
# 3.0.0
### Features and Improvements
* Added support for dynamic properties on gradient fill opacity.

# 3.0.0-beta3
### Features and Improvements
* Added support for inverted masks.
* Added support for intersect masks.
* **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.
* Added support for multiline text.
* Added support for dynamic properties on rectangles.
* Added support for dynamic properties on gradient colors.
* Added support for emoji in text delegates.
### Bugs Fixed
* Ensure that the last frame is played when setMaxFrame is called.
* Prevent strokes from drawing when the scale is 0.

# 3.0.0-beta2
### Features and Improvements
* 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 skew and skew angle transforms.
* Added support for a future Bodymovin plugin that will omit duplicated vertex out points to reduce json file size.
* Allowed multiple trim paths to be applied on a shape.
### Bugs Fixed
* Fixed an IndexOutOfBoundsException.
* Preventded the cache from returning null values after a key was cleared.
* Pause Lottie in onVisibilityChanged.
* Properly limited the LRU cache an enable its maximum size to be configured.
* 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.

# 3.0.0-beta1
### Features and Improvements
* **Significant** mask and matte performance improvements by only calling saveLayer() on the intersection bounds of the content and mask/matte.
* Removed **all** memory allocations during playback including autoboxing.
* Added support for centered text.
* Added support for hidden layers and properties (the eye button in After Effects).
* Only redraw the animation when a value changed. This will have a major impact on animations that are static for part of their playback.
* 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.
* Optimize keyframes to recalculate values less frequently
* Optimize static identity transforms so their matrix doesn't get recalculated on every frame.
* Allow text to be masked.
### 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.
Expand All @@ -56,6 +31,14 @@
* 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.

# 2.8.0
### Features and Improvements
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

VERSION_NAME=3.0.0-beta4
VERSION_NAME=3.0.0
GROUP=com.airbnb.android

POM_DESCRIPTION=Lottie is an animation library that renders Adobe After Effects animations natively in realtime.
Expand Down

0 comments on commit d7e044f

Please sign in to comment.