v0.81.2
- [Feature]: Expose modules and polyfills within
metro-runtimevia new publicpackage.json#exportspaths. (f390cdf by @robhogan) - [Fix]: Replace top-level
thiswithglobalThisin runtime prelude for service worker compatibility. (#1438 by @exzos28) - [Fix]:
get-dependenciescommand: gracefully shutdown on errors. (b8e9e64 by @yungsters) - [Performance]: Don't start an excessive number of workers for hashing files during startup. (15bc295 by @robhogan)
- [Deprecated]: Deprecate deep
srcimports e.g.metro/src/x.jsacross allmetro*packages, pending removal from the stable API. (#1441 by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Auto-save file cache via
config.watcher.unstable_autoSaveCache. (#1434 by @robhogan) - [Experimental]: Add
watcher.unstable_lazySha1to defer SHA1 calculation until files are needed by the transformer. (#1435 by @robhogan) - [Experimental]: Expose deep imports of Metro packages (
metro/src/x.jsasmetro/private/x) as explicitly private (non-semver). (#1441 by @robhogan)
Full Changelog: v0.81.1...v0.81.2