Uh oh!
There was an error while loading. Please reload this page.
breaking: Upgrade metro dependencies to 0.74.0 - #1789
Closed
huntie wants to merge 1 commit into
Closed
Conversation
thymikee
commented
Jan 9, 2023
Member
Thanks! Is this going to target RN 0.72 or a minor release in 0.71? |
huntie
commented
Jan 9, 2023
CollaboratorAuthor
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
commented
Feb 11, 2023
CollaboratorAuthor
Closing in favour of #1813. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
postProcessBundleSourcemapconfig 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
postProcessBundleSourcemapfrom config (react/metro@339794e)findcrawler on Windows (react/metro@735aa9f)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:
yarn.yarn test.