-
Notifications
You must be signed in to change notification settings - Fork 696
Comparing changes
Open a pull request
base repository: react/metro
base: v0.81.3
head repository: react/metro
compare: v0.82.0
- 9 commits
- 37 files changed
- 4 contributors
Commits on Mar 3, 2025
-
Update actions/cache to v4 - fix
deploy-websiteworkflowSummary: `actions/cache` before 3.4 have been deprecated and cause actions to fail. This is currently breaking automated deployments. actions/cache#1510 Changelog: Internal Reviewed By: huntie Differential Revision: D70486750 fbshipit-source-id: e61d2805a0ac88db1651de600ceab8f1606bab59
Configuration menu - View commit details
-
Copy full SHA for 35a6b49 - Browse repository at this point
Copy the full SHA 35a6b49View commit details -
Remove CSSOM, IndexedDB, ServiceWorkers, Streams and WebAssembly from…
… XPlat-React type definitions Summary: Adjusts the type definitions in Metro to avoid depending on Web-specific APIs that aren't defined in Node.js. Reviewed By: SamChou19815 Differential Revision: D70316194 fbshipit-source-id: 063bd0c8c33e6ac3a4100c0ae2d1aab5c437be06
Configuration menu - View commit details
-
Copy full SHA for 199cc9d - Browse repository at this point
Copy the full SHA 199cc9dView commit details
Commits on Mar 4, 2025
-
Breaking: Enable
unstable_enablePackageExportsby default (#1448)Summary: Pull Request resolved: #1448 Metro 0.81.3 added support for `package.json#imports` and addressed the main outstanding issue with `package.json#exports` - correct assertion of the `import` or `require` condition. This flips `unstable_enablePackageExports` to `true` ahead of Metro 0.82.0 / RN 0.79-rc.0, which will allow some stabilisation time before this default reaches users. Since this potentially changes the way existing imports are resolved, I'm labelling it semver breaking out of an abundance of caution. I wouldn't expect this to be disruptive, especially because `unstable_enablePackageExports` is already widely enabled in practice. Leaving the flag in place so that anyone who runs into trouble has an escape hatch via `unstable_enablePackageExports: false`. This option will be removed in a later release. Changelog: ``` - **[Breaking]**: Enable support for `package.json#exports` resolution by default. ``` Reviewed By: huntie Differential Revision: D70463018 fbshipit-source-id: f207b691b54ea8aaea3415002c20f79f54c5e6f7
Configuration menu - View commit details
-
Copy full SHA for 141946c - Browse repository at this point
Copy the full SHA 141946cView commit details -
Fix package-imports-test on Windows (#1450)
Summary: Pull Request resolved: #1450 Use the Metro `p` posix => system path convention to make `package-imports-test` platform agnostic and restore it on Windows. Changelog: Internal Reviewed By: vzaidman Differential Revision: D70544964 fbshipit-source-id: 603f6a74b0a6619f181fd84f398df55ca2afbee1
Configuration menu - View commit details
-
Copy full SHA for bcc2e28 - Browse repository at this point
Copy the full SHA bcc2e28View commit details -
fix type on the flow types for "chalk"
Summary: X-link: react/react-native#49814 `bgWhiteBrigh + t = bgWhiteBright` seems like no one was using `chalk.bgWhiteBright` before me :) Changelog: [General][Internal] fix type on the flow types for "chalk" Reviewed By: huntie, hoxyq Differential Revision: D70403987 fbshipit-source-id: 34f65e57fbb2eeadd6030557e0499db0b2603b38
Configuration menu - View commit details
-
Copy full SHA for 49fcf84 - Browse repository at this point
Copy the full SHA 49fcf84View commit details
Commits on Mar 5, 2025
-
Summary: X-link: react/react-native#49825 Changelog: [Internal] Reviewed By: pieterv Differential Revision: D70595199 fbshipit-source-id: a3be1b74cca99f0ff79aca4dd51059b3b09facb2
Configuration menu - View commit details
-
Copy full SHA for cf7fe9f - Browse repository at this point
Copy the full SHA cf7fe9fView commit details -
Breaking: Enable lazy hashing by default, changes to Transformer and …
…DependencyGraph APIs (#1451) Summary: Pull Request resolved: #1451 Lazy hashing was released in Metro 0.81.2 as an opt-in. It significantly reduces the IO Metro needs to perform on startup and generally improves cold start speed >3x, while being fully compatible with cache lookups even on a cold start. {F1975587641} (We announced this in https://x.com/MetroBundler/status/1895102434889850960 ) There's very little risk to this feature - the technically-breaking change required only affects integrators using an "internal" API - instantiating a `Transformer`. This flips it to default-on ahead of Metro 0.82.0 Changelog: ``` - **[Breaking]**: Integrators consuming `metro/src/DeltaBundler/Transformer` must now pass an options object with `getOrComputeSha1` - **[Breaking]**: `getSha1` removed from `metro/src/node-haste/DependencyGraph`, prefer `getOrComputeSha1` - **[Performance]**: Enable lazy file hashing by default (disable with `watcher.unstable_lazySha1: false`) ``` Reviewed By: huntie Differential Revision: D70463022 fbshipit-source-id: bf0fec70eaab4960142f260703a349d422cecf0a
Configuration menu - View commit details
-
Copy full SHA for e667aa3 - Browse repository at this point
Copy the full SHA e667aa3View commit details
Commits on Mar 6, 2025
-
update and dedupe the npm package "debug"
Summary: X-link: react/react-native#49816 Previously, we had different versions of "debug" installed in different packages, mostly because of messed up `yarn.lock` entries. Also, updated the package, receiving some performance improvements (no relevant breaking changes). Changelog: [General][Internal] update and dedupe the npm package "debug" Reviewed By: huntie Differential Revision: D70402368 fbshipit-source-id: 5e21bc6d92e0cb45ac1d862f100ef6dc0f21dbc1
Configuration menu - View commit details
-
Copy full SHA for 1579c3a - Browse repository at this point
Copy the full SHA 1579c3aView commit details -
Summary: Pull Request resolved: #1456 Publish Metro 0.82.0 Reviewed By: huntie Differential Revision: D70473286 fbshipit-source-id: ee289dfaf565ac476c1b36825a428e6381e2677f
Configuration menu - View commit details
-
Copy full SHA for 18db683 - Browse repository at this point
Copy the full SHA 18db683View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.81.3...v0.82.0