Skip to content

Commit 9486be3

Browse files
authored
[0.82] Integrate RN 0.82.1 into 0.82-stable (#15583)
* integrate 0.82.1 * fix missing native code for SwitchShadowNode * Change files * add Nativeperformace.cpp to compile and suppress 4996 warnings * lint:fix and snapshots update
1 parent 15850fe commit 9486be3

37 files changed

Lines changed: 1156 additions & 310 deletions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "integrate 0.82.1",
4+
"packageName": "@office-iss/react-native-win32",
5+
"email": "74712637+iamAbhi-916@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "integrate 0.82.1",
4+
"packageName": "@react-native-windows/automation-channel",
5+
"email": "74712637+iamAbhi-916@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "integrate 0.82.1",
4+
"packageName": "react-native-windows",
5+
"email": "74712637+iamAbhi-916@users.noreply.github.com",
6+
"dependentChangeType": "patch"
7+
}

packages/@office-iss/react-native-win32-tester/overrides.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"excludePatterns": [
66
"src/js/examples-win32/**"
77
],
8-
"baseVersion": "0.82.0-rc.0",
8+
"baseVersion": "0.82.1",
99
"overrides": [
1010
{
1111
"type": "patch",
@@ -42,7 +42,7 @@
4242
"type": "derived",
4343
"file": "src/js/utils/RNTesterList.win32.js",
4444
"baseFile": "packages/rn-tester/js/utils/RNTesterList.android.js",
45-
"baseHash": "8cd219abae140e98f9578432954fc9ef62421308"
45+
"baseHash": "aeb0275507e7c508cdf7c2ceec49f9e95ef4e1ec"
4646
}
4747
]
4848
}

packages/@office-iss/react-native-win32-tester/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"peerDependencies": {
2020
"@office-iss/react-native-win32": "0.82.0-preview.1",
2121
"react": "19.1.1",
22-
"react-native": "0.82.0-rc.0"
22+
"react-native": "^0.82.0"
2323
},
2424
"devDependencies": {
2525
"@office-iss/react-native-win32": "0.82.0-preview.1",
@@ -30,7 +30,7 @@
3030
"@types/node": "^22.14.0",
3131
"eslint": "^8.19.0",
3232
"just-scripts": "^1.3.3",
33-
"react-native": "0.82.0-rc.0",
33+
"react-native": "0.82.1",
3434
"react-native-platform-override": "0.82.0-preview.1",
3535
"typescript": "5.0.4"
3636
},

packages/@office-iss/react-native-win32-tester/src/js/utils/RNTesterList.win32.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,16 @@ const APIs: Array<RNTesterModuleInfo> = ([
364364
category: 'Basic',
365365
module: require('../examples/TurboModule/TurboCxxModuleExample'),
366366
},
367+
// Basic check to detect the availability of the modern Performance API.
368+
...(typeof performance.getEntries === 'function'
369+
? [
370+
{
371+
key: 'PerformanceApiExample',
372+
category: 'Basic',
373+
module: require('../examples/Performance/PerformanceApiExample'),
374+
},
375+
]
376+
: []),
367377
...RNTesterListFbInternal.APIs,
368378
]: Array<?RNTesterModuleInfo>).filter(Boolean);
369379

packages/@office-iss/react-native-win32/overrides.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"**/__snapshots__/**",
88
"src-win/rntypes/**"
99
],
10-
"baseVersion": "0.82.0-rc.0",
10+
"baseVersion": "0.82.1",
1111
"overrides": [
1212
{
1313
"type": "derived",
@@ -19,7 +19,7 @@
1919
"type": "derived",
2020
"file": "src-win/index.win32.js",
2121
"baseFile": "packages/react-native/index.js",
22-
"baseHash": "88aa62f2d86a810631bcbc871f45c28c53fceec7"
22+
"baseHash": "85e7ef1b905f25616471b5e1c61a191fe5879176"
2323
},
2424
{
2525
"type": "platform",

packages/@office-iss/react-native-win32/package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
"@react-native-community/cli-platform-android": "20.0.0",
3131
"@react-native-community/cli-platform-ios": "20.0.0",
3232
"@react-native/assets": "1.0.0",
33-
"@react-native/assets-registry": "0.82.0-rc.0",
34-
"@react-native/codegen": "0.82.0-rc.0",
35-
"@react-native/community-cli-plugin": "0.82.0-rc.0",
36-
"@react-native/gradle-plugin": "0.82.0-rc.0",
37-
"@react-native/js-polyfills": "0.82.0-rc.0",
38-
"@react-native/normalize-colors": "0.82.0-rc.0",
39-
"@react-native/virtualized-lists": "0.82.0-rc.0",
33+
"@react-native/assets-registry": "0.82.1",
34+
"@react-native/codegen": "0.82.1",
35+
"@react-native/community-cli-plugin": "0.82.1",
36+
"@react-native/gradle-plugin": "0.82.1",
37+
"@react-native/js-polyfills": "0.82.1",
38+
"@react-native/normalize-colors": "0.82.1",
39+
"@react-native/virtualized-lists": "0.82.1",
4040
"abort-controller": "^3.0.0",
4141
"anser": "^1.4.9",
4242
"ansi-regex": "^5.0.0",
@@ -49,6 +49,7 @@
4949
"event-target-shim": "^5.0.1",
5050
"flow-enums-runtime": "^0.0.6",
5151
"glob": "^7.1.1",
52+
"hermes-compiler": "0.0.0",
5253
"invariant": "^2.2.4",
5354
"jest-environment-node": "^29.7.0",
5455
"memoize-one": "^5.0.0",
@@ -72,7 +73,7 @@
7273
"devDependencies": {
7374
"@babel/core": "^7.25.2",
7475
"@babel/eslint-parser": "^7.25.1",
75-
"@react-native/metro-config": "0.82.0-rc.0",
76+
"@react-native/metro-config": "0.82.1",
7677
"@rnw-scripts/babel-react-native-config": "0.0.0",
7778
"@rnw-scripts/eslint-config": "1.2.38",
7879
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.42",
@@ -88,14 +89,14 @@
8889
"just-scripts": "^1.3.3",
8990
"prettier": "2.8.8",
9091
"react": "19.1.1",
91-
"react-native": "0.82.0-rc.0",
92+
"react-native": "0.82.1",
9293
"react-native-platform-override": "0.82.0-preview.1",
9394
"typescript": "5.0.4"
9495
},
9596
"peerDependencies": {
9697
"@types/react": "^19.1.1",
9798
"react": "^19.1.1",
98-
"react-native": "0.82.0-rc.0"
99+
"react-native": "^0.82.0"
99100
},
100101
"beachball": {
101102
"defaultNpmTag": "preview",

packages/@office-iss/react-native-win32/src-win/index.win32.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,12 @@ module.exports = {
311311
* @deprecated
312312
*/
313313
get InteractionManager(): InteractionManager {
314+
warnOnce(
315+
'interaction-manager-deprecated',
316+
'InteractionManager has been deprecated and will be removed in a ' +
317+
'future release. Please refactor long tasks into smaller ones, and ' +
318+
" use 'requestIdleCallback' instead.",
319+
);
314320
return require('./Libraries/Interaction/InteractionManager').default;
315321
},
316322
get Keyboard(): Keyboard {

packages/@react-native-windows/automation-channel/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"just-scripts": "^1.3.2",
3333
"prettier": "2.8.8",
3434
"react": "19.1.1",
35-
"react-native": "0.82.0-rc.0",
35+
"react-native": "0.82.1",
3636
"react-native-windows": "0.82.0-preview.4",
3737
"typescript": "5.0.4"
3838
},

0 commit comments

Comments
 (0)