@office-iss/react-native-win32 0.74.0 → 0.74.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 CHANGED
@@ -2,7 +2,37 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Sat, 27 Apr 2024 21:15:10 GMT",
5
+ "date": "Mon, 06 May 2024 15:16:39 GMT",
6
+ "version": "0.74.2",
7
+ "tag": "@office-iss/react-native-win32_v0.74.2",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "30809111+acoates-ms@users.noreply.github.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "64ae33cd632a5818a03e3d86b0268f801431d85c",
14
+ "comment": "Integrate 0.74.1"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Wed, 01 May 2024 20:37:36 GMT",
21
+ "version": "0.74.1",
22
+ "tag": "@office-iss/react-native-win32_v0.74.1",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "tatianakapos@microsoft.com",
27
+ "package": "@office-iss/react-native-win32",
28
+ "commit": "19493123db48b16af9ae6ecc6229cea694e00c2f",
29
+ "comment": "target 0.73 and add carets to versions"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Sat, 27 Apr 2024 21:16:05 GMT",
6
36
  "version": "0.74.0",
7
37
  "tag": "@office-iss/react-native-win32_v0.74.0",
8
38
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,18 +1,34 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- This log was last generated on Sat, 27 Apr 2024 21:15:10 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 06 May 2024 15:16:39 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.74.0
7
+ ## 0.74.2
8
8
 
9
- Sat, 27 Apr 2024 21:15:10 GMT
9
+ Mon, 06 May 2024 15:16:39 GMT
10
10
 
11
11
  ### Patches
12
12
 
13
- - Promote 0.74 to latest (tatianakapos@microsoft.com)
14
- - Fix PaperUIManager (port from windows) (30809111+acoates-ms@users.noreply.github.com)
13
+ - Integrate 0.74.1 (30809111+acoates-ms@users.noreply.github.com)
15
14
 
15
+ ## 0.74.1
16
+
17
+ Wed, 01 May 2024 20:37:36 GMT
18
+
19
+ ### Patches
20
+
21
+ - target 0.73 and add carets to versions (tatianakapos@microsoft.com)
22
+
23
+ ## 0.74.0
24
+
25
+ Sat, 27 Apr 2024 21:16:05 GMT
26
+
27
+ ### Patches
28
+
29
+ - Promote 0.74 to latest (tatianakapos@microsoft.com)
30
+ - Fix PaperUIManager (port from windows) (30809111+acoates-ms@users.noreply.github.com)
31
+
16
32
  ## 0.74.0-preview.3
17
33
 
18
34
  Mon, 22 Apr 2024 15:16:53 GMT
@@ -209,6 +209,7 @@ class TouchableBounce extends React.Component<Props, State> {
209
209
 
210
210
  componentWillUnmount(): void {
211
211
  this.state.pressability.reset();
212
+ this.state.scale.resetAnimation();
212
213
  }
213
214
  }
214
215
 
@@ -320,6 +320,7 @@ class TouchableOpacity extends React.Component<Props, State> {
320
320
 
321
321
  componentWillUnmount(): void {
322
322
  this.state.pressability.reset();
323
+ this.state.anim.resetAnimation();
323
324
  }
324
325
  }
325
326
 
@@ -16,8 +16,8 @@ const version: $ReadOnly<{
16
16
  }> = {
17
17
  major: 0,
18
18
  minor: 74,
19
- patch: 0,
20
- prerelease: 'rc.9',
19
+ patch: 1,
20
+ prerelease: null,
21
21
  };
22
22
 
23
23
  module.exports = {version};
package/overrides.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "**/__snapshots__/**",
8
8
  "src-win/rntypes/**"
9
9
  ],
10
- "baseVersion": "0.74.0-rc.9",
10
+ "baseVersion": "0.74.1",
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.74.0",
3
+ "version": "0.74.2",
4
4
  "description": "Implementation of react native on top of Office's Win32 platform.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,17 +26,17 @@
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.0.0",
28
28
  "@jest/create-cache-key-function": "^29.6.3",
29
- "@react-native-community/cli": "13.6.4",
30
- "@react-native-community/cli-platform-android": "13.6.4",
31
- "@react-native-community/cli-platform-ios": "13.6.4",
29
+ "@react-native-community/cli": "13.6.6",
30
+ "@react-native-community/cli-platform-android": "13.6.6",
31
+ "@react-native-community/cli-platform-ios": "13.6.6",
32
32
  "@react-native/assets": "1.0.0",
33
- "@react-native/assets-registry": "0.74.80",
34
- "@react-native/codegen": "0.74.80",
35
- "@react-native/community-cli-plugin": "0.74.80",
36
- "@react-native/gradle-plugin": "0.74.80",
37
- "@react-native/js-polyfills": "0.74.80",
38
- "@react-native/normalize-colors": "0.74.80",
39
- "@react-native/virtualized-lists": "0.74.80",
33
+ "@react-native/assets-registry": "0.74.83",
34
+ "@react-native/codegen": "0.74.83",
35
+ "@react-native/community-cli-plugin": "0.74.83",
36
+ "@react-native/gradle-plugin": "0.74.83",
37
+ "@react-native/js-polyfills": "0.74.83",
38
+ "@react-native/normalize-colors": "0.74.83",
39
+ "@react-native/virtualized-lists": "0.74.83",
40
40
  "abort-controller": "^3.0.0",
41
41
  "anser": "^1.4.9",
42
42
  "ansi-regex": "^5.0.0",
@@ -69,7 +69,7 @@
69
69
  "devDependencies": {
70
70
  "@babel/core": "^7.20.0",
71
71
  "@babel/eslint-parser": "^7.20.0",
72
- "@react-native/metro-config": "0.74.80",
72
+ "@react-native/metro-config": "0.74.83",
73
73
  "@rnw-scripts/babel-react-native-config": "0.0.0",
74
74
  "@rnw-scripts/eslint-config": "1.2.9",
75
75
  "@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.13",
@@ -85,14 +85,14 @@
85
85
  "just-scripts": "^1.3.3",
86
86
  "prettier": "2.8.8",
87
87
  "react": "18.2.0",
88
- "react-native": "0.74.0-rc.9",
88
+ "react-native": "0.74.1",
89
89
  "react-native-platform-override": "^1.9.25",
90
90
  "typescript": "5.0.4"
91
91
  },
92
92
  "peerDependencies": {
93
93
  "@types/react": "^18.2.6",
94
94
  "react": "18.2.0",
95
- "react-native": "0.74.0-rc.9"
95
+ "react-native": "^0.74.0"
96
96
  },
97
97
  "beachball": {
98
98
  "defaultNpmTag": "latest",
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<8509d5ee87efb5aa8da7efcd2085d0a2>>
7
+ * @generated SignedSource<<8f82962343a5146622f36c2de071ff6a>>
8
8
  * @flow strict-local
9
9
  */
10
10
 
@@ -24,10 +24,12 @@ import * as TurboModuleRegistry from '../../../Libraries/TurboModule/TurboModule
24
24
 
25
25
  export interface Spec extends TurboModule {
26
26
  +commonTestFlag?: () => boolean;
27
+ +androidEnablePendingFabricTransactions?: () => boolean;
28
+ +batchRenderingUpdatesInEventLoop?: () => boolean;
29
+ +destroyFabricSurfacesInReactInstanceManager?: () => boolean;
27
30
  +enableBackgroundExecutor?: () => boolean;
28
31
  +useModernRuntimeScheduler?: () => boolean;
29
32
  +enableMicrotasks?: () => boolean;
30
- +batchRenderingUpdatesInEventLoop?: () => boolean;
31
33
  +enableSpannableBuildingUnification?: () => boolean;
32
34
  +enableCustomDrawOrderFabric?: () => boolean;
33
35
  +enableFixForClippedSubviewsCrash?: () => boolean;
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<7c83d5613c3be517efe48378e6356e79>>
7
+ * @generated SignedSource<<b7ebc6e4360a4b7733335f283300a4bb>>
8
8
  * @flow strict-local
9
9
  */
10
10
 
@@ -41,10 +41,12 @@ export type ReactNativeFeatureFlagsJsOnlyOverrides = Partial<ReactNativeFeatureF
41
41
  export type ReactNativeFeatureFlags = {
42
42
  ...ReactNativeFeatureFlagsJsOnly,
43
43
  commonTestFlag: Getter<boolean>,
44
+ androidEnablePendingFabricTransactions: Getter<boolean>,
45
+ batchRenderingUpdatesInEventLoop: Getter<boolean>,
46
+ destroyFabricSurfacesInReactInstanceManager: Getter<boolean>,
44
47
  enableBackgroundExecutor: Getter<boolean>,
45
48
  useModernRuntimeScheduler: Getter<boolean>,
46
49
  enableMicrotasks: Getter<boolean>,
47
- batchRenderingUpdatesInEventLoop: Getter<boolean>,
48
50
  enableSpannableBuildingUnification: Getter<boolean>,
49
51
  enableCustomDrawOrderFabric: Getter<boolean>,
50
52
  enableFixForClippedSubviewsCrash: Getter<boolean>,
@@ -96,6 +98,18 @@ export const shouldUseRemoveClippedSubviewsAsDefaultOnIOS: Getter<boolean> = cre
96
98
  * Common flag for testing. Do NOT modify.
97
99
  */
98
100
  export const commonTestFlag: Getter<boolean> = createNativeFlagGetter('commonTestFlag', false);
101
+ /**
102
+ * To be used with batchRenderingUpdatesInEventLoop. When enbled, the Android mounting layer will concatenate pending transactions to ensure they're applied atomatically
103
+ */
104
+ export const androidEnablePendingFabricTransactions: Getter<boolean> = createNativeFlagGetter('androidEnablePendingFabricTransactions', false);
105
+ /**
106
+ * When enabled, the RuntimeScheduler processing the event loop will batch all rendering updates and dispatch them together at the end of each iteration of the loop.
107
+ */
108
+ export const batchRenderingUpdatesInEventLoop: Getter<boolean> = createNativeFlagGetter('batchRenderingUpdatesInEventLoop', false);
109
+ /**
110
+ * When enabled, ReactInstanceManager will clean up Fabric surfaces on destroy().
111
+ */
112
+ export const destroyFabricSurfacesInReactInstanceManager: Getter<boolean> = createNativeFlagGetter('destroyFabricSurfacesInReactInstanceManager', false);
99
113
  /**
100
114
  * Enables the use of a background executor to compute layout and commit updates on Fabric (this system is deprecated and should not be used).
101
115
  */
@@ -108,10 +122,6 @@ export const useModernRuntimeScheduler: Getter<boolean> = createNativeFlagGetter
108
122
  * Enables the use of microtasks in Hermes (scheduling) and RuntimeScheduler (execution).
109
123
  */
110
124
  export const enableMicrotasks: Getter<boolean> = createNativeFlagGetter('enableMicrotasks', false);
111
- /**
112
- * When enabled, the RuntimeScheduler processing the event loop will batch all rendering updates and dispatch them together at the end of each iteration of the loop.
113
- */
114
- export const batchRenderingUpdatesInEventLoop: Getter<boolean> = createNativeFlagGetter('batchRenderingUpdatesInEventLoop', false);
115
125
  /**
116
126
  * Uses new, deduplicated logic for constructing Android Spannables from text fragments
117
127
  */