Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 0.74 announcement post #4043

Merged
merged 32 commits into from
Apr 22, 2024
Merged

Add 0.74 announcement post #4043

merged 32 commits into from
Apr 22, 2024

Conversation

lunaleaps
Copy link
Contributor

@lunaleaps lunaleaps commented Mar 7, 2024

Preview Post

Copy link

netlify bot commented Mar 7, 2024

Deploy Preview for react-native failed.

Name Link
🔨 Latest commit 0de44a8
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/65e906cf1844440008ef6aed

Copy link

netlify bot commented Mar 7, 2024

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 5f1de51
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/662698cb6425be0008f72d5e
😎 Deploy Preview https://deploy-preview-4043--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ecreeth
Copy link
Contributor

ecreeth commented Mar 20, 2024

Should we mention the recent Hermes features?:

@huntie huntie changed the title 0.74 Blogpost Add 0.73 announcement post Mar 26, 2024
NickGerleman and others added 2 commits March 26, 2024 14:30
* scaffold 0.74 post

* more things

* Draft 0.74 Release Notes Yoga Snippet

* Add align-content: space-evenly

* Remove the section on experimental_layoutConformance

* cleanup

* Rewording

* Update 2024-04-15-0.74-post.md

---------

Co-authored-by: Luna Wei <[email protected]>
* Fill out position static snippet for 0.74

* Remove 'easily'
@huntie huntie changed the title Add 0.73 announcement post Add 0.74 announcement post Apr 2, 2024
Copy link
Contributor

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great draft, thank you for setting this up. I left some comments related to the workstream we are running for the New Architecture and the interop layers.

website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
@huntie huntie self-assigned this Apr 15, 2024
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
website/blog/2024-04-15-0.74-post.md Outdated Show resolved Hide resolved
Copy link
Member

@huntie huntie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've completed a draft-final pass. To-dos commented.

Copy link
Member

@rickhanlonii rickhanlonii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some nits, I'd also recommend doing a pass to ensure code is consistently wrapped in backticks so it's formatted as a code block (for example PushNotificationIOS isn't wrapped).


Yarn 3.x will be used with `nodeLinker: node-modules`, a mode providing compatibility with React Native libraries. This replaces Yarn Classic (1.x, deprecated) as the previous default. To upgrade Yarn version inside your existing app you can follow this [guide](https://yarnpkg.com/migration/guide).

```sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This snipped doesn't add much value, I would either include install instructions or drop this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't, the aim was to provide a small visual for this item. I think it is also marginally useful as a hint for people to run yarn --help to check what version they have in their current project.

Keeping unless there is further support to remove.


In the next release (0.75), **we are planning to remove this library**, relocating it out of React Native core and into the community package, [@react-native-community/push-notification-ios](https://github.com/react-native-push-notification/ios). If you are still relying on PushNotificationIOS, you’ll need to migrate over before the next release.

#### API Changes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to include the deprecation warning messages in this section.

`position: 'static'` is supported only in the New Architecture.
:::

Elements marked as [`position: 'static'`](https://developer.mozilla.org/en-US/docs/Web/CSS/position#static) may not be offset, and are not considered when determining the [containing block](https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block) of an absolutely positioned element. This allows positioning an element relative to an ancestor which is not its direct parent.
Copy link
Contributor

@joevilches joevilches Apr 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elements marked as position: 'static' may not be offset, and are not considered when determining the containing block of an absolutely positioned element. This allows positioning an element relative to an ancestor which is not its direct parent.

This can be removed now due to some in-progress changes that make this not true since every static node is a flex item, which do form stacking contexts. It is true at the release of 0.74, but since it will change soon it is probably best to just not call it out.

Copy link
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍


In this release, we are making **Bridgeless Mode the default when the New Architecture is enabled**. You can learn more about our switch to Bridgeless as the default in this post (_coming soon_). To make the transition smoother we enhanced the interop layers to cover Bridgeless and worked with several libraries to make sure they will work in Bridgeless from day one.

Bridgeless is not the only interop layer we worked on: we improved the New Renderer Interop layer too!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also has a dedicated working group post. @cipolleschi can you expand on this sentence a bit with a couple of words + add a placeholder for the post?

This change **may break code** that has relied on un-batched state updates. You'll need to refactor this code to use [updater functions](https://react.dev/learn/queueing-a-series-of-state-updates#updating-the-same-state-multiple-times-before-the-next-render) or equivalent.
:::

### Android SDK minimum bump (Android 6.0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@huntie yup we should move this


In this release, we are making **Bridgeless Mode the default when the New Architecture is enabled**. You can learn more about our switch to Bridgeless as the default in this post (_coming soon_). To make the transition smoother we enhanced the interop layers to cover Bridgeless and worked with several libraries to make sure they will work in Bridgeless from day one.

Bridgeless is not the only interop layer we worked on: we improved the New Renderer Interop layer too!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there will be a link to another post for the Fabric interop layer. We can add something like: "check out the updates in this post."

website/blog/2024-04-22-release-0.74.md Outdated Show resolved Hide resolved
website/blog/2024-04-22-release-0.74.md Outdated Show resolved Hide resolved
website/blog/2024-04-22-release-0.74.md Outdated Show resolved Hide resolved
website/blog/2024-04-22-release-0.74.md Outdated Show resolved Hide resolved
@cortinico cortinico requested a review from cipolleschi April 22, 2024 16:09
@huntie huntie merged commit 7ef5f09 into main Apr 22, 2024
5 checks passed
@huntie huntie deleted the 0.74-post branch April 22, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.