litho

A declarative framework for building efficient UIs on Android.

APACHE-2.0 License

Stars
7.7K
Committers
667

Bot releases are hidden (Show)

litho - v0.49.1 Latest Release

Published by adityasharat 7 months ago

Version 0.49.1

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

Published by adityasharat 9 months ago

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.

litho - v0.47.0

Published by adityasharat over 1 year ago

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.
litho - v0.45.0

Published by astreet almost 2 years ago

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.

litho - Version 0.43.0

Published by mihaelao almost 2 years ago

  • 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

litho - Version 0.41.2

Published by adityasharat over 2 years ago

  • 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

litho - Version 0.41.1

Published by colriot almost 3 years ago

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

litho - Version 0.41.0

Published by colriot almost 3 years ago

See CHANGELOG.md for the complete list of updates

litho - Version 0.40.0

Published by colriot over 3 years ago

See CHANGELOG.md for the complete list of updates

litho - Version 0.39.0

Published by colriot almost 4 years ago

See CHANGELOG.md for the complete list of updates

litho - Version 0.38.0

Published by colriot almost 4 years ago

See CHANGELOG.md for the complete list of updates

litho - Version 0.37.1

Published by colriot about 4 years ago

See CHANGELOG.md for the complete list of updates

litho - Version 0.14.0

Published by mihaelao about 4 years ago

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
  • Disable Pull To Refresh by default for horizontally scrolling RecyclerCollectionComponents
litho - Version 0.37.0

Published by colriot over 4 years ago

See CHANGELOG.md for the complete list of updates

litho - Version 0.36.0

Published by muraziz over 4 years ago

See CHANGELOG.md for information on breaking changes and lots of updates in this release!

litho - Version 0.35.0

Published by colriot over 4 years ago

See CHANGELOG.md for information on breaking changes and lots of updates in this release!

litho - Version 0.34.0

Published by astreet over 4 years ago

See CHANGELOG.md for information on breaking changes and everything else in this release!

litho -

Published by colriot about 5 years ago

litho -

Published by colriot about 5 years ago

litho -

Published by mihaelao over 5 years ago

Additional Sections debugging APIs

  • make Change#getRenderInfos() public
  • add ChangesInfo#getAllChanges()
Package Rankings
Top 4.24% on Repo1.maven.org
Top 4.01% on Proxy.golang.org