π The JavaScript bundler for React Native
MIT License
Bot releases are hidden (Show)
Published by robhogan over 1 year ago
metro build
and runBuild
API. (https://github.com/facebook/metro/commit/fcfecc96728848af0f2b49a8a1f7501ff9c1054e by @motiz88)metro get-dependencies --entryFile <entryFile>
can now be called as metro get-dependencies <entryFile>
. (https://github.com/facebook/metro/commit/6fdce04007af5dfbbb9c1dd23fbc37ffdeb59ccb by @huntie)Content-Type
and Content-Length
headers for assets to Metro server. (https://github.com/facebook/metro/pull/953 by @aleqsio, https://github.com/facebook/metro/pull/961 by @byCedric)mergeConfig
util from metro
package. (https://github.com/facebook/metro/commit/aa8ec904ced59e8bbb22ef4fd71932d5d099baa7 by @huntie)metro-file-map
: consistently abort crawl when end()
is called. (https://github.com/facebook/metro/commit/51877a8c50b25ce175b097448ef063368aac2009 by @motiz88)metro-config
: Don't mutate argument to loadConfig
. (https://github.com/facebook/metro/commit/38ec62d1a051a5738f17444ba789ad48000ee31d by @motiz88)resolver.assetExts
will now match asset files for extension values that include a dot (.
). (https://github.com/facebook/metro/commit/6d65a328e6f5d7c7a5c27cad144b169f6eaad379 by @huntie)unhandledRejection
listener, fix spammy EventEmitter leak warning. (https://github.com/facebook/metro/commit/833f2ffc3624d53bea18d46797a24a034e9b264a by @motiz88)MetroConfig
type in metro
package. (https://github.com/facebook/metro/commit/d2f36647e36702ddc1eddef4b0bfcbd5026d4199 by @huntie)NOTE: Experimental features are not covered by semver and can change at any time.
asyncRequire
's parameters and make module name optional. (https://github.com/facebook/metro/commit/4e5261cca6fd84b7ce75f58b038b397b84a4b038 by @motiz88)metro-hermes-compiler
package. (https://github.com/facebook/metro/commit/833f2ffc3624d53bea18d46797a24a034e9b264a by @motiz88)unstable_conditionNames
now defaults to ['require']
. (https://github.com/facebook/metro/pull/955 by @huntie)Full Changelog: https://github.com/facebook/metro/compare/v0.76.0...v0.76.1
Published by robhogan over 1 year ago
This is a hotfix on the 0.73.x
branch.
NodeWatcher
(https://github.com/facebook/react-native/issues/36387) (https://github.com/facebook/metro/commit/ab86982fad83da457d949f01a301c589fabcb12e by @robhogan)Full Changelog: https://github.com/facebook/metro/compare/v0.73.8...v0.73.9
Published by motiz88 over 1 year ago
isAssetFile
from custom resolver context, add assetExts
. (https://github.com/facebook/metro/commit/c6548f7ccc5b8ad59ea98f4bd7f1f5822deec0cd by @huntie)require.resolveWeak()
. (https://github.com/facebook/metro/commit/354d6e487a068232b740c809e59c737dc7456565 by @motiz88)false
from context.redirectModulePath
will resolve to empty module in all cases. (https://github.com/facebook/metro/commit/0f1846a64d7ec27ad7c42b1aee2a049e0fad9a5a by @huntie)browser
, react-native
etc when resolving subpath package specifiers. (https://github.com/facebook/metro/commit/7e922270de2f710112346e651c0d95a1903086aa by @huntie)__jsResource
and __conditionallySplitJsResource
functions 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.
"exports"
field would be used on relative imports within a package. (https://github.com/facebook/metro/commit/cd25c2b5bb6011340d43dd57b8751a102031122a by @huntie)Published by arushikesarwani94 over 1 year ago
metro-inspector-proxy
: Add a human-readable reference to each inspector entries/pages.(https://github.com/facebook/metro/pull/921 by @byCedric)metro-inspector-proxy
: Report errors in the console. (https://github.com/facebook/metro/commit/da8b41b279e2618786901daa3d6f25f20e9202db by @mattbfb)metro-inspector-proxy
: Fetch source maps from Metro. (https://github.com/facebook/metro/commit/6690b393cc1812af02f8eb20853504f0a6188a83 by @mattbfb)NOTE: Experimental features are not covered by semver and can change at any time.
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)resolver.unstable_enableSymlinks
) (https://github.com/facebook/metro/pull/925, https://github.com/facebook/metro/pull/926, etc. by @robhogan)Full Changelog: https://github.com/facebook/metro/compare/v0.75.0...v0.75.1
Published by robhogan over 1 year ago
This is a hotfix on the 0.73.x
branch.
Full Changelog: https://github.com/facebook/metro/compare/v0.73.7...v0.73.8
Published by jacdebug over 1 year ago
package.json#engines
. (https://github.com/facebook/metro/commit/c3e453ede5765a84c006b2c819a0f706218773bf)context.redirectModulePath
implementation to return absolute path in all cases. (https://github.com/facebook/metro/commit/acbfe63d83a7905e21f6e034a86e5956a5062861)mainFields
, getPackage
, and getPackageForModule
to custom resolver context. (https://github.com/facebook/metro/commit/adfb59329f9ff97151bd33abb7b72433e711eff9)Full Changelog: https://github.com/facebook/metro/compare/v0.74.1...v0.75.0
Published by robhogan almost 2 years ago
@babel/plugin-proposal-numeric-separator
to metro-react-native-babel-preset
(https://github.com/facebook/metro/pull/681 by @SConaway)Full Changelog: https://github.com/facebook/metro/compare/v0.74.0...v0.74.1
Published by huntie almost 2 years ago
postProcessBundleSourcemap
from config (https://github.com/facebook/metro/commit/339794e43463e004ae36861db17fdfbaf4a9bc67)find
crawler on Windows (https://github.com/facebook/metro/commit/735aa9f5233e4cce78f93e94e80a3be509eea72c)Full Changelog: https://github.com/facebook/metro/compare/v0.73.6...v0.74.0
Published by robhogan almost 2 years ago
This is a hotfix on the 0.73.x
branch.
find
crawler on Windows (https://github.com/facebook/metro/commit/370301981b8e5a92e072e5a2323e9be3308a2cdf)Published by arushikesarwani94 almost 2 years ago
NodeWatcher
(non-Watchman, non-macOS).(https://github.com/facebook/metro/commit/51fb7e349ca9462511ea5cd1b9c391be68839a32)NOTE: Experimental features are not covered by semver and can change at any time.
experimentalImportBundleSupport
: Move bundle path hints into serialised dependency map(https://github.com/facebook/metro/pull/901)Full Changelog: https://github.com/facebook/metro/compare/v0.73.5...v0.73.6
Published by jacdebug almost 2 years ago
getTransformOptions
result properties optional. (https://github.com/facebook/metro/commit/a07c8235a39724b8dbc7f18312db57f10302ae56)metro-runtime
: Re-throw cached module errors without wrapping. (https://github.com/facebook/metro/commit/032c4a1e03f3f696c8526c7771621d8e312e3f61)babel/types
dependency to ^7.20.0
for more consistent exposed AST Bump babel/types
dependency to ^7.20.0
for more consistent exposed ASTFull Changelog: https://github.com/facebook/metro/compare/v0.73.4...v0.73.5
Published by robhogan almost 2 years ago
watch
option in RunServerOptions
(https://github.com/facebook/metro/pull/889 by @EvanBacon)metro-runtime
: Emit additional context on WebSocket 'close'
events (https://github.com/facebook/metro/commit/d54986c49cbcb217a831769766abc87f6ceb52cd)NOTE: Experimental features are not covered by semver and can change at any time.
experimentalImportBundleSupport
: Retraverse parents of deleted async dependencies (https://github.com/facebook/metro/commit/cb806d15d4c4631b74cd4d3939dd9d07494bba13)Full Changelog: https://github.com/facebook/metro/compare/v0.73.3...v0.73.4
Published by huntie almost 2 years ago
NOTE: Experimental features are not covered by semver and can change at any time.
experimentalImportBundleSupport
option from transformer to server (https://github.com/facebook/metro/commit/3c0e1f7c298d226f86f30b77ec443f5aa54bf8b2)Full Changelog: https://github.com/facebook/metro/compare/v0.73.2...v0.73.3
Published by motiz88 about 2 years ago
Maintenance release with purely internal changes.
Full Changelog: https://github.com/facebook/metro/compare/v0.73.1...v0.73.2
Published by motiz88 about 2 years ago
NOTE: Experimental features are not covered by semver and can change at any time.
require.context
on Windows (https://github.com/facebook/metro/pull/876 by @byCedric)Full Changelog: https://github.com/facebook/metro/compare/v0.73.0...v0.73.1
Published by arushikesarwani94 about 2 years ago
uglify-es
to terser
. (#871)fsevents
watcher on Apple Silicon. (#875)metro-file-map
cache read. (7028b7f51074f9ceef22258a8643d0f90de2388b)metro-react-native-babel-preset
. (c2365bb1d72a3773b31c05feab13a96afac484df)watchman --version
if useWatchman
is false. (76c9307ed61efa7794b30b4e585cc5941ed73e16)Full Changelog: https://github.com/facebook/metro/compare/v0.72.3...v0.73.0
Published by jacdebug about 2 years ago
Full Changelog: https://github.com/facebook/metro/compare/v0.72.2...v0.72.3
Published by robhogan about 2 years ago
customResolverOptions
from bundle URL into resolveRequest
(https://github.com/facebook/metro/commit/623b55d54874c77ee51bca6424fca9c3156678ae)hermes-parser
conditionally when hermes is enabled (https://github.com/facebook/metro/pull/855 by @EvanBacon)metro-hermes-compiler
(https://github.com/facebook/metro/pull/856 by @EvanBacon)Full Changelog: v0.72.1...v0.72.2
Published by huntie about 2 years ago
react-refresh/runtime
module as part of the metro-runtime
packageNOTE: Experimental features are not covered by semver and can change at any time.
require.context
support (https://github.com/facebook/metro/pull/822 by @EvanBacon)Full Changelog: v0.72.0...v0.72.1
Published by huntie about 2 years ago
watcher.additionalExts
option, enable inclusion of .cjs
and .mjs
files by default (c1c6d9c09fa92aa2ba71d803fdfa480e4dbb6a51).json
files will no longer be implicitly resolved if removed from resolver.sourceExts
(a3dc30aa0d54d65d6dbd426662f59b0ec398a612).jsx
files will now be resolved before .json
, .ts
, .tsx
(1b479314dc08f2a2e2f76438971f32fcf431ee89)metro
is passed an invalid subcommand or argument (19c4f7edb85f5b61b056580515348ca9715dd361)start
alias for serve
CLI command (19c4f7edb85f5b61b056580515348ca9715dd361)Full Changelog: v0.71.3...v0.72.0