Releases: facebook/metro
Releases Β· facebook/metro
v0.55.0
- [Breaking]: Introduce Fast Refresh as a replacement for hot reloading (https://twitter.com/reactnative/status/1144629612921720833)
- [Breaking]: Remove
providesModuleNodeModules
option (7b46150). - [New package]:
ob1
, a small library for working with 0- and 1-based offsets in a type-checked way (437374f). - [Feature]: Include original and inferred function names in source maps (64fc81e, 4bb9969).
- [Feature]: New source map consumer implementation (ccd508c) and source map composition function (6017085) in
metro-source-map
. - [Feature]: Expose a
modulesOnly
option for the bundle endpoint (79904d8). - [Fixes]: Several bugfixes in Metro server (39892a2, affd060, 721cbe2, dc2f29f, 118f1f8, etc).
- [Fixes]: Support
import {default as localName}
(2f15a05). - [Fixes]: Make Metro server more responsive during a symbolication request (99cd176).
- [Experimental]: Add an "Import Bundle" mode to Metro (9dd961a).
v0.54.1
- [Fixed]: Minor issues in
metro-symbolicate
.
v0.54.0
- [Breaking]: Removed hooks feature in the default module registry (19412af).
- [Feature]: Validated new configuration using
jest-validate
(#205). - [Fixes]: Several fixes in
metro-inspector-proxy
(35afd38, d68eb4e, 0393cdf, 22a87e0, 3587eac, 0187b31,
d1149ee) - [Fixes]: Several fixes in
metro-source-map
. - [Fixes]: Improved symbolication of wrapped functions in
metro-symbolicate
(b8c5243) - [Maintenance]: Upgraded several dependencies.
v0.53.1
- [Feature]: Added support for verifying incoming connections (more info: 1, 2).
- [Feature]: Support an array of whitelisted paths in
lazyImportExportTransform
and default to lazy requires for all public React Native exports (more info). - [Fixed]: Support symbolicating stack frames in the
file:line:column
format (more info).
v0.53.0
- [Breaking]: Support setting custom
BABEL_ENV
in transformer (more info). - [Feature]: Move the
react-native-symbolicate
package to the Metro repository, under the namemetro-symbolicate
(more info). - [Fixed]: Don't override
process.env.NODE_ENV
in prelude if already set (more info). - [Fixed]: Add missing dependencies (more info: 1, 2).
- [Improvement]: Remove dependency on
babel-core
which has since been renamed@babel/core
(more info).
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).