React Native Windows 0.76.0
rnbot
released this
12 Nov 00:39
·
131 commits
to main
since this release
We're excited to release React Native Windows 0.76.0 targeting React Native 0.76.0 that includes a preview release of our support for the new architecture! 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)
- Update our dependencies on
@react-native-community/cli
to the correct15.0.0-alpha.2
. Update to @react-native-community/[email protected] (#13953) · microsoft/react-native-windows@9614bfe(github.com) - Cleanup ReactNativeAppBuilder and ReactNativeWin32App. Cleanup ReactNativeAppBuilder and ReactNativeWin32App (#14025) · microsoft/react-native-windows@591db2c (github.com)
- Fixs Text component running flattenStyle multiple times. Fix Text running flattenStyle multiple times #14041 (#14043) · microsoft/react-native-windows@0091bbb (github.com)
- Support projects building on WinAppSDK 1.6. Update WinAppSDK from 1.5 to 1.6 (1.6.240923002) (#13977) (#14017) · microsoft/react-native-windows@f0b7e5d9 (github.com)
- Update to Microsoft.NETCore.UniversalWindowsPlatform 6.2.14. Update to Microsoft.NETCore.UniversalWindowsPlatform 6.2.14 (#14085) · microsoft/react-native-windows@316973a (github.com)
- Update RNW CLI to preserve and re-use
init-windows
arguments. Update RNW CLI to preserve and re-use init-windows arguments (#14060) · microsoft/react-native-windows@5e26d6e (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)
- Introduced --list option to init-windows command. Introducing --list option to init-windows (#13991) · microsoft/react-native-windows@c147dcb (github.com)
- Update the cpp-lib template project to support importing either paper Uwp or fabric Composition prop/targets. Update the cpp-lib template project to support importing either paper Uwp or fabric Composition prop/targets (#14024) · microsoft/react-native-windows@1154dfe (github.com)
- Add RnwNewArch property and RNW_NEW_ARCH constants when building projects for the new architecture. Add RnwNewArch property and RNW_NEW_ARCH constants when building projects for the new architecture (#14096) · microsoft/react-native-windows@28e050f (github.com)
- Enables telemetry collection to monitor RNW reliability, performance, and usage. Enable telemetry collection (#14095) · microsoft/react-native-windows@cafab62 (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)
- Temporarily disable code-signing of NuGet packages. Temporarily disable code-signing of NuGet packages (#14031) (#14033) · microsoft/react-native-windows@5b950cf (github.com)
Fabric/New Architecture Specific Changes
- Introduce ReactNativeAppBuilder. Introduce ReactNativeAppBuilder (#13368) · microsoft/react-native-windows@c56788c (github.com)
- Add Switch Tests to E2E Testing for Fabric. Add Switch Tests to E2E Testing for Fabric (#13398) · microsoft/react-native-windows@bc2446c (github.com)
- Patch yoga to include changes to correctly recalculate layout on scale change. [Fabric] Patch yoga to include changes to correctly recalculate layout on scale change (#13407) · microsoft/react-native-windows@1dd738c (github.com)
- Handle scale factor changes. [Fabric] Handle scale factor changes (#13406) · microsoft/react-native-windows@2d42038 (github.com)
- Handle changes to BorderRadius. [Fabric] Handle changes to BorderRadius (#13422) · microsoft/react-native-windows@34dc401 (github.com)
- Add image response APIs to win32 exports. [Fabric] [Win32] Add image response APIs to win32 exports (#13428) · microsoft/react-native-windows@a96adfa (github.com)
- Move to WinAppSDK types for KeyStatus, and ensure usages account for locked flag. [Fabric] Move to WinAppSDK types for KeyStatus, and ensure usages account for locked flag (#13435) · microsoft/react-native-windows@e1685da (github.com)
- Use scrollEnabled flag to enable/disable the ScrollView. Use scrollEnabled flag to enable/disable the ScrollView (#13427) · microsoft/react-native-windows@e3c7f02 (github.com)
- Fix image component reference cycle. [Fabric] Fix image component reference cycle (#11168) · microsoft/react-native-windows@244d85a (github.com)
- call reportMount to implement UIManagerMountHook support. [Fabric] call reportMount to implement UIManagerMountHook support (#13443) · microsoft/react-native-windows@e3c7f02 (github.com)
- Resolve Transform Matrix before Animation. Resolve Transform Matrix before Animation (#13450) · microsoft/react-native-windows@ee9cb5f (github.com)
- Text renders borders twice. [Fabric] Text renders borders twice (#13445) · microsoft/react-native-windows@44090cb (github.com)
- Add support for accessibilityPosInSet and accessibilitySetSize. Add support for accessibilityPosInSet and accessibilitySetSize to Fabric (#13518) · microsoft/react-native-windows@6e887b4 (github.com)
- Custom ShadowNodes are never released. [Fabric] Custom ShadowNodes are never released (#13536) · microsoft/react-native-windows@8d3c567 (github.com)
- Fixes a crash that happens on release builds. [Fabric] Fixes a crash that happens on release builds (#13573) · microsoft/react-native-windows@fb590aa (github.com)
- Fix crash when running inspect. [Fabric] Fix crash when running inspect (#13592) · microsoft/react-native-windows@a9e5ef1 (github.com)
- Add Testing for accessibilityValue and Implement IValueProvider conditionally. Add Testing for accessibilityValue and Implement IValueProvider conditionally (#13544) · microsoft/react-native-windows@b9aed0e (github.com)
- Add Support for accessibilityLiveRegion Prop. Add Support for accessibilityLiveRegion Prop (#13596) · microsoft/react-native-windows@3658abf (github.com)
- Rework custom components to not rely on open compose patterns. [Fabric] Rework custom components to not rely on open compose patterns (#13603) · microsoft/react-native-windows@fff6d5a (github.com)
- Fix ScrollViewComponentView object leak. [Fabric] Fix ScrollViewComponentView object leak (#13633) · microsoft/react-native-windows@3486e57 (github.com)
- Enable implementation of custom events on custom components. [Fabric] Enable implementation of custom events on custom components (#13635) · microsoft/react-native-windows@829ff8d (github.com)
- Add Support for the IToggleProvider. [Fabric] Add Support for the IToggleProvider (#13622) · microsoft/react-native-windows@8c60ffe (github.com)
- Native component codegen. [Fabric] Native component codegen (#13640) · microsoft/react-native-windows@ecdff31 (github.com)
- Add Support for accessibilityActions and onAccessibilityAction. [Fabric] Add Support for accessibilityActions and onAccessibilityAction (#13674) · microsoft/react-native-windows@f756797 (github.com)
- LogBox should destroy its window on instance shutdown. [Fabric] LogBox should destroy its window on instance shutdown (#13675) · microsoft/react-native-windows@7a7577e (github.com)
- Enable ScrollView touch scrolling. [Fabric] Enable ScrollView touch scrolling (#13664) · microsoft/react-native-windows@bc4949e (github.com)
- Add FocusNavigationDirection and allow overriding of default command handling. [Fabric] Add FocusNavigationDirection and allow overriding of default command handling (#13857) · microsoft/react-native-windows@67e7442 (github.com)
- Add Support for AccessibilityState:Busy. Add Support for AccessibilityState:Busy (#13952) · microsoft/react-native-windows@37e15f1 (github.com)
- Add support for tooltip property . implement tooltip property (#13941) · microsoft/react-native-windows@efcfebf (github.com)
- Implement UIA ExpandCollapse Pattern allowing custom controls to implement 'expand' and 'collapse' actions. Implement IExpandCollapseProvider (#13892) · microsoft/react-native-windows@bba47ee (github.com)