From e78a9e3a374af0206ab4fb585f1f1a6b3dc7e3b2 Mon Sep 17 00:00:00 2001 From: Aditya Sharat Date: Tue, 14 Feb 2023 15:50:48 -0800 Subject: [PATCH] Release version 0.47.0 Summary: Release version 0.47.0 Reviewed By: pentiumao Differential Revision: D43242518 fbshipit-source-id: 6d20900509116328b9304d4f4d3da2f2072f4b1f --- CHANGELOG.md | 19 +++++++++++++++++-- gradle.properties | 2 +- website/versionConfig.js | 2 +- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c7758f76fd..b36d1735e31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,26 @@ # Changelog -## Version 0.47.0-SNAPSHOT +## Version 0.48.0-SNAPSHOT _release-date_ +* TBD + +For more details, see the [full diff](https://github.com/facebook/litho/compare/v0.47.0...master). + +## 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. + +For more details, see the [full diff](https://github.com/facebook/litho/compare/v0.46.0...0.47.0). ## Version 0.46.0 @@ -20,7 +35,7 @@ _2023-01-05_ * [Internal] State generated during layout is now collected in a different StateHandler. * [Internal] Improved reliability of rebinding EventHandlers. -For more details, see the [full diff](https://github.com/facebook/litho/compare/v0.45.0...master). +For more details, see the [full diff](https://github.com/facebook/litho/compare/v0.45.0...v0.46.0). ## Version 0.45.0 diff --git a/gradle.properties b/gradle.properties index b65daeae253..076281dfd9f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ # Project-wide Gradle settings. -VERSION_NAME=0.47.0-SNAPSHOT +VERSION_NAME=0.47.0 GROUP=com.facebook.litho SONATYPE_STAGING_PROFILE=comfacebook diff --git a/website/versionConfig.js b/website/versionConfig.js index bc756907ab7..41544f638e5 100644 --- a/website/versionConfig.js +++ b/website/versionConfig.js @@ -22,7 +22,7 @@ // and refer to the version as: e.g. {{site.lithoVersion}} export const site = { - lithoVersion: '0.46.0', + lithoVersion: '0.47.0', lithoSnapshotVersion: '0.47.0-SNAPSHOT', soloaderVersion: '0.10.4', flipperVersion: '0.142.0',