Changelog History
Page 9
-
v0.26.1 Changes
2019-05-28
- ๐ Fix: Picks 513cf91 to fix an issue with the Flipper integration.
-
v0.26.0 Changes
2019-05-13
- Breaking: Fix the lazy State update semantics. (de3d938)
- Breaking: Rename
LayoutHandler
toLithoHandler
and addDefaultLithoHandler
. (h69cba5, 0d0bb0b) - Breaking: Update Yoga version to
1.14.0
. Fixes #536. (c16baf6) - Breaking: Release sections'
ComponentTree
s whenRecyclerCollectionComponent
is detached. (8893049) - Breaking: Only enable incremental mount if parent incremental mount is enabled. (c88a660)
- Experimental: Make state updates faster by only recreating the subtrees which are being updated and reuse (read "clone") the untouched subtrees while calculating a new layout. You can try it out by setting
ComponentsConfiguration.isReconciliationEnabled()
flag globally or usingComponentTree.Builder.isReconciliationEnabled()
for specific trees. - New: Add a
RecyclerBinder.replaceAll(List<RenderInfo>)
method. (#451) - New: Add documentation.
- Fix: Eliminate Gradle deprecated methods. (#526)
- Fix: Cleanup tests and unused code.
- Fix: Remove object pooling everywhere.
- Fix: Make Robolectric tests work. (a92018a)
For more details, see the full diff.
-
v0.25.0 Changes
2019-03-14
- Breaking: Migrate support lib dependencies to AndroidX. (de3097b)
- Breaking: Remove
DisplayListDrawable
and otherDisplayList
-related features. (29f42fa) - Breaking: Remove
References
API. (b1aa39a) - New: Remove object pooling for most internal objects.
- New: Replace
powermock-reflect
with internal Whitebox implementation. (ad899e4) - New: Enable Gradle incremental AnnotationProcessing. (a864b5a)
- New: Allow
TextInput
to acceptnull
asinputBackground
. (d1fd03b) - New: Add documentation.
- Fix: Suppress focus temporarily while mounting. (d93e2e0)
- Fix: When clearing press state, also cancel pending input events. (451e8b4)
- Fix: Correctly calculate
VisibilityChangedEvent
inMountState
. (66d65fe) - Fix: Thread safety issue of
ViewportChanged
listeners ofViewportManager
. (9da9d90)
For more details, see the full diff.
-
v0.24.0 Changes
2019-02-18
Breaking: The default for state updates has changed from sync to async. At Facebook this meant we ran a codemod script on the codebase and changed all state update methods to the explicit Sync variant (
"Sync"
is just appended to the end of the state update call), then changed the default. The reason for this is to not change existing behavior in case it breaks something, since there are many callsites. The script is committed and available at [scripts/codemod-state-update-methods.sh](scripts/codemod-state-update-methods.sh). We recommend using it if you have any concerns about state update calls automatically becoming async. As a reminder, when you add a@OnUpdateState
method, it generates three methods:updateState()
,updateStateSync()
, andupdateStateAsync()
. PreviouslyupdateState() == updateStateSync()
. Now,updateState() == updateStateAsync()
.For more details, see the full diff.
-
v0.23.0 Changes
2019-01-16
- Breaking:
KeyHandler
s now get registered in EndToEnd tests (9836497). This is a an edge-case, but potentially behavior-changing. - New: Add support for Cached Values.
- New:
isEquivalentTo
now uses reflection for size reasons unless the target is aMountSpec
orSectionSpec
. (2e27d99) - Fix: Potential NPE in
RecyclerEventsController
. (8e29036)
For more details, see the full diff.
- Breaking:
-
v0.14.0 Changes
July 24, 2020๐ฅ Breaking changes:
- Relicensing under Apache 2.0!
- Moving off of Yoga legacy stretch behaviour
- โ Remove storing the event handler name in the EventHandler class
What's new:
- โ TestSpec matchers for @InjectProps
- Working Ranges API
๐ Improvements/Fixes:
- Mark @InjectProp with isLazy flag
- ๐ Allow @InjectProp in onCreateMountContent
- ๐ Handle setting a manual null key on a component
- ๐ Allow parameterized types to be returned from delegate methods
- 0๏ธโฃ Disable Pull To Refresh by default for horizontally scrolling RecyclerCollectionComponents