Releases: react/metro
Releases Β· react/metro
v0.80.7
v0.80.6
v0.76.9
This is a hotfix release on the 0.76.x branch.
- [Fix]: Move
metro-minify-terserdependency to fix resolution under isolated node_modules (pnpm, etc).(#1199 by @robhogan) - [Fix]:
inline-plugin: Don't replace__DEV__in invalid Babel AST locations. (#1195 by @kitten) - [Fix]:
constant-folding-plugin: Don't fold optional function calls (foo.?()). (#1178 by @Gamote) - [Fix]: Incorrect worker resolution when multiple
metroversions are installed. (6d46078 by @robhogan) - [Fix]: Fix "unexpected null" crash when handling a batch of file changes. (#1083 by @robhogan)
- [Fix]: Fix Fast Refresh edge case where removing an async dependency could incorrectly remove modules from the graph. (19d3284 by @robhogan)
- [Fix]: Fix sourceMapUrl when building bundles for windows/macOS (#763 by @acoates-ms)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: When enabled, the
"exports"field is now considered for Haste packages (which could include local monorepo packages) (#1136 by @kraenhansen) - [Experimental]: Fix
sourceMappingUrlin HMR payloads when usingunstable_serverRoot(#1137 by @EvanBacon)
Full Changelog: v0.76.8...v0.76.9
v0.80.5
- [Feature]: Add
server.forwardClientLogsconfig option, to allow suppressing client console logs in Metro output. (#1192 by @huntie) - [Fix]:
constant-folding-plugin: Don't fold optional function calls (foo.?()). (#1178 by @Gamote) - [Fix]:
inline-plugin: Don't replace__DEV__in invalid Babel AST locations. (#1195 by @kitten) - [Fix]: Move
metro-minify-terserdependency to fix resolution under isolated node_modules (pnpm, etc). (#1199 by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Fix module duplication due to non-real resolved paths when combining
unstable_enablePackageExportsandunstable_enableSymlinks. (#1198 by @robhogan)
Full Changelog: v0.80.4...v0.80.5
v0.80.4
v0.80.3
- [Feature]: Pass
devoption to resolver (#1134 by @EvanBacon) - [Fix]: Fast Refresh may fail or lose modifications after correcting transform or resolution issues in user code (0e51ad9 by @robhogan)
- [Fix]: Don't unnecessarily reset Fast Refresh after recovering from certain transform or resolution errors (46b02dc by @robhogan)
- [Fix]: Ignore errors in unreachable modules during incremental builds (#1164 by @robhogan)
Full Changelog: v0.80.2...v0.80.3
v0.80.2
- [Fix]: Fast Refresh breaks on encountering a garbage cycle with async/weak dependencies (e223a2e by @robhogan)
- [Fix]: Destroy HTTP cache connections on timeout instead of hanging (6001f86 by @motiz88)
- [Fix] Respond with HTTP 404 when a bundle entry point cannot be resolved (cbfb96d by @motiz88)
- [Fix]: Support
serverRootwith HMR serializer chunks (#1137 by @EvanBacon) - [Fix]: Update hermes-parser and related packages to 0.18.0 (9cbf1b7)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: When enabled, the
"exports"field is now considered for Haste packages (which could include local monorepo packages) (#1136 by @kraenhansen)
Full Changelog: v0.80.1...v0.80.2
v0.80.1
- [Fix]: Add React JSX runtime to default exceptions for inline requires.(#1126 by @gaearon)
- [Fix]: Always exempt Babel runtime helpers from inline (lazy) requires. (#1127 by @gaearon)
- [Fix]: Include protocol scheme in sourceMapURL when building bundles for
windows/macos. (#763 by @acoates-ms)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Add
unstable_workerThreadsoptions totransformerandwatcherconfiguration. (20df4ec by @robhogan)
Full Changelog: v0.80.0...v0.80.1
v0.80.0
- [Breaking]: Remove
metro-runtime/src/modules/fast-refreshandreact-refreshdependency - now owned by RN's Babel preset. (8557968 by @robhogan) - [Breaking]:
metro-babel-register: Switch to Hermes parser, only apply Flow transforms to.js. (ca0f89c by @pieterv) - [Feature]:
metro-babel-register: Support export-namespace-from and Flow enums. (ca0f89c by @pieterv) - [Fix]: Removing an async/lazy import may incorrectly free its target. (5f446f3 by @robhogan)
NB: metro-react-native-interop-tools has been removed and will receive no further updates. (c084066 by @GijsWeterings)
Full Changelog: v0.79.1...v0.80.0
v0.79.1
- [Fix]:
metro-babel-register: prevent arbitrary transformation of Babel plugins during registration. (e8f468d by @robhogan) - [Fix]: Fix "unexpected null" crash when handling a batch of file changes. (#1083 by @robhogan)
- [Fix]: Symlinks with indirections may not be resolvable. (#1084 by @robhogan)
Full Changelog: v0.79.0...v0.79.1