react-native-windows 0.81.13 → 0.81.18

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 (49) hide show
  1. package/Common/Common.vcxproj +1 -1
  2. package/Folly/Folly.vcxproj +1 -1
  3. package/Libraries/Modal/Modal.windows.js +1 -7
  4. package/Microsoft.ReactNative/Fabric/Composition/BorderPrimitive.cpp +73 -97
  5. package/Microsoft.ReactNative/Fabric/Composition/BorderPrimitive.h +4 -1
  6. package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.cpp +58 -21
  7. package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp +253 -58
  8. package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.h +18 -4
  9. package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +149 -27
  10. package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.h +10 -0
  11. package/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.cpp +5 -0
  12. package/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.h +2 -0
  13. package/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.cpp +3 -1
  14. package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +4 -6
  15. package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp +101 -44
  16. package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.h +4 -2
  17. package/Microsoft.ReactNative/Fabric/WindowsComponentDescriptorRegistry.cpp +3 -3
  18. package/Microsoft.ReactNative/Fabric/WindowsComponentDescriptorRegistry.h +3 -1
  19. package/Microsoft.ReactNative/Fabric/WindowsImageManager.cpp +0 -1
  20. package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/HostPlatformColor.h +3 -0
  21. package/Microsoft.ReactNative/Fabric/platform/react/renderer/textlayoutmanager/WindowsTextLayoutManager.cpp +2 -7
  22. package/Microsoft.ReactNative/IReactPackageBuilder.idl +5 -0
  23. package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +2 -2
  24. package/Microsoft.ReactNative/Modules/Animated/AnimatedNode.cpp +3 -3
  25. package/Microsoft.ReactNative/Modules/Animated/AnimatedNode.h +3 -2
  26. package/Microsoft.ReactNative/Modules/Timing.h +2 -1
  27. package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp +2 -0
  28. package/Microsoft.ReactNative/ReactPackageBuilder.cpp +7 -0
  29. package/Microsoft.ReactNative/ReactPackageBuilder.h +1 -0
  30. package/Microsoft.ReactNative/TurboModulesProvider.cpp +5 -10
  31. package/Microsoft.ReactNative/TurboModulesProvider.h +2 -0
  32. package/Microsoft.ReactNative.Cxx/ModuleRegistration.cpp +8 -2
  33. package/Microsoft.ReactNative.Cxx/ModuleRegistration.h +17 -4
  34. package/Microsoft.ReactNative.Cxx/NativeModules.h +5 -0
  35. package/PropertySheets/External/Microsoft.ReactNative.Composition.CppApp.targets +2 -2
  36. package/PropertySheets/External/Microsoft.ReactNative.Composition.CppLib.targets +2 -2
  37. package/PropertySheets/External/Microsoft.ReactNative.Uwp.CSharpApp.targets +1 -1
  38. package/PropertySheets/External/Microsoft.ReactNative.Uwp.CppApp.targets +1 -1
  39. package/PropertySheets/Generated/PackageVersion.g.props +3 -3
  40. package/PropertySheets/JSEngine.props +2 -1
  41. package/PropertySheets/WinUI.props +3 -3
  42. package/ReactCommon/ReactCommon.vcxproj +1 -1
  43. package/Scripts/OfficeReact.Win32.nuspec +44 -44
  44. package/Scripts/Tfs/Invoke-WebRequestWithRetry.ps1 +40 -0
  45. package/Scripts/Tfs/Layout-Desktop-Headers.ps1 +1 -15
  46. package/Shared/Shared.vcxitems.filters +2 -2
  47. package/package.json +1 -1
  48. package/Scripts/OpenSSL.nuspec +0 -39
  49. package/Scripts/OpenSSL.targets +0 -36
@@ -18,7 +18,10 @@ ModuleRegistration::ModuleRegistration(wchar_t const *moduleName) noexcept : m_m
18
18
  void AddAttributedModules(IReactPackageBuilder const &packageBuilder, bool useTurboModules) noexcept {
19
19
  for (auto const *reg = ModuleRegistration::Head(); reg != nullptr; reg = reg->Next()) {
20
20
  if (useTurboModules || reg->ShouldRegisterAsTurboModule())
21
- packageBuilder.AddTurboModule(reg->ModuleName(), reg->MakeModuleProvider());
21
+ if (reg->IsEagerInit())
22
+ packageBuilder.AddEagerInitTurboModule(reg->ModuleName(), reg->MakeModuleProvider());
23
+ else
24
+ packageBuilder.AddTurboModule(reg->ModuleName(), reg->MakeModuleProvider());
22
25
  else
23
26
  packageBuilder.AddModule(reg->ModuleName(), reg->MakeModuleProvider());
24
27
  }
@@ -31,7 +34,10 @@ bool TryAddAttributedModule(
31
34
  for (auto const *reg = ModuleRegistration::Head(); reg != nullptr; reg = reg->Next()) {
32
35
  if (moduleName == reg->ModuleName()) {
33
36
  if (useTurboModule || reg->ShouldRegisterAsTurboModule()) {
34
- packageBuilder.AddTurboModule(moduleName, reg->MakeModuleProvider());
37
+ if (reg->IsEagerInit())
38
+ packageBuilder.AddEagerInitTurboModule(moduleName, reg->MakeModuleProvider());
39
+ else
40
+ packageBuilder.AddTurboModule(moduleName, reg->MakeModuleProvider());
35
41
  } else {
36
42
  packageBuilder.AddModule(moduleName, reg->MakeModuleProvider());
37
43
  }
@@ -30,10 +30,11 @@ template <typename T>
30
30
  struct IsReactTurboModule : std::bool_constant<ReactIsReactTurboModuleImpl(static_cast<T *>(nullptr))> {};
31
31
 
32
32
  #define INTERNAL_REACT_MODULE_REGISTRATION_AND_PROVIDER( \
33
- moduleStruct, moduleName, eventEmitterName, isReactTurboModule) \
33
+ moduleStruct, moduleName, eventEmitterName, isReactTurboModule, isEagerInit) \
34
34
  struct moduleStruct; \
35
35
  \
36
36
  constexpr bool ReactIsReactTurboModuleImpl(moduleStruct *) noexcept { return isReactTurboModule; } \
37
+ constexpr bool ReactIsEagerInitTurboModuleImpl(moduleStruct *) noexcept { return isEagerInit; } \
37
38
  \
38
39
  template <class TDummy> \
39
40
  struct moduleStruct##_ModuleRegistration final : winrt::Microsoft::ReactNative::ModuleRegistration { \
@@ -44,6 +45,7 @@ struct IsReactTurboModule : std::bool_constant<ReactIsReactTurboModuleImpl(stati
44
45
  } \
45
46
  \
46
47
  bool ShouldRegisterAsTurboModule() const noexcept override { return isReactTurboModule; } \
48
+ bool IsEagerInit() const noexcept override { return isEagerInit; } \
47
49
  \
48
50
  static const moduleStruct##_ModuleRegistration Registration; \
49
51
  }; \
@@ -59,7 +61,7 @@ struct IsReactTurboModule : std::bool_constant<ReactIsReactTurboModuleImpl(stati
59
61
  }
60
62
 
61
63
  #define INTERNAL_REACT_MODULE_3_ARGS(moduleStruct, moduleName, eventEmitterName) \
62
- INTERNAL_REACT_MODULE_REGISTRATION_AND_PROVIDER(moduleStruct, moduleName, eventEmitterName, false)
64
+ INTERNAL_REACT_MODULE_REGISTRATION_AND_PROVIDER(moduleStruct, moduleName, eventEmitterName, false, false)
63
65
 
64
66
  #define INTERNAL_REACT_MODULE_2_ARGS(moduleStruct, moduleName) \
65
67
  INTERNAL_REACT_MODULE_3_ARGS(moduleStruct, moduleName, L"")
@@ -104,17 +106,27 @@ struct IsReactTurboModule : std::bool_constant<ReactIsReactTurboModuleImpl(stati
104
106
 
105
107
  // Register struct as a ReactNative module.
106
108
  #define INTERNAL_REACT_TURBO_MODULE_2_ARGS(moduleStruct, moduleName) \
107
- INTERNAL_REACT_MODULE_REGISTRATION_AND_PROVIDER(moduleStruct, moduleName, L"", true)
109
+ INTERNAL_REACT_MODULE_REGISTRATION_AND_PROVIDER(moduleStruct, moduleName, L"", true, false)
110
+
111
+ #define INTERNAL_REACT_EAGER_TURBO_MODULE_2_ARGS(moduleStruct, moduleName) \
112
+ INTERNAL_REACT_MODULE_REGISTRATION_AND_PROVIDER(moduleStruct, moduleName, L"", true, true)
108
113
 
109
114
  #define INTERNAL_REACT_TURBO_MODULE_1_ARG(moduleStruct) \
110
115
  INTERNAL_REACT_TURBO_MODULE_2_ARGS(moduleStruct, L## #moduleStruct)
111
116
 
117
+ #define INTERNAL_REACT_EAGER_TURBO_MODULE_1_ARG(moduleStruct) \
118
+ INTERNAL_REACT_EAGER_TURBO_MODULE_2_ARGS(moduleStruct, L## #moduleStruct)
119
+
112
120
  #define INTERNAL_REACT_TURBO_MODULE(...) \
113
121
  INTERNAL_REACT_RECOMPOSER_3((__VA_ARGS__, INTERNAL_REACT_TURBO_MODULE_2_ARGS, INTERNAL_REACT_TURBO_MODULE_1_ARG, ))
114
122
 
123
+ #define INTERNAL_REACT_EAGER_TURBO_MODULE(...) \
124
+ INTERNAL_REACT_RECOMPOSER_3( \
125
+ (__VA_ARGS__, INTERNAL_REACT_EAGER_TURBO_MODULE_2_ARGS, INTERNAL_REACT_EAGER_TURBO_MODULE_1_ARG, ))
126
+
115
127
  // Another version of REACT_MODULE but does not do auto registration
116
128
  #define INTERNAL_REACT_TURBO_MODULE_NOREG_2_ARGS(moduleStruct, moduleName) \
117
- INTERNAL_REACT_MODULE_NO_REGISTRATION_AND_PROVIDER(moduleStruct, moduleName, L"", true)
129
+ INTERNAL_REACT_MODULE_NO_REGISTRATION_AND_PROVIDER(moduleStruct, moduleName, L"", true, false)
118
130
 
119
131
  #define INTERNAL_REACT_TURBO_MODULE_NOREG_1_ARG(moduleStruct) \
120
132
  INTERNAL_REACT_TURBO_MODULE_NOREG_2_ARGS(moduleStruct, L## #moduleStruct)
@@ -153,6 +165,7 @@ struct ModuleRegistration {
153
165
 
154
166
  virtual ReactModuleProvider MakeModuleProvider() const noexcept = 0;
155
167
  virtual bool ShouldRegisterAsTurboModule() const noexcept = 0;
168
+ virtual bool IsEagerInit() const noexcept = 0;
156
169
 
157
170
  static ModuleRegistration const *Head() noexcept {
158
171
  return s_head;
@@ -47,6 +47,11 @@
47
47
  #define REACT_TURBO_MODULE(/* moduleStruct, [opt] moduleName */...) \
48
48
  INTERNAL_REACT_TURBO_MODULE(__VA_ARGS__)(__VA_ARGS__)
49
49
 
50
+ // Same as REACT_TURBO_MODULE, but will register using AddEagerInitTurboModule, and this module
51
+ // will be created and init'd on instance creation.
52
+ #define REACT_EAGER_TURBO_MODULE(/* moduleStruct, [opt] moduleName */...) \
53
+ INTERNAL_REACT_EAGER_TURBO_MODULE(__VA_ARGS__)(__VA_ARGS__)
54
+
50
55
  // REACT_MODULE_NOREG is REACT_MODULE without auto registration
51
56
  // they have the same arguments
52
57
  #define REACT_MODULE_NOREG(/* moduleStruct, [opt] moduleName, [opt] eventEmitterName */...) \
@@ -21,8 +21,8 @@
21
21
  <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.targets" />
22
22
 
23
23
  <ItemGroup>
24
- <PackageReference Include="boost" Version="1.83.0.0" />
24
+ <PackageReference Include="boost" Version="1.84.0.0" />
25
25
  <PackageReference Include="Microsoft.VCRTForwarders.140" Version="1.0.2-rc" />
26
26
  </ItemGroup>
27
27
 
28
- </Project>
28
+ </Project>
@@ -23,8 +23,8 @@
23
23
  <Import Project="$(ReactNativeWindowsDir)\PropertySheets\Codegen.targets" />
24
24
 
25
25
  <ItemGroup>
26
- <PackageReference Include="boost" Version="1.83.0.0" />
26
+ <PackageReference Include="boost" Version="1.84.0.0" />
27
27
  <PackageReference Include="Microsoft.VCRTForwarders.140" Version="1.0.2-rc" />
28
28
  </ItemGroup>
29
29
 
30
- </Project>
30
+ </Project>
@@ -25,7 +25,7 @@
25
25
  <!-- WinUI package name and version are set by WinUI.props -->
26
26
  <PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" Condition="'$(OverrideWinUIPackage)'!='true'" />
27
27
  <!-- Hermes version is set by JSEngine.props -->
28
- <PackageReference Include="Microsoft.JavaScript.Hermes" Version="$(HermesVersion)" Condition="$(UseHermes)" />
28
+ <PackageReference Include="$(HermesPackageName)" Version="$(HermesVersion)" Condition="$(UseHermes)" />
29
29
  </ItemGroup>
30
30
 
31
31
  <Import Project="$(ReactNativeWindowsDir)PropertySheets\ManagedCodeGen\Microsoft.ReactNative.Managed.CodeGen.targets"
@@ -25,7 +25,7 @@
25
25
  <!-- WinUI package name and version are set by WinUI.props -->
26
26
  <PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" Condition="'$(OverrideWinUIPackage)'!='true'" />
27
27
  <!-- Hermes version is set by JSEngine.props -->
28
- <PackageReference Include="Microsoft.JavaScript.Hermes" Version="$(HermesVersion)" Condition="$(UseHermes)" />
28
+ <PackageReference Include="$(HermesPackageName)" Version="$(HermesVersion)" Condition="$(UseHermes)" />
29
29
  </ItemGroup>
30
30
 
31
31
  <!-- The props file for bundling is not set up to be just defaults, it assumes to be run at the end of the project. -->
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.81.13</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.81.18</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>81</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>13</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>18</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>57c33949c2f2863a51817500cec9bdd795d459dc</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>ffbb7afa1dbc3a60b57a6bca6025d3c0537b569e</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
@@ -7,8 +7,9 @@
7
7
  <UseHermes Condition="'$(UseHermes)' == ''">true</UseHermes>
8
8
  <!-- This will be true if (1) the client want to use hermes by setting UseHermes to true OR (2) We are building for UWP where dynamic switching is enabled -->
9
9
  <HermesVersion Condition="'$(HermesVersion)' == ''">0.0.0-2511.7001-d7ca19b3</HermesVersion>
10
+ <HermesPackageName Condition="'$(HermesPackageName)' == ''">Microsoft.JavaScript.Hermes</HermesPackageName>
10
11
  <HermesPackage Condition="'$(HermesPackage)' == '' And Exists('$(PkgMicrosoft_JavaScript_Hermes)')">$(PkgMicrosoft_JavaScript_Hermes)</HermesPackage>
11
- <HermesPackage Condition="'$(HermesPackage)' == ''">$(NuGetPackageRoot)\Microsoft.JavaScript.Hermes\$(HermesVersion)</HermesPackage>
12
+ <HermesPackage Condition="'$(HermesPackage)' == ''">$(NuGetPackageRoot)\$(HermesPackageName)\$(HermesVersion)</HermesPackage>
12
13
  <EnableHermesInspectorInReleaseFlavor Condition="'$(EnableHermesInspectorInReleaseFlavor)' == ''">false</EnableHermesInspectorInReleaseFlavor>
13
14
  <!-- Disable linking Hermes into the output in cases where we need to fully rely on HermesShim -->
14
15
  <HermesNoLink Condition="'$(HermesNoLink)' == '' and '$(Configuration)' == 'Release' and '$(EnableHermesInspectorInReleaseFlavor)' != 'true'">true</HermesNoLink>
@@ -5,12 +5,12 @@
5
5
  <!--
6
6
  Internal versions are typically only located at: https://microsoft.visualstudio.com/DefaultCollection/ProjectReunion/_artifacts/feed/Project.Reunion.nuget.internal/NuGet/Microsoft.WindowsAppSDK/versions
7
7
  For local testing of internal versions, modify WinUI3ExperimentalVersion, and comment out the additional nuget source in NuGet.Config
8
- When this version is updated, be sure to update the default for the enableInternalFeed parameter of /.ado/templates/enable-experimental-winui3.yml and the minimum version of WebView in WebView2.props
8
+ When this version is updated, be sure to update the default for the enableInternalFeed parameter of /.ado/templates/enable-experimental-winui3.yml
9
9
  -->
10
- <WinUI3ExperimentalVersion Condition="'$(WinUI3ExperimentalVersion)'==''">1.7.250127003-experimental3</WinUI3ExperimentalVersion>
10
+ <WinUI3ExperimentalVersion Condition="'$(WinUI3ExperimentalVersion)'==''">1.8.251106002</WinUI3ExperimentalVersion>
11
11
  <!-- This value is also used by the CLI, see /packages/@react-native-windows/cli/.../autolinkWindows.ts -->
12
12
  <WinUI3Version Condition="'$(WinUI3Version)'=='' AND '$(UseExperimentalWinUI3)'=='true'">$(WinUI3ExperimentalVersion)</WinUI3Version>
13
- <WinUI3Version Condition="'$(WinUI3Version)'==''">1.7.250401001</WinUI3Version>
13
+ <WinUI3Version Condition="'$(WinUI3Version)'==''">1.8.251106002</WinUI3Version>
14
14
  <!-- This is needed to prevent build errors with WinAppSDK >= 1.7 trying to double build WindowsAppRuntimeAutoInitializer.cpp -->
15
15
  <WindowsAppSdkAutoInitialize Condition="'$(WindowsAppSdkAutoInitialize)'=='' And $([MSBuild]::VersionGreaterThan('$(WinUI3Version)', '1.7.0'))">false</WindowsAppSdkAutoInitialize>
16
16
  </PropertyGroup>
@@ -249,7 +249,7 @@
249
249
  </ProjectReference>
250
250
  </ItemGroup>
251
251
  <ItemGroup>
252
- <PackageReference Include="boost" Version="1.83.0.0" />
252
+ <PackageReference Include="boost" Version="1.84.0.0" />
253
253
  <PackageReference Include="Microsoft.Windows.CppWinRT" Version="$(CppWinRTVersion)" PrivateAssets="all" />
254
254
  </ItemGroup>
255
255
  <PropertyGroup>
@@ -15,60 +15,60 @@
15
15
  </metadata>
16
16
  <files>
17
17
 
18
- <file src="$nugetroot$\Desktop\x86\Debug\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\debug\x86" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
19
- <file src="$nugetroot$\Desktop\x64\Debug\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\debug\x64" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
20
- <file src="$nugetroot$\Desktop\ARM64EC\Debug\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\debug\ARM64EC" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
21
- <file src="$nugetroot$\Desktop\x86\Release\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\ship\x86" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
22
- <file src="$nugetroot$\Desktop\x64\Release\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\ship\x64" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
23
- <file src="$nugetroot$\Desktop\ARM64EC\Release\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\ship\ARM64EC" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
24
- <file src="$nugetroot$\Desktop\x86\Debug\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\debug\x86"/>
25
- <file src="$nugetroot$\Desktop\x64\Debug\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\debug\x64"/>
26
- <file src="$nugetroot$\Desktop\ARM64EC\Debug\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\debug\ARM64EC"/>
27
- <file src="$nugetroot$\Desktop\x86\Release\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\ship\x86"/>
28
- <file src="$nugetroot$\Desktop\x64\Release\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\ship\x64"/>
29
- <file src="$nugetroot$\Desktop\ARM64EC\Release\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\ship\ARM64EC"/>
18
+ <file src="$nugetroot$\Desktop\x86\Debug\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\debug\x86" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
19
+ <file src="$nugetroot$\Desktop\x64\Debug\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\debug\x64" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
20
+ <file src="$nugetroot$\Desktop\ARM64EC\Debug\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\debug\ARM64EC" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
21
+ <file src="$nugetroot$\Desktop\x86\Release\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\ship\x86" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
22
+ <file src="$nugetroot$\Desktop\x64\Release\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\ship\x64" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
23
+ <file src="$nugetroot$\Desktop\ARM64EC\Release\React.Windows.Desktop.DLL\react-native-win32.*" target="lib\ship\ARM64EC" exclude="**\*.iobj;**\*.ipdb;**\*.exp;**\*.ilk" />
24
+ <file src="$nugetroot$\Desktop\x86\Debug\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\debug\x86" />
25
+ <file src="$nugetroot$\Desktop\x64\Debug\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\debug\x64" />
26
+ <file src="$nugetroot$\Desktop\ARM64EC\Debug\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\debug\ARM64EC" />
27
+ <file src="$nugetroot$\Desktop\x86\Release\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\ship\x86" />
28
+ <file src="$nugetroot$\Desktop\x64\Release\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\ship\x64" />
29
+ <file src="$nugetroot$\Desktop\ARM64EC\Release\React.Windows.Desktop\Microsoft.ReactNative.winmd" target="lib\ship\ARM64EC" />
30
30
 
31
- <file src="$nugetroot$\inc\callinvoker\ReactCommon\CallInvoker.h" target="inc\ReactCommon"/>
32
- <file src="$nugetroot$\inc\callinvoker\ReactCommon\SchedulerPriority.h" target="inc\ReactCommon"/>
33
- <file src="$nugetroot$\inc\runtimeexecutor\ReactCommon\RuntimeExecutor.h" target="inc\ReactCommon"/>
34
- <file src="$nugetroot$\inc\cxxreact\*" target="inc\cxxreact"/>
35
- <file src="$nugetroot$\inc\jsi\**\*.*" target="inc\jsi"/>
36
- <file src="$nugetroot$\inc\jsinspector-modern\*" target="inc\jsinspector-modern"/>
37
- <file src="$nugetroot$\inc\Yoga\*.*" target="inc\Yoga"/>
31
+ <file src="$nugetroot$\inc\callinvoker\ReactCommon\CallInvoker.h" target="inc\ReactCommon" />
32
+ <file src="$nugetroot$\inc\callinvoker\ReactCommon\SchedulerPriority.h" target="inc\ReactCommon" />
33
+ <file src="$nugetroot$\inc\runtimeexecutor\ReactCommon\RuntimeExecutor.h" target="inc\ReactCommon" />
34
+ <file src="$nugetroot$\inc\cxxreact\*" target="inc\cxxreact" />
35
+ <file src="$nugetroot$\inc\jsi\**\*.*" target="inc\jsi" />
36
+ <file src="$nugetroot$\inc\jsinspector-modern\*" target="inc\jsinspector-modern" />
37
+ <file src="$nugetroot$\inc\Yoga\*.*" target="inc\Yoga" />
38
38
  <file src="$nugetroot$\inc\folly\**\*.*" target="inc" />
39
39
  <file src="$nugetroot$\inc\fmt\**\*.*" target="inc\fmt" />
40
40
  <file src="$nugetroot$\inc\stubs\**\*.*" target="inc" />
41
41
 
42
- <file src="$nugetroot$\inc\Shared\AbiSafe.h" target="inc"/>
43
- <file src="$nugetroot$\inc\Shared\DevSettings.h" target="inc"/>
44
- <file src="$nugetroot$\inc\ReactWin32\INativeUIManagerLegacy.h" target="inc"/>
45
- <file src="$nugetroot$\inc\Shared\InstanceManager.h" target="inc"/>
46
- <file src="$nugetroot$\inc\Shared\IDevSupportManager.h" target="inc"/>
47
- <file src="$nugetroot$\inc\Shared\IReactRootView.h" target="inc"/>
48
- <file src="$nugetroot$\inc\Shared\IRedBoxHandler.h" target="inc"/>
49
- <file src="$nugetroot$\inc\Shared\JSBigAbiString.h" target="inc"/>
50
- <file src="$nugetroot$\inc\Shared\LayoutAnimation.h" target="inc"/>
51
- <file src="$nugetroot$\inc\Shared\Logging.h" target="inc"/>
52
- <file src="$nugetroot$\inc\Shared\MemoryMappedBuffer.h" target="inc"/>
53
- <file src="$nugetroot$\inc\Shared\NativeModuleProvider.h" target="inc"/>
54
- <file src="$nugetroot$\inc\Shared\Networking\IWebSocketResource.h" target="inc"/>
55
- <file src="$nugetroot$\inc\Shared\Networking\OriginPolicy.h" target="inc"/>
56
- <file src="$nugetroot$\inc\Shared\RuntimeOptions.h" target="inc"/>
57
- <file src="$nugetroot$\inc\Shared\Tracing.h" target="inc"/>
58
- <file src="$nugetroot$\inc\Shared\JSI\JSExecutorFactoryDelegate.h" target="inc\JSI"/>
42
+ <file src="$nugetroot$\inc\Shared\AbiSafe.h" target="inc" />
43
+ <file src="$nugetroot$\inc\Shared\DevSettings.h" target="inc" />
44
+ <file src="$nugetroot$\inc\ReactWin32\INativeUIManagerLegacy.h" target="inc" />
45
+ <file src="$nugetroot$\inc\Shared\InstanceManager.h" target="inc" />
46
+ <file src="$nugetroot$\inc\Shared\IDevSupportManager.h" target="inc" />
47
+ <file src="$nugetroot$\inc\Shared\IReactRootView.h" target="inc" />
48
+ <file src="$nugetroot$\inc\Shared\IRedBoxHandler.h" target="inc" />
49
+ <file src="$nugetroot$\inc\Shared\JSBigAbiString.h" target="inc" />
50
+ <file src="$nugetroot$\inc\Shared\LayoutAnimation.h" target="inc" />
51
+ <file src="$nugetroot$\inc\Shared\Logging.h" target="inc" />
52
+ <file src="$nugetroot$\inc\Shared\MemoryMappedBuffer.h" target="inc" />
53
+ <file src="$nugetroot$\inc\Shared\NativeModuleProvider.h" target="inc" />
54
+ <file src="$nugetroot$\inc\Shared\Networking\IWebSocketResource.h" target="inc" />
55
+ <file src="$nugetroot$\inc\Shared\Networking\OriginPolicy.h" target="inc" />
56
+ <file src="$nugetroot$\inc\Shared\RuntimeOptions.h" target="inc" />
57
+ <file src="$nugetroot$\inc\Shared\Tracing.h" target="inc" />
58
+ <file src="$nugetroot$\inc\Shared\JSI\JSExecutorFactoryDelegate.h" target="inc\JSI" />
59
59
 
60
60
  <!-- Required for win32 -->
61
- <file src="$nugetroot$\inc\Shared\DevServerHelper.h" target="inc"/>
62
- <file src="$nugetroot$\inc\ReactWin32\JSBigStringResourceDll.h" target="inc"/>
63
- <file src="$nugetroot$\inc\react-native-win32.x64.def" target="inc"/>
64
- <file src="$nugetroot$\inc\react-native-win32.x86.def" target="inc"/>
61
+ <file src="$nugetroot$\inc\Shared\DevServerHelper.h" target="inc" />
62
+ <file src="$nugetroot$\inc\ReactWin32\JSBigStringResourceDll.h" target="inc" />
63
+ <file src="$nugetroot$\inc\react-native-win32.x64.def" target="inc" />
64
+ <file src="$nugetroot$\inc\react-native-win32.x86.def" target="inc" />
65
65
 
66
66
  <file src="$nugetroot$\inc\include\**\*.*" target="inc\include" />
67
67
 
68
- <file src="$nugetroot$\Microsoft.ReactNative.Cxx\**" target ="Microsoft.ReactNative.Cxx"/>
68
+ <file src="$nugetroot$\Microsoft.ReactNative.Cxx\**" target="Microsoft.ReactNative.Cxx" />
69
69
 
70
- <file src="$nugetroot$\inc\codegen\**\*.*" target ="inc\codegen"/>
70
+ <file src="$nugetroot$\inc\codegen\**\*.*" target="inc\codegen" />
71
71
 
72
- <file src="$nugetroot$\natvis\Folly.natvis" target ="natvis\Folly.natvis"/>
72
+ <file src="$nugetroot$\natvis\Folly.natvis" target="natvis\Folly.natvis" />
73
73
  </files>
74
- </package>
74
+ </package>
@@ -0,0 +1,40 @@
1
+ # Copyright (c) Microsoft Corporation.
2
+ # Licensed under the MIT License.
3
+
4
+ <#
5
+ .SYNOPSIS
6
+ Downloads a file from a URI with retry logic.
7
+
8
+ .PARAMETER Uri
9
+ The URI to download from.
10
+
11
+ .PARAMETER OutFile
12
+ The output file path.
13
+
14
+ .PARAMETER MaxRetries
15
+ Maximum number of download attempts. Default is 3.
16
+ #>
17
+ param(
18
+ [Parameter(Mandatory)]
19
+ [string]$Uri,
20
+
21
+ [Parameter(Mandatory)]
22
+ [string]$OutFile,
23
+
24
+ [int]$MaxRetries = 3
25
+ )
26
+
27
+ Set-StrictMode -Version Latest
28
+ $ErrorActionPreference = 'Stop'
29
+
30
+ for ($i = 1; $i -le $MaxRetries; $i++) {
31
+ try {
32
+ Write-Host "Downloading $OutFile (attempt $i of $MaxRetries)"
33
+ Invoke-WebRequest -Uri $Uri -OutFile $OutFile
34
+ return
35
+ } catch {
36
+ Write-Host "Attempt $i failed: $_"
37
+ if ($i -eq $MaxRetries) { throw }
38
+ Start-Sleep -Seconds (5 * $i)
39
+ }
40
+ }
@@ -5,7 +5,7 @@ param(
5
5
  [string] $SourceRoot = ($PSScriptRoot | Split-Path | Split-Path | Split-Path),
6
6
  [string] $TargetRoot = "$SourceRoot\vnext\target",
7
7
  [System.IO.DirectoryInfo] $ReactWindowsRoot = "$SourceRoot\vnext",
8
- [System.IO.DirectoryInfo] $ReactNativeRoot = "$SourceRoot\node_modules\react-native",
8
+ [System.IO.DirectoryInfo] $ReactNativeRoot = "$SourceRoot\node_modules\react-native",
9
9
  [string[]] $Extensions = ('h', 'hpp', 'def')
10
10
  )
11
11
 
@@ -111,20 +111,6 @@ Get-ChildItem -Path $ReactWindowsRoot\Desktop.DLL -Recurse -Include '*.def' | Fo
111
111
  -Force
112
112
  }
113
113
 
114
- # React.Windows.Test headers
115
- Get-ChildItem -Path $ReactWindowsRoot\Test -Name -Recurse -Include $patterns | ForEach-Object { Copy-Item `
116
- -Path $ReactWindowsRoot\Test\$_ `
117
- -Destination (New-Item -ItemType Directory $TargetRoot\inc\Test\$(Split-Path $_) -Force) `
118
- -Force
119
- }
120
-
121
- # React.Windows.Test DLL DEF files
122
- Get-ChildItem -Path $ReactWindowsRoot\Desktop.Test.DLL -Name -Recurse -Include $patterns | ForEach-Object { Copy-Item `
123
- -Path $ReactWindowsRoot\Desktop.Test.DLL\$_ `
124
- -Destination (New-Item -ItemType Directory $TargetRoot\inc\$(Split-Path $_) -Force) `
125
- -Force
126
- }
127
-
128
114
  # include headers
129
115
  Copy-Item -Force -Recurse -Path $ReactWindowsRoot\include -Destination $TargetRoot\inc
130
116
 
@@ -292,7 +292,6 @@
292
292
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\HostTarget.cpp" />
293
293
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\InspectorUtilities.cpp" />
294
294
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeAgent.cpp" />
295
- <ClCompile Include="$(ReactNativeDir)\ReactCommon\cxxreact\Instance.cpp" />
296
295
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\FallbackRuntimeAgentDelegate.cpp" />
297
296
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\FallbackRuntimeTargetDelegate.cpp" />
298
297
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeTarget.cpp" />
@@ -305,7 +304,6 @@
305
304
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\utils\jsi-utils.cpp" />
306
305
  <ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\Fabric\Composition\TextDrawing.cpp" />
307
306
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\graphics\ColorComponents.cpp" />
308
- <ClCompile Include="$(ReactNativeDir)\ReactCommon\cxxreact\JSExecutor.cpp" />
309
307
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeTargetConsole.cpp" />
310
308
  <ClCompile Include="$(ReactNativeDir)\ReactCommon\reactperflogger\reactperflogger\ReactPerfettoLogger.cpp" />
311
309
  <ClCompile Include="$(MSBuildThisFileDirectory)Networking\NetworkPropertyIds.cpp" />
@@ -338,6 +336,8 @@
338
336
  <ClCompile Include="$(MSBuildThisFileDirectory)Inspector\ReactInspectorPackagerConnectionDelegate.cpp">
339
337
  <Filter>Inspector</Filter>
340
338
  </ClCompile>
339
+ <ClCompile Include="$(ReactNativeDir)\ReactCommon\cxxreact\Instance.cpp" />
340
+ <ClCompile Include="$(ReactNativeDir)\ReactCommon\cxxreact\JSExecutor.cpp" />
341
341
  </ItemGroup>
342
342
  <ItemGroup>
343
343
  <Filter Include="Source Files">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.81.13",
3
+ "version": "0.81.18",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,39 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3
- <metadata>
4
- <id>$id$</id>
5
- <version>$version$</version>
6
- <description>OpenSSL for Windows Desktop - Static Library.</description>
7
- <authors>Microsoft</authors>
8
- <projectUrl>https://www.openssl.org</projectUrl>
9
- <requireLicenseAcceptance>false</requireLicenseAcceptance>
10
- <dependencies>
11
- <group targetFramework="Windows8-x86" />
12
- <group targetFramework="Windows8-x64" />
13
- <group targetFramework="Windows8-ARM64" />
14
- </dependencies>
15
- <repository type="git" url="$repoUrl$" branch="$repoBranch$" commit="$repoCommit$" />
16
- <license type="expression">OpenSSL</license>
17
- </metadata>
18
- <files>
19
- <file src="OpenSSL.targets" target="build\native\$id$.targets" />
20
-
21
- <file src="$vcpkgroot$\installed\x86-windows-static\include\openssl\**\*.*" target="include\x86\openssl" />
22
- <file src="$vcpkgroot$\installed\x86-windows-static\debug\lib\libeay32.lib" target="lib\win8-x86\Debug" />
23
- <file src="$vcpkgroot$\installed\x86-windows-static\debug\lib\ssleay32.lib" target="lib\win8-x86\Debug" />
24
- <file src="$vcpkgroot$\installed\x86-windows-static\lib\libeay32.lib" target="lib\win8-x86\Release" />
25
- <file src="$vcpkgroot$\installed\x86-windows-static\lib\ssleay32.lib" target="lib\win8-x86\Release" />
26
-
27
- <file src="$vcpkgroot$\installed\x64-windows-static\include\openssl\**\*.*" target="include\x64\openssl" />
28
- <file src="$vcpkgroot$\installed\x64-windows-static\debug\lib\libeay32.lib" target="lib\win8-x64\Debug" />
29
- <file src="$vcpkgroot$\installed\x64-windows-static\debug\lib\ssleay32.lib" target="lib\win8-x64\Debug" />
30
- <file src="$vcpkgroot$\installed\x64-windows-static\lib\libeay32.lib" target="lib\win8-x64\Release" />
31
- <file src="$vcpkgroot$\installed\x64-windows-static\lib\ssleay32.lib" target="lib\win8-x64\Release" />
32
-
33
- <file src="$vcpkgroot$\installed\arm64-windows-static\include\openssl\**\*.*" target="include\ARM64\openssl" />
34
- <file src="$vcpkgroot$\installed\arm64-windows-static\debug\lib\libeay32.lib" target="lib\win8-arm64\Debug" />
35
- <file src="$vcpkgroot$\installed\arm64-windows-static\debug\lib\ssleay32.lib" target="lib\win8-arm64\Debug" />
36
- <file src="$vcpkgroot$\installed\arm64-windows-static\lib\libeay32.lib" target="lib\win8-arm64\Release" />
37
- <file src="$vcpkgroot$\installed\arm64-windows-static\lib\ssleay32.lib" target="lib\win8-arm64\Release" />
38
- </files>
39
- </package>
@@ -1,36 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <ItemDefinitionGroup>
4
- <ClCompile>
5
- <AdditionalIncludeDirectories Condition="'$(Platform)' != 'Win32'">
6
- $(MSBuildThisFileDirectory)..\..\include\$(Platform);
7
- %(AdditionalIncludeDirectories)
8
- </AdditionalIncludeDirectories>
9
- <AdditionalIncludeDirectories Condition="'$(Platform)' == 'Win32'">
10
- $(MSBuildThisFileDirectory)..\..\include\x86;
11
- %(AdditionalIncludeDirectories)
12
- </AdditionalIncludeDirectories>
13
- </ClCompile>
14
- <Link>
15
- <AdditionalLibraryDirectories Condition="'$(Platform)' != 'Win32'">
16
- $(MSBuildThisFileDirectory)..\..\lib\win8-$(Platform)\$(Configuration);
17
- %(AdditionalLibraryDirectories)
18
- </AdditionalLibraryDirectories>
19
- <AdditionalLibraryDirectories Condition="'$(Platform)' == 'Win32'">
20
- $(MSBuildThisFileDirectory)..\..\lib\win8-x86\$(Configuration);
21
- %(AdditionalLibraryDirectories)
22
- </AdditionalLibraryDirectories>
23
- <!--
24
- libeay32.lib - Provided by this package
25
- ssleay32.lib - Provided by this package
26
- Crypt32.lib - Provided by Windows API
27
- -->
28
- <AdditionalDependencies>
29
- libeay32.lib;
30
- ssleay32.lib;
31
- Crypt32.lib;
32
- %(AdditionalDependencies)
33
- </AdditionalDependencies>
34
- </Link>
35
- </ItemDefinitionGroup>
36
- </Project>