React Native Windows 0.76.0-preview.1
Pre-release
Pre-release
·
244 commits
to main
since this release
We're excited to release React Native Windows 0.76.0-preview.1 targeting React Native 0.76.0-rc.0. There have been many changes to both react-native-windows and react-native itself, and we would love your feedback on anything that doesn't work as expected. This release includes the commits to React Native Windows from 6/20/2024 – 9/26/2024.
How to upgrade
You can view the changes made to the default new React Native Windows applications for C++ and C# using React Native Upgrade Helper. See this document for more details.
Reliability
- Allows run-windows to be used on more than just one digit minor versions. Added MinimumVisualStudioVersion env variable to force run-windows to use a particular version of VS installed (#13373) · microsoft/react-native-windows@68144e7 (github.com)
- Made RNW CLI commands more clear. Fixed typos and improved uniformity of RNW CLI command help text (#13386) · microsoft/react-native-windows@dbb8799 (github.com)
- Keeps button size the same while being pressed. Keep borderBottomWidth same before and after pressed (#13396) · microsoft/react-native-windows@6819827 (github.com)
- WebSocket headers are now properly applied when using Turbo Modules. Updating native WebSocket header logic to match RN (#13366) · microsoft/react-native-windows@63d919e (github.com)
- Fixes flyout erroring on launch. Fix Flyout's Stylesheet import (#13476) · microsoft/react-native-windows@7992021 (github.com)
- Fixes the native event payload on Windows for the appearanceChanged event. Make appearanceChanged event consistent with Android/iOS (#13499) · microsoft/react-native-windows@2466bb9 (github.com)
- Fix alerts and flyouts crashing on Windows 10 1809. Fix Alerts and Flyouts crashing on Windows 10 1809 (RS5) (#13505) · microsoft/react-native-windows@8de5648 (github.com)
- Update templates to calculate rnwPath for *.sln files. Update templates to calculate rnwPath for *.sln files (#13572) · microsoft/react-native-windows@39f6540 (github.com)
- Uses optimized Text. Switch to optimized text (#13647) · microsoft/react-native-windows@55e3207 (github.com)
- Fix parsing of empty build props in run-windows. Fix parsing of empty build props in run-windows (#13665) · microsoft/react-native-windows@6bddf6a (github.com)
New Features
- Add warnings and deprecations for react-native-windows-init. Add warnings and deprecations for react-native-windows-init (#13488) · microsoft/react-native-windows@b513ff2 (github.com)
- Method effective parameters is updated to support upto 10 arguments. With this Codegen now generates a method with upto 10 arguments to keep inline with other platforms. Increase the syntaxtoken size to 10 parameters (#13477) · microsoft/react-native-windows@9ddfc25 (github.com)
- Hermes now provides a native ARM64EC variant. Don't override Hermes platform for ARM64EC (#13490) · microsoft/react-native-windows@5c094d6 (github.com)
- Upgrades boost NuGet package dependency to version 1.83.0.0. Upgrade to boost 1.83 (#13511) · microsoft/react-native-windows@5eb69a8 (github.com)
- Implement the SampleTurboModule module. Implement the SampleTurboModule module (#13541) · microsoft/react-native-windows@495dbad (github.com)
- Add support for turbomodule eventemitters, and codegen. Add support for turbomodule eventemitters, and codegen (#13555) · microsoft/react-native-windows@1b4f560 (github.com)
- Improve new project name(space) validation and cleaning. Improve new project name(space) validation and cleaning (#13566) · microsoft/react-native-windows@849d71f (github.com)
- Automatically set EnableSourceLink for in-repo builds only. Automatically set EnableSourceLink for in-repo builds only (#13666) · microsoft/react-native-windows@401416f (github.com)
- Create separate NuGet restore lock files for Fabric builds. Create separate NuGet restore lock files for Fabric builds (#13687) · microsoft/react-native-windows@a4e263c (github.com)
Breaking Changes
- Require Visual Studio 2022 >= v17.11.0. Bump minimum VS version to 17.11.0 (#13455) · microsoft/react-native-windows@4bb42ec (github.com)
- Switch New Architecture templates to use prebuilt NuGets. Switch New Architecture templates to use prebuilt NuGets (#13338) · microsoft/react-native-windows@9ce78de (github.com)