Skip to content

Commit

Permalink
Require RNW >= 0.69.0 (#276)
Browse files Browse the repository at this point in the history
This PR bumps the minimum required/supported version of react-native and
react-native-windows to 0.69.0.
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/react-native-xaml/pull/276)
  • Loading branch information
jonthysell committed Feb 20, 2024
1 parent 28c0c1f commit f8ca52b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,13 @@ jobs:
strategy:
fail-fast: false
matrix:
rnwVersion: ['0.70-stable', '0.69-stable', '0.68-stable', '0.67-stable'] # test *all* versions that use VS 2019. aka any RNW version >= min in package.json and < 0.71
rnwVersion: ['0.70-stable', '0.69-stable'] # test *all* versions that use VS 2019. aka any RNW version >= min in package.json and < 0.71
useRnwNuGet: [false, true] # test building with both RNW source and RNW NuGet
include:
- rnwVersion: '0.70-stable'
rnTemplate: 'react-native-template-typescript@6.12.11'
- rnwVersion: '0.69-stable'
rnTemplate: 'react-native-template-typescript@6.11.9'
- rnwVersion: '0.68-stable'
rnTemplate: 'react-native-template-typescript@6.10.4'
- rnwVersion: '0.67-stable'
rnTemplate: 'react-native-template-typescript@6.9.6'
uses: ./.github/workflows/template-testcli.yml
with:
vmImage: windows-2019
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@ jobs:
strategy:
fail-fast: true
matrix:
rnwVersion: ['latest', '0.72-stable', '0.71-stable'] # test *key* versions that use VS 2022. aka any RNW version >= 0.71 used by supported partners and/or Active/Maintenance from https://microsoft.github.io/react-native-windows/support
rnwVersion: ['latest', '0.72-stable'] # test *key* versions that use VS 2022. aka any RNW version >= 0.71 used by supported partners and/or Active/Maintenance from https://microsoft.github.io/react-native-windows/support
useRnwNuGet: [false, true] # test building with both RNW source and RNW NuGet
include:
- rnwVersion: 'latest'
rnTemplate: 'react-native@latest'
- rnwVersion: '0.72-stable'
rnTemplate: 'react-native@0.72-stable'
- rnwVersion: '0.71-stable'
rnTemplate: 'react-native@0.71-stable'
uses: ./.github/workflows/template-testcli.yml
with:
vmImage: windows-2022
Expand All @@ -64,13 +62,11 @@ jobs:
strategy:
fail-fast: true
matrix:
rnwVersion: ['0.69-stable', '0.67-stable'] # test *key* versions that use VS 2019. aka any RNW version < 0.71 that are used by supported partners
rnwVersion: ['0.69-stable'] # test *key* versions that use VS 2019. aka any RNW version < 0.71 that are used by supported partners
useRnwNuGet: [false, true] # test building with both RNW source and RNW NuGet
include:
- rnwVersion: '0.69-stable'
rnTemplate: 'react-native-template-typescript@6.11.9'
- rnwVersion: '0.67-stable'
rnTemplate: 'react-native-template-typescript@6.9.6'
uses: ./.github/workflows/template-testcli.yml
with:
vmImage: windows-2019
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Require RNW >= 0.69.0",
"packageName": "react-native-xaml",
"email": "jthysell@microsoft.com",
"dependentChangeType": "patch"
}
6 changes: 3 additions & 3 deletions package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"@types/react-native": "*"
},
"peerDependencies": {
"react": ">= 17.0.2",
"react-native": ">= 0.67.0",
"react-native-windows": ">= 0.67.11",
"react": ">= 18.0.0",
"react-native": ">= 0.69.0",
"react-native-windows": ">= 0.69.0",
"typescript": "^4.1.2"
},
"devDependencies": {
Expand Down

0 comments on commit f8ca52b

Please sign in to comment.