Skip to content

Publish 0.87.2 - #2085

Open
robhogan wants to merge 1 commit into
mainfrom
pr2085
Open

robhogan wants to merge 1 commit into
mainfrom
pr2085

Conversation

@robhogan

@robhogan robhogan commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary:
Publish Metro 0.87.2 from main.

Changelog: [Internal]

Test plan:

node scripts/updateVersion.js 0.87.2
sl diff --stat

Only the 17 packages/*/package.json manifests change, and every 0.87.1 reference is replaced.

Draft release notes (from the 95 commits in v0.87.1...main - internal-only changes omitted):

 - **[Feature]**: Add a built-in `metro:runtime/*` specifier, resolvable from any importer (https://github.com/react/metro/pull/2083 by @robhogan)
 - **[Feature]**: Pass Metro's own `@babel/runtime` and its version to Babel presets when `transformer.enableBabelRuntime` is `true` (https://github.com/react/metro/pull/1957 by @robhogan)
 - **[Fix]**: Resolver: Fix stale resolutions after adding a nearer `package.json` or retargeting a symlinked directory (https://github.com/react/metro/pull/1948 by @robhogan)
 - **[Fix]**: Resolver: Resolve packages and directories named with an asset extension (eg `lodash.zip`) as modules (https://github.com/react/metro/pull/2055 by @robhogan)
 - **[Fix]**: Resolver: Fall through to parent conditions when a nested `"exports"` or `"imports"` condition has no match (https://github.com/react/metro/pull/2074 by @maximilliangrand)
 - **[Fix]**: Resolver: Don't resolve an exact `"exports"` or `"imports"` subpath with a `null` target through a pattern (https://github.com/react/metro/pull/1987 by @kwy404)
 - **[Fix]**: Use `[metro-watchFolders]/N/` URLs for assets outside `projectRoot` (https://github.com/react/metro/pull/1892 by @robhogan)
 - **[Fix]**: Fix `[metro-project]` and `[metro-watchFolders]` bundle serving on Windows (https://github.com/react/metro/pull/2015 by @motiz88)
 - **[Fix]**: Fix an HMR crash on `[metro-project]` and `[metro-watchFolders]` URLs (https://github.com/react/metro/pull/2017 by @motiz88)
 - **[Fix]**: Don't resolve `[metro-project]` and `[metro-watchFolders]` prefixes in API and CLI entry points (https://github.com/react/metro/pull/2030 by @motiz88)
 - **[Fix]**: Fix backslashes in async bundle paths on Windows (https://github.com/react/metro/pull/1938 by @robhogan)
 - **[Fix]**: Fix stale modules when files change during an in-flight or failed build (https://github.com/react/metro/pull/2007 by @YevheniiKotyrlo)
 - **[Fix]**: Fix files changed during startup being missed until restart (https://github.com/react/metro/pull/2054 by @cpruijsen)
 - **[Fix]**: Fix watch mode losing files when a directory replaces a file or symlink, eg unlinking a package (https://github.com/react/metro/pull/2009 by @robhogan)
 - **[Fix]**: `FallbackWatcher`: Fix a hang on stop, and missed changes after a watch error or on Windows (https://github.com/react/metro/pull/1967 by @robhogan)
 - **[Fix]**: `FallbackWatcher`: Close watch handles under a deleted directory (https://github.com/react/metro/pull/2004 by @YevheniiKotyrlo)
 - **[Fix]**: `metro-file-map`: Don't change the active mock when a duplicate is removed (https://github.com/react/metro/pull/1756 by @durvesh1992)
 - **[Fix]**: Propagate transformer initialisation errors from `Bundler` (https://github.com/react/metro/pull/1854 by @Boulea7)
 - **[Fix]**: Release workers and watchers when Metro fails to initialise (https://github.com/react/metro/pull/1963 by @robhogan)
 - **[Fix]**: Ignore attributes like `stroke-width` when reading SVG dimensions (https://github.com/react/metro/pull/1972 by @GabrielDumbrava)
 - **[Fix]**: Fix generated positions in indexed source maps (https://github.com/react/metro/pull/1976 by @kwy404)
 - **[Fix]**: `composeSourceMaps`: Keep every mapping at a repeated generated column (https://github.com/react/metro/pull/1981 by @robhogan)
 - **[Fix]**: Fix source maps losing lines after very large unmapped gaps (https://github.com/react/metro/pull/1983 by @robhogan)
 - **[Fix]**: `metro-symbolicate`: Don't fail on frames with no source position, eg `[native code]` (https://github.com/react/metro/pull/1891 by @robhogan)
 - **[Fix]**: `metro-symbolicate`: Parse frames with Windows absolute paths (https://github.com/react/metro/pull/1939 by @robhogan)
 - **[Performance]**: ~3x faster `composeSourceMaps`, with ~15% less memory (https://github.com/react/metro/pull/1978, https://github.com/react/metro/pull/1979, https://github.com/react/metro/pull/1980, https://github.com/react/metro/pull/1983 by @robhogan)
 - **[Performance]**: ~35% faster first-pass resolution (https://github.com/react/metro/pull/1945, https://github.com/react/metro/pull/1946, https://github.com/react/metro/pull/1948 by @robhogan)
 - **[Performance]**: ~33% faster non-Watchman crawl on startup (https://github.com/react/metro/pull/1677 by @kitten)
 - **[Deprecated]**: `server.enhanceMiddleware` - use `server.unstable_middleware` or `server.unstable_priorityMiddleware` (https://github.com/react/metro/pull/2031 by @vzaidman)
 - **[Deprecated]**: `runServer`'s `unstable_extraMiddleware` - use `unstable_priorityMiddleware` (https://github.com/react/metro/pull/2031 by @vzaidman)
 - **[Deprecated]**: String values of `transformer.enableBabelRuntime` - use `true` (https://github.com/react/metro/pull/1957 by @robhogan)
 - **[Types]**: Add TypeScript definitions for `metro-runtime` (https://github.com/react/metro/pull/1996 by @robhogan)

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

 - **[Experimental]**: Add `server.unstable_middleware` and `server.unstable_priorityMiddleware`, to add middleware after or before Metro's own (https://github.com/react/metro/pull/2031 by @vzaidman)
 - **[Experimental]**: Add `server.unstable_onServerCreated`, called with Metro's server before it listens (https://github.com/react/metro/pull/2031 by @vzaidman)
 - **[Experimental]**: Fix mismatched asset paths in builds under `unstable_serverRoot` (https://github.com/react/metro/pull/1917 by @robhogan)

 **Full Changelog**: https://github.com/react/metro/compare/v0.87.1...v0.87.2

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 21, 2026
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Oct 21, 2026
@robhogan
robhogan force-pushed the pr2085 branch 2 times, most recently from 417b7e7 to d9abde7 Compare October 21, 2026 16:59
Summary:
Publish Metro 0.87.2 from `main`.

Changelog: [Internal]

Test plan:
```
node scripts/updateVersion.js 0.87.2
sl diff --stat
```

Only the 17 `packages/*/package.json` manifests change, and every `0.87.1` reference is replaced.

This branch has not been deployed

No deployments
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. needs-meta-import Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant