Skip to content

[0.79] Update Metro to ^0.82.0 #49892

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

Merged
merged 4 commits into from
Mar 8, 2025
Merged

Conversation

robhogan
Copy link
Contributor

@robhogan robhogan commented Mar 7, 2025

Summary:

Effectively picks:

  1. Update Metro dependencies to 0.82.0 #49885
  2. metro-config: Don't always assert import/require with unstable_enablePackageExports #49780

(1) Updates all metro* dependencies to the latest ^0.82.0.

The breaking changes in this release apply only to frameworks and integrators.

This update brings package.json#exports resolution enabled by default, and lazy hashing for much faster Metro startup.

Release notes:
https://github.com/facebook/metro/releases/tag/v0.82.0

(2) Is the new recommended config for unstable_conditionNames for Metro >=0.81.3 - we don't always assert require and import in every resolution, Metro now implicitly asserts import OR require depending on the the way the dependency is declared in the source file.

Changelog:
[General][Changed] Update Metro to ^0.82.0

Test plan

As in main

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner Pick Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants