We're excited to release React Native Windows 0.70.0-preview.1 targeting React Native 0.70.0-rc.3. 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.
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
- React Native is now using @react-native-community/cli@9.0.0-alpha.3. See Upgrade @react-native-community/cli.
- Folly is now on version v2021.07.22.0.
Debuggability
- Fixes a crash when enabling Yoga logging.
- Fixes metro config when using
--useDevMode
.
Reliability
- Improved Supply Chain security by updating NuGet config files.
- Fixes floating point conversions in non en-US locales.
- Updates autolinking to not error if a dependency is misconfigured.
- Fixes matrix multiplication logic for transforms to match iOS/Android.
- Fixes ExecuteJsi on instance shutdown.
- Fixes bug when UTF-8 characters are in bundle path.
- Updates autolinking to update project paths in solution files rather than including new paths, upon not finding the exact project entry for a given GUID.
- Fixes skew transforms for degree inputs.
- Fixes bug in
onLongPress
functionality. NowonLongPress
is only allowed during left clicks.\ - Fixes crash in DynamicAutomationPeer::GetContentName.
Accessibility
- Updates visual of TextInput if
focusable == false
. - Fixes color customization bug for Text component during High Contrast mode.
Other
- Supports PreparedScriptStore for V8 Node-API.
- Exposes
LoadingState
on ReactContext. - Implements Blob module.
- Adds partial PlatformColor support for Image's tintColor.
- Adds CoreApp API to run a JS-only app. The application object in this case is fixed and owned by the framework instead of the app author. See blog post.
- Implements HTTP client timeout.
Breaking Changes
- Break in ABI and binary compatibility introduced with change to JsiValueKind enumeration.