diff --git a/src/releases/index.js b/src/releases/index.js index cc21b5a..a816a47 100644 --- a/src/releases/index.js +++ b/src/releases/index.js @@ -3,6 +3,7 @@ import { PACKAGE_NAMES } from '../constants' const versionsWithContent = { [PACKAGE_NAMES.RN]: [ '0.73', + '0.74', '0.72', '0.71', '0.69', diff --git a/src/releases/react-native/0.74.tsx b/src/releases/react-native/0.74.tsx new file mode 100644 index 0000000..726c624 --- /dev/null +++ b/src/releases/react-native/0.74.tsx @@ -0,0 +1,35 @@ +import React, { Fragment } from 'react' +import type { ReleaseT } from '../types' + +const release: ReleaseT = { + usefulContent: { + description: + 'React Native 0.74 includes Yoga 3.0, Bridgeless by default under the New Architecture, batched onLayout updates, Yarn 3, removal of previously deprecated PropTypes, and some breaking changes, including updates to PushNotificationIOS. The Android Minimum SDK is now 23 (Android 6.0).', + links: [ + { + title: + 'Official blog post about the major changes on React Native 0.74', + url: 'https://reactnative.dev/blog/2024/04/22/release-0.74', + }, + ], + }, + comments: [ + { + fileName: 'package.json', + lineNumber: 36, + lineChangeType: 'add', + content: ( + + In React Native 0.74, for projects bootstrapped with React Native + Community CLI, we've added first-class support for modern Yarn + versions. For new projects Yarn 3.6.4 is the default package manager, + and for existing projects, you can upgrade to Yarn 3.6.4 by running + `yarn set version berry` in the project root. Read more + [here](https://reactnative.dev/blog/2024/04/22/release-0.74#yarn-3-for-new-projects). + + ), + }, + ], +} + +export default release