Releases: facebook/metro
Releases Β· facebook/metro
v0.49.1
- [Feature]: Add custom serializer (#309).
- [Feature]:
entryFile
is no longer assumed to end with.js
extension (#310). - [Feature]: Add support for
publicPath
to enable serving assets from different locations (#299). - [Feature]: Make dynamic import interoperable for CJS and ESM (more info).
- [Fix]: Fix source map loading in the remote debugger (more info).
- [Fix]: Fix metro visualizer transformation (more info).
v0.49.0
v0.48.3
v0.48.2
- [Breaking]: Upgrade
jest-haste-map
tov24.0.0-alpha.2
. Metro no longer makes modules with@providesModule
annotations global by default (more info). - [Feature]: Add a config param to disable sticky workers (more info).
- [Feature]: Add support for storing/retrieving binary data in the caching system (more info).
- [Improvement]: Transform
_dependencyMap[n]
into the corresponding integer to reduce bundle size on RAM bundles (more info). - [Improvement]: Refactored HMR handling logic to be more robust.
- [Fix]: Do not recompute the transform cache key every time Metro transfofrms a file (more info).
- [Fix]: Issue when using
maxWorkers=1
and creating different instances of Metro in the same process.
v0.48.1
v0.48.0
- [Breaking]: Tweak the minifiers API to make the options configurable. Now the
minify()
method accepts an object instead of several params (more info). - [Feature]: Add
minifierConfig
config param to enable passing custom options to the minifier (more info). - [Feature]: Add
enableBabelRuntime
config param to select whether the@babel/runtime
plugin is enabled. - [Fix]: TypeScript constructor parameter properties (#258).
- [Fix]: React Native transformer now instantiates the HMR plugin correctly (more info).
- [Fix]: Build progress bar now behaves correctly when building multiple entry points (more info).
v0.47.1
- [Improvement]: Ignore
babel.config.js
files in addition to.babelrc
(#276). - [Improvement]: Change injection of global object to use
global
beforewindow
. - [Fix]: Generation of inline sourcemaps is now correct.
- [Fix]:
enableBabelRCLookup
config param is now correctly taken into account.
v0.47.0
- [Breaking]: Remove the absolute path of files as an argument of
babelTransformerPath
(more info). - [Breaking]: Changed the interface of the
transformerPath
module (more info). - [Improvement]: Add
module.id
param to production bundles (more info). - [Fix]: Handle the case where transformSync returns null in the React Native transformer (#264).
- [Fix]: Resolve
transformerPath
before attempting to read its contents (#268).