React Native Windows 0.76.0
rnbot
released this
12 Nov 00:39
·
129 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)