Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Integrate 0.81.6",
"packageName": "@office-iss/react-native-win32",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Integrate 0.81.6",
"packageName": "@react-native-windows/automation-channel",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Integrate 0.81.6",
"packageName": "@react-native-windows/cli",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Integrate 0.81.6",
"packageName": "@react-native-windows/codegen",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Integrate 0.81.6",
"packageName": "react-native-platform-override",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Integrate 0.81.6",
"packageName": "react-native-windows",
"email": "30809111+acoates-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"excludePatterns": [
"src/js/examples-win32/**"
],
"baseVersion": "0.81.5",
"baseVersion": "0.81.6",
"overrides": [
{
"type": "patch",
Expand Down
8 changes: 4 additions & 4 deletions packages/@office-iss/react-native-win32-tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
},
"peerDependencies": {
"@office-iss/react-native-win32": "0.81.3",
"react": "19.1.0",
"react-native": "0.81.5"
"react": "19.1.4",
"react-native": "^0.81.0"
},
"devDependencies": {
"@office-iss/react-native-win32": "0.81.3",
Expand All @@ -30,11 +30,11 @@
"@types/node": "^22.14.0",
"eslint": "^8.19.0",
"just-scripts": "^1.3.3",
"react-native": "0.81.5",
"react-native": "0.81.6",
"react-native-platform-override": "0.81.0",
"typescript": "5.0.4"
},
"engines": {
"node": ">= 22"
}
}
}
16 changes: 14 additions & 2 deletions packages/@office-iss/react-native-win32/overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"**/__snapshots__/**",
"src-win/rntypes/**"
],
"baseVersion": "0.81.5",
"baseVersion": "0.81.6",
"overrides": [
{
"type": "derived",
Expand All @@ -21,6 +21,12 @@
"baseFile": "packages/react-native/index.js",
"baseHash": "c5d0dfd40d0fb7c197790b1f23f4f8b9ca835047"
},
{
"type": "copy",
"file": "src-win/index.win32.js.flow",
"baseFile": "packages/react-native/index.js.flow",
"baseHash": "bb6c7873aa350c235aad233dd75656237d16d79c"
},
{
"type": "platform",
"file": "src-win/Libraries/__tests__/ButtonWin32-test.js"
Expand Down Expand Up @@ -239,6 +245,12 @@
"baseHash": "5d62f4a6c4edfe3007eb3b80704a1dfb68e5ff8a",
"issue": 4320
},
{
"type": "copy",
"file": "src-win/Libraries/Image/Image.win32.js.flow",
"baseFile": "packages/react-native/Libraries/Image/Image.js.flow",
"baseHash": "eaa13a0cc7a34e33dadd9297029339779f489ae3"
},
{
"type": "platform",
"file": "src-win/Libraries/Image/ImageTypes.ts"
Expand Down Expand Up @@ -394,7 +406,7 @@
"type": "patch",
"file": "src-win/Libraries/Renderer/shims/ReactNativeTypes.win32.js",
"baseFile": "packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js",
"baseHash": "9e91759d01c9a6d459c5781b357533f4ac8727a7",
"baseHash": "7d2d4e348d5e2c324cc6f8884039d1320c470eda",
"issue": 0
},
{
Expand Down
36 changes: 18 additions & 18 deletions packages/@office-iss/react-native-win32/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@
"@react-native-community/cli-platform-android": "17.0.0",
"@react-native-community/cli-platform-ios": "17.0.0",
"@react-native/assets": "1.0.0",
"@react-native/assets-registry": "0.81.5",
"@react-native/codegen": "0.81.5",
"@react-native/community-cli-plugin": "0.81.5",
"@react-native/gradle-plugin": "0.81.5",
"@react-native/js-polyfills": "0.81.5",
"@react-native/normalize-colors": "0.81.5",
"@react-native/virtualized-lists": "0.81.5",
"@react-native/assets-registry": "0.81.6",
"@react-native/codegen": "0.81.6",
"@react-native/community-cli-plugin": "0.81.6",
"@react-native/gradle-plugin": "0.81.6",
"@react-native/js-polyfills": "0.81.6",
"@react-native/normalize-colors": "0.81.6",
"@react-native/virtualized-lists": "0.81.6",
"abort-controller": "^3.0.0",
"anser": "^1.4.9",
"ansi-regex": "^5.0.0",
"art": "^0.10.0",
"babel-jest": "^29.7.0",
"babel-plugin-syntax-hermes-parser": "0.28.1",
"babel-plugin-syntax-hermes-parser": "0.29.1",
"base64-js": "^1.5.1",
"chalk": "^4.0.0",
"commander": "^12.0.0",
Expand All @@ -53,13 +53,13 @@
"jest-environment-node": "^29.7.0",
"memoize-one": "^5.0.0",
"metro-runtime": "^0.83.1",
"metro-source-map": "^0.82.2",
"metro-source-map": "^0.83.1",
"mkdirp": "^0.5.1",
"nullthrows": "^1.1.1",
"pretty-format": "^29.7.0",
"promise": "^8.3.0",
"react-clone-referenced-element": "^1.0.1",
"react-devtools-core": "^6.1.1",
"react-devtools-core": "^6.1.5",
"react-refresh": "^0.14.0",
"regenerator-runtime": "^0.13.2",
"scheduler": "0.26.0",
Expand All @@ -72,7 +72,7 @@
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@react-native/metro-config": "0.81.5",
"@react-native/metro-config": "0.81.6",
"@rnw-scripts/babel-react-native-config": "0.0.0",
"@rnw-scripts/eslint-config": "1.2.37",
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.41",
Expand All @@ -81,21 +81,21 @@
"@rnx-kit/jest-preset": "^0.1.17",
"@types/node": "^22.0.0",
"@types/prop-types": "15.7.1",
"@types/react": "^19.0.0",
"@types/react": "^19.1.4",
"eslint": "^8.19.0",
"flow-bin": "^0.272.0",
"jscodeshift": "^0.14.0",
"just-scripts": "^1.3.3",
"prettier": "2.8.8",
"react": "19.1.0",
"react-native": "0.81.5",
"react": "19.1.4",
"react-native": "0.81.6",
"react-native-platform-override": "0.81.0",
"typescript": "5.0.4"
},
"peerDependencies": {
"@types/react": "^19.1.0",
"react": "^19.1.0",
"react-native": "0.81.5"
"@types/react": "^19.1.4",
"react": "^19.1.4",
"react-native": "^0.81.0"
},
"beachball": {
"defaultNpmTag": "latest",
Expand All @@ -112,4 +112,4 @@
"engines": {
"node": ">= 22"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict-local
* @format
*/

import type {ImageType} from './ImageTypes.flow';

export type {
ImageProgressEventIOS,
ImagePropsIOS,
ImagePropsAndroid,
ImageSourcePropType,
ImageLoadEvent,
ImageErrorEvent,
ImagePropsBase,
ImageProps,
ImageBackgroundProps,
} from './ImageProps';

export type {ImageResolvedAssetSource, ImageSize} from './ImageTypes.flow';

declare export default ImageType;
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
* @noformat
* @nolint
* @flow strict
* @generated SignedSource<<deb7924d11c790f99448a1c2f0edddb9>>
* @generated SignedSource<<9564768e65343249f5e5ee5074826c7f>>
*/

import type {
// $FlowFixMe[missing-export] TODO(@rubennorte) - Missing export from react-native
Component as ReactComponent,
ElementRef,
ElementType,
} from 'react';
import type {
// $FlowFixMe[nonstrict-import] TODO(@rubennorte)
HostInstance as PublicInstance,
// $FlowFixMe[missing-export] TODO(@rubennorte) - Missing export from react-native
Expand All @@ -25,8 +29,6 @@ import type {
PublicTextInstance,
} from 'react-native';

import * as React from 'react';

export type AttributeType<T, V> =
| true
| $ReadOnly<{
Expand All @@ -39,7 +41,16 @@ export type AttributeType<T, V> =
export type AnyAttributeType = AttributeType<$FlowFixMe, $FlowFixMe>;

export type AttributeConfiguration = $ReadOnly<{
[propName: string]: AnyAttributeType | void,
[propName: string]: AnyAttributeType,
style?: $ReadOnly<{
[propName: string]: AnyAttributeType,
...
}>,
...
}>;

export type PartialAttributeConfiguration = $ReadOnly<{
[propName: string]: AnyAttributeType,
style?: $ReadOnly<{
[propName: string]: AnyAttributeType,
...
Expand Down Expand Up @@ -79,7 +90,7 @@ export type PartialViewConfig = $ReadOnly<{
directEventTypes?: ViewConfig['directEventTypes'],
supportsRawText?: boolean,
uiViewClassName: string,
validAttributes?: AttributeConfiguration,
validAttributes?: PartialAttributeConfiguration,
}>;

type InspectorDataProps = $ReadOnly<{
Expand All @@ -88,7 +99,7 @@ type InspectorDataProps = $ReadOnly<{
}>;

type InspectorDataGetter = (
<TElementType: React.ElementType>(
<TElementType: ElementType>(
componentOrHandle: React.ElementRef<TElementType> | number,
) => ?number,
) => $ReadOnly<{
Expand Down Expand Up @@ -132,7 +143,7 @@ export type RenderRootOptions = {
+componentStack?: ?string,
// $FlowFixMe[unclear-type] unknown props and state.
// $FlowFixMe[value-as-type] Component in react repo is any-typed, but it will be well typed externally.
+errorBoundary?: ?React.Component<any, any>,
+errorBoundary?: ?ReactComponent<any, any>,
},
) => void,
onRecoverableError?: (
Expand All @@ -146,10 +157,10 @@ export type RenderRootOptions = {
* Provide minimal Flow typing for the high-level RN API and call it a day.
*/
export type ReactNativeType = {
findHostInstance_DEPRECATED<TElementType: React.ElementType>(
findHostInstance_DEPRECATED<TElementType: ElementType>(
componentOrHandle: ?(React.ElementRef<TElementType> | number),
): ?PublicInstance,
findNodeHandle<TElementType: React.ElementType>(
findNodeHandle<TElementType: ElementType>(
componentOrHandle: ?(React.ElementRef<TElementType> | number),
): ?number,
isChildPublicInstance(parent: PublicInstance, child: PublicInstance): boolean,
Expand All @@ -175,10 +186,10 @@ export opaque type Node = mixed;
export opaque type InternalInstanceHandle = mixed;

export type ReactFabricType = {
findHostInstance_DEPRECATED<TElementType: React.ElementType>(
findHostInstance_DEPRECATED<TElementType: ElementType>(
componentOrHandle: ?(React.ElementRef<TElementType> | number),
): ?PublicInstance,
findNodeHandle<TElementType: React.ElementType>(
findNodeHandle<TElementType: ElementType>(
componentOrHandle: ?(React.ElementRef<TElementType> | number),
): ?number,
dispatchCommand(
Expand Down
Loading
Loading