@office-iss/react-native-win32 0.76.0 → 0.76.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,22 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 12 Nov 2024 00:01:27 GMT",
5
+ "date": "Mon, 25 Nov 2024 16:29:21 GMT",
6
+ "version": "0.76.1",
7
+ "tag": "@office-iss/react-native-win32_v0.76.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "tatianakapos@microsoft.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "435591fdfc78e5847bb9dd9bd36c20352c2d3385",
14
+ "comment": "integrate rn 76.2"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Tue, 12 Nov 2024 00:02:25 GMT",
6
21
  "version": "0.76.0",
7
22
  "tag": "@office-iss/react-native-win32_v0.76.0",
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 Tue, 12 Nov 2024 00:01:27 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Mon, 25 Nov 2024 16:29:21 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.76.0
7
+ ## 0.76.1
8
8
 
9
- Tue, 12 Nov 2024 00:01:27 GMT
9
+ Mon, 25 Nov 2024 16:29:21 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Promote 0.76 to latest (tatianakapos@microsoft.com)
13
+ - integrate rn 76.2 (tatianakapos@microsoft.com)
14
14
 
15
+ ## 0.76.0
16
+
17
+ Tue, 12 Nov 2024 00:02:25 GMT
18
+
19
+ ### Patches
20
+
21
+ - Promote 0.76 to latest (tatianakapos@microsoft.com)
22
+
15
23
  ## 0.76.0-preview.5
16
24
 
17
25
  Mon, 04 Nov 2024 16:28:49 GMT
@@ -16,7 +16,7 @@ const version: $ReadOnly<{
16
16
  }> = {
17
17
  major: 0,
18
18
  minor: 76,
19
- patch: 0,
19
+ patch: 2,
20
20
  prerelease: null,
21
21
  };
22
22
 
@@ -21,13 +21,7 @@ ExceptionsManager.installConsoleErrorReporter();
21
21
  if (!global.__fbDisableExceptionsManager) {
22
22
  const handleError = (e: mixed, isFatal: boolean) => {
23
23
  try {
24
- // TODO(T196834299): We should really use a c++ turbomodule for this
25
- if (
26
- !global.RN$handleException ||
27
- !global.RN$handleException(e, isFatal)
28
- ) {
29
- ExceptionsManager.handleException(e, isFatal);
30
- }
24
+ ExceptionsManager.handleException(e, isFatal);
31
25
  } catch (ee) {
32
26
  console.log('Failed to print error: ', ee.message);
33
27
  throw e;
@@ -82,9 +82,9 @@ let warningFilter: WarningFilter = function (format) {
82
82
  return {
83
83
  finalFormat: format,
84
84
  forceDialogImmediately: false,
85
- suppressDialog_LEGACY: true,
85
+ suppressDialog_LEGACY: false,
86
86
  suppressCompletely: false,
87
- monitorEvent: 'unknown',
87
+ monitorEvent: 'warning_unhandled',
88
88
  monitorListVersion: 0,
89
89
  monitorSampleRate: 1,
90
90
  };
@@ -13,7 +13,7 @@ import type {RootTag} from '../Types/RootTagTypes';
13
13
  import type {IPerformanceLogger} from '../Utilities/createPerformanceLogger';
14
14
  import type {DisplayModeType} from './DisplayMode';
15
15
 
16
- import BatchedBridge from '../BatchedBridge/BatchedBridge';
16
+ import registerCallableModule from '../Core/registerCallableModule';
17
17
  import BugReporting from '../BugReporting/BugReporting';
18
18
  import createPerformanceLogger from '../Utilities/createPerformanceLogger';
19
19
  import infoLog from '../Utilities/infoLog';
@@ -363,8 +363,8 @@ global.RN$SurfaceRegistry = {
363
363
 
364
364
  if (global.RN$Bridgeless === true) {
365
365
  console.log('Bridgeless mode is enabled');
366
- } else {
367
- BatchedBridge.registerCallableModule('AppRegistry', AppRegistry);
368
366
  }
369
367
 
368
+ registerCallableModule('AppRegistry', AppRegistry);
369
+
370
370
  module.exports = AppRegistry;
package/overrides.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "**/__snapshots__/**",
8
8
  "src-win/rntypes/**"
9
9
  ],
10
- "baseVersion": "0.76.0",
10
+ "baseVersion": "0.76.2",
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.76.0",
3
+ "version": "0.76.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.76.0",
34
- "@react-native/codegen": "0.76.0",
35
- "@react-native/community-cli-plugin": "0.76.0",
36
- "@react-native/gradle-plugin": "0.76.0",
37
- "@react-native/js-polyfills": "0.76.0",
38
- "@react-native/normalize-colors": "0.76.0",
39
- "@react-native/virtualized-lists": "0.76.0",
33
+ "@react-native/assets-registry": "0.76.2",
34
+ "@react-native/codegen": "0.76.2",
35
+ "@react-native/community-cli-plugin": "0.76.2",
36
+ "@react-native/gradle-plugin": "0.76.2",
37
+ "@react-native/js-polyfills": "0.76.2",
38
+ "@react-native/normalize-colors": "0.76.2",
39
+ "@react-native/virtualized-lists": "0.76.2",
40
40
  "abort-controller": "^3.0.0",
41
41
  "anser": "^1.4.9",
42
42
  "ansi-regex": "^5.0.0",
@@ -74,7 +74,7 @@
74
74
  "devDependencies": {
75
75
  "@babel/core": "^7.25.2",
76
76
  "@babel/eslint-parser": "^7.25.1",
77
- "@react-native/metro-config": "0.76.0",
77
+ "@react-native/metro-config": "0.76.2",
78
78
  "@rnw-scripts/babel-react-native-config": "0.0.0",
79
79
  "@rnw-scripts/eslint-config": "1.2.27",
80
80
  "@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.31",
@@ -90,14 +90,14 @@
90
90
  "just-scripts": "^1.3.3",
91
91
  "prettier": "2.8.8",
92
92
  "react": "18.3.1",
93
- "react-native": "0.76.0",
93
+ "react-native": "0.76.2",
94
94
  "react-native-platform-override": "^1.9.46",
95
95
  "typescript": "5.0.4"
96
96
  },
97
97
  "peerDependencies": {
98
98
  "@types/react": "^18.2.6",
99
99
  "react": "^18.2.0",
100
- "react-native": "^0.76.0"
100
+ "react-native": "^0.76.2"
101
101
  },
102
102
  "beachball": {
103
103
  "defaultNpmTag": "latest",
@@ -41,6 +41,7 @@ declare module 'react-native/Libraries/Utilities/codegenNativeComponent' {
41
41
 
42
42
  declare module 'react-native/Libraries/Types/CodegenTypes' {
43
43
  import type {NativeSyntheticEvent} from 'react-native';
44
+ import type {EventSubscription} from 'react-native/Libraries/vendor/emitter/EventEmitter';
44
45
 
45
46
  // Event types
46
47
  // We're not using the PaperName, it is only used to codegen view config settings
@@ -59,6 +60,7 @@ declare module 'react-native/Libraries/Types/CodegenTypes' {
59
60
  export type Float = number;
60
61
  export type Int32 = number;
61
62
  export type UnsafeObject = object;
63
+ export type UnsafeMixed = unknown;
62
64
 
63
65
  type DefaultTypes = number | boolean | string | ReadonlyArray<string>;
64
66
  // Default handling, ignore the unused value
@@ -71,4 +73,8 @@ declare module 'react-native/Libraries/Types/CodegenTypes' {
71
73
  Type extends DefaultTypes,
72
74
  Value extends Type | string | undefined | null,
73
75
  > = Type | undefined | null;
76
+
77
+ export type EventEmitter<T> = (
78
+ handler: (arg: T) => void | Promise<void>,
79
+ ) => EventSubscription;
74
80
  }