react-native 0.84.0-nightly-20251204-5bb3a6d68 → 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.
Files changed (40) hide show
  1. package/Libraries/Core/ReactNativeVersion.js +1 -1
  2. package/React/Base/RCTVersion.m +1 -1
  3. package/React/FBReactNativeSpec/FBReactNativeSpecJSI.h +8 -0
  4. package/React/Fabric/RCTSurfaceTouchHandler.mm +1 -1
  5. package/ReactAndroid/api/ReactAndroid.api +0 -2
  6. package/ReactAndroid/gradle.properties +1 -1
  7. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/inspector/FrameTimingsObserver.kt +85 -11
  8. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlags.kt +7 -1
  9. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxAccessor.kt +11 -1
  10. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsCxxInterop.kt +3 -1
  11. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsDefaults.kt +3 -1
  12. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsLocalAccessor.kt +12 -1
  13. package/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsProvider.kt +3 -1
  14. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  15. package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.kt +7 -3
  16. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyOptimizer.java +9 -91
  17. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNode.java +0 -2
  18. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java +4 -23
  19. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIImplementation.java +1 -3
  20. package/ReactAndroid/src/main/jni/CMakeLists.txt +7 -0
  21. package/ReactAndroid/src/main/jni/react/devsupport/CMakeLists.txt +7 -0
  22. package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.cpp +15 -1
  23. package/ReactAndroid/src/main/jni/react/featureflags/JReactNativeFeatureFlagsCxxInterop.h +4 -1
  24. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  25. package/ReactCommon/jsinspector-modern/tracing/TraceEventGenerator.cpp +4 -4
  26. package/ReactCommon/jsinspector-modern/tracing/TracingCategory.h +11 -6
  27. package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.cpp +5 -1
  28. package/ReactCommon/react/featureflags/ReactNativeFeatureFlags.h +6 -1
  29. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.cpp +51 -33
  30. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsAccessor.h +4 -2
  31. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDefaults.h +5 -1
  32. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsDynamicProvider.h +10 -1
  33. package/ReactCommon/react/featureflags/ReactNativeFeatureFlagsProvider.h +2 -1
  34. package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.cpp +6 -1
  35. package/ReactCommon/react/nativemodule/featureflags/NativeReactNativeFeatureFlags.h +3 -1
  36. package/package.json +8 -8
  37. package/scripts/cocoapods/utils.rb +2 -0
  38. package/src/private/featureflags/ReactNativeFeatureFlags.js +6 -1
  39. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +2 -1
  40. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeKind.kt +0 -32
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.84.0-nightly-20251204-5bb3a6d68",
3
+ "version": "0.84.0-nightly-20251205-95cc1e767",
4
4
  "description": "A framework for building native apps using React",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -160,13 +160,13 @@
160
160
  },
161
161
  "dependencies": {
162
162
  "@jest/create-cache-key-function": "^29.7.0",
163
- "@react-native/assets-registry": "0.84.0-nightly-20251204-5bb3a6d68",
164
- "@react-native/codegen": "0.84.0-nightly-20251204-5bb3a6d68",
165
- "@react-native/community-cli-plugin": "0.84.0-nightly-20251204-5bb3a6d68",
166
- "@react-native/gradle-plugin": "0.84.0-nightly-20251204-5bb3a6d68",
167
- "@react-native/js-polyfills": "0.84.0-nightly-20251204-5bb3a6d68",
168
- "@react-native/normalize-colors": "0.84.0-nightly-20251204-5bb3a6d68",
169
- "@react-native/virtualized-lists": "0.84.0-nightly-20251204-5bb3a6d68",
163
+ "@react-native/assets-registry": "0.84.0-nightly-20251205-95cc1e767",
164
+ "@react-native/codegen": "0.84.0-nightly-20251205-95cc1e767",
165
+ "@react-native/community-cli-plugin": "0.84.0-nightly-20251205-95cc1e767",
166
+ "@react-native/gradle-plugin": "0.84.0-nightly-20251205-95cc1e767",
167
+ "@react-native/js-polyfills": "0.84.0-nightly-20251205-95cc1e767",
168
+ "@react-native/normalize-colors": "0.84.0-nightly-20251205-95cc1e767",
169
+ "@react-native/virtualized-lists": "0.84.0-nightly-20251205-95cc1e767",
170
170
  "abort-controller": "^3.0.0",
171
171
  "anser": "^1.4.9",
172
172
  "ansi-regex": "^5.0.0",
@@ -58,9 +58,11 @@ class ReactNativePodsUtils
58
58
 
59
59
  def self.set_gcc_preprocessor_definition_for_debugger(installer)
60
60
  self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-jsinspector", :debug)
61
+ self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-jsinspectornetwork", :debug)
61
62
  self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-RCTNetwork", :debug)
62
63
  self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED=1", "React-networking", :debug)
63
64
  self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-jsinspector", :debug)
65
+ self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-jsinspectornetwork", :debug)
64
66
  self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-RCTNetwork", :debug)
65
67
  self.add_build_settings_to_pod(installer, "GCC_PREPROCESSOR_DEFINITIONS", "REACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1", "React-networking", :debug)
66
68
  end
@@ -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<<1732204fe9acf34158e7f9e4aec04161>>
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<<2604998265d9aa6a9b50d78502aa8d10>>
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
- }