- [Breaking]: Drop support for Node.js < 18.18. (#1351 by @vzaidman)
- [Breaking]: Custom resolvers must now return absolute, real paths for any successful resolution. (3b3e0aa by @robhogan)
- [Breaking]: Don't call
context.redirectModulePath
from default resolver, use a fixed browser field spec implementation. (5e96d17 by @robhogan) - [Breaking] Resolver: Reserve import specifiers beginning '#' exclusively for future subpath imports support. (c1c80c7 by @robhogan)
- [Breaking]: Disallow Haste modules with separators and Haste packages with invalid package names. (4e9cc4b by @robhogan)
- [Feature]: Expose
ResolutionContext.fileSystemLookup
for performing file and directory existence checks and resolving real paths. (3b3e0aa by @robhogan) - [Feature]: Add
onClose
option toMetro.runServer
configuration to provide a callback called when Metro is fully torn down. (b3f141f by @vzaidman) - [Fix]: Potential "hub is undefined" error during transform due to Babel cache pollution. (#1340 by @vzaidman)
- [Fix]: Fix #1347, symlinked packages not respecting package.json redirections. (#1349 by @robhogan)
- [Fix]:
metro-memory-fs
: Respectforce
inrmSync
. (a792d85 by @robhogan) - [Fix]: Don't eagerly create empty cache directories during
getDefaultConfig
. (bfd9473 by @robhogan) - [Fix]: Invalidate transform cache on changes to inline-requires implementation. (7d02e17 by @robhogan)
- [Fix]: Resolver: Treat absolute path specifiers on Windows with the same strictness as posix, and allow absolute paths without drive letters. (8f7e000 by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Remove redundant
unstable_enableSymlinks
- symlink support is stable and always-on. (e52b5ff by @robhogan) - [Experimental]: Implement
transformer.unstable_memoizeInlineRequires
to optimise inlined access. (#1346 by @robhogan). - [Experimental]: Add
unstable_server_log
,unstable_server_menu_updated
, andunstable_server_menu_cleared
reporter events (616f437 by @huntie)
Full Changelog: v0.80.11...v0.81.0