Skip to content

Commit

Permalink
Merge pull request #384 from szymonrybczak/fix/74/add-proper-info-abo…
Browse files Browse the repository at this point in the history
…ut-yarn-3

feat: add comments to diff for React Native 0.74
  • Loading branch information
cortinico authored Apr 25, 2024
2 parents 72c581c + 6233994 commit 06f61c3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/releases/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { PACKAGE_NAMES } from '../constants'
const versionsWithContent = {
[PACKAGE_NAMES.RN]: [
'0.73',
'0.74',
'0.72',
'0.71',
'0.69',
Expand Down
35 changes: 35 additions & 0 deletions src/releases/react-native/0.74.tsx
Original file line number Diff line number Diff line change
@@ -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: (
<Fragment>
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).
</Fragment>
),
},
],
}

export default release

0 comments on commit 06f61c3

Please sign in to comment.