Update dependency metro to ^0.87.0 #10

Open
renovate-bot wants to merge 1 commit from renovate/metro-0.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
metro (source) devDependencies minor ^0.81.1^0.87.0

Release Notes

react/metro (metro)

v0.87.0

Compare Source

  • [Breaking]: Widen Resolution union returned by resolvers to allow type: 'virtualModule', pending implementation. (8336654 by @​robhogan)
  • [Feature]: allowOptionalDependencies defaults to true to align with RN and Expo (#​1775 by @​robhogan)
  • [Fix]: Preserve accumulated and trailing config state when mergeConfig encounters an async config in a config chain (#​1754 by @​durvesh1992)
  • [Performance] Don't rename require in bundle output, improve cold build time ~5%`(TBD by @​robhogan)

NOTE: Experimental features are not covered by semver and can change at any time.

  • [Experimental]: experimentalImportSupport: Support namespace re-exports, such as export * as Name from "module" (#​1768 by @​robhogan and @​krystofwoldrich)
  • [Experimental]: experimentalImportSupport: Fix exports renamed by destructuring, and support exports of rest spreads (#​1772 by @​robhogan)
  • [Experimental]: experimentalImportSupport: Fix precedence so explicit export default and named exports win over export * from (#​1773 by @​robhogan)
  • [Experimental]: experimentalImportSupport: Evaluate export from dependencies in the module prelude instead of within or after the module body (#​1774 by @​robhogan)

Full Changelog: https://github.com/react/metro/compare/v0.86.0...v0.87.0

v0.86.0

Compare Source

Full Changelog: https://github.com/react/metro/compare/v0.85.0...v0.86.0

v0.85.0

Compare Source

  • [Breaking]: Raise minimum supported Node.js version to 22 (#​1715 by @​huntie)
  • [Feature]: Implement PACKAGE_SELF_RESOLVE for self-referencing imports in the resolver (#​1721 by @​robhogan)
  • [Fix]: Add ESM unwrapping to all CommonJS require calls (#​1675 by @​kitten)
  • [Fix]: Fix Windows cross-drive path resolution in metro-file-map (#​1711 by @​kitten)
  • [Fix]: Fix "browser"-spec bare-specifier → relative path redirects for nested and first-party package.jsons (#​1720 by @​robhogan)
  • [Fix]: Gracefully reject illegal "browser"-spec redirects of a bare specifier to an absolute path (e1f4d61 by @​robhogan)
  • [Performance]: Avoid intermediate allocations in matchSubpathFromMainFields, improving overall resolver performance ~5% (9341463 by @​robhogan)

Full Changelog: https://github.com/react/metro/compare/v0.84.4...v0.85.0

v0.84.4

Compare Source

  • [Feature]: Support /[metro-watchFolders]/n/ paths for .bundle and .map requests (facebook#1695 by @​huntie)
  • [Fix]: Fix regression to allow scale assets to be resolved again for single asset requests (facebook#1694 by @​kitten)
  • [Fix]: Treat import().catch(), etc. as optional under transformer.allowOptionalDependencies (facebook#1697 by @​robhogan)
  • [Performance]: Interleave resolution attempts with building node_modules candidate paths (facebook#1680 by @​kitten)

Full Changelog: https://github.com/facebook/metro/compare/v0.84.3...v0.84.4

v0.84.3

Compare Source

NOTE: Experimental features are not covered by semver and can change at any time.

Full Changelog: https://github.com/facebook/metro/compare/v0.84.2...v0.84.3

v0.84.2

Compare Source

Full changelog: https://github.com/facebook/metro/compare/v0.84.1...v0.84.2

v0.84.1

Compare Source

  • [Fix] sync bundling progress between Metro cli and app hints (34ca6a6 by @​vzaidman)
  • [Feature] config.server.tls now sets Metro to be exposed as an https server (35ff94b by @​vzaidman)

Full Changelog: https://github.com/facebook/metro/compare/v0.84.0...v0.84.1

v0.84.0

Compare Source

Full Changelog: https://github.com/facebook/metro/compare/v0.83.4...v0.84.0

v0.83.7

Compare Source

This release is on the 0.83.x branch

  • [Feature]: Support /[metro-watchFolders]/n/ paths for .bundle and .map requests (facebook#1695 by @​huntie)
  • [Fix]: Fix regression to allow scale assets to be resolved again for single asset requests (facebook#1694 by @​kitten)
  • [Fix]: Treat import().catch(), etc. as optional under transformer.allowOptionalDependencies (facebook#1697 by @​robhogan)
  • [Performance]: Interleave resolution attempts with building node_modules candidate paths (facebook#1680 by @​kitten)

Full Changelog: https://github.com/facebook/metro/compare/v0.83.6...v0.83.7

v0.83.6

Compare Source

This release is on the 0.83.x branch

NOTE: Experimental features are not covered by semver and can change at any time.

v0.83.5

Compare Source

This is a hotfix on the 0.83.x branch.

Full Changelog: https://github.com/facebook/metro/compare/v0.83.4...v0.83.5

v0.83.4

Compare Source

Full Changelog: https://github.com/facebook/metro/compare/v0.83.3...v0.83.4

v0.83.3

Compare Source

Full Changelog: https://github.com/facebook/metro/compare/v0.83.2...v0.83.3

v0.83.2

Compare Source

Full Changelog: https://github.com/facebook/metro/compare/v0.83.1...v0.83.2

v0.83.1

Compare Source

v0.83.0

Compare Source

Full Changelog: https://github.com/facebook/metro/compare/v0.82.5...v0.83.0

v0.82.5

Compare Source

NOTE: Experimental features are not covered by semver and can change at any time.

Full Changelog: https://github.com/facebook/metro/compare/v0.82.4...v0.82.5

v0.82.4

Compare Source

Full Changelog: https://github.com/facebook/metro/compare/v0.82.3...v0.82.4

v0.82.3

Compare Source

Full Changelog: https://github.com/facebook/metro/compare/v0.82.2...v0.82.3

v0.82.2

Compare Source

Full Changelog: https://github.com/facebook/metro/compare/v0.82.1...v0.82.2

v0.82.1

Compare Source

Full Changelog: https://github.com/facebook/metro/compare/v0.82.0...v0.82.1

v0.82.0

Compare Source

  • [Breaking/Feature]: Enable support for package.json#exports resolution by default. (facebook#1448 by @​robhogan)
  • [Breaking]: Integrators consuming metro/src/DeltaBundler/Transformer must now pass an options object with getOrComputeSha1 (facebook#1451 by @​robhogan)
  • [Breaking]: metro/src/node-haste/DependencyGraph.getSha1 has been removed, prefer getOrComputeSha1 (facebook#1451 by @​robhogan)
  • [Performance]: Enable lazy file hashing by default, disable with watcher.unstable_lazySha1: false (facebook#1451 by @​robhogan)

Full Changelog: https://github.com/facebook/metro/compare/v0.81.3...v0.82.0

v0.81.5

Compare Source

This is a hotfix on the 0.81.x branch.

This release fixes two issues with unstable_enablePackageExports, which is experimental and opt-in in Metro 0.81.

NOTE: Experimental features are not covered by semver and can change at any time.

  • [Experimental]: importLocationPlugin: Fix non-deterministic false identification of ESM imports (facebook@55ed2ee by @​byCedric)
  • [Experimental]: collectDepedencies: Fix one-line export from files triggering _interopRequireDefault is not a function (facebook@5f79ce8 by @​byCedric)

Full Changelog: https://github.com/facebook/metro/compare/v0.81.4...v0.81.5

v0.81.4

Compare Source

This is a hotfix on the 0.81.x branch.

This release fixes a number of issues with unstable_enablePackageExports.

NOTE: Experimental features are not covered by semver and can change at any time.

  • [Experimental]: Fix wildcard pattern precedence in package.json imports/exports resolution (facebook@38ef15d by @​robhogan)
  • [Experimental]: Fix edge-case overmatching of pattern keys in package.json exports/imports resolution. (facebook@bd9d16c by @​robhogan)
  • [Experimental]: Fix handling of export map targets with zero or 2+ wildcard characters in package.json imports/exports resolution (facebook@72b703b by @​robhogan)
  • [Experimental]: Restore compat with configs that set unstable_conditionNames: ['import'], fix _interopRequireDefault is not a function (facebook@8277623 by @​robhogan)

Full Changelog: https://github.com/facebook/metro/compare/v0.81.3...v0.81.4

v0.81.3

Compare Source

NOTE: Experimental features are not covered by semver and can change at any time.

  • [Experimental]: With unstable_enablePackageExports, assert exactly one of the conditions import/require according to source syntax. (facebook#1477 by @​robhogan)
  • [Experimental]: Fix global package resolution with unstable_lazySha1 (facebook@42ec821 by @​robhogan)

Full Changelog: https://github.com/facebook/metro/compare/v0.81.2...v0.81.3

v0.81.2

Compare Source

NOTE: Experimental features are not covered by semver and can change at any time.

  • [Experimental]: Auto-save file cache via config.watcher.unstable_autoSaveCache. (facebook#1434 by @​robhogan)
  • [Experimental]: Add watcher.unstable_lazySha1 to defer SHA1 calculation until files are needed by the transformer. (facebook#1435 by @​robhogan)
  • [Experimental]: Expose deep imports of Metro packages (metro/src/x.js as metro/private/x) as explicitly private (non-semver). (facebook#1441 by @​robhogan)

Full Changelog: https://github.com/facebook/metro/compare/v0.81.1...v0.81.2


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [metro](https://github.com/react/metro) ([source](https://github.com/react/metro/tree/HEAD/packages/metro)) | devDependencies | minor | [`^0.81.1` → `^0.87.0`](https://renovatebot.com/diffs/npm/metro/0.81.1/0.87.0) | --- ### Release Notes <details> <summary>react/metro (metro)</summary> ### [`v0.87.0`](https://github.com/react/metro/releases/tag/v0.87.0) [Compare Source](https://github.com/react/metro/compare/v0.86.0...v0.87.0) - **\[Breaking]**: Widen `Resolution` union returned by resolvers to allow `type: 'virtualModule'`, pending implementation. ([`8336654`](https://github.com/react/metro/commit/8336654cd1416a80898b220102dae89ceef892fe) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Feature]**: `allowOptionalDependencies` defaults to `true` to align with RN and Expo ([#&#8203;1775](https://github.com/react/metro/pull/1775) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Preserve accumulated and trailing config state when `mergeConfig` encounters an async config in a config chain ([#&#8203;1754](https://github.com/react/metro/pull/1754) by [@&#8203;durvesh1992](https://github.com/durvesh1992)) - **\[Performance]** Don't rename `require` in bundle output, improve cold build time \~5%\`(TBD by [@&#8203;robhogan](https://github.com/robhogan)) > NOTE: Experimental features are not covered by semver and can change at any time. - **\[Experimental]**: `experimentalImportSupport`: Support namespace re-exports, such as `export * as Name from "module"` ([#&#8203;1768](https://github.com/react/metro/pull/1768) by [@&#8203;robhogan](https://github.com/robhogan) and [@&#8203;krystofwoldrich](https://github.com/krystofwoldrich)) - **\[Experimental]**: `experimentalImportSupport`: Fix exports renamed by destructuring, and support exports of rest spreads ([#&#8203;1772](https://github.com/react/metro/pull/1772) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Experimental]**: `experimentalImportSupport`: Fix precedence so explicit `export default` and named exports win over `export * from` ([#&#8203;1773](https://github.com/react/metro/pull/1773) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Experimental]**: `experimentalImportSupport`: Evaluate `export from` dependencies in the module prelude instead of within or after the module body ([#&#8203;1774](https://github.com/react/metro/pull/1774) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/react/metro/compare/v0.86.0...v0.87.0> ### [`v0.86.0`](https://github.com/react/metro/releases/tag/v0.86.0) [Compare Source](https://github.com/react/metro/compare/v0.85.0...v0.86.0) - **\[Breaking]**: Metro now always emits whole-bundle source maps as [index maps](https://tc39.es/ecma426/#sec-index-source-map), and stores each module's map internally as a `VlqMap` ([#&#8203;1764](https://github.com/react/metro/pull/1764), [#&#8203;1765](https://github.com/react/metro/pull/1765) by [@&#8203;robhogan](https://github.com/robhogan)). Custom serialisers/transformers must consume/provide [`VlqMap`](https://github.com/react/metro/blob/v0.86.0/packages/metro-source-map/types/source-map.d.ts#L46-L49) mappings, not tuples. - **\[Breaking]**: Remove deprecated default exports from public entry points ([#&#8203;1759](https://github.com/react/metro/pull/1759) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Breaking]**: Remove support for deprecated YAML and `.es6` config files ([#&#8203;1752](https://github.com/react/metro/pull/1752) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Breaking]**: Remove long-deprecated `resolver.blacklistRE` config in favour of `blockList` ([#&#8203;1758](https://github.com/react/metro/pull/1758) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Fix `HttpStore` write retries incorrectly using the read endpoint's config ([#&#8203;1751](https://github.com/react/metro/pull/1751) by [@&#8203;durvesh1992](https://github.com/durvesh1992)) - **\[Performance]**: Source maps work makes Metro use **50% less memory** and serve source maps 2x faster, for faster RNDT loads ([#&#8203;1741](https://github.com/react/metro/pull/1741), [#&#8203;1742](https://github.com/react/metro/pull/1742), [#&#8203;1743](https://github.com/react/metro/pull/1743), [#&#8203;1760](https://github.com/react/metro/pull/1760), [#&#8203;1763](https://github.com/react/metro/pull/1763), [#&#8203;1764](https://github.com/react/metro/pull/1764), [#&#8203;1765](https://github.com/react/metro/pull/1765) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/react/metro/compare/v0.85.0...v0.86.0> ### [`v0.85.0`](https://github.com/react/metro/releases/tag/v0.85.0) [Compare Source](https://github.com/react/metro/compare/v0.84.4...v0.85.0) - **\[Breaking]**: Raise minimum supported Node.js version to 22 ([#&#8203;1715](https://github.com/react/metro/pull/1715) by [@&#8203;huntie](https://github.com/huntie)) - **\[Feature]**: Implement `PACKAGE_SELF_RESOLVE` for self-referencing imports in the resolver ([#&#8203;1721](https://github.com/react/metro/pull/1721) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Add ESM unwrapping to all CommonJS `require` calls ([#&#8203;1675](https://github.com/react/metro/pull/1675) by [@&#8203;kitten](https://github.com/kitten)) - **\[Fix]**: Fix Windows cross-drive path resolution in `metro-file-map` ([#&#8203;1711](https://github.com/react/metro/pull/1711) by [@&#8203;kitten](https://github.com/kitten)) - **\[Fix]**: Fix `"browser"`-spec bare-specifier → relative path redirects for nested and first-party `package.json`s ([#&#8203;1720](https://github.com/react/metro/pull/1720) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Gracefully reject illegal `"browser"`-spec redirects of a bare specifier to an absolute path ([`e1f4d61`](https://github.com/react/metro/commit/e1f4d61842a99cd3f8cde0e8cfd135210d6fec3d) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Performance]**: Avoid intermediate allocations in `matchSubpathFromMainFields`, improving overall resolver performance \~5% ([`9341463`](https://github.com/react/metro/commit/9341463424ef7753d2d17ef0d6943f3610a4e23a) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/react/metro/compare/v0.84.4...v0.85.0> ### [`v0.84.4`](https://github.com/react/metro/releases/tag/v0.84.4) [Compare Source](https://github.com/react/metro/compare/v0.84.3...v0.84.4) - **\[Feature]**: Support `/[metro-watchFolders]/n/` paths for `.bundle` and `.map` requests ([facebook#1695](https://github.com/facebook/metro/pull/1695) by [@&#8203;huntie](https://github.com/huntie)) - **\[Fix]**: Fix regression to allow scale assets to be resolved again for single asset requests ([facebook#1694](https://github.com/facebook/metro/pull/1694) by [@&#8203;kitten](https://github.com/kitten)) - **\[Fix]**: Treat `import().catch()`, etc. as optional under `transformer.allowOptionalDependencies` ([facebook#1697](https://github.com/facebook/metro/pull/1697) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Performance]**: Interleave resolution attempts with building node\_modules candidate paths ([facebook#1680](https://github.com/facebook/metro/pull/1680) by [@&#8203;kitten](https://github.com/kitten)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.84.3...v0.84.4> ### [`v0.84.3`](https://github.com/react/metro/releases/tag/v0.84.3) [Compare Source](https://github.com/react/metro/compare/v0.84.2...v0.84.3) - **\[Feature]**: Add keepalive "heartbeat" message to Fast Refresh connections ([facebook#1685](https://github.com/facebook/metro/pull/1685) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Feature]**: Add `changeId` metadata on HMRClient `update-done` messages ([facebook@`1585e44`](https://github.com/facebook/metro/commit/1585e444284f) by [@&#8203;huntie](https://github.com/huntie)) - **\[Feature]:** `config.server.tls` now sets Metro to be exposed as an https server ([#&#8203;1657](https://github.com/react/metro/issues/1657) by [@&#8203;vzaidman](https://github.com/vzaidman)) - **\[Fix]:** sync bundling progress between Metro cli and app hints ([`34ca6a6`](https://github.com/react/metro/commit/34ca6a6f621521a0780a54eeb32384b4f9c2f8ff) by [@&#8203;vzaidman](https://github.com/vzaidman)) - **\[Fix]**: Include user-defined Babel config in transformer cache key to ensure correctness ([facebook#1638](https://github.com/facebook/metro/pull/1638) by [@&#8203;evanbacon](https://github.com/evanbacon)) - **\[Fix]**: Detection of contents of directories moved or cloned into a watched location ([facebook#1660](https://github.com/facebook/metro/pull/1660) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Correctly detect contents as removed when a watched directory is moved, on macOS without Watchman ([facebook@`c9e9fe6`](https://github.com/facebook/metro/commit/c9e9fe64a77c) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Performance]**: Optimize `PackageCache`: use `Map`/`Set`, cache null results, eliminate per-hit allocations ([facebook@`877b64e`](https://github.com/facebook/metro/commit/877b64ea5967) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Types]**: Restore type exports from `metro` that were previously TypeScript-specific ([facebook#1672](https://github.com/facebook/metro/pull/1672) by [@&#8203;robhogan](https://github.com/robhogan)) > NOTE: Experimental features are not covered by semver and can change at any time. - **\[Experimental]**: Add `config.unstable_fileMapPlugins` ([facebook@`567aa8b`](https://github.com/facebook/metro/commit/567aa8b62b95) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.84.2...v0.84.3> ### [`v0.84.2`](https://github.com/react/metro/releases/tag/v0.84.2) [Compare Source](https://github.com/react/metro/compare/v0.84.1...v0.84.2) - **\[Types]**: Restore publishing of TypeScript types to npm ([facebook#1662](https://github.com/facebook/metro/pull/1662) by [@&#8203;robhogan](https://github.com/robhogan)) Full changelog: <https://github.com/facebook/metro/compare/v0.84.1...v0.84.2> ### [`v0.84.1`](https://github.com/react/metro/releases/tag/v0.84.1) [Compare Source](https://github.com/react/metro/compare/v0.84.0...v0.84.1) - **\[Fix]** sync bundling progress between Metro cli and app hints ([`34ca6a6`](https://github.com/react/metro/commit/34ca6a6f621521a0780a54eeb32384b4f9c2f8ff) by [@&#8203;vzaidman](https://github.com/vzaidman)) - **\[Feature]** `config.server.tls` now sets Metro to be exposed as an https server ([`35ff94b`](https://github.com/react/metro/commit/35ff94bec847b3ef6ea5f9d81a368cff4df64926) by [@&#8203;vzaidman](https://github.com/vzaidman)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.84.0...v0.84.1> ### [`v0.84.0`](https://github.com/react/metro/releases/tag/v0.84.0) [Compare Source](https://github.com/react/metro/compare/v0.83.7...v0.84.0) - **\[Breaking]:** Drop support for Node v21, v23, and LTS minors released before v20.19 ([facebook@`b85f7fe`](https://github.com/facebook/metro/commit/b85f7feaba4160000c00e83e6949ad0343b8248a) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.83.4...v0.84.0> ### [`v0.83.7`](https://github.com/react/metro/releases/tag/v0.83.7) [Compare Source](https://github.com/react/metro/compare/v0.83.6...v0.83.7) *This release is on the [`0.83.x`](https://github.com/facebook/metro/tree/0.83.x) branch* - **\[Feature]**: Support `/[metro-watchFolders]/n/` paths for `.bundle` and `.map` requests ([facebook#1695](https://github.com/facebook/metro/pull/1695) by [@&#8203;huntie](https://github.com/huntie)) - **\[Fix]**: Fix regression to allow scale assets to be resolved again for single asset requests ([facebook#1694](https://github.com/facebook/metro/pull/1694) by [@&#8203;kitten](https://github.com/kitten)) - **\[Fix]**: Treat `import().catch()`, etc. as optional under `transformer.allowOptionalDependencies` ([facebook#1697](https://github.com/facebook/metro/pull/1697) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Performance]**: Interleave resolution attempts with building node\_modules candidate paths ([facebook#1680](https://github.com/facebook/metro/pull/1680) by [@&#8203;kitten](https://github.com/kitten)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.83.6...v0.83.7> ### [`v0.83.6`](https://github.com/react/metro/releases/tag/v0.83.6) [Compare Source](https://github.com/react/metro/compare/v0.83.5...v0.83.6) *This release is on the [`0.83.x`](https://github.com/facebook/metro/tree/0.83.x) branch* - **\[Feature]**: Add keepalive "heartbeat" message to Fast Refresh connections ([facebook#1685](https://github.com/facebook/metro/pull/1685) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Feature]**: Add `changeId` metadata on HMRClient `update-done` messages ([facebook@`1585e44`](https://github.com/facebook/metro/commit/1585e444284f) by [@&#8203;huntie](https://github.com/huntie)) - **\[Fix]**: Include user-defined Babel config in transformer cache key to ensure correctness ([facebook#1638](https://github.com/facebook/metro/pull/1638) by [@&#8203;evanbacon](https://github.com/evanbacon)) - **\[Fix]**: Detection of contents of directories moved or cloned into a watched location ([facebook#1660](https://github.com/facebook/metro/pull/1660) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Correctly detect contents as removed when a watched directory is moved, on macOS without Watchman ([facebook@`c9e9fe6`](https://github.com/facebook/metro/commit/c9e9fe64a77c) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Performance]**: Optimize `PackageCache`: use `Map`/`Set`, cache null results, eliminate per-hit allocations ([facebook@`877b64e`](https://github.com/facebook/metro/commit/877b64ea5967) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Types]**: Restore type exports from `metro` that were previously TypeScript-specific ([facebook#1672](https://github.com/facebook/metro/pull/1672) by [@&#8203;robhogan](https://github.com/robhogan)) > NOTE: Experimental features are not covered by semver and can change at any time. - **\[Experimental]**: Add `config.unstable_fileMapPlugins` ([facebook@`567aa8b`](https://github.com/facebook/metro/commit/567aa8b62b95) by [@&#8203;robhogan](https://github.com/robhogan)) ### [`v0.83.5`](https://github.com/react/metro/releases/tag/v0.83.5) [Compare Source](https://github.com/react/metro/compare/v0.83.4...v0.83.5) *This is a hotfix on the [`0.83.x`](https://github.com/facebook/metro/tree/0.83.x) branch.* - **\[Feature]:** `config.server.tls` now sets Metro to be exposed as an https server ([#&#8203;1657](https://github.com/react/metro/issues/1657) by [@&#8203;vzaidman](https://github.com/vzaidman)) - **\[Fix]:** sync bundling progress between Metro cli and app hints ([`34ca6a6`](https://github.com/react/metro/commit/34ca6a6f621521a0780a54eeb32384b4f9c2f8ff) by [@&#8203;vzaidman](https://github.com/vzaidman)) - **\[Types]**: Restore accidentally removed publication of TypeScript types ([#&#8203;1662](https://github.com/react/metro/issues/1662) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.83.4...v0.83.5> ### [`v0.83.4`](https://github.com/react/metro/releases/tag/v0.83.4) [Compare Source](https://github.com/react/metro/compare/v0.83.3...v0.83.4) - **\[Feature]:** Inline `Platform.OS`/`Platform.select` for variables bound to `require('react-native')`. ([facebook#1641](https://github.com/facebook/metro/pull/1641) by [@&#8203;thymikee](https://github.com/thymikee)) - **\[Feature]:** Add a keepalive mechanism to Fast Refresh connections to improve stability in some proxied setups ([facebook@`f7ab6f9`](https://github.com/facebook/metro/commit/f7ab6f9d577fa10c21a6bbee6c52fae21ad562d3) by [@&#8203;vzaidman](https://github.com/vzaidman)) - **\[Fix]:** Undo accidentally increased strictness of `content-type` for `/symbolicate` ([facebook#1630](https://github.com/facebook/metro/pull/1630) by [@&#8203;MorvanL](https://github.com/MorvanL)) - **\[Fix]:** metro-babel-transformer: Don't set BABEL\_ENV as a side-effect ([facebook@`de59fcc`](https://github.com/facebook/metro/commit/de59fcc3bb3e10ae433237cf4f017dbaaf89d338) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]:** metro-config: Fix absolute path error on Windows masking actionable config loading errors ([facebook#1620](https://github.com/facebook/metro/pull/1620) by [@&#8203;kitten](https://github.com/kitten)) - **\[Fix]:** Only return a symbolicated code frame for files that are in the project ([facebook@`e31e11c`](https://github.com/facebook/metro/commit/e31e11c92540f8179ee4eaa55266ff20fe7db5c6) by [@&#8203;motiz88](https://github.com/motiz88)) - **\[Fix]:** Only serve assets that are in the project ([facebook#1643](https://github.com/facebook/metro/pull/1643) by [@&#8203;fabriziocucci](https://github.com/fabriziocucci)) - **\[Performance]:** Use worker threads for processing file changes on startup, significantly faster on Windows. ([facebook#1639](https://github.com/facebook/metro/pull/1639) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Types]:** Automatic, comprehensive TypeScript types for all packages. ([facebook#1611](https://github.com/facebook/metro/pull/1611), [facebook#1648](https://github.com/facebook/metro/pull/1648), [facebook#1621](https://github.com/facebook/metro/pull/1621), etc by [@&#8203;nickhudkins](https://github.com/nickhudkins), [@&#8203;pafry7](https://github.com/pafry7) and [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.83.3...v0.83.4> ### [`v0.83.3`](https://github.com/react/metro/releases/tag/v0.83.3) [Compare Source](https://github.com/react/metro/compare/v0.83.2...v0.83.3) - **\[Feature]**: Accept functions as arguments to `mergeConfig`. ([facebook#1580](https://github.com/facebook/metro/pull/1580) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Fix regression loading config files that export a promise. ([facebook#1586](https://github.com/facebook/metro/pull/1586) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Don't obscure errors parsing/evaluating metro.config.js. ([facebook@`af3bcca`](https://github.com/facebook/metro/commit/af3bccabf0c67e93f1090fdc2b7c653d9e707495) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Fix `mergeConfig` handling of 2+ partial configs. ([facebook@`a99067f`](https://github.com/facebook/metro/commit/a99067f6918831411bb8a721f65ca9c1cae8d355) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.83.2...v0.83.3> ### [`v0.83.2`](https://github.com/react/metro/releases/tag/v0.83.2) [Compare Source](https://github.com/react/metro/compare/v0.83.1...v0.83.2) - **\[Feature]** Support ESM `metro.config.js` / `metro.config.mjs` ([facebook#1557](https://github.com/facebook/metro/pull/1557) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Feature]** Support Metro config at `.config/metro.js` (etc.), as well as `metro.config.js` ([facebook#1558](https://github.com/facebook/metro/pull/1558) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Feature]** Support loading TypeScript `metro.config.ts` files when using Node.js/Bun versions that natively support it ([facebook#1560](https://github.com/facebook/metro/pull/1560) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Feature]** Expose `globalPrefix` to `getRunModuleStatement` ([facebook#1566](https://github.com/facebook/metro/pull/1566) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Feature]** Set a definite bundle sourcemap's url protocol instead of using relative protocols ([facebook@`d0c89e5`](https://github.com/facebook/metro/commit/d0c89e5e09679a7135a71bb614a19e0e9e81ddf1) by [@&#8203;vzaidman](https://github.com/vzaidman)) - **\[Feature]** Respect "x-forwarded-host" and "x-forwarded-proto" when calculating asset url for asset requests ([facebook@`d0c89e5`](https://github.com/facebook/metro/commit/d0c89e5e09679a7135a71bb614a19e0e9e81ddf1) by [@&#8203;vzaidman](https://github.com/vzaidman)) - **\[Fix]** `module.verboseName` (dev builds only) now uses posix separators regardless of the OS the bundle is built on ([facebook#1568](https://github.com/facebook/metro/pull/1568) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]** Fix build/serve cache incompatibility by removing unused `hot` param ([facebook#1567](https://github.com/facebook/metro/pull/1567) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]** Replaced the deprecated `url.parse` with `URL` and correctly encode and decode source urls and source map urls ([facebook#1548](https://github.com/facebook/metro/pull/1548) by [@&#8203;vzaidman](https://github.com/vzaidman)) - **\[Fix]** Support non-ASCII filesystem bundle paths ([facebook#1538](https://github.com/facebook/metro/pull/1538) by [@&#8203;bradleyayers](https://github.com/bradleyayers)) - **\[Fix]** Only print symbolication errors in debug ([facebook#1573](https://github.com/facebook/metro/pull/1573) by [@&#8203;krystofwoldrich](https://github.com/krystofwoldrich)) - **\[Fix]** Fix metro-runtime's fast refresh checks to not skip over getters for ES modules ([facebook#1575](https://github.com/facebook/metro/pull/1575) by [@&#8203;kitten](https://github.com/kitten)) - **\[Deprecated]**: metro-cache: Deprecate AutoCleanFileStore ([facebook#1570](https://github.com/facebook/metro/pull/1570) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.83.1...v0.83.2> ### [`v0.83.1`](https://github.com/react/metro/releases/tag/v0.83.1) [Compare Source](https://github.com/react/metro/compare/v0.83.0...v0.83.1) - **\[Feature]** Restore support for Node.js >= 20.19.4 ([facebook#1537](https://github.com/facebook/metro/pull/1537) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.83.0...v0.83.1> ### [`v0.83.0`](https://github.com/react/metro/releases/tag/v0.83.0) [Compare Source](https://github.com/react/metro/compare/v0.82.5...v0.83.0) - **\[Breaking]**: Require Node.js >= 22.14.0. ([facebook#1531](https://github.com/facebook/metro/pull/1531) by [@&#8203;robhogan](https://github.com/robhogan)) *(NOTE: Lowered to 20.19.4 in Metro 0.83.1)* - **\[Breaking]**: Remove undocumented `transformer.workerPath` config. ([facebook@`49f7aac`](https://github.com/facebook/metro/commit/49f7aac38c63e44f7238fa6cb95410e4938fb08d) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Breaking]**: Prevent importing from `/src/`, make all non-root exports semver-private, except `metro-runtime`. ([facebook@`ae6f423`](https://github.com/facebook/metro/commit/ae6f42372ed361611b5672705f22081c2022cf28) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Breaking]**: `Metro.runServer` - return an object containing `httpServer` rather than the server instance directly. ([facebook@`95867ce`](https://github.com/facebook/metro/commit/95867cedbf65acbd434f09494b9f01d2df354dd9) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Breaking]**: `metro-babel-register`, `buck-worker-tool`, `metro-cache-key`: Used named exports instead of exporting a default function. ([facebook@`f225bf1`](https://github.com/facebook/metro/commit/f225bf1f6cf2033daf5c24acb6e719d5c3d3e1b8), [facebook@`69bde93`](https://github.com/facebook/metro/commit/69bde938d50f495a073c9d7d892565ecc825f53e), [facebook@`3430036`](https://github.com/facebook/metro/commit/343003684b8303258793767ca745f30e2eb92a6f) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Removed]**: `metro-memory-fs` will no longer be published. ([facebook@`02104f8`](https://github.com/facebook/metro/commit/02104f833a03462468f9b2c07c12b4f16c2806df) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.82.5...v0.83.0> ### [`v0.82.5`](https://github.com/react/metro/releases/tag/v0.82.5) [Compare Source](https://github.com/react/metro/compare/v0.82.4...v0.82.5) - **\[Feature]**: Allow reuse of `ReactRefresh` instance across multiple module systems by prefixing more globals and IDs ([facebook#1513](https://github.com/facebook/metro/pull/1513) by [@&#8203;jbroma](https://github.com/jbroma)) - **\[Feature]**: Add `"type": "UnableToResolveError"` to JSON server responses on resolution failures. ([facebook@`6f0093c`](https://github.com/facebook/metro/commit/6f0093c4cdc597dbbde8b22b159b9cb0b7912865) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Feature]**: Export `JsonReporter` from `metro`'s package root. ([facebook@`6f0093c`](https://github.com/facebook/metro/commit/6f0093c4cdc597dbbde8b22b159b9cb0b7912865) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Performance]**: `runBuild` API / `build` CLI - Avoid a second graph traversal when enumerating assets. ([facebook#1511](https://github.com/facebook/metro/pull/1511) by [@&#8203;tido64](https://github.com/tido64)) - **\[Fix]**: Fix incorrect modules being loaded when optional dependencies are used. ([facebook#1522](https://github.com/facebook/metro/pull/1522) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Don't overwrite `$RefreshReg$`, e.g. when multiple module systems are overlayed. ([facebook#1510](https://github.com/facebook/metro/pull/1510) by [@&#8203;jbroma](https://github.com/jbroma)) > NOTE: Experimental features are not covered by semver and can change at any time. - **\[Experimental]**: Opt-in module factory optimisation for Static Hermes. ([facebook@`c37509b`](https://github.com/facebook/metro/commit/c37509b77d9f50346db5f3105805d10d34bfcb1b) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.82.4...v0.82.5> ### [`v0.82.4`](https://github.com/react/metro/releases/tag/v0.82.4) [Compare Source](https://github.com/react/metro/compare/v0.82.3...v0.82.4) - **\[Feature]** `runBuild`: Add optional `bundleOut` and `sourceMapOut` arguments to exactly specify output paths ([facebook@`a6f2bdc`](https://github.com/facebook/metro/commit/a6f2bdc6143e0963cfecc943d0c3396b6a6ce78b) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Don't constant-fold potentially side-effectful void expressions ([facebook#1506](https://github.com/facebook/metro/pull/1506) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.82.3...v0.82.4> ### [`v0.82.3`](https://github.com/react/metro/releases/tag/v0.82.3) [Compare Source](https://github.com/react/metro/compare/v0.82.2...v0.82.3) - **\[Feature]**: runBuild: add `assets` option to return an asset listing ([facebook@`3b4f503`](https://github.com/facebook/metro/commit/3b4f50333ba0931f6740f2cde30fc5129edb22ab) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: importLocationPlugin: Fix non-deterministic false identification of ESM imports ([facebook#1497](https://github.com/facebook/metro/pull/1497) by [@&#8203;byCedric](https://github.com/byCedric)) - **\[Fix]**: collectDepedencies: Fix one-line `export from` files triggering `_interopRequireDefault is not a function` ([facebook#1498](https://github.com/facebook/metro/pull/1498) by [@&#8203;byCedric](https://github.com/byCedric)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.82.2...v0.82.3> ### [`v0.82.2`](https://github.com/react/metro/releases/tag/v0.82.2) [Compare Source](https://github.com/react/metro/compare/v0.82.1...v0.82.2) - **\[Feature]**: Support `proxy` and `socketPath` in remote cache `HttpStore` ([facebook@`cc7316b`](https://github.com/facebook/metro/commit/cc7316b1f40ed5e4202a997673b26d55ff1b4ca5) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Feature]** Fallback to showing first collapsed frame when all frames in a stack are collapsed ([facebook#1483](https://github.com/facebook/metro/pull/1483) by [@&#8203;EvanBacon](https://github.com/EvanBacon)) - **\[Fix]** Support correct `application/json` body parsing in `/symbolicate` ([facebook#1475](https://github.com/facebook/metro/pull/1475) by [@&#8203;huntie](https://github.com/huntie)) - **\[Fix]** Add missing `type` for missing import errors in HMR client ([facebook#1487](https://github.com/facebook/metro/pull/1487) by [@&#8203;EvanBacon](https://github.com/EvanBacon)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.82.1...v0.82.2> ### [`v0.82.1`](https://github.com/react/metro/releases/tag/v0.82.1) [Compare Source](https://github.com/react/metro/compare/v0.82.0...v0.82.1) - **\[Fix]**: Fix wildcard pattern precedence in package.json imports/exports resolution ([facebook#1458](https://github.com/facebook/metro/pull/1458) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Fix edge-case overmatching of pattern keys in package.json exports/imports resolution ([facebook@`c4ba9fb`](https://github.com/facebook/metro/commit/c4ba9fb1fe9f2945ecfd0160cdfa7d536a8f08ac) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Fix handling of export map targets with zero or 2+ wildcard characters in package.json imports/exports resolution ([facebook@`acfc0d8`](https://github.com/facebook/metro/commit/acfc0d8e57ebe2b24ab256b44c99151b76e2c9d2) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Fix terminal statuses incorrectly persisting the wrong line ([facebook@`7156541`](https://github.com/facebook/metro/commit/71565413f12addcf7130e6e0f8310d2a8c423e58) by [@&#8203;vzaidman](https://github.com/vzaidman)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.82.0...v0.82.1> ### [`v0.82.0`](https://github.com/react/metro/releases/tag/v0.82.0) [Compare Source](https://github.com/react/metro/compare/v0.81.5...v0.82.0) - **\[Breaking/Feature]**: Enable support for `package.json#exports` resolution by default. ([facebook#1448](https://github.com/facebook/metro/pull/1448) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Breaking]**: Integrators consuming `metro/src/DeltaBundler/Transformer` must now pass an options object with `getOrComputeSha1` ([facebook#1451](https://github.com/facebook/metro/pull/1451) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Breaking]**: `metro/src/node-haste/DependencyGraph.getSha1` has been removed, prefer `getOrComputeSha1` ([facebook#1451](https://github.com/facebook/metro/pull/1451) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Performance]**: Enable lazy file hashing by default, disable with `watcher.unstable_lazySha1: false` ([facebook#1451](https://github.com/facebook/metro/pull/1451) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.81.3...v0.82.0> ### [`v0.81.5`](https://github.com/react/metro/releases/tag/v0.81.5) [Compare Source](https://github.com/react/metro/compare/v0.81.4...v0.81.5) *This is a hotfix on the [`0.81.x`](https://github.com/facebook/metro/tree/0.81.x) branch.* This release fixes two issues with `unstable_enablePackageExports`, which is experimental and opt-in in Metro 0.81. > NOTE: Experimental features are not covered by semver and can change at any time. - **\[Experimental]**: importLocationPlugin: Fix non-deterministic false identification of ESM imports ([facebook@`55ed2ee`](https://github.com/facebook/metro/commit/55ed2ee83852c6c6132cff5a540c9a5ac6a5d7fe) by [@&#8203;byCedric](https://github.com/byCedric)) - **\[Experimental]**: collectDepedencies: Fix one-line `export from` files triggering `_interopRequireDefault is not a function` ([facebook@`5f79ce8`](https://github.com/facebook/metro/commit/5f79ce82ed5be99aaf691d555b83f8b26bc2a8c1) by [@&#8203;byCedric](https://github.com/byCedric)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.81.4...v0.81.5> ### [`v0.81.4`](https://github.com/react/metro/releases/tag/v0.81.4) [Compare Source](https://github.com/react/metro/compare/v0.81.3...v0.81.4) *This is a hotfix on the [`0.81.x`](https://github.com/facebook/metro/tree/0.81.x) branch.* This release fixes a number of issues with `unstable_enablePackageExports`. > NOTE: Experimental features are not covered by semver and can change at any time. - **\[Experimental]**: Fix wildcard pattern precedence in package.json imports/exports resolution ([facebook@`38ef15d`](https://github.com/facebook/metro/commit/38ef15d2aeb2d119014631bd503c0c888dfed722) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Experimental]**: Fix edge-case overmatching of pattern keys in package.json exports/imports resolution. ([facebook@`bd9d16c`](https://github.com/facebook/metro/commit/bd9d16c4e976d1ddb459e8d8d8e2176ac55d82aa) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Experimental]**: Fix handling of export map targets with zero or 2+ wildcard characters in package.json imports/exports resolution ([facebook@`72b703b`](https://github.com/facebook/metro/commit/72b703ba27e28858916dd6b86fe718513b624997) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Experimental]**: Restore compat with configs that set `unstable_conditionNames: ['import']`, fix `_interopRequireDefault` is not a function ([facebook@`8277623`](https://github.com/facebook/metro/commit/8277623d56974c2a05096fefef532361c80bbad8) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.81.3...v0.81.4> ### [`v0.81.3`](https://github.com/react/metro/releases/tag/v0.81.3) [Compare Source](https://github.com/react/metro/compare/v0.81.2...v0.81.3) - **\[Feature]**: Add support for `package.json#imports` ([facebook#1302](https://github.com/facebook/metro/pull/1302) by [@&#8203;jameslawson](https://github.com/jameslawson)) - **\[Feature]**: Add `isESMImport` to `ResolutionContext` to distinguish resolution based on whether the dependency is a `require()` or static/async `import` ([facebook#1376](https://github.com/facebook/metro/pull/1376) by [@&#8203;robhogan](https://github.com/robhogan)) > NOTE: Experimental features are not covered by semver and can change at any time. - **\[Experimental]**: With `unstable_enablePackageExports`, assert exactly one of the conditions `import`/`require` according to source syntax. ([facebook#1477](https://github.com/facebook/metro/pull/1477) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Experimental]**: Fix global package resolution with `unstable_lazySha1` ([facebook@`42ec821`](https://github.com/facebook/metro/commit/42ec821da720073a717d95afbe24eedbfa9e148d) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.81.2...v0.81.3> ### [`v0.81.2`](https://github.com/react/metro/releases/tag/v0.81.2) [Compare Source](https://github.com/react/metro/compare/v0.81.1...v0.81.2) - **\[Feature]:** Expose modules and polyfills within `metro-runtime` via new public `package.json#exports` paths. ([facebook@`f390cdf`](https://github.com/facebook/metro/commit/f390cdf4c703fe615a5e6e131c0fa3d69e450585) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Fix]**: Replace top-level `this` with `globalThis` in runtime prelude for service worker compatibility. ([facebook#1438](https://github.com/facebook/metro/pull/1438) by [@&#8203;exzos28](https://github.com/exzos28)) - **\[Fix]**: `get-dependencies` command: gracefully shutdown on errors. ([facebook@`b8e9e64`](https://github.com/facebook/metro/commit/b8e9e64f1de97a67234e223f5ee21524b160e8a5) by [@&#8203;yungsters](https://github.com/yungsters)) - **\[Performance]**: Don't start an excessive number of workers for hashing files during startup. ([facebook@`15bc295`](https://github.com/facebook/metro/commit/15bc295808e53da27c140e248184e1bf0fd041c6) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Deprecated]**: Deprecate deep `src` imports e.g. `metro/src/x.js` across all `metro*` packages, pending removal from the stable API. ([facebook#1441](https://github.com/facebook/metro/pull/1441) by [@&#8203;robhogan](https://github.com/robhogan)) > NOTE: Experimental features are not covered by semver and can change at any time. - **\[Experimental]**: Auto-save file cache via `config.watcher.unstable_autoSaveCache`. ([facebook#1434](https://github.com/facebook/metro/pull/1434) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Experimental]**: Add `watcher.unstable_lazySha1` to defer SHA1 calculation until files are needed by the transformer. ([facebook#1435](https://github.com/facebook/metro/pull/1435) by [@&#8203;robhogan](https://github.com/robhogan)) - **\[Experimental]**: Expose deep imports of Metro packages (`metro/src/x.js` as `metro/private/x`) as explicitly private (non-semver). ([facebook#1441](https://github.com/facebook/metro/pull/1441) by [@&#8203;robhogan](https://github.com/robhogan)) **Full Changelog**: <https://github.com/facebook/metro/compare/v0.81.1...v0.81.2> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI3MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
Update dependency metro to ^0.84.0
Some checks failed
renovate/artifacts Artifact file update failure
711e195502
john4064 changed title from Update dependency metro to ^0.84.0 to rebase! Update dependency metro to ^0.84.0 2026-05-01 21:19:39 +00:00
renovate-bot force-pushed renovate/metro-0.x from 22749920b4 to c51e21669c
Some checks failed
renovate/artifacts Artifact file update failure
2026-05-01 22:01:26 +00:00
Compare
renovate-bot changed title from rebase! Update dependency metro to ^0.84.0 to Update dependency metro to ^0.84.0 2026-05-01 22:01:26 +00:00
renovate-bot force-pushed renovate/metro-0.x from c51e21669c
Some checks failed
renovate/artifacts Artifact file update failure
to f25857b25f 2026-05-02 16:03:32 +00:00
Compare
renovate-bot force-pushed renovate/metro-0.x from f25857b25f to 6efaaec055 2026-05-05 10:04:15 +00:00 Compare
renovate-bot force-pushed renovate/metro-0.x from 6efaaec055 to 5c3e752cff 2026-06-28 00:03:08 +00:00 Compare
renovate-bot changed title from Update dependency metro to ^0.84.0 to Update dependency metro to ^0.85.0 2026-06-28 00:03:11 +00:00
renovate-bot force-pushed renovate/metro-0.x from 5c3e752cff to 09a581a488 2026-07-12 00:02:44 +00:00 Compare
renovate-bot changed title from Update dependency metro to ^0.85.0 to Update dependency metro to ^0.86.0 2026-07-12 00:02:45 +00:00
renovate-bot force-pushed renovate/metro-0.x from 09a581a488 to 482582fac4 2026-07-19 00:03:25 +00:00 Compare
renovate-bot changed title from Update dependency metro to ^0.86.0 to Update dependency metro to ^0.87.0 2026-07-19 00:03:26 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/metro-0.x:renovate/metro-0.x
git switch renovate/metro-0.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/metro-0.x
git switch renovate/metro-0.x
git rebase master
git switch master
git merge --ff-only renovate/metro-0.x
git switch renovate/metro-0.x
git rebase master
git switch master
git merge --no-ff renovate/metro-0.x
git switch master
git merge --squash renovate/metro-0.x
git switch master
git merge --ff-only renovate/metro-0.x
git switch master
git merge renovate/metro-0.x
git push origin master
Sign in to join this conversation.
No description provided.