Sourced from metro-config's releases.
v0.76.0
- [Breaking]: Increase minimum Node version from 14 to 16. (https://github.com/facebook/metro/commit/e5950aeaf0ddb1bf9776ec98509d56f42db2e95d by
@huntie)- [Breaking]: Remove
isAssetFilefrom custom resolver context, addassetExts. (https://github.com/facebook/metro/commit/c6548f7ccc5b8ad59ea98f4bd7f1f5822deec0cd by@huntie)- [Feature]: Support
require.resolveWeak(). (https://github.com/facebook/metro/commit/354d6e487a068232b740c809e59c737dc7456565 by@motiz88)- [Fix]: Don't over-invalidate on symlink changes if resolution through symlinks is not enabled. (https://github.com/facebook/metro/commit/2303c10b6b71b5bc1194badd997b08f962e8d237 by
@robhogan)- [Fix]: Returning
falsefromcontext.redirectModulePathwill resolve to empty module in all cases. (https://github.com/facebook/metro/commit/0f1846a64d7ec27ad7c42b1aee2a049e0fad9a5a by@huntie)- [Fix]: Respect extensionless entries in
browser,react-nativeetc when resolving subpath package specifiers. (https://github.com/facebook/metro/commit/7e922270de2f710112346e651c0d95a1903086aa by@huntie)- [Fix]: Remove undocumented Meta-only
__jsResourceand__conditionallySplitJsResourcefunctions from module API. (https://github.com/facebook/metro/commit/f1d905bb60227b3390515928fb87c9d524ca5481 and https://github.com/facebook/metro/commit/69c8fc707bda418b4eb7aa646ad2887d83e1d3f1 by@motiz88)NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Fixes and improvements for symlink support. (https://github.com/facebook/metro/commit/0e2a70a439c41de8c5f61b426d326b5b32d8129a, https://github.com/facebook/metro/commit/3bef954304cb4b99ab30643c49f0727d917a5306, and https://github.com/facebook/metro/commit/eeb211fdcfdcb9e7f8a51721bd0f48bc7d0d211f by
@robhogan)- [Experimental]: Fix bug where
"exports"field would be used on relative imports within a package. (https://github.com/facebook/metro/commit/cd25c2b5bb6011340d43dd57b8751a102031122a by@huntie)v0.75.1
- [Feature]:
metro-inspector-proxy: Add a human-readable reference to each inspector entries/pages.(facebook/metro#921 by@byCedric)- [Feature]:
metro-inspector-proxy: Report errors in the console. (https://github.com/facebook/metro/commit/da8b41b279e2618786901daa3d6f25f20e9202db by@mattbfb)- [Fix]: Race condition where a very recently modified file might have missing metadata.(https://github.com/facebook/metro/commit/baf28ab0ee3e2fd965691e57691c5d87b01897b2 by
@robhogan)- [Fix]: Source maps may have invalid entries when using Terser minification. (facebook/metro#928 by
@robhogan)- [Fix]:
metro-inspector-proxy: Fetch source maps from Metro. (https://github.com/facebook/metro/commit/6690b393cc1812af02f8eb20853504f0a6188a83 by@mattbfb)- [Fix]: Mitigate potential source map mismatches with concurrent transformations due to terser#1341. (facebook/metro#929 by
@robhogan)NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Add initial_build annotation to Resolving and Transforming Dependencies (https://github.com/facebook/metro/commit/fc83b521b273f7a29f9f38285d973148bd43c0e3 by
@blakef)- [Experimental]: Implement support for Package Exports (enabled via
resolver.unstable_enablePackageExports) (https://github.com/facebook/metro/commit/4d7ab38ba9f85e7a8d4e2a9f2b26f48c1c070186, https://github.com/facebook/metro/commit/38b96f872a92d0f0650c9af0250c8dc5599a6e62, https://github.com/facebook/metro/commit/216d3e234c14a7c16b9561b2682e60d2e2936114, https://github.com/facebook/metro/commit/6e6f36fd982b9226b7daafd1c942c7be32f9af40 by@huntie)- [Experimental]: Implement support for symlinks (enabled via
resolver.unstable_enableSymlinks) (facebook/metro#925, facebook/metro#926, etc. by@robhogan)Full Changelog: https://github.com/facebook/metro/compare/v0.75.0...v0.75.1
64d85f0 Release 0.76.0c6548f7 Add assetExts to ResolutionContext, remove isAssetFile6442685 Upgrade to Flow 0.201.04876b6e Bump @braintree/sanitize-url from 6.0.0 to 6.0.2 in /website (https://github.com/facebook/flipper/issues/935)79baa71 Update website Open Graph image3cbd9ae Fix Haste map cleanup with Haste module duplicatescd25c2b Update exports resolution to ignore absolute and relative imports7e92227 Fix resolution edge case for package subpaths redirected by mainFields4c520ed Document module APIad31b16 Replace regex String.replace uses with String.replaceAll (drop Node.js 14 com...