react-native 0.83.0-nightly-20251015-094794ac9 → 0.83.0-nightly-20251017-ae5728bbb

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.
@@ -29,7 +29,7 @@ export default class ReactNativeVersion {
29
29
  static major: number = 0;
30
30
  static minor: number = 83;
31
31
  static patch: number = 0;
32
- static prerelease: string | null = 'nightly-20251015-094794ac9';
32
+ static prerelease: string | null = 'nightly-20251017-ae5728bbb';
33
33
 
34
34
  static getVersionString(): string {
35
35
  return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(83),
26
26
  RCTVersionPatch: @(0),
27
- RCTVersionPrerelease: @"nightly-20251015-094794ac9",
27
+ RCTVersionPrerelease: @"nightly-20251017-ae5728bbb",
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.83.0-nightly-20251015-094794ac9
1
+ VERSION_NAME=0.83.0-nightly-20251017-ae5728bbb
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
  react.internal.hermesPublishingGroup=com.facebook.hermes
4
4
 
@@ -68,3 +68,8 @@
68
68
  -keepclassmembers class * {
69
69
  @com.facebook.yoga.annotations.DoNotStrip *;
70
70
  }
71
+
72
+ # fresco
73
+ -keep public class com.facebook.imageutils.** {
74
+ public *;
75
+ }
@@ -15,6 +15,6 @@ public object ReactNativeVersion {
15
15
  "major" to 0,
16
16
  "minor" to 83,
17
17
  "patch" to 0,
18
- "prerelease" to "nightly-20251015-094794ac9"
18
+ "prerelease" to "nightly-20251017-ae5728bbb"
19
19
  )
20
20
  }
@@ -38,23 +38,32 @@
38
38
  {
39
39
  if (facebook::react::ReactNativeFeatureFlags::cxxNativeAnimatedEnabled()) {
40
40
  if (name == facebook::react::AnimatedModule::kModuleName) {
41
+ __weak RCTAnimatedModuleProvider *weakSelf = self;
41
42
  auto provider = std::make_shared<facebook::react::NativeAnimatedNodesManagerProvider>(
42
- [self](std::function<void()> &&onRender) {
43
- _onRender = onRender;
44
- if (_displayLink == nil) {
43
+ [weakSelf](std::function<void()> &&onRender) {
44
+ RCTAnimatedModuleProvider *strongSelf = weakSelf;
45
+ if (strongSelf) {
46
+ strongSelf->_onRender = onRender;
47
+ if (strongSelf->_displayLink == nil) {
45
48
  #if TARGET_OS_OSX
46
- _displayLink = [RCTPlatformDisplayLink displayLinkWithTarget:self selector:@selector(_onDisplayLinkTick)];
49
+ strongSelf->_displayLink = [RCTPlatformDisplayLink displayLinkWithTarget:strongSelf
50
+ selector:@selector(_onDisplayLinkTick)];
47
51
  #else
48
- _displayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(_onDisplayLinkTick)];
52
+ strongSelf->_displayLink = [CADisplayLink displayLinkWithTarget:strongSelf
53
+ selector:@selector(_onDisplayLinkTick)];
49
54
  #endif
50
- [_displayLink addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSRunLoopCommonModes];
55
+ [strongSelf->_displayLink addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSRunLoopCommonModes];
56
+ }
51
57
  }
52
58
  },
53
- [self]() {
54
- if (_displayLink != nil) {
55
- [_displayLink invalidate];
56
- _displayLink = nil;
57
- _onRender = nullptr;
59
+ [weakSelf]() {
60
+ RCTAnimatedModuleProvider *strongSelf = weakSelf;
61
+ if (strongSelf) {
62
+ if (strongSelf->_displayLink != nil) {
63
+ [strongSelf->_displayLink invalidate];
64
+ strongSelf->_displayLink = nil;
65
+ strongSelf->_onRender = nullptr;
66
+ }
58
67
  }
59
68
  });
60
69
  return std::make_shared<facebook::react::AnimatedModule>(std::move(jsInvoker), std::move(provider));
@@ -22,7 +22,7 @@ constexpr struct {
22
22
  int32_t Major = 0;
23
23
  int32_t Minor = 83;
24
24
  int32_t Patch = 0;
25
- std::string_view Prerelease = "nightly-20251015-094794ac9";
25
+ std::string_view Prerelease = "nightly-20251017-ae5728bbb";
26
26
  } ReactNativeVersion;
27
27
 
28
28
  } // namespace facebook::react
@@ -92,12 +92,12 @@ ImageProps::ImageProps(
92
92
  {})),
93
93
  resizeMethod(
94
94
  ReactNativeFeatureFlags::enableCppPropsIteratorSetter()
95
- ? sourceProps.internal_analyticTag
95
+ ? sourceProps.resizeMethod
96
96
  : convertRawProp(
97
97
  context,
98
98
  rawProps,
99
99
  "resizeMethod",
100
- sourceProps.internal_analyticTag,
100
+ sourceProps.resizeMethod,
101
101
  {})),
102
102
  resizeMultiplier(
103
103
  ReactNativeFeatureFlags::enableCppPropsIteratorSetter()
@@ -38,7 +38,16 @@ HostPlatformScrollViewProps::HostPlatformScrollViewProps(
38
38
  rawProps,
39
39
  "nestedScrollEnabled",
40
40
  sourceProps.nestedScrollEnabled,
41
- true))
41
+ true)),
42
+ fadingEdgeLength(
43
+ ReactNativeFeatureFlags::enableCppPropsIteratorSetter()
44
+ ? sourceProps.fadingEdgeLength
45
+ : convertRawProp(
46
+ context,
47
+ rawProps,
48
+ "fadingEdgeLength",
49
+ sourceProps.fadingEdgeLength,
50
+ nullptr))
42
51
 
43
52
  {}
44
53
 
@@ -57,6 +66,7 @@ void HostPlatformScrollViewProps::setProp(
57
66
  switch (hash) {
58
67
  RAW_SET_PROP_SWITCH_CASE_BASIC(sendMomentumEvents);
59
68
  RAW_SET_PROP_SWITCH_CASE_BASIC(nestedScrollEnabled);
69
+ RAW_SET_PROP_SWITCH_CASE_BASIC(fadingEdgeLength);
60
70
  }
61
71
  }
62
72
 
@@ -348,6 +358,10 @@ folly::dynamic HostPlatformScrollViewProps::getDiffProps(
348
358
  result["nestedScrollEnabled"] = nestedScrollEnabled;
349
359
  }
350
360
 
361
+ if (fadingEdgeLength != oldProps->fadingEdgeLength) {
362
+ result["fadingEdgeLength"] = fadingEdgeLength;
363
+ }
364
+
351
365
  return result;
352
366
  }
353
367
 
@@ -32,6 +32,7 @@ class HostPlatformScrollViewProps : public BaseScrollViewProps {
32
32
 
33
33
  bool sendMomentumEvents{};
34
34
  bool nestedScrollEnabled{};
35
+ folly::dynamic fadingEdgeLength{};
35
36
 
36
37
  #pragma mark - DebugStringConvertible
37
38
 
@@ -0,0 +1,36 @@
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
+ #include "DoubleConversions.h"
9
+
10
+ #include <double-conversion/double-conversion.h>
11
+ #include <array>
12
+
13
+ namespace facebook::react {
14
+
15
+ std::string toString(double doubleValue, char suffix) {
16
+ // Format taken from folly's toString
17
+ static double_conversion::DoubleToStringConverter conv(
18
+ 0,
19
+ nullptr,
20
+ nullptr,
21
+ 'E',
22
+ -6, // detail::kConvMaxDecimalInShortestLow,
23
+ 21, // detail::kConvMaxDecimalInShortestHigh,
24
+ 6, // max leading padding zeros
25
+ 1); // max trailing padding zeros
26
+ std::array<char, 256> buffer{};
27
+ double_conversion::StringBuilder builder(buffer.data(), buffer.size());
28
+ if (!conv.ToShortest(doubleValue, &builder)) {
29
+ // Serialize infinite and NaN as 0
30
+ builder.AddCharacter('0');
31
+ }
32
+ builder.AddCharacter(suffix);
33
+ return builder.Finalize();
34
+ }
35
+
36
+ } // namespace facebook::react
@@ -0,0 +1,16 @@
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
+ #pragma once
9
+
10
+ #include <string>
11
+
12
+ namespace facebook::react {
13
+
14
+ std::string toString(double doubleValue, char suffix);
15
+
16
+ } // namespace facebook::react
@@ -8,37 +8,13 @@
8
8
  #include "ValueUnit.h"
9
9
 
10
10
  #ifdef RN_SERIALIZABLE_STATE
11
- #include <double-conversion/double-conversion.h>
12
- #include <array>
13
- #include <string>
11
+ #include "DoubleConversions.h"
14
12
  #endif
15
13
 
16
14
  namespace facebook::react {
17
15
 
18
16
  #ifdef RN_SERIALIZABLE_STATE
19
17
 
20
- std::string toString(double doubleValue, char suffix) {
21
- // Format taken from folly's toString
22
- static double_conversion::DoubleToStringConverter conv(
23
- 0,
24
- NULL,
25
- NULL,
26
- 'E',
27
- -6, // detail::kConvMaxDecimalInShortestLow,
28
- 21, // detail::kConvMaxDecimalInShortestHigh,
29
- 6, // max leading padding zeros
30
- 1); // max trailing padding zeros
31
- std::array<char, 256> buffer{};
32
- double_conversion::StringBuilder builder(buffer.data(), buffer.size());
33
- if (!conv.ToShortest(doubleValue, &builder)) {
34
- // Serialize infinite and NaN as 0%
35
- builder.AddCharacter('0');
36
- builder.AddCharacter('%');
37
- }
38
- builder.AddCharacter(suffix);
39
- return builder.Finalize();
40
- }
41
-
42
18
  folly::dynamic ValueUnit::toDynamic() const {
43
19
  switch (unit) {
44
20
  case UnitType::Undefined:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.83.0-nightly-20251015-094794ac9",
3
+ "version": "0.83.0-nightly-20251017-ae5728bbb",
4
4
  "description": "A framework for building native apps using React",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -159,13 +159,13 @@
159
159
  },
160
160
  "dependencies": {
161
161
  "@jest/create-cache-key-function": "^29.7.0",
162
- "@react-native/assets-registry": "0.83.0-nightly-20251015-094794ac9",
163
- "@react-native/codegen": "0.83.0-nightly-20251015-094794ac9",
164
- "@react-native/community-cli-plugin": "0.83.0-nightly-20251015-094794ac9",
165
- "@react-native/gradle-plugin": "0.83.0-nightly-20251015-094794ac9",
166
- "@react-native/js-polyfills": "0.83.0-nightly-20251015-094794ac9",
167
- "@react-native/normalize-colors": "0.83.0-nightly-20251015-094794ac9",
168
- "@react-native/virtualized-lists": "0.83.0-nightly-20251015-094794ac9",
162
+ "@react-native/assets-registry": "0.83.0-nightly-20251017-ae5728bbb",
163
+ "@react-native/codegen": "0.83.0-nightly-20251017-ae5728bbb",
164
+ "@react-native/community-cli-plugin": "0.83.0-nightly-20251017-ae5728bbb",
165
+ "@react-native/gradle-plugin": "0.83.0-nightly-20251017-ae5728bbb",
166
+ "@react-native/js-polyfills": "0.83.0-nightly-20251017-ae5728bbb",
167
+ "@react-native/normalize-colors": "0.83.0-nightly-20251017-ae5728bbb",
168
+ "@react-native/virtualized-lists": "0.83.0-nightly-20251017-ae5728bbb",
169
169
  "abort-controller": "^3.0.0",
170
170
  "anser": "^1.4.9",
171
171
  "ansi-regex": "^5.0.0",
Binary file
Binary file
Binary file