Releases: react/metro
Releases Β· react/metro
Release list
v0.86.0
- [Breaking]: Metro now always emits whole-bundle source maps as index maps, and stores each module's map internally as a
VlqMap(#1764, #1765 by @robhogan). Custom serialisers/transformers must consume/provideVlqMapmappings, not tuples. - [Breaking]: Remove deprecated default exports from public entry points (#1759 by @robhogan)
- [Breaking]: Remove support for deprecated YAML and
.es6config files (#1752 by @robhogan) - [Breaking]: Remove long-deprecated
resolver.blacklistREconfig in favour ofblockList(#1758 by @robhogan) - [Fix]: Fix
HttpStorewrite retries incorrectly using the read endpoint's config (#1751 by @durvesh1992) - [Performance]: Source maps work makes Metro use 50% less memory and serve source maps 2x faster, for faster RNDT loads (#1741, #1742, #1743, #1760, #1763, #1764, #1765 by @robhogan)
Full Changelog: v0.85.0...v0.86.0
v0.85.0
- [Breaking]: Raise minimum supported Node.js version to 22 (#1715 by @huntie)
- [Feature]: Implement
PACKAGE_SELF_RESOLVEfor self-referencing imports in the resolver (#1721 by @robhogan) - [Fix]: Add ESM unwrapping to all CommonJS
requirecalls (#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-partypackage.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: v0.84.4...v0.85.0
v0.84.4
- [Feature]: Support
/[metro-watchFolders]/n/paths for.bundleand.maprequests (#1695 by @huntie) - [Fix]: Fix regression to allow scale assets to be resolved again for single asset requests (#1694 by @kitten)
- [Fix]: Treat
import().catch(), etc. as optional undertransformer.allowOptionalDependencies(#1697 by @robhogan) - [Performance]: Interleave resolution attempts with building node_modules candidate paths (#1680 by @kitten)
Full Changelog: v0.84.3...v0.84.4
v0.83.7
This release is on the 0.83.x branch
- [Feature]: Support
/[metro-watchFolders]/n/paths for.bundleand.maprequests (#1695 by @huntie) - [Fix]: Fix regression to allow scale assets to be resolved again for single asset requests (#1694 by @kitten)
- [Fix]: Treat
import().catch(), etc. as optional undertransformer.allowOptionalDependencies(#1697 by @robhogan) - [Performance]: Interleave resolution attempts with building node_modules candidate paths (#1680 by @kitten)
Full Changelog: v0.83.6...v0.83.7
v0.83.6
This release is on the 0.83.x branch
- [Feature]: Add keepalive "heartbeat" message to Fast Refresh connections (#1685 by @robhogan)
- [Feature]: Add
changeIdmetadata on HMRClientupdate-donemessages (1585e444284f by @huntie) - [Fix]: Include user-defined Babel config in transformer cache key to ensure correctness (#1638 by @EvanBacon)
- [Fix]: Detection of contents of directories moved or cloned into a watched location (#1660 by @robhogan)
- [Fix]: Correctly detect contents as removed when a watched directory is moved, on macOS without Watchman (c9e9fe64a77c by @robhogan)
- [Performance]: Optimize
PackageCache: useMap/Set, cache null results, eliminate per-hit allocations (877b64ea5967 by @robhogan) - [Types]: Restore type exports from
metrothat were previously TypeScript-specific (#1672 by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Add
config.unstable_fileMapPlugins(567aa8b62b95 by @robhogan)
v0.84.3
- [Feature]: Add keepalive "heartbeat" message to Fast Refresh connections (#1685 by @robhogan)
- [Feature]: Add
changeIdmetadata on HMRClientupdate-donemessages (1585e444284f by @huntie) - [Feature]:
config.server.tlsnow sets Metro to be exposed as an https server (#1657 by @vzaidman) - [Fix]: sync bundling progress between Metro cli and app hints (34ca6a6 by @vzaidman)
- [Fix]: Include user-defined Babel config in transformer cache key to ensure correctness (#1638 by @EvanBacon)
- [Fix]: Detection of contents of directories moved or cloned into a watched location (#1660 by @robhogan)
- [Fix]: Correctly detect contents as removed when a watched directory is moved, on macOS without Watchman (c9e9fe64a77c by @robhogan)
- [Performance]: Optimize
PackageCache: useMap/Set, cache null results, eliminate per-hit allocations (877b64ea5967 by @robhogan) - [Types]: Restore type exports from
metrothat were previously TypeScript-specific (#1672 by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Add
config.unstable_fileMapPlugins(567aa8b62b95 by @robhogan)
Full Changelog: v0.84.2...v0.84.3
v0.83.5
This is a hotfix on the 0.83.x branch.
- [Feature]:
config.server.tlsnow sets Metro to be exposed as an https server (#1657 by @vzaidman) - [Fix]: sync bundling progress between Metro cli and app hints (34ca6a6 by @vzaidman)
- [Types]: Restore accidentally removed publication of TypeScript types (#1662 by @robhogan)
Full Changelog: v0.83.4...v0.83.5