@office-iss/react-native-win32 0.83.0-preview.1 → 0.83.0-preview.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 +15 -0
- package/CHANGELOG.md +9 -1
- package/Libraries/Core/ReactNativeVersion.js +2 -2
- package/Libraries/Core/setUpReactDevTools.js +23 -6
- package/overrides.json +1 -1
- package/package.json +12 -12
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"date": "Wed, 22 Apr 2026 14:36:47 GMT",
|
|
6
|
+
"version": "0.83.0-preview.2",
|
|
7
|
+
"tag": "@office-iss/react-native-win32_v0.83.0-preview.2",
|
|
8
|
+
"comments": {
|
|
9
|
+
"prerelease": [
|
|
10
|
+
{
|
|
11
|
+
"author": "protikbiswas@microsoft.com",
|
|
12
|
+
"package": "@office-iss/react-native-win32",
|
|
13
|
+
"commit": "d23bf1e20c21916c5c28bf4d5c781aa58e3999f5",
|
|
14
|
+
"comment": "updating react-native version to 0.83.4 from RC builds"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
4
19
|
{
|
|
5
20
|
"date": "Thu, 26 Mar 2026 12:02:27 GMT",
|
|
6
21
|
"version": "0.83.0-preview.1",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
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 Wed, 22 Apr 2026 14:36:47 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.83.0-preview.2
|
|
8
|
+
|
|
9
|
+
Wed, 22 Apr 2026 14:36:47 GMT
|
|
10
|
+
|
|
11
|
+
### Changes
|
|
12
|
+
|
|
13
|
+
- updating react-native version to 0.83.4 from RC builds (protikbiswas@microsoft.com)
|
|
14
|
+
|
|
7
15
|
## 0.83.0-preview.1
|
|
8
16
|
|
|
9
17
|
Thu, 26 Mar 2026 12:02:27 GMT
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
export default class ReactNativeVersion {
|
|
29
29
|
static major: number = 0;
|
|
30
30
|
static minor: number = 83;
|
|
31
|
-
static patch: number =
|
|
32
|
-
static prerelease: string | null =
|
|
31
|
+
static patch: number = 4;
|
|
32
|
+
static prerelease: string | null = null;
|
|
33
33
|
|
|
34
34
|
static getVersionString(): string {
|
|
35
35
|
return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
|
|
@@ -146,17 +146,34 @@ if (__DEV__) {
|
|
|
146
146
|
? guessHostFromDevServerUrl(devServer.url)
|
|
147
147
|
: 'localhost';
|
|
148
148
|
|
|
149
|
-
//
|
|
150
|
-
//
|
|
151
|
-
|
|
149
|
+
// Derive scheme and port from the dev server URL when possible,
|
|
150
|
+
// falling back to ws://host:8097 for local development.
|
|
151
|
+
let wsScheme = 'ws';
|
|
152
|
+
let port = 8097;
|
|
153
|
+
|
|
154
|
+
if (
|
|
152
155
|
// $FlowFixMe[prop-missing]
|
|
153
156
|
// $FlowFixMe[incompatible-use]
|
|
154
157
|
window.__REACT_DEVTOOLS_PORT__ != null
|
|
155
|
-
|
|
156
|
-
|
|
158
|
+
) {
|
|
159
|
+
// $FlowFixMe[prop-missing]
|
|
160
|
+
port = window.__REACT_DEVTOOLS_PORT__;
|
|
161
|
+
} else if (devServer.bundleLoadedFromServer) {
|
|
162
|
+
try {
|
|
163
|
+
const devUrl = new URL(devServer.url);
|
|
164
|
+
if (devUrl.protocol === 'https:') {
|
|
165
|
+
wsScheme = 'wss';
|
|
166
|
+
}
|
|
167
|
+
if (devUrl.port) {
|
|
168
|
+
port = parseInt(devUrl.port, 10);
|
|
169
|
+
} else if (devUrl.protocol === 'https:') {
|
|
170
|
+
port = 443;
|
|
171
|
+
}
|
|
172
|
+
} catch (e) {}
|
|
173
|
+
}
|
|
157
174
|
|
|
158
175
|
const WebSocket = require('../WebSocket/WebSocket').default;
|
|
159
|
-
ws = new WebSocket('
|
|
176
|
+
ws = new WebSocket(wsScheme + '://' + host + ':' + port);
|
|
160
177
|
ws.addEventListener('close', event => {
|
|
161
178
|
isWebSocketOpen = false;
|
|
162
179
|
});
|
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.83.0-preview.
|
|
3
|
+
"version": "0.83.0-preview.2",
|
|
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": "20.0.0",
|
|
31
31
|
"@react-native-community/cli-platform-ios": "20.0.0",
|
|
32
32
|
"@react-native/assets": "1.0.0",
|
|
33
|
-
"@react-native/assets-registry": "0.83.
|
|
34
|
-
"@react-native/codegen": "0.83.
|
|
35
|
-
"@react-native/community-cli-plugin": "0.83.
|
|
36
|
-
"@react-native/gradle-plugin": "0.83.
|
|
37
|
-
"@react-native/js-polyfills": "0.83.
|
|
38
|
-
"@react-native/normalize-colors": "0.83.
|
|
39
|
-
"@react-native/virtualized-lists": "0.83.
|
|
33
|
+
"@react-native/assets-registry": "0.83.4",
|
|
34
|
+
"@react-native/codegen": "0.83.4",
|
|
35
|
+
"@react-native/community-cli-plugin": "0.83.4",
|
|
36
|
+
"@react-native/gradle-plugin": "0.83.4",
|
|
37
|
+
"@react-native/js-polyfills": "0.83.4",
|
|
38
|
+
"@react-native/normalize-colors": "0.83.4",
|
|
39
|
+
"@react-native/virtualized-lists": "0.83.4",
|
|
40
40
|
"abort-controller": "^3.0.0",
|
|
41
41
|
"anser": "^1.4.9",
|
|
42
42
|
"ansi-regex": "^5.0.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"event-target-shim": "^5.0.1",
|
|
50
50
|
"flow-enums-runtime": "^0.0.6",
|
|
51
51
|
"glob": "^7.1.1",
|
|
52
|
-
"hermes-compiler": "0.14.
|
|
52
|
+
"hermes-compiler": "0.14.1",
|
|
53
53
|
"invariant": "^2.2.4",
|
|
54
54
|
"jest-environment-node": "^29.7.0",
|
|
55
55
|
"memoize-one": "^5.0.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/core": "^7.25.2",
|
|
75
75
|
"@babel/eslint-parser": "^7.25.1",
|
|
76
|
-
"@react-native/metro-config": "0.83.
|
|
76
|
+
"@react-native/metro-config": "0.83.4",
|
|
77
77
|
"@rnw-scripts/babel-react-native-config": "0.0.0",
|
|
78
78
|
"@rnw-scripts/eslint-config": "1.2.38",
|
|
79
79
|
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.42",
|
|
@@ -90,14 +90,14 @@
|
|
|
90
90
|
"just-scripts": "^1.3.3",
|
|
91
91
|
"prettier": "2.8.8",
|
|
92
92
|
"react": "19.2.0",
|
|
93
|
-
"react-native": "0.83.
|
|
93
|
+
"react-native": "0.83.4",
|
|
94
94
|
"react-native-platform-override": "0.83.0-preview.1",
|
|
95
95
|
"typescript": "5.0.4"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"@types/react": "^19.1.1",
|
|
99
99
|
"react": "^19.2.0",
|
|
100
|
-
"react-native": "0.83.0
|
|
100
|
+
"react-native": "^0.83.0"
|
|
101
101
|
},
|
|
102
102
|
"beachball": {
|
|
103
103
|
"defaultNpmTag": "preview",
|