@office-iss/react-native-win32 0.78.0-preview.3 → 0.78.1

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
@@ -2,7 +2,37 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 24 Feb 2025 16:33:15 GMT",
5
+ "date": "Mon, 17 Mar 2025 15:29:22 GMT",
6
+ "version": "0.78.1",
7
+ "tag": "@office-iss/react-native-win32_v0.78.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "julio.rocha@microsoft.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "426b9fc3210a5034fd3cb87ed7fabc77bf7e43f2",
14
+ "comment": "Refactor WebSocket resource class (#14377)"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 27 Feb 2025 22:23:31 GMT",
21
+ "version": "0.78.0",
22
+ "tag": "@office-iss/react-native-win32_v0.78.0",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "tatianakapos@microsoft.com",
27
+ "package": "@office-iss/react-native-win32",
28
+ "commit": "d95e94bc8cf9b1d04e4c7c608ef009fcd4852423",
29
+ "comment": "Promote 0.78 to latest"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Mon, 24 Feb 2025 16:33:57 GMT",
6
36
  "version": "0.78.0-preview.3",
7
37
  "tag": "@office-iss/react-native-win32_v0.78.0-preview.3",
8
38
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,17 +1,33 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- <!-- This log was last generated on Mon, 24 Feb 2025 16:33:15 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Mon, 17 Mar 2025 15:29:22 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.78.0-preview.3
7
+ ## 0.78.1
8
8
 
9
- Mon, 24 Feb 2025 16:33:15 GMT
9
+ Mon, 17 Mar 2025 15:29:22 GMT
10
10
 
11
- ### Changes
11
+ ### Patches
12
12
 
13
- - integrate 0.78-rc4 (email not defined)
13
+ - Refactor WebSocket resource class (#14377) (julio.rocha@microsoft.com)
14
14
 
15
+ ## 0.78.0
16
+
17
+ Thu, 27 Feb 2025 22:23:31 GMT
18
+
19
+ ### Patches
20
+
21
+ - Promote 0.78 to latest (tatianakapos@microsoft.com)
22
+
23
+ ## 0.78.0-preview.3
24
+
25
+ Mon, 24 Feb 2025 16:33:57 GMT
26
+
27
+ ### Changes
28
+
29
+ - integrate 0.78-rc4 (email not defined)
30
+
15
31
  ## 0.78.0-preview.2
16
32
 
17
33
  Thu, 06 Feb 2025 23:51:16 GMT
@@ -17,7 +17,7 @@ const version: $ReadOnly<{
17
17
  major: 0,
18
18
  minor: 78,
19
19
  patch: 0,
20
- prerelease: 'rc.4',
20
+ prerelease: null,
21
21
  };
22
22
 
23
23
  module.exports = {version};
@@ -42,9 +42,8 @@ if (__DEV__) {
42
42
  if (!Platform.isTesting) {
43
43
  const HMRClient = require('../Utilities/HMRClient');
44
44
 
45
- if (global.__FUSEBOX_HAS_FULL_CONSOLE_SUPPORT__) {
46
- HMRClient.unstable_notifyFuseboxConsoleEnabled();
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
  }
@@ -25,7 +25,6 @@ const HMRClientProdShim: HMRClientNativeInterface = {
25
25
  disable() {},
26
26
  registerBundle() {},
27
27
  log() {},
28
- unstable_notifyFuseboxConsoleEnabled() {},
29
28
  };
30
29
 
31
30
  module.exports = HMRClientProdShim;
package/overrides.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "**/__snapshots__/**",
8
8
  "src-win/rntypes/**"
9
9
  ],
10
- "baseVersion": "0.78.0-rc.4",
10
+ "baseVersion": "0.78.0",
11
11
  "overrides": [
12
12
  {
13
13
  "type": "derived",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@office-iss/react-native-win32",
3
- "version": "0.78.0-preview.3",
3
+ "version": "0.78.1",
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-rc.4",
34
- "@react-native/codegen": "0.78.0-rc.4",
35
- "@react-native/community-cli-plugin": "0.78.0-rc.4",
36
- "@react-native/gradle-plugin": "0.78.0-rc.4",
37
- "@react-native/js-polyfills": "0.78.0-rc.4",
38
- "@react-native/normalize-colors": "0.78.0-rc.4",
39
- "@react-native/virtualized-lists": "0.78.0-rc.4",
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",
@@ -84,26 +84,26 @@
84
84
  "@types/prop-types": "15.7.1",
85
85
  "@types/react": "^19.0.0",
86
86
  "eslint": "^8.19.0",
87
- "flow-bin": "^0.257.1",
87
+ "flow-bin": "^0.258.1",
88
88
  "jscodeshift": "^0.14.0",
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-rc.4",
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-rc.4"
99
+ "react-native": "^0.78.0"
100
100
  },
101
101
  "beachball": {
102
- "defaultNpmTag": "preview",
102
+ "defaultNpmTag": "latest",
103
103
  "disallowedChangeTypes": [
104
104
  "major",
105
105
  "minor",
106
- "patch",
106
+ "prerelease",
107
107
  "premajor",
108
108
  "preminor",
109
109
  "prepatch"