Skip to content

Releases: facebook/metro

v0.55.0

04 Jul 07:49
Compare
Choose a tag to compare
  • [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).

(list of commits since v0.54.1)

v0.54.1

14 May 14:21
Compare
Choose a tag to compare
  • [Fixed]: Minor issues in metro-symbolicate.

(list of commits since v0.54.0)

v0.54.0

01 May 14:21
Compare
Choose a tag to compare
  • [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.

(list of commits since v0.53.1)

v0.53.1

14 Mar 12:23
Compare
Choose a tag to compare
  • [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).

(list of commits since v0.53.0)

v0.53.0

01 Mar 17:20
Compare
Choose a tag to compare
  • [Breaking]: Support setting custom BABEL_ENV in transformer (more info).
  • [Feature]: Move the react-native-symbolicate package to the Metro repository, under the name metro-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).

(list of commits since v0.52.0)

v0.52.0

19 Feb 01:39
Compare
Choose a tag to compare
  • [Breaking]: Rename the dependencies command to get-dependencies and document it (more info).
  • [Feature]: Add disableFlowStripTypesTransform option (more info).
  • [Feature]: Add support for promises to metro-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).

(list of commits since v0.51.1)

v0.51.1

21 Dec 23:33
Compare
Choose a tag to compare

v0.51.0

18 Dec 02:17
Compare
Choose a tag to compare
  • [Breaking]: Create metro-react-native-babel-transformer package and remove reactNativeTransformer.js file from the metro 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).

(list of commits since v0.50.0)

v0.48.5

12 Dec 17:01
Compare
Choose a tag to compare

This version has the exact same contents as v0.48.1.

v0.48.2-v0.48.3 introduced breaking changes when upgrading jest-haste-map that caused an issue on React Native (more info).

v0.50.0

29 Nov 22:04
Compare
Choose a tag to compare
  • [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).

(list of commits since v0.49.2)