Skip to content

Commit

Permalink
[0.71] Restore "Update V8 JSI version to 0.71.8 (#12043)" (#12143)
Browse files Browse the repository at this point in the history
* Revert "[0.71] Revert "Update V8 JSI version to 0.71.8 (#12043)" (#12142)"

This reverts commit 128d9f0.

* Change files

---------

Co-authored-by: Jon Thysell <jthysell@microsoft.com>
  • Loading branch information
JunielKatarn and jonthysell committed Sep 26, 2023
1 parent aeb558b commit 93bf07f
Show file tree
Hide file tree
Showing 54 changed files with 1,266 additions and 3,111 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "[0.71] Restore \"Update V8 JSI version to 0.71.8 (#12043)\"",
"packageName": "@react-native-windows/telemetry",
"email": "julio.rocha@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "[0.71] Restore \"Update V8 JSI version to 0.71.8 (#12043)\"",
"packageName": "react-native-windows",
"email": "julio.rocha@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<packages>
<package id="Microsoft.Windows.CppWinRT" version="2.0.210312.4" targetFramework="native"/>
<package id="Microsoft.UI.Xaml" version="2.6.0" targetFramework="native"/>
<package id="ReactNative.Hermes.Windows" version="0.71.1" targetFramework="native"/>
<package id="Microsoft.JavaScript.Hermes" version="0.1.15" targetFramework="native"/>
</packages>
19 changes: 13 additions & 6 deletions packages/e2e-test-app/windows/RNTesterApp/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"version": 1,
"dependencies": {
"UAP,Version=v10.0.16299": {
"Microsoft.JavaScript.Hermes": {
"type": "Direct",
"requested": "[0.1.15, )",
"resolved": "0.1.15",
"contentHash": "My/u5RvxoymtwWokoweU6iVpuP79w271UjadcmSNqnQ9ESIv00tlVP4sHnIiN3t2lJNDeciyE1EVF4swGPECKQ=="
},
"Microsoft.NETCore.UniversalWindowsPlatform": {
"type": "Direct",
"requested": "[6.2.9, )",
Expand Down Expand Up @@ -31,6 +37,11 @@
"resolved": "1.76.0",
"contentHash": "p+w3YvNdXL8Cu9Fzrmexssu0tZbWxuf6ywsQqHjDlKFE5ojXHof1HIyMC3zDLfLnh80dIeFcEUAuR2Asg/XHRA=="
},
"CDebug": {
"type": "Transitive",
"resolved": "0.0.3",
"contentHash": "C6pojNJ2rdJuOdhe0xhJ/FedNLRJkpCVLEEHsfgoU5d5kkOOVKK+7xlGWYgttB51nDB5dLDu/O8j03jSxu81oA=="
},
"Microsoft.Net.Native.Compiler": {
"type": "Transitive",
"resolved": "2.2.7-rel-27913-00",
Expand Down Expand Up @@ -70,11 +81,6 @@
"Microsoft.NETCore.Platforms": "1.1.0"
}
},
"ReactNative.Hermes.Windows": {
"type": "Transitive",
"resolved": "0.71.1",
"contentHash": "b6GLQSLaffgxAXwoTrxfj73W5cxlPxmNlQoVmyAnucXPCwV7HiL0rZsqGpBf+r2rdubUS35patY/c+8RiBR4+Q=="
},
"runtime.win10-arm.Microsoft.Net.Native.Compiler": {
"type": "Transitive",
"resolved": "2.2.7-rel-27913-00",
Expand Down Expand Up @@ -167,10 +173,10 @@
"dependencies": {
"Common": "[1.0.0, )",
"Folly": "[1.0.0, )",
"Microsoft.JavaScript.Hermes": "[0.1.15, )",
"Microsoft.UI.Xaml": "[2.7.0, )",
"Microsoft.Windows.SDK.BuildTools": "[10.0.22000.194, )",
"ReactCommon": "[1.0.0, )",
"ReactNative.Hermes.Windows": "[0.71.1, )",
"boost": "[1.76.0, )"
}
},
Expand Down Expand Up @@ -198,6 +204,7 @@
"reactnativexaml": {
"type": "Project",
"dependencies": {
"CDebug": "[0.0.3, )",
"Microsoft.ReactNative": "[1.0.0, )",
"Microsoft.UI.Xaml": "[2.7.0, )"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
<package id="Microsoft.UI.Xaml" version="2.7.0-prerelease.210913003" targetFramework="native"/>
<package id="Microsoft.VCRTForwarders.140" version="1.0.2-rc" targetFramework="native"/>
<package id="Microsoft.Windows.CppWinRT" version="2.0.210312.4" targetFramework="native"/>
<package id="ReactNative.Hermes.Windows" version="0.71.1" targetFramework="native"/>
<package id="Microsoft.JavaScript.Hermes" version="0.1.15" targetFramework="native"/>
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
<package id="Microsoft.UI.Xaml" version="2.7.0-prerelease.210913003" targetFramework="native"/>
<package id="Microsoft.VCRTForwarders.140" version="1.0.2-rc" targetFramework="native"/>
<package id="Microsoft.Windows.CppWinRT" version="2.0.210312.4" targetFramework="native"/>
<package id="ReactNative.Hermes.Windows" version="0.71.1" targetFramework="native"/>
<package id="Microsoft.JavaScript.Hermes" version="0.1.15" targetFramework="native"/>
</packages>
2 changes: 1 addition & 1 deletion packages/playground/windows/playground/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
<package id="Microsoft.Windows.CppWinRT" version="2.0.210312.4" targetFramework="native"/>
<package id="Microsoft.UI.Xaml" version="2.7.0" targetFramework="native"/>
<package id="Microsoft.WinUI" version="3.0.0-preview4.210210.4" targetFramework="native"/>
<package id="ReactNative.Hermes.Windows" version="0.71.1" targetFramework="native"/>
<package id="Microsoft.JavaScript.Hermes" version="0.1.15" targetFramework="native"/>
</packages>
2 changes: 1 addition & 1 deletion vnext/Desktop.DLL/React.Windows.Desktop.DLL.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="boost" Version="1.76.0.0" />
<PackageReference Include="ReactNative.Hermes.Windows" Version="$(HermesVersion)" />
<PackageReference Include="Microsoft.JavaScript.Hermes" Version="$(HermesVersion)" />
<PackageReference Include="ReactWindows.OpenSSL.StdCall.Static" Version="1.0.2-p.5" />
</ItemGroup>
<Choose>
Expand Down
5 changes: 1 addition & 4 deletions vnext/Desktop/React.Windows.Desktop.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,6 @@
<DependentUpon>..\Microsoft.ReactNative\IReactPropertyBag.idl</DependentUpon>
<SubType>Code</SubType>
</ClInclude>
<ClInclude Include="..\Microsoft.ReactNative\JsiApi.h">
<DependentUpon>..\Microsoft.ReactNative\JsiApi.idl</DependentUpon>
</ClInclude>
<ClInclude Include="..\Microsoft.ReactNative\RedBoxErrorFrameInfo.h" />
<ClInclude Include="..\Microsoft.ReactNative\RedBoxErrorInfo.h" />
<ClInclude Include="JSBigStringResourceDll.h" />
Expand All @@ -330,7 +327,7 @@
<ItemGroup>
<PackageReference Include="boost" Version="1.76.0.0" />
<PackageReference Include="Microsoft.Windows.CppWinRT" Version="$(CppWinRTVersion)" PrivateAssets="all" />
<PackageReference Include="ReactNative.Hermes.Windows" Version="$(HermesVersion)" />
<PackageReference Include="Microsoft.JavaScript.Hermes" Version="$(HermesVersion)" />
<PackageReference Include="ReactWindows.OpenSSL.StdCall.Static" Version="1.0.2-p.5" />
</ItemGroup>
<Choose>
Expand Down
5 changes: 5 additions & 0 deletions vnext/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
<!-- When bumping the fmt version, be sure to bump the git hash of that version's commit and build fmt.vcxproj (to update its cgmanifest.json) too. -->
<FmtVersion>8.0.0</FmtVersion>
<FmtCommitHash>9e8b86fd2d9806672cc73133d21780dd182bfd24</FmtCommitHash>
<!-- Commit hash for https://github.com/microsoft/node-api-jsi code. -->
<NodeApiJsiCommitHash>53b897b03c1c7e57c3372acc6234447a44e150d6</NodeApiJsiCommitHash>
</PropertyGroup>

<!--
Expand All @@ -40,6 +42,9 @@

<FmtDir Condition="'$(FmtDir)' == '' AND Exists('$([MSBuild]::NormalizeDirectory($(ReactNativeDir)..\..\node_modules))')">$(ReactNativeDir)..\..\node_modules\.fmt\fmt-$(FmtVersion)</FmtDir>
<FmtDir>$([MSBuild]::NormalizeDirectory($(FmtDir)))</FmtDir>

<NodeApiJsiDir Condition="'$(NodeApiJsiDir)' == '' AND Exists('$([MSBuild]::NormalizeDirectory($(ReactNativeDir)..\..\node_modules))')">$(ReactNativeDir)..\..\node_modules\.node-api-jsi\node-api-jsi-$(NodeApiJsiCommitHash)</NodeApiJsiDir>
<NodeApiJsiDir>$([MSBuild]::NormalizeDirectory($(NodeApiJsiDir)))</NodeApiJsiDir>
</PropertyGroup>

<PropertyGroup Label="Configuration">
Expand Down
16 changes: 16 additions & 0 deletions vnext/Microsoft.ReactNative.Cxx/JSI/NodeApiJsiLoader.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#include "ApiLoaders/NodeApi.h"

namespace Microsoft::NodeApiJsi {

LibHandle LibLoader::loadLib(const char * /*libName*/) {
return reinterpret_cast<LibHandle>(0);
}

FuncPtr LibLoader::getFuncPtr(LibHandle /*libHandle*/, const char * /*funcName*/) {
return reinterpret_cast<FuncPtr>(0);
}

} // namespace Microsoft::NodeApiJsi

0 comments on commit 93bf07f

Please sign in to comment.