Releases: react/metro
Releases Β· react/metro
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) - [Fix]: Fix security vulnerabilities in transitive dependencies (#1723 by @cortinico)
- [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
v0.84.2
v0.84.1
v0.84.0
v0.83.4
- [Feature]: Inline
Platform.OS/Platform.selectfor variables bound torequire('react-native'). (#1641 by @thymikee) - [Feature]: Add a keepalive mechanism to Fast Refresh connections to improve stability in some proxied setups (f7ab6f9 by @vzaidman)
- [Fix]: Undo accidentally increased strictness of
content-typefor/symbolicate(#1630 by @MorvanL) - [Fix]: metro-babel-transformer: Don't set BABEL_ENV as a side-effect (de59fcc by @robhogan)
- [Fix]: metro-config: Fix absolute path error on Windows masking actionable config loading errors (#1620 by @kitten)
- [Fix]: Only return a symbolicated code frame for files that are in the project (e31e11c by @motiz88)
- [Fix]: Only serve assets that are in the project (#1643 by @fabriziocucci)
- [Performance]: Use worker threads for processing file changes on startup, significantly faster on Windows. (#1639 by @robhogan)
- [Types]: Automatic, comprehensive TypeScript types for all packages. (#1611, #1648, #1621, etc by @nickhudkins, @pafry7 and @robhogan)
Full Changelog: v0.83.3...v0.83.4