Releases: microsoft/react-native-windows
React Native Windows 0.76.0-preview.1
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)
React Native Windows 0.75.3
This is patch release of react-native-windows, fixing bugs or adding non-breaking enhancements. To see a summary of changes in this major release, see release notes for React Native Windows 0.75.0.
New changes
- not avai Bump @react-native-windows/cli to v0.75.3 (beachball)
React Native Windows 0.75.2
This is patch release of react-native-windows, fixing bugs or adding non-breaking enhancements. To see a summary of changes in this major release, see release notes for React Native Windows 0.75.0.
New changes
- 37b826a CreateVisual handler should have reference to view ([email protected])
- 6c7cbf2 replace IAppData.TemporaryFolder with GetTempPathW ([email protected])
- 0b47005 Rework custom components to not rely on open compose patterns ([email protected])
- 37b826a Add Support for Toggle Provider ([email protected])
- 0b47005 [Fabric] Fix ScrollViewComponentView object leak ([email protected])
- 0b47005 [Fabric] Enable implementation of custom events on custom components ([email protected])
- not avai Bump @react-native-windows/cli to v0.75.2 (beachball)
- not avai Bump @react-native-windows/codegen to v0.75.1 (beachball)
React Native Windows 0.73.21
New changes
- 38be74a C++ 20: Fix "Explicit template specialization cannot have a storage class" ([email protected])
React Native Windows 0.74.21
This is patch release of react-native-windows, fixing bugs or adding non-breaking enhancements. To see a summary of changes in this major release, see release notes for React Native Windows 0.74.0.
New changes
- 71d7eb4 Add Support for AccessibilityPosInSet ([email protected])
- cd70c89 CreateVisual handler should have reference to view ([email protected])
- 71d7eb4 Rework custom components to not rely on open compose patterns ([email protected])
- cd70c89 Add Support for Toggle Provider ([email protected])
- 71d7eb4 [Fabric] Fix ScrollViewComponentView object leak ([email protected])
- 71d7eb4 [Fabric] Enable implementation of custom events on custom components ([email protected])
- not avai Bump @react-native-windows/cli to v0.74.5 (beachball)
- not avai Bump @react-native-windows/codegen to v0.74.3 (beachball)
React Native Windows 0.75.1
This is patch release of react-native-windows, fixing bugs or adding non-breaking enhancements. To see a summary of changes in this major release, see release notes for React Native Windows 0.75.0.
New changes
- d03d305 Update templates to calculate rnwPath for *.sln files ([email protected])
- 6c7cbf2 replace IAppData.TemporaryFolder with GetTempPathW ([email protected])
- 576f06f integrate 0.75.2 ([email protected])
- 79dfcfc Switch New Architecture templates to use prebuilt NuGets ([email protected])
- 0eb7b62 Enable Timer TurboModule for Desktop ([email protected])
- not avai Bump @react-native-windows/cli to v0.75.1 (beachball)
React Native Windows 0.74.20
This is patch release of react-native-windows, fixing bugs or adding non-breaking enhancements. To see a summary of changes in this major release, see release notes for React Native Windows 0.74.0.
New changes
- 8c67f63 Update templates to calculate rnwPath for *.sln files ([email protected])
- 845b736 replace IAppData.TemporaryFolder with GetTempPathW ([email protected])
- 8a4ac58 [Fabric] Fixes a crash that happens on release builds ([email protected])
- c3627eb Enable devMode with react-native init-windows old/* templates ([email protected])
- e4b77e5 Switch New Architecture templates to use prebuilt NuGets ([email protected])
- not avai Bump @react-native-windows/cli to v0.74.4 (beachball)
React Native Windows 0.74.19
This is patch release of react-native-windows, fixing bugs or adding non-breaking enhancements. To see a summary of changes in this major release, see release notes for React Native Windows 0.74.0.
New changes
- 003e703 Enable Timer TurboModule for Desktop ([email protected])
React Native Windows 0.72.38
This is patch release of react-native-windows, fixing bugs or adding non-breaking enhancements. To see a summary of changes in this major release, see release notes for React Native Windows 0.72.0.
New changes
- becc1d3 Bump minimum VS version to 17.11.0 ([email protected])
- becc1d3 Bump @react-native-windows/cli to v0.72.7 (beachball)
React Native Windows 0.75.0
We're excited to release React Native Windows 0.75.0 targeting React Native 0.75.1. 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 10/12/2023 – 3/24/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.
What's new from React Native Windows
Reliability
- Fixes issues with packaged asset resolution. Fixes issues with packaged asset resolution (#11168) · microsoft/react-native-windows@e3c7f02 (github.com)
- Fixes compilation of Microsoft.ReactNative without USE_V8 compile constant. Move winrt/Windows.Storage.h include out of USE_V8 conditional (#11168) · microsoft/react-native-windows@66dc977 (github.com)
- Updates app template's metro config with latest upstream changes. Update app template's metro config with latest upstream changes (#12279) · microsoft/react-native-windows@68094c0 (github.com)
- Fixes momentum scroll events. Fix event dispatch names for momentum scroll (#12278) · microsoft/react-native-windows@1367b74 (github.com)
- Convertes publish.yml ADO pipeline to extend the v1/1ES.Official.PipelineTemplate.yml template. Migrate publish.yml to 1ES PT (#12302) · microsoft/react-native-windows@6fa6daa ( github.com)
- Fixes ReactContext from having extra references. ReactContext should have a weak ref on the PropertyBag · microsoft/react-native-windows@325195c ( github.com)
- Fixes InstanceDestroyed event failing with ReactPropertyBag . Keep propertyBag alive for duration of InstanceDestroyed event (#12364) · microsoft/react-native-windows@b87abc8 ( github.com)
- Prevents HTTP response memory leaks. Untrack HTTP responses when processed by IResponseHandler (#12378) · microsoft/react-native-windows@ea58fe0 ( github.com)
- Ensure both property and value exist for Blob's HTTP proxy. Ensure both property and value exist for Blob's HTTP proxy (#12417) · microsoft/react-native-windows@b84ca2d ( github.com)
- Regularly clean JSI long-lived objects. Release long lived JSI objects ASAP (#12385) · microsoft/react-native-windows@c7cc92b ( github.com)
- Enables the /PROFILE linker flag for all C++ release binaries. Enable the /PROFILE linker flag for all C++ release binaries (#12313) · microsoft/react-native-windows@3bb7adb ( github.com)
- Fixes Base64 encoding for FileReader. Fix FileReader Base64 padding (#12522) · microsoft/react-native-windows@34ae417( github.com)
- Unforks and modularizes Yoga files. Unfork and modularize Yoga (#12591) · microsoft/react-native-windows@a948daf ( github.com)
- Enforces Origin headers on WebSocket conncections. Ensure origin in WebSocket headers (#12643) · microsoft/react-native-windows@05bfd0c ( github.com)
- Fixes hasViewManagerConfig checks returning truthy values. Return null for missing view manager constants (#12685) · microsoft/react-native-windows@ee68f5f ( github.com)
- Fixes UI Scheduler deadlocking on shutdown. Fix UIScheduler deadlock on shutdown (#12738) · microsoft/react-native-windows@ e2bf3e2 ( github.com)
- Updated WindowsAppSDK dependency to 1.4.240211001. Update WinAppSDK versions to latest public builds (#12747) · microsoft/react-native-windows@9bd3906 ( github.com)
- Fixed arch cpp-app apps not finding the bundle in release builds. Fix issue with new arch cpp-app apps not finding the bundle in release builds (#12754) · microsoft/react-native-windows@e694482 ( github.com)
- Fixed loading images from file:// URIs (as used for assets in on-disk bundles). [ Fix loading images from file:// URIs (#12757) · 41e884a ( github.com)]( b99a46f )
Accessibility
- Adds ARIA role rupport. Adds ARIA role support to Paper UIManager (#12792) · microsoft/react-native-windows@bc70cea ( github.com)
- Adds support for announceForAccessibilityWithOptions. [Win32] Add support for announceForAccessibilityWithOptions (#12237) · microsoft/react-native-windows@7fda7f0 ( github.com)
New Features
- Adds disabled property to props being passed into Pressable component. Add disabled property to props being passed into Pressable component (#12799) · microsoft/react-native-windows@b129040 ( github.com)
- Implement BlobCollector. Implement BlobCollector (#12269) · microsoft/react-native-windows@0b31812 ( github.com)
- Adds property to ReactPointerEventArgs to allow view managers to capture the pointer. Adds option to allow ViewManagers to capture pointer (#8969) · microsoft/react-native-windows@0f6bdf3 ( github.com)
- Creates new cpp-lib arch module template. Create new arch module template: cpp-lib (#12481) · microsoft/react-native-windows@6164875 ( github.com)
- Updated the experimental cpp-lib and cpp-app templates to support targeting ARM64. Add ARM64 to new arch templates (#12635) · microsoft/react-native-windows@404db90 ( github.com)
- Move React Native Windows to default to C++20. Update to C++20 (#12656) · microsoft/react-native-windows@adefdee ( github.com)
- Enable custom timer factory to be provided. Enable custom timer factory to be provided (#12856) · microsoft/react-native-windows@34c5cd8 ( github.com)
- Hermes should now provide a native ARM64EC variant. Don't override Hermes platform for ARM64EC (#13490) · microsoft/react-native-windows@5c094d6 ( github.com)
Breaking Changes
- Deprecate web debugging to align with core, we recommend using direct debugging instead. Deprecate web debugging (#12724) · microsoft/react-native-windows@0211cdb ( github.com)
- Deprecates and removes the experimental CoreApp APIs and prototype app. Deprecate and remove the experimental CoreApp APIs and prototype app (#12730) · microsoft/react-native-windows@3052257 ( github.com)
- Simplify Flyout and Popup coordinate spaces. Simplify Flyout and Popup coordinate spaces (#11822) · microsoft/react-native-windows@d603706 ( github.com)