Skip to content

Releases: facebook/litho

v0.49.1

14 Mar 09:20
Compare
Choose a tag to compare

Version 0.49.1

  • Fixes #978
  • [BREAKING] move litho-core-kotlin to litho-core module
  • Converted more code to Kotlin

v0.49.0

02 Feb 10:24
Compare
Choose a tag to compare

2024-02-01

  • Converted more code to Kotlin.
  • [NEW] Added debug event APIs for better debugging and integration with Flipper's new UI Debugger.
  • [NEW] Added layout caching to improve performance.
  • [BREAKING] Moved several configs from LithoConfiguration to ComponentsConfiguration.
  • [BREAKING] Merged several configs from RecyclerBinderConfig and RecyclerBinderConfiguration.
  • [BREAKING] Removed Component.canResolve() and Component.resolve(ResolveContext, ComponentContext) methods.
  • [BREAKING] Renamed Styles: performAccessibilityAction, sendAccessibilityEvent and sendAccessibilityEventUnchecked.
  • [BREAKING] Yoga updated to use C++ 20.
  • [BREAKING] Deletes several public constructors of EventHandler.
  • Overhauled the render pipeline to support custom layout systems.
  • Numerous bug fixes.

For more details, see the full diff.

v0.47.0

15 Feb 15:27
Compare
Choose a tag to compare

Version 0.47.0

2023-02-13

  • [New] Adds debug overlay for to show components bounds, and interactive elements. Set the following configs to enable the feature: debugHighlightInteractiveBounds, debugHighlightMountBounds.
  • [Deprecated] ComponentTree.canInterruptAndMoveLayoutsBetweenThreads, RecyclerBinder.canInterruptAndMoveLayoutsBetweenThreads, ComponentTreeHolder.canInterruptAndMoveLayoutsBetweenThreads. All of those will be removed in one of subsequent versions.
  • [BREAKING] Introduces several new API to replace the ComponentTree in ComponentContext.
    • Use ComponentContext#getLithoTree to get access to API previous accessed from the ComponentTree.
    • ComponentTree removed from the OnError API; Use ComponentContext#getErrorComponentReceiver to set the root on error.
  • [BREAKING] equivalence utility method have moved from CommonUtils to EquivalenceUtils.
  • The logic to trigger mount has be simplified; there are now fewer hops between LithoView and ComponentTree.

v0.45.0

02 Dec 17:12
Compare
Choose a tag to compare

Version 0.45.0

2022-12-02

  • Many internals changes which should not affect end-users: StateContainers are now immutable and added support for testing split of resolve and layout processes
  • Fix for bug where some EventHandlers would be stale after updates when using sections
  • SimpleMountable API is stabilized and ready to replace @MountSpec usages in Kotlin. See here for the docs!

For more details, see the full diff.

Version 0.43.0

24 Oct 08:26
Compare
Choose a tag to compare
  • Breaking:: If you use ComponentsSystrace.provide to provide a custom Systrace implementation, there have been some changes to the types and methods involved:
  • Instead of implementing ComponentsSystrace.Systrace, implementations should implement com.facebook.rendercore.Systracer, located in litho-rendercore. The ArgsBuilder interface has also moved from ComponentsSystrace to the Systracer interface.

See CHANGELOG.md for the complete list of updates

Version 0.41.2

03 May 18:42
Compare
Choose a tag to compare
  • Target SDK is now v31, min SDK is now 16.
  • Uses Gradle 7, and build tools is v30.
  • Breaking: Requires JDK 11 to compile.
  • Breaking: Fix: More fully support @PropDefault annotations in Kotlin Specs (see change logs for more details).
  • Breaking: InternalNode renamed to LithoNode, and elevated to a concrete class. Deletes DefaultInternalNode.
  • Breaking: NodeInfo is now a concrete class; deletes DefaultNodeInfo.

See CHANGELOG.md for the complete list of updates

Version 0.41.1

23 Nov 16:06
Compare
Choose a tag to compare

This release fixes broken Litho artifacts deployment on Maven. Should be used instead of v0.41.0.

See CHANGELOG.md for the complete list of updates

Version 0.41.0

19 Nov 23:08
Compare
Choose a tag to compare

See CHANGELOG.md for the complete list of updates

Version 0.40.0

27 Feb 07:41
Compare
Choose a tag to compare

See CHANGELOG.md for the complete list of updates

Version 0.39.0

20 Jan 17:54
Compare
Choose a tag to compare

See CHANGELOG.md for the complete list of updates