react-native-windows 0.67.1 → 0.67.2
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.
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"date": "Mon, 21 Feb 2022 16:17:54 GMT",
|
|
6
|
+
"tag": "react-native-windows_v0.67.2",
|
|
7
|
+
"version": "0.67.2",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
12
|
+
"package": "react-native-windows",
|
|
13
|
+
"commit": "51ab377259fd27cfec658ea8e2c694f9d432e90a",
|
|
14
|
+
"comment": "Use temporary folder to store V8 JS bytecode"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "react-native-windows",
|
|
19
|
+
"comment": "Bump @react-native-windows/cli to v0.67.1",
|
|
20
|
+
"commit": "51ab377259fd27cfec658ea8e2c694f9d432e90a"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Mon, 07 Feb 2022 16:12:57 GMT",
|
|
27
|
+
"tag": "react-native-windows_v0.67.1",
|
|
28
|
+
"version": "0.67.1",
|
|
29
|
+
"comments": {
|
|
30
|
+
"patch": [
|
|
31
|
+
{
|
|
32
|
+
"author": "anandrag@microsoft.com",
|
|
33
|
+
"package": "react-native-windows",
|
|
34
|
+
"commit": "not available",
|
|
35
|
+
"comment": "Hermes inspector is not starting when Hermes engine is used (#9426)"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "julio.rocha@microsoft.com",
|
|
39
|
+
"package": "react-native-windows",
|
|
40
|
+
"commit": "not available",
|
|
41
|
+
"comment": "Replace __APPLE__ with __clang__ where applicable (#9461)"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
45
|
+
"package": "react-native-windows",
|
|
46
|
+
"commit": "not available",
|
|
47
|
+
"comment": "UI Manager module is not being destroyed on the UI thread"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
4
52
|
{
|
|
5
53
|
"date": "Mon, 07 Feb 2022 16:12:39 GMT",
|
|
6
54
|
"tag": "react-native-windows_v0.67.1",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,38 @@
|
|
|
1
1
|
# Change Log - react-native-windows
|
|
2
2
|
|
|
3
|
-
This log was last generated on Mon,
|
|
3
|
+
This log was last generated on Mon, 21 Feb 2022 16:17:54 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 0.67.
|
|
7
|
+
## 0.67.2
|
|
8
8
|
|
|
9
|
-
Mon,
|
|
9
|
+
Mon, 21 Feb 2022 16:17:54 GMT
|
|
10
10
|
|
|
11
11
|
### Patches
|
|
12
12
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
- UI Manager module is not being destroyed on the UI thread (30809111+acoates-ms@users.noreply.github.com)
|
|
13
|
+
- Use temporary folder to store V8 JS bytecode (30809111+acoates-ms@users.noreply.github.com)
|
|
14
|
+
- Bump @react-native-windows/cli to v0.67.1
|
|
16
15
|
|
|
16
|
+
## 0.67.1
|
|
17
|
+
|
|
18
|
+
Mon, 07 Feb 2022 16:12:57 GMT
|
|
19
|
+
|
|
20
|
+
### Patches
|
|
21
|
+
|
|
22
|
+
- Hermes inspector is not starting when Hermes engine is used (#9426) (anandrag@microsoft.com)
|
|
23
|
+
- Replace __APPLE__ with __clang__ where applicable (#9461) (julio.rocha@microsoft.com)
|
|
24
|
+
- UI Manager module is not being destroyed on the UI thread (30809111+acoates-ms@users.noreply.github.com)
|
|
25
|
+
|
|
26
|
+
## 0.67.1
|
|
27
|
+
|
|
28
|
+
Mon, 07 Feb 2022 16:12:39 GMT
|
|
29
|
+
|
|
30
|
+
### Patches
|
|
31
|
+
|
|
32
|
+
- Hermes inspector is not starting when Hermes engine is used (#9426) (anandrag@microsoft.com)
|
|
33
|
+
- Replace __APPLE__ with __clang__ where applicable (#9461) (julio.rocha@microsoft.com)
|
|
34
|
+
- UI Manager module is not being destroyed on the UI thread (30809111+acoates-ms@users.noreply.github.com)
|
|
35
|
+
|
|
17
36
|
## 0.67.0
|
|
18
37
|
|
|
19
38
|
Mon, 24 Jan 2022 16:13:22 GMT
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
#include <Base/CoreNativeModules.h>
|
|
9
9
|
#include <Threading/MessageDispatchQueue.h>
|
|
10
10
|
#include <Threading/MessageQueueThreadFactory.h>
|
|
11
|
+
#include <appModel.h>
|
|
11
12
|
#include <comUtil/qiCast.h>
|
|
12
13
|
|
|
13
14
|
#ifndef CORE_ABI
|
|
@@ -446,10 +447,19 @@ void ReactInstanceWin::Initialize() noexcept {
|
|
|
446
447
|
break;
|
|
447
448
|
case JSIEngine::V8:
|
|
448
449
|
#if defined(USE_V8)
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
450
|
+
{
|
|
451
|
+
uint32_t length{0};
|
|
452
|
+
if (GetCurrentPackageFullName(&length, nullptr) != APPMODEL_ERROR_NO_PACKAGE) {
|
|
453
|
+
preparedScriptStore =
|
|
454
|
+
std::make_unique<facebook::react::BasePreparedScriptStoreImpl>(getApplicationTempFolder());
|
|
455
|
+
} else {
|
|
456
|
+
wchar_t tempPath[MAX_PATH];
|
|
457
|
+
if (GetTempPathW(static_cast<DWORD>(std::size(tempPath)), tempPath)) {
|
|
458
|
+
preparedScriptStore =
|
|
459
|
+
std::make_unique<facebook::react::BasePreparedScriptStoreImpl>(winrt::to_string(tempPath));
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
453
463
|
devSettings->jsiRuntimeHolder = std::make_shared<facebook::react::V8JSIRuntimeHolder>(
|
|
454
464
|
devSettings, m_jsMessageThread.Load(), std::move(scriptStore), std::move(preparedScriptStore));
|
|
455
465
|
break;
|
|
@@ -1005,8 +1015,8 @@ Mso::CntPtr<IReactInstanceInternal> MakeReactInstance(
|
|
|
1005
1015
|
}
|
|
1006
1016
|
|
|
1007
1017
|
#if defined(USE_V8)
|
|
1008
|
-
std::string ReactInstanceWin::
|
|
1009
|
-
auto local = winrt::Windows::Storage::ApplicationData::Current().
|
|
1018
|
+
std::string ReactInstanceWin::getApplicationTempFolder() {
|
|
1019
|
+
auto local = winrt::Windows::Storage::ApplicationData::Current().TemporaryFolder().Path();
|
|
1010
1020
|
|
|
1011
1021
|
return Microsoft::Common::Unicode::Utf16ToUtf8(local.c_str(), local.size()) + "\\";
|
|
1012
1022
|
}
|
|
@@ -131,7 +131,7 @@ class ReactInstanceWin final : public Mso::ActiveObject<IReactInstanceInternal>
|
|
|
131
131
|
};
|
|
132
132
|
|
|
133
133
|
#if defined(USE_V8)
|
|
134
|
-
static std::string
|
|
134
|
+
static std::string getApplicationTempFolder();
|
|
135
135
|
#endif
|
|
136
136
|
|
|
137
137
|
private: // immutable fields
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.67.
|
|
13
|
+
<ReactNativeWindowsVersion>0.67.2</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>67</ReactNativeWindowsMinor>
|
|
16
|
-
<ReactNativeWindowsPatch>
|
|
16
|
+
<ReactNativeWindowsPatch>2</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
18
|
</PropertyGroup>
|
|
19
19
|
</Project>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
|
-
"version": "0.67.
|
|
3
|
+
"version": "0.67.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@react-native-community/cli": "^6.0.0",
|
|
27
27
|
"@react-native-community/cli-platform-android": "^6.0.0",
|
|
28
28
|
"@react-native-community/cli-platform-ios": "^6.0.0",
|
|
29
|
-
"@react-native-windows/cli": "0.67.
|
|
29
|
+
"@react-native-windows/cli": "0.67.1",
|
|
30
30
|
"@react-native-windows/virtualized-list": "0.67.0",
|
|
31
31
|
"@react-native/assets": "1.0.0",
|
|
32
32
|
"@react-native/normalize-color": "2.0.0",
|