Skip to content

Version 0.21.0

Compare
Choose a tag to compare
@wujingwe wujingwe released this 22 Nov 20:06
· 10288 commits to master since this release

New Features

  • Add getAndroidContext method in ComponentContext
  • Introducing the Equivalence interface
  • Add fading edge support to VerticalScrollSpec
  • Support Hiding Top or Bottom Rounded Corners for CardSpec
  • Make TextInputSpec dynamically re-measure itself
  • Add multiline to the TextInputSpec
  • Add TextWatcher support to TextInputSpec
  • Add Comparable Drawable
  • Add DefaultComparableDrawable

Improvements

  • Raise background thread to high priority when it's running a layout
  • Add accessibility role for Header in bucket headers
  • Replaced default constructors with member assignments in YGConfig
  • Synchronize outside of for loops in RecyclerBinder to improve performance
  • Cache isAccessibilityEnabled Value
  • Use the generated Comparable types for the reflective isEquivalentTo method
  • Measure TextInputSpec height based on underlying EditText height
  • Report FATAL error when encounter transition key duplication instead of throwing an exception
  • Change ComponentContext to not extend Context
  • Schedule async layouts in parallel with initRange layout
  • Boost thread that is running LayoutStateFuture
  • Add dispatchOnFocusedVisibleEvent to ComponentTestHelper
  • Lazy init border color drawable

Bugfixes

  • Fix temporary enabling/disabling child clipping for animations
  • Fix releasing drawable order
  • Fix setting bounds to DLDrawable with underlying MatrixDrawable
  • Fix selecting a position before mounting a circular recycler and it either resets to middle or does not allow user to scroll to the left
  • Don't recursively calculate layout for released LayoutStateFutures
  • Never wrap RippleDrawables into DisplayListDrawables
  • Check if tree is valid before recomputing async layout