Releases: facebook/metro
Releases Β· facebook/metro
v0.52.0
- [Breaking]: Rename the
dependencies
command toget-dependencies
and document it (more info). - [Feature]: Add
disableFlowStripTypesTransform
option (more info). - [Feature]: Add support for
promises
tometro-memory-fs
(more info). - [Fix]: Correctly fail resolution when checking a nonexistent folder (more info).
- [Fix]: Only attach HMR server once the main Metro server is listening (more info).
- [Documentation]: Change docs UI for config options to fix search indexing issue
(more info).
v0.51.1
v0.51.0
- [Breaking]: Create
metro-react-native-babel-transformer
package and removereactNativeTransformer.js
file from themetro
package (more info: 1, 2). - [Security]: Bump ws package to 1.1.5 due to vulnerability issues (more info).
- [Fix]: Issue with assets living outside of the project root (#322).
- [Improvement]: Add basic welcome message to visualizer (more info).
v0.48.5
v0.50.0
- [Feature]: Add Yarn PnP resolver (more info).
- [Improvement]: Drop console.warning when module is defined twice (#316).
- [Improvement]: Use lazy mode to compile dependencies (more info).
- [Fix]: Pass caller option to babel when transforming (#319).
- [Fix]: Fix transformation of require implementation after bump to babel 7 (more info).
- [Fix]: Fix watch script on linux (more info).
v0.49.2
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.