Skip to content

Releases: meta/litho

v0.49.1

Choose a tag to compare

@adityasharat adityasharat released this 14 Mar 09:20

Version 0.49.1

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

v0.49.0

Choose a tag to compare

@adityasharat adityasharat released this 02 Feb 10:24

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

Choose a tag to compare

@adityasharat adityasharat released this 15 Feb 15:27

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

Choose a tag to compare

@astreet astreet released this 02 Dec 17:12

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

Choose a tag to compare

@mihaelao mihaelao released this 24 Oct 08:26
  • 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

Choose a tag to compare

@adityasharat adityasharat released this 03 May 18:42
  • 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

Choose a tag to compare

@colriot colriot released this 23 Nov 16:06

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

Choose a tag to compare

@colriot colriot released this 19 Nov 23:08

See CHANGELOG.md for the complete list of updates

Version 0.40.0

Choose a tag to compare

@colriot colriot released this 27 Feb 07:41

See CHANGELOG.md for the complete list of updates

Version 0.39.0

Choose a tag to compare

@colriot colriot released this 20 Jan 17:54

See CHANGELOG.md for the complete list of updates