- [Fix]: Resolver: Resolve conditional and nested array fallbacks in
"exports"and"imports"(#2089 by @maximilliangrand) - [Fix]: Apply
serializer.processModuleFilterto inline source maps (#2124 by @kwy404) - [Fix]:
metro-file-map: Keep files under other watch roots when the project root is recrawled (#2123 by @YevheniiKotyrlo) - [Fix]: Treat zero-filled
FileStorecache files as misses (#2122 by @maximilliangrand) - [Fix]:
Terminal: Don't erase output printed outside ofTerminal(#2130 by @vzaidman) - [Fix]:
Terminal: KeepTerminal.log()in order with other output (#2162 by @vzaidman) - [Performance]: ~4-7% faster cold builds, with ~6-8% less CPU, by skipping input AST cloning in the transform worker (#2033, #2132 by @vzaidman)
- [Performance]: ~2% less CPU on cold minified builds, with faster source map handling when minifying (#1984 by @robhogan)
- [Deprecated]:
MinifierResult.map- custom minifiers should returndecodedMap(#1984 by @robhogan) - [Deprecated]:
metro-source-map:toBabelSegments,toSegmentTupleandtuplesFromBabelDecodedMap(#1984 by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Add
resolver.unstable_allowVirtualModules, allowing custom resolvers to return virtual modules (#2056, #2036 by @robhogan) - [Experimental]: Add
metro:inline;base64,<source>specifiers, resolving to a virtual module owned by the importer (#2037 by @robhogan) - [Experimental]: Add
resolver.unstable_applyBrowserSpecAfterExportsto apply"browser"redirections after"exports"(#2134 by @mozzius) - [Experimental]: Add
resolver.unstable_resolveExportsFromPackageRootto read"exports"from the package root (#2160 by @robhogan) - [Experimental]: Fix
transformer.unstable_workerThreadsexposingJEST_WORKER_IDto transformers (#2152 by @robhogan)
Full Changelog: v0.87.2...v0.87.3