v0.87.0
- [Breaking]: Widen
Resolutionunion returned by resolvers to allowtype: 'virtualModule', pending implementation. (https://github.com/react/metro/commit/8336654cd1416a80898b220102dae89ceef892fe by @robhogan) - [Feature]:
allowOptionalDependenciesdefaults totrueto align with RN and Expo (https://github.com/react/metro/pull/1775 by @robhogan) - [Fix]: Preserve accumulated and trailing config state when
mergeConfigencounters an async config in a config chain (https://github.com/react/metro/pull/1754 by @durvesh1992) - [Performance] Don't rename
requirein bundle output, improve cold build time ~5%`(TBD by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]:
experimentalImportSupport: Support namespace re-exports, such asexport * as Name from "module"(https://github.com/react/metro/pull/1768 by @robhogan and @krystofwoldrich) - [Experimental]:
experimentalImportSupport: Fix exports renamed by destructuring, and support exports of rest spreads (https://github.com/react/metro/pull/1772 by @robhogan) - [Experimental]:
experimentalImportSupport: Fix precedence so explicitexport defaultand named exports win overexport * from(https://github.com/react/metro/pull/1773 by @robhogan) - [Experimental]:
experimentalImportSupport: Evaluateexport fromdependencies in the module prelude instead of within or after the module body (https://github.com/react/metro/pull/1774 by @robhogan)
Full Changelog: https://github.com/react/metro/compare/v0.86.0...v0.87.0