metro v0.87.3

v0.87.3
Added 4
  • Experimental resolver.unstable_allowVirtualModules option allows custom resolvers to return virtual modules
  • Experimental metro:inline;base64,<source> specifiers resolve to a virtual module owned by the importer
  • Experimental resolver.unstable_applyBrowserSpecAfterExports option applies "browser" redirections after "exports"
  • Experimental resolver.unstable_resolveExportsFromPackageRoot option reads "exports" from the package root
Changed 2
  • Cold builds are about 4-7% faster with about 6-8% less CPU by skipping input AST cloning in the transform worker
  • Cold minified builds use about 2% less CPU, with faster source map handling when minifying
Fixed 7
  • Resolver now resolves conditional and nested array fallbacks in "exports" and "imports"
  • serializer.processModuleFilter is now applied to inline source maps
  • metro-file-map keeps files under other watch roots when the project root is recrawled
  • Zero-filled FileStore cache files are treated as misses
  • Terminal no longer erases output printed outside of Terminal
  • Terminal.log() keeps output in order with other output
  • Experimental transformer.unstable_workerThreads no longer exposes JEST_WORKER_ID to transformers
Deprecated 2

2 changes to check, marked in the notes below

From metro

NOTE: Experimental features are not covered by semver and can change at any time.

Full Changelog: https://github.com/react/metro/compare/v0.87.2...v0.87.3

View original

Upgraded? How did it go?

Discussion