This is a hotfix release on the 0.76.x
branch.
- [Fix]: Move
metro-minify-terser
dependency 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
metro
versions 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
sourceMappingUrl
in HMR payloads when usingunstable_serverRoot
(#1137 by @EvanBacon)
Full Changelog: v0.76.8...v0.76.9