-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Use Hermes version 0.0.0-2510.15001-6f45e5b5 #15255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Use Hermes version 0.0.0-2510.15001-6f45e5b5 #15255
Conversation
vnext/fmt/packages.lock.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to remove this file .
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\Fabric\platform\react\renderer\textlayoutmanager\WindowsTextLayoutManager.cpp" /> | ||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\network\NetworkReporter.cpp" /> | ||
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\Fabric\Composition\TextInput\WindowsTextInputState.cpp" /> | ||
<ClCompile Include="$(ReactNativeDir)\ReactCommon\runtimeexecutor\platform\cxx\ReactCommon\RuntimeExecutorSyncUIThreadUtils.cpp" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question: why we need to add this file ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is in a .filter file. It is used by Visual Studio to show files in the solution explorer. The entries in this file may be added or removed automatically when the main project file has it, but the author forgot to commit the corresponding changes to the .filter file. This file does not affect the compilation, but since the original author did not commit it at the right time, now everyone who opens the solution file will see this change happening. It is better to commit it at last to free other people seeing this change again and again.
I cannot immediately answer why this entry is needed in the Shared.vcxitems project. I guess, it can be found from history of that project. Hopefully the PR author left a good comment there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to remove one lock file, else LTGM!
Description
Type of Change
Why
We should switch to new version of
hermes-windows
andnode-api-jsi
to unblock our progress with adoption of new Hermes debugger. This version of Hermes contains all latest changes to Node-API code that we did to prepare PR to upstream the Node-API implementation tofacebook/hermes
repo (facebook/hermes#1377).What
vnext/PropertySheets/JSEngine.props
file to0.0.0-2510.15001-6f45e5b5
.vnext\Scripts\NuGetRestoreForceEvaluateAllSolutions.ps1
script to update allpackages.lock.json
files.hermes-windows
uses two new Node-API filesnode_api.h
andnode_api_types.h
we have to intgrate thenode-api-jsi
PR that updates Node-API files: Update Node-API files node-api-jsi#15.node-api-jsi
commit hash is updated to78317af4798297dad5a17b2a07f5dfc712040b7a
invnext/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems
andvnext/Directory.Build.props
files.node_api.h
andnode_api_types.h
are added tovnext/Scripts/Tfs/Layout-MSRN-Headers.ps1
andvnext/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems
files.Testing
The playground-composition app seems to be running OK.
Changelog
Should this change be included in the release notes: yes
Use Hermes version 0.0.0-2510.15001-6f45e5b5
Microsoft Reviewers: Open in CodeFlow