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

breaking: Upgrade metro dependencies to 0.74.0 #1789

Closed
wants to merge 1 commit into from

Conversation

huntie
Copy link
Collaborator

@huntie huntie commented Jan 9, 2023

Summary:

Upgrades Metro dependencies to 0.74.0. This is a major release due to the removal of @babel/plugin-transform-template-literals and the removal of the postProcessBundleSourcemap config option. It also brings performance improvements to AST processing and Fast Refresh responsiveness.

Per the release notes shared below, I am suggesting that this is a breaking change for the next RN CLI release.

Reminder: When React Native updates the CLI to a version that depends on metro 0.74.0, it must also update metro-runtime etc to 0.74.0 in the same commit.

Metro release notes

Full changelog between 0.73.7 (latest version in cli-plugin-metro #1787) and 0.74.0: https://github.com/facebook/metro/compare/v0.73.7..v0.74.0

Windows hotfix was previously merged

Note that the following changelog items were hotfixed by @robhogan in metro 0.73.7 and are already present in RN CLI as of #1787:

Test Plan:

  • Updated dependencies with yarn.
  • ✅ Ran yarn test.

@thymikee
Copy link
Member

thymikee commented Jan 9, 2023

Thanks! Is this going to target RN 0.72 or a minor release in 0.71?

@huntie
Copy link
Collaborator Author

huntie commented Jan 9, 2023

Good question! Urgent changes were covered in the previous hotfix, so it's fine for this to target 0.72 I think, given 0.71 is close to finalised.

@huntie
Copy link
Collaborator Author

huntie commented Feb 11, 2023

Closing in favour of #1813.

@huntie huntie closed this Feb 11, 2023
@huntie huntie deleted the metro-0.74.0 branch May 25, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants