Граф коммитов

931 Коммитов

Автор SHA1 Сообщение Дата
React-Native-Windows Bot 90b34bef95 applying package updates ***NO_CI*** 2024-11-23 06:23:17 +00:00
Yajur Grover 8be39042bf
Integrate RN Nightly 10/20 (#14092)
* Integrate 10/20

* Change files

* add new file to shared.vcxitems

* apply fabric changes from upstream

* fix errorinfor stackframe

* fix stackframe declaration

* fix onJSError implementation and usage

* add include and issue number for old follow up

* fix merge and update snapshots

* fix tester issues

* update snapshots

* fix linting

* edit package.json

* fix lockfile

* bump node-api-jsi to include queueMicrotask

* try override

* Add feature flags and default turbomodules

* lint fixes

* remove timermanager override

* fix

* MS.RN.Cxx shouldn't include files from RN

* format

* fix

* Revert NodeApi bump

* fix

* fix

* fix

* fix

* fix compilation of react_native_assert from MS.RN.Cxx

* Update snapshots

---------

Co-authored-by: React-Native-Windows Bot <53619745+rnbot@users.noreply.github.com>
2024-11-22 12:06:23 -08:00
React-Native-Windows Bot c72115efc3 applying package updates ***NO_CI*** 2024-11-19 06:29:48 +00:00
React-Native-Windows Bot ef3d7e9a4a applying package updates ***NO_CI*** 2024-11-15 06:22:30 +00:00
Yajur Grover 9576b188ef
Integrate RN Nightly 10/15 (#14107)
* test integrate 10/15

* Change files

* fix usage of text in tester

* add issue to comment

* fix linting and snapshots

* fix linting

* fix linting
2024-11-14 15:31:16 -08:00
React-Native-Windows Bot 2d36fbbd20 applying package updates ***NO_CI*** 2024-11-14 06:23:00 +00:00
React-Native-Windows Bot 938daf0678 applying package updates ***NO_CI*** 2024-11-13 06:21:48 +00:00
React-Native-Windows Bot f97557b6b0 applying package updates ***NO_CI*** 2024-11-12 06:28:00 +00:00
React-Native-Windows Bot cd4ff1b4b9 applying package updates ***NO_CI*** 2024-11-08 06:20:39 +00:00
Jon Thysell 6faf5685d4
Add RnwNewArch property and RNW_NEW_ARCH constants when building projects for the new architecture (#14042)
## Description

This PR adds a `RnwNewArch` MSBuild property and `RNW_NEW_ARCH` build-time constant / pre-processor directive for use by external (module) devs. This PR also updates `@react-native-windows/codegen` to use the directive when appropriate, and also applies those changes to `sample-custom-component`.

The expectation is that external devs now use these new properties and directives instead of the previously exposed `UseFabric`, `UseHermes` and/or `UseWinUI3` props. All logic expecting external developers to manually set those props has been removed and replaced with more robust checking that keys off `RnwNewArch` and throws warnings or errors if the other props aren't set correctly.

In addition, this PR adds further checks to make sure external projects load the WindowsSDK props sheet, followed by the appropriate RNW props and then the RNW targets. Failure to load these import properly would always risk putting the project in a broken state, now we at least tell people what they're missing.

Note: Old arch devs will still be able to toggle `UseHermes`.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- This change requires a documentation update

### Why
We don't want end-users to have access to conditionally build their code for the new or old architectures, without having to use/replicate the current complicated un-scoped directives we use internally.

Closes #13929 

### What
See above.

## Screenshots
N/A

## Testing
Verified the flag exists and builds for the sample-custom-component. Also verified that new projects build properly.

## Changelog
Should this change be included in the release notes: _yes_

Add RnwNewArch property and RNW_NEW_ARCH constants when building projects for the new architecture
2024-11-07 12:04:12 -08:00
React-Native-Windows Bot 0d30250c03 applying package updates ***NO_CI*** 2024-11-07 06:24:20 +00:00
Yajur Grover 346ba4e17e
Integrate 10/10 (#13996)
* Integrate 10/10

* Change files

* update shared.vcxitems

* fix yarn.lock

* fix conflicts

* fixed typo

* fixed lint and format

* fix position of include

* fix typo

* fix bad merge

* fix yarn.lock

* fix imports

* update snapshots

* update lockfile

* fix linting

* linting

* add assets-dest option

* fix assets-dest options

* fix typo

* fix linting

* fix linting

* try updating snapshots

* fix accessible default value and revert snapshot change

* update snapshots

* address feedback
2024-11-06 13:37:12 -08:00
React-Native-Windows Bot 2026bfb918 applying package updates ***NO_CI*** 2024-11-06 06:26:32 +00:00
Jon Thysell 845aad2404
Update to Microsoft.NETCore.UniversalWindowsPlatform 6.2.14 (#14084)
## Description

This PR upgrades the minimum version of `Microsoft.NETCore.UniversalWindowsPlatform` to 6.2.14 for UWP C# projects.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)

### Why
This is long over-due as the latest (and probably last) version of this package hasn't changed in over two years. There's no reason for us to build against an older version. Just as importantly, this brings in a newer version of the .NetNative toolchain, which seems to resolve issues around C# builds hanging at the .NetNative step.

Resolves #14055
Resolves #9194
Resolves #4869

### What
Updated the minimum version of `Microsoft.NETCore.UniversalWindowsPlatform` to 6.2.14 for UWP C# projects. Added new entries to the props that enable C++ apps to consume C# modules to see the latest versions of .NetNative.

## Screenshots
N/A

## Testing
Verified E2Etests build and run.

## Changelog
Should this change be included in the release notes: _yes_

Update to Microsoft.NETCore.UniversalWindowsPlatform 6.2.14
2024-11-05 13:46:24 -08:00
React-Native-Windows Bot b696ac8a26 applying package updates ***NO_CI*** 2024-11-05 06:27:18 +00:00
React-Native-Windows Bot 50c37c5363 applying package updates ***NO_CI*** 2024-11-03 05:28:16 +00:00
React-Native-Windows Bot 9da7ddb7d0 applying package updates ***NO_CI*** 2024-11-02 05:28:16 +00:00
Chiara Mooney db9324004c
Support accessibilityState 'checked' (#13962)
* Implement accessibilityState checked

* Change files

* Add Testing

* Format and Update Snapshots

* Adjust Guardrails

* Merge

* Format

* Format

* Lint

* Change files

* Fix Merge Error
2024-11-01 15:19:24 -07:00
React-Native-Windows Bot 74e26b5b6c applying package updates ***NO_CI*** 2024-11-01 05:22:38 +00:00
React-Native-Windows Bot 46d8c0a5bd applying package updates ***NO_CI*** 2024-10-31 05:28:14 +00:00
React-Native-Windows Bot ecd493f698 applying package updates ***NO_CI*** 2024-10-26 05:28:08 +00:00
React-Native-Windows Bot 48264ee788 applying package updates ***NO_CI*** 2024-10-25 05:21:21 +00:00
React-Native-Windows Bot 96f969e3fc applying package updates ***NO_CI*** 2024-10-23 05:31:17 +00:00
React-Native-Windows Bot b716fe41c8 applying package updates ***NO_CI*** 2024-10-22 05:26:29 +00:00
React-Native-Windows Bot e7df5bf7cc applying package updates ***NO_CI*** 2024-10-19 05:29:50 +00:00
Jon Thysell d0c7fa8199
Fix repo linting with up-to-date eslint and prettier configuration (#13993)
## Description
This fixes the broken eslint/prettier configuration in our repo and fixes all linting errors that have crept in over the past several months.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)

### Why
What is the motivation for this change? Add a few sentences describing the context and overall goals of the pull request's commits.

Resolves #13989

### What
* Updates all eslint and related packages to the correct versions aligning with upstream RN
* Updates all other package versions that were out of date
* Adds new prettier tasks to just-task since they don't run with eslint anymore
* Fixed all linting errors

## Screenshots
N/A

## Testing
`yarn lint` comes back clean.

## Changelog
Should this change be included in the release notes: _no_
2024-10-18 16:06:59 -07:00
React-Native-Windows Bot a3fc8a9c08 applying package updates ***NO_CI*** 2024-10-16 05:20:56 +00:00
Tatiana Kapos e265163b8c
Integrate RN Nightly 10/1 (223e98cc4) (#13938)
* 0.77.0-nightly-20240925-0cb32d5ac

* 0.77.0-nightly-20241001-223e98cc4

* fix validate-overrides

* Change files

* fix build

* fix playground

* fix composition

* fix overrides

* fix snapshot + lint

* Change files

* try removing babel plugin

* add change back in

* bump dep
2024-10-15 19:23:19 +00:00
React-Native-Windows Bot c302085ab2 applying package updates ***NO_CI*** 2024-10-15 05:26:27 +00:00
Chiara Mooney 37e15f19e9
Add Support for AccessibilityState:Busy (#13952)
* Support AccessibilityState: Busy

* Change files

* Add Testing

* Update Snapshots

* Update for Leak
2024-10-14 13:57:07 -07:00
React-Native-Windows Bot be43094242 applying package updates ***NO_CI*** 2024-10-12 05:22:57 +00:00
React-Native-Windows Bot 83739ba529 applying package updates ***NO_CI*** 2024-10-10 18:14:32 +00:00
Jon Thysell 61bde52b38
Update to @react-native-community/cli@15.0.0-alpha.2 (#13951)
## Description

Update our dependencies on `@react-native-community/cli` to the correct `15.0.0-alpha.2`.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)

### Why
We somehow missed this, and in causes problems when trying to create new apps, as RNW wants the wrong CLI version, which can cause the new Yarn to just give up on adding RNW to a template.

### What
See above.

## Screenshots
N/A

## Testing
Verified new apps work.

## Changelog
Should this change be included in the release notes: _yes_

Update our dependencies on `@react-native-community/cli` to the correct `15.0.0-alpha.2`.
2024-10-09 16:03:05 -07:00
Chiara Mooney bba47ee231
[Fabric] Implement IExpandCollapseProvider (#13892)
* Implement IExpandCollapseProvider

* Change files

* Adjust Example

* Format + Update Snapshots
2024-10-09 10:30:32 -07:00
Andrew 9e5b127ffb applying package updates ***NO_CI*** 2024-10-08 12:26:38 -07:00
Jon Thysell 6c14be0953 applying package updates ***NO_CI*** 2024-10-07 12:54:30 -07:00
Tatiana Kapos eb6b345ee2
Integrate RN Nightly 09/21 (1747f57c6) (#13924)
* integrate 0.77.0-nightly-20240912-c94246970

* integrate 0.77.0-nightly-20240915-afb40e9f2

* 0.77.0-nightly-20240918-bebd6531b

* 0.77.0-nightly-20240921-1747f57c6

* Change files

* fix lockfile

* update tester

* snapshots
2024-10-07 11:49:41 -07:00
Jon Thysell aef012cbf8 applying package updates ***NO_CI*** 2024-09-30 09:33:14 -07:00
Jon Thysell a29e4889eb Beachball sync to resolve broken publish issues 2024-09-27 10:26:53 -07:00
Jon Thysell b495cf2ef2 applying package updates ***NO_CI*** 2024-09-26 10:38:30 -07:00
Jon Thysell 3d1874a6d7 Revert "Bump package versions to fix publish build (#13902)"
This reverts commit 18783e7887.
2024-09-26 10:37:30 -07:00
Andrew Coates 18783e7887
Bump package versions to fix publish build (#13902) 2024-09-26 08:49:54 -07:00
Marlene Cota ca03cc6d24
RN Integration 9/9 (143f1ad29) (#13685)
* RN Integration 9/9

* Change files

* RN Integration 9/9

* Change files

* yarn.lock

* linting

* linting v2

* re-add LayoutableShadowNode.cpp

* fix override

* reset linting

* Use hermes-eslint in react-native-windows and rn-win32

* fix

* use hermes-eslint in @react-native-windows/cli

* Change files

* fix dep

* hermes-eslint in @rnw-scripts/metro-dev-config

* remove hermes-eslint from cli and metro-dev-config

* use babel-plugin-syntax-hermes-parser in react-native-windows

* move babel config fix from vnext to @rnw-scripts/babel-react-native-config

* snapshots

* add babel config to intergration-test-app

* disable test:windows calls in CI

* delete unnecessary change file

* indentation

* fix lint and upgrade dep

* Change files

* skip RNTesterIntegrationTests::Dummy test

* comment out rest of tests

---------

Co-authored-by: Andrew <30809111+acoates-ms@users.noreply.github.com>
Co-authored-by: TatianaKapos <tatianakapos@microsoft.com>
2024-09-25 19:57:39 +00:00
Jon Thysell 3cec3f09dd applying package updates ***NO_CI*** 2024-09-16 14:21:18 -07:00
Jon Thysell (JAUNTY) 34224a7d66 applying package updates ***NO_CI*** 2024-09-11 13:06:19 -07:00
React-Native-Windows Bot 5fbb0129b8 applying package updates ***NO_CI*** 2024-09-10 05:15:20 +00:00
Jon Thysell 401416f637
Automatically set EnableSourceLink for in-repo builds only (#13666)
## Description

SourceLink is needed to ensure that our NuGet packages have matching source information when symbols are resolved. So we have an `EnableSourceLink` property which tells some of our projects to add source link, and we enable that when doing CI/PR/official builds by setting the property to true when we call msbuild in our pipelines.

This PR makes it so that instead of having to pass that property, the projects themselves automatically build with source link when they need to.

### Type of Change
- New feature (non-breaking change which adds functionality)

### Why
This makes it so that local builds of RNW are closer to the the same nuget restore behavior / packages.lock.json file as when they're built in pipelines.

This is part is working toward resolving #12004 and this functionality was extracted from PR #13634.

### What
Instead of requiring us to call msbuild with `/p:EnableSourceLink=true` for every solution (or relying on setting it in `ExperimentalFeatures.props`) we now detect when our library projects are being built within the repo (detecting the `src-win` folder which isn't present in the NPM publish) and enable source link then.

## Screenshots
N/A

## Testing
N/A

## Changelog
Should this change be included in the release notes: _yes_

Automatically set EnableSourceLink for in-repo builds only
2024-09-09 20:37:17 +00:00
React-Native-Windows Bot 3ceb95ca95 applying package updates ***NO_CI*** 2024-09-07 05:14:14 +00:00
Chiara Mooney 409bf6e085
Integrate RN Nightly Build 8/31 (#13654)
* Integrate 8/31

* Change files

* Remove Extra Codegen

* Fix Codegen

* Fix MacOS tests and Update Snapshots

* Yarn

* Integrate 8/31

* Merge

---------

Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
2024-09-06 12:26:29 -07:00
React-Native-Windows Bot a3de197a44 applying package updates ***NO_CI*** 2024-09-06 05:14:03 +00:00