Skip to content

Commit 06f61c3

Browse files
authored
Merge pull request #384 from szymonrybczak/fix/74/add-proper-info-about-yarn-3
feat: add comments to diff for React Native 0.74
2 parents 72c581c + 6233994 commit 06f61c3

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

Diff for: src/releases/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { PACKAGE_NAMES } from '../constants'
33
const versionsWithContent = {
44
[PACKAGE_NAMES.RN]: [
55
'0.73',
6+
'0.74',
67
'0.72',
78
'0.71',
89
'0.69',

Diff for: src/releases/react-native/0.74.tsx

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import React, { Fragment } from 'react'
2+
import type { ReleaseT } from '../types'
3+
4+
const release: ReleaseT = {
5+
usefulContent: {
6+
description:
7+
'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).',
8+
links: [
9+
{
10+
title:
11+
'Official blog post about the major changes on React Native 0.74',
12+
url: 'https://reactnative.dev/blog/2024/04/22/release-0.74',
13+
},
14+
],
15+
},
16+
comments: [
17+
{
18+
fileName: 'package.json',
19+
lineNumber: 36,
20+
lineChangeType: 'add',
21+
content: (
22+
<Fragment>
23+
In React Native 0.74, for projects bootstrapped with React Native
24+
Community CLI, we've added first-class support for modern Yarn
25+
versions. For new projects Yarn 3.6.4 is the default package manager,
26+
and for existing projects, you can upgrade to Yarn 3.6.4 by running
27+
`yarn set version berry` in the project root. Read more
28+
[here](https://reactnative.dev/blog/2024/04/22/release-0.74#yarn-3-for-new-projects).
29+
</Fragment>
30+
),
31+
},
32+
],
33+
}
34+
35+
export default release

0 commit comments

Comments
 (0)