@office-iss/react-native-win32 0.78.0-preview.3 → 0.78.0
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 +16 -1
- package/CHANGELOG.md +13 -5
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Core/setUpDeveloperTools.js +2 -3
- package/Libraries/Utilities/HMRClient.js +0 -28
- package/Libraries/Utilities/HMRClientProdShim.js +0 -1
- package/overrides.json +1 -1
- package/package.json +12 -12
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 27 Feb 2025 22:22:07 GMT",
|
|
6
|
+
"version": "0.78.0",
|
|
7
|
+
"tag": "@office-iss/react-native-win32_v0.78.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "tatianakapos@microsoft.com",
|
|
12
|
+
"package": "@office-iss/react-native-win32",
|
|
13
|
+
"commit": "d95e94bc8cf9b1d04e4c7c608ef009fcd4852423",
|
|
14
|
+
"comment": "Promote 0.78 to latest"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Mon, 24 Feb 2025 16:33:57 GMT",
|
|
6
21
|
"version": "0.78.0-preview.3",
|
|
7
22
|
"tag": "@office-iss/react-native-win32_v0.78.0-preview.3",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
# Change Log - @office-iss/react-native-win32
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Thu, 27 Feb 2025 22:22:07 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 0.78.0
|
|
7
|
+
## 0.78.0
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Thu, 27 Feb 2025 22:22:07 GMT
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Patches
|
|
12
12
|
|
|
13
|
-
-
|
|
13
|
+
- Promote 0.78 to latest (tatianakapos@microsoft.com)
|
|
14
14
|
|
|
15
|
+
## 0.78.0-preview.3
|
|
16
|
+
|
|
17
|
+
Mon, 24 Feb 2025 16:33:57 GMT
|
|
18
|
+
|
|
19
|
+
### Changes
|
|
20
|
+
|
|
21
|
+
- integrate 0.78-rc4 (email not defined)
|
|
22
|
+
|
|
15
23
|
## 0.78.0-preview.2
|
|
16
24
|
|
|
17
25
|
Thu, 06 Feb 2025 23:51:16 GMT
|
|
@@ -42,9 +42,8 @@ if (__DEV__) {
|
|
|
42
42
|
if (!Platform.isTesting) {
|
|
43
43
|
const HMRClient = require('../Utilities/HMRClient');
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} else if (console._isPolyfilled) {
|
|
45
|
+
// TODO(T214991636): Remove legacy Metro log forwarding
|
|
46
|
+
if (console._isPolyfilled) {
|
|
48
47
|
// We assume full control over the console and send JavaScript logs to Metro.
|
|
49
48
|
[
|
|
50
49
|
'trace',
|
|
@@ -26,7 +26,6 @@ let hmrUnavailableReason: string | null = null;
|
|
|
26
26
|
let currentCompileErrorMessage: string | null = null;
|
|
27
27
|
let didConnect: boolean = false;
|
|
28
28
|
let pendingLogs: Array<[LogLevel, $ReadOnlyArray<mixed>]> = [];
|
|
29
|
-
let pendingFuseboxConsoleNotification = false;
|
|
30
29
|
|
|
31
30
|
type LogLevel =
|
|
32
31
|
| 'trace'
|
|
@@ -52,7 +51,6 @@ export type HMRClientNativeInterface = {|
|
|
|
52
51
|
isEnabled: boolean,
|
|
53
52
|
scheme?: string,
|
|
54
53
|
): void,
|
|
55
|
-
unstable_notifyFuseboxConsoleEnabled(): void,
|
|
56
54
|
|};
|
|
57
55
|
|
|
58
56
|
/**
|
|
@@ -142,29 +140,6 @@ const HMRClient: HMRClientNativeInterface = {
|
|
|
142
140
|
}
|
|
143
141
|
},
|
|
144
142
|
|
|
145
|
-
unstable_notifyFuseboxConsoleEnabled() {
|
|
146
|
-
if (!hmrClient) {
|
|
147
|
-
pendingFuseboxConsoleNotification = true;
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
hmrClient.send(
|
|
151
|
-
JSON.stringify({
|
|
152
|
-
type: 'log',
|
|
153
|
-
level: 'info',
|
|
154
|
-
data: [
|
|
155
|
-
'\n' +
|
|
156
|
-
'\u001B[7m' +
|
|
157
|
-
' \u001B[1m💡 JavaScript logs have moved!\u001B[22m They can now be ' +
|
|
158
|
-
'viewed in React Native DevTools. Tip: Type \u001B[1mj\u001B[22m in ' +
|
|
159
|
-
'the terminal to open (requires Google Chrome or Microsoft Edge).' +
|
|
160
|
-
'\u001B[27m' +
|
|
161
|
-
'\n',
|
|
162
|
-
],
|
|
163
|
-
}),
|
|
164
|
-
);
|
|
165
|
-
pendingFuseboxConsoleNotification = false;
|
|
166
|
-
},
|
|
167
|
-
|
|
168
143
|
// Called once by the bridge on startup, even if Fast Refresh is off.
|
|
169
144
|
// It creates the HMR client but doesn't actually set up the socket yet.
|
|
170
145
|
setup(
|
|
@@ -341,9 +316,6 @@ function flushEarlyLogs(client: MetroHMRClient) {
|
|
|
341
316
|
pendingLogs.forEach(([level, data]) => {
|
|
342
317
|
HMRClient.log(level, data);
|
|
343
318
|
});
|
|
344
|
-
if (pendingFuseboxConsoleNotification) {
|
|
345
|
-
HMRClient.unstable_notifyFuseboxConsoleEnabled();
|
|
346
|
-
}
|
|
347
319
|
} finally {
|
|
348
320
|
pendingLogs.length = 0;
|
|
349
321
|
}
|
package/overrides.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
|
-
"version": "0.78.0
|
|
3
|
+
"version": "0.78.0",
|
|
4
4
|
"description": "Implementation of react native on top of Office's Win32 platform.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"@react-native-community/cli-platform-android": "15.0.0-alpha.2",
|
|
31
31
|
"@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
|
|
32
32
|
"@react-native/assets": "1.0.0",
|
|
33
|
-
"@react-native/assets-registry": "0.78.0
|
|
34
|
-
"@react-native/codegen": "0.78.0
|
|
35
|
-
"@react-native/community-cli-plugin": "0.78.0
|
|
36
|
-
"@react-native/gradle-plugin": "0.78.0
|
|
37
|
-
"@react-native/js-polyfills": "0.78.0
|
|
38
|
-
"@react-native/normalize-colors": "0.78.0
|
|
39
|
-
"@react-native/virtualized-lists": "0.78.0
|
|
33
|
+
"@react-native/assets-registry": "0.78.0",
|
|
34
|
+
"@react-native/codegen": "0.78.0",
|
|
35
|
+
"@react-native/community-cli-plugin": "0.78.0",
|
|
36
|
+
"@react-native/gradle-plugin": "0.78.0",
|
|
37
|
+
"@react-native/js-polyfills": "0.78.0",
|
|
38
|
+
"@react-native/normalize-colors": "0.78.0",
|
|
39
|
+
"@react-native/virtualized-lists": "0.78.0",
|
|
40
40
|
"abort-controller": "^3.0.0",
|
|
41
41
|
"anser": "^1.4.9",
|
|
42
42
|
"ansi-regex": "^5.0.0",
|
|
@@ -89,21 +89,21 @@
|
|
|
89
89
|
"just-scripts": "^1.3.3",
|
|
90
90
|
"prettier": "2.8.8",
|
|
91
91
|
"react": "19.0.0",
|
|
92
|
-
"react-native": "0.78.0
|
|
92
|
+
"react-native": "0.78.0",
|
|
93
93
|
"react-native-platform-override": "^1.9.51",
|
|
94
94
|
"typescript": "5.0.4"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
97
|
"@types/react": "^19.0.0",
|
|
98
98
|
"react": "^19.0.0",
|
|
99
|
-
"react-native": "0.78.0
|
|
99
|
+
"react-native": "^0.78.0"
|
|
100
100
|
},
|
|
101
101
|
"beachball": {
|
|
102
|
-
"defaultNpmTag": "
|
|
102
|
+
"defaultNpmTag": "latest",
|
|
103
103
|
"disallowedChangeTypes": [
|
|
104
104
|
"major",
|
|
105
105
|
"minor",
|
|
106
|
-
"
|
|
106
|
+
"prerelease",
|
|
107
107
|
"premajor",
|
|
108
108
|
"preminor",
|
|
109
109
|
"prepatch"
|