react-native 0.84.0-nightly-20251203-a5e6addc6 → 0.84.0-nightly-20251205-95cc1e767
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +194 -186
- package/React/Fabric/RCTSurfaceTouchHandler.mm +1 -1
- package/ReactAndroid/api/ReactAndroid.api +0 -2
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/inspector/FrameTimingsObserver.kt +85 -11
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +7 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +11 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +12 -1
- package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +3 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.kt +7 -3
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyOptimizer.java +9 -91
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNode.java +0 -2
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java +4 -23
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementation.java +1 -3
- package/ReactAndroid/src/main/jni/CMakeLists.txt +7 -0
- package/ReactAndroid/src/main/jni/react/devsupport/CMakeLists.txt +7 -0
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +15 -1
- package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +4 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/jsinspector-modern/tests/TracingTest.cpp +18 -0
- package/ReactCommon/jsinspector-modern/tracing/FrameTimingSequence.h +4 -2
- package/ReactCommon/jsinspector-modern/tracing/HostTracingProfileSerializer.cpp +14 -1
- package/ReactCommon/jsinspector-modern/tracing/TraceEventGenerator.cpp +28 -4
- package/ReactCommon/jsinspector-modern/tracing/TraceEventGenerator.h +13 -1
- package/ReactCommon/jsinspector-modern/tracing/TracingCategory.h +11 -6
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +5 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +6 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +51 -33
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +4 -2
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +5 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +10 -1
- package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +2 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +6 -1
- package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +3 -1
- package/ReactCommon/react/runtime/ReactInstance.cpp +1 -1
- package/package.json +10 -10
- package/scripts/cocoapods/utils.rb +2 -0
- package/scripts/codegen/generate-artifacts-executor/generateSchemaInfos.js +7 -6
- package/sdks/hermes-engine/version.properties +1 -1
- package/src/private/featureflags/ReactNativeFeatureFlags.js +6 -1
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +2 -1
- package/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeKind.kt +0 -32
- /package/ReactCommon/jsi/jsi/{hermes.h → hermes-interfaces.h} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<b16ca6ca4e47b347e4f5cb8555d3308f>>
|
|
8
8
|
* @flow strict
|
|
9
9
|
* @noformat
|
|
10
10
|
*/
|
|
@@ -108,6 +108,7 @@ export type ReactNativeFeatureFlags = $ReadOnly<{
|
|
|
108
108
|
enableVirtualViewWindowFocusDetection: Getter<boolean>,
|
|
109
109
|
enableWebPerformanceAPIsByDefault: Getter<boolean>,
|
|
110
110
|
fixMappingOfEventPrioritiesBetweenFabricAndReact: Getter<boolean>,
|
|
111
|
+
fixTextClippingAndroid15useBoundsForWidth: Getter<boolean>,
|
|
111
112
|
fuseboxAssertSingleHostState: Getter<boolean>,
|
|
112
113
|
fuseboxEnabledRelease: Getter<boolean>,
|
|
113
114
|
fuseboxNetworkInspectionEnabled: Getter<boolean>,
|
|
@@ -454,6 +455,10 @@ export const enableWebPerformanceAPIsByDefault: Getter<boolean> = createNativeFl
|
|
|
454
455
|
* Uses the default event priority instead of the discreet event priority by default when dispatching events from Fabric to React.
|
|
455
456
|
*/
|
|
456
457
|
export const fixMappingOfEventPrioritiesBetweenFabricAndReact: Getter<boolean> = createNativeFlagGetter('fixMappingOfEventPrioritiesBetweenFabricAndReact', false);
|
|
458
|
+
/**
|
|
459
|
+
* Fix text clipping starting in Android 15 due to usage of useBoundsForWidth
|
|
460
|
+
*/
|
|
461
|
+
export const fixTextClippingAndroid15useBoundsForWidth: Getter<boolean> = createNativeFlagGetter('fixTextClippingAndroid15useBoundsForWidth', false);
|
|
457
462
|
/**
|
|
458
463
|
* Enable system assertion validating that Fusebox is configured with a single host. When set, the CDP backend will dynamically disable features (Perf and Network) in the event that multiple hosts are registered (undefined behaviour), and broadcast this over `ReactNativeApplication.systemStateChanged`.
|
|
459
464
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
|
-
* @generated SignedSource<<
|
|
7
|
+
* @generated SignedSource<<c43da900298aae909ac525053b5ba848>>
|
|
8
8
|
* @flow strict
|
|
9
9
|
* @noformat
|
|
10
10
|
*/
|
|
@@ -82,6 +82,7 @@ export interface Spec extends TurboModule {
|
|
|
82
82
|
+enableVirtualViewWindowFocusDetection?: () => boolean;
|
|
83
83
|
+enableWebPerformanceAPIsByDefault?: () => boolean;
|
|
84
84
|
+fixMappingOfEventPrioritiesBetweenFabricAndReact?: () => boolean;
|
|
85
|
+
+fixTextClippingAndroid15useBoundsForWidth?: () => boolean;
|
|
85
86
|
+fuseboxAssertSingleHostState?: () => boolean;
|
|
86
87
|
+fuseboxEnabledRelease?: () => boolean;
|
|
87
88
|
+fuseboxNetworkInspectionEnabled?: () => boolean;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
package com.facebook.react.uimanager
|
|
9
|
-
|
|
10
|
-
import com.facebook.react.common.annotations.internal.LegacyArchitecture
|
|
11
|
-
import com.facebook.react.common.annotations.internal.LegacyArchitectureLogLevel
|
|
12
|
-
|
|
13
|
-
// Common conditionals:
|
|
14
|
-
// - `kind == PARENT` checks whether the node can host children in the native tree.
|
|
15
|
-
// - `kind != NONE` checks whether the node appears in the native tree.
|
|
16
|
-
@LegacyArchitecture(logLevel = LegacyArchitectureLogLevel.ERROR)
|
|
17
|
-
@Deprecated(
|
|
18
|
-
message = "This class is part of Legacy Architecture and will be removed in a future release",
|
|
19
|
-
level = DeprecationLevel.WARNING,
|
|
20
|
-
)
|
|
21
|
-
internal enum class NativeKind {
|
|
22
|
-
// Node is in the native hierarchy and the HierarchyOptimizer should assume it can host children
|
|
23
|
-
// (e.g. because it's a ViewGroup). Note that it's okay if the node doesn't support children. When
|
|
24
|
-
// the HierarchyOptimizer generates children manipulation commands for that node, the
|
|
25
|
-
// HierarchyManager will catch this case and throw an exception.
|
|
26
|
-
PARENT,
|
|
27
|
-
// Node is in the native hierarchy, it may have children, but it cannot host them itself (e.g.
|
|
28
|
-
// because it isn't a ViewGroup). Consequently, its children need to be hosted by an ancestor.
|
|
29
|
-
LEAF,
|
|
30
|
-
// Node is not in the native hierarchy.
|
|
31
|
-
NONE,
|
|
32
|
-
}
|
|
File without changes
|