Skip to content

Releases: facebook/metro

v0.45.1

10 Sep 11:18
Compare
Choose a tag to compare
  • [Feature]: Add Metro Visualizer: a bundle visualizer to see the modules that form your app.
  • [Feature]: inlineRequires now also affect import statements (Note: This is still experimental and it's under the experimentalImportSupport config param).
  • [Improvement]: Native support for ES6 Module import/export. This improves app performance by removing the babelInteropRequire() wrappers around import calls (Note: This is still experimental and it's under the experimentalImportSupport config param).
  • [Improvement]: Allow for passing an intermediate config directly to metro methods.

(list of commits since v0.45.0)

v0.45.0

30 Aug 10:49
Compare
Choose a tag to compare
  • [Feature]: Upgrade to Babel to 7.0.0 from 7.0.0-beta.56 (Babel changelog).
  • [Improvement]: Upgrade babel-preset-fbjs to 2.3.0.
  • [Fix]: End Metro server gracefully on some edge errors (more info).

(list of commits since v0.44.0)

v0.44.0

28 Aug 05:27
Compare
Choose a tag to compare
  • [Breaking]: Rename the transformModulePath config paramater to transformer.babelTransformerPath.
  • [Breaking]: Move assetPlugins param to the config object (not accepted as a URL param anymore).
  • [Feature]: Add transformerPath config param to allow fully customization of the transformer logic (to generate non-JS modules).
  • [Feature]: Added metro-visualizer package to get a visual representation of the build bundles.
  • [Fixed]: Pass resetCache option to jest-haste-map.

(list of commits since v0.43.6)

v0.43.6

27 Aug 18:07
Compare
Choose a tag to compare
  • [Feature]: Expose module.id in require object.
  • [Feature]: Implement "require" cache clearing via __c.

(list of commits since v0.43.5)

v0.43.5

12 Aug 12:16
Compare
Choose a tag to compare
  • [Feature]: Make generated bundles compatible with Node.js runtime (more info).
  • [Feature]: Add processModuleFilter config param. which replaces postProcessModules that was not supported anymore (more info).
  • [Improvement]: Upgrade to Babel to 7.0.0-beta.56 from 7.0.0-beta.54 (Babel changelog).
  • [Fixed]: Respect the inlineSourceMap option to inline the sourcemap in the bundle (more info).
  • [Fixed]: Do not override the global require function by defining the require function as global.__r (more info). (Note: This can cause a breaking change when overriding the getRunModuleStatement config param).

(list of commits since v0.43.4)

v0.43.4

03 Aug 18:39
Compare
Choose a tag to compare
  • [Feature]: Expose useWatchman configuration parameter to disable watchman crawling.
  • [Improvement]: Metro.runBuild() does not require an out param anymore (it won't save the output to disk if not provided).
  • [Fixed]: Fixed parsing of Windows paths on metro-babel-register.
  • [Fixed]: Now Metro does not require to have a config file (zero-config πŸ˜…).

(list of commits since v0.43.3)

v0.43.3

02 Aug 14:06
Compare
Choose a tag to compare
  • [Feature]: Add TypeScript support to React Native.
  • [Improvement]: Add option to metro-config to override the default config.
  • [Fixed]: Avoid traversing some files on the graph multiple times.

(list of commits since v0.43.2)

v0.43.2

02 Aug 11:15
Compare
Choose a tag to compare
  • [Fixed]: Set the correct inverseDependencies when traversing a graph with circular dependencies.
  • [Fixed]: Set the correct exports when redefining module.exports inside a cyclic dependency (more info).

(list of commits since v0.43.1)

v0.38.4

01 Aug 10:44
Compare
Choose a tag to compare
  • [Fixed]: Use relative paths for module verboseName (more info).

(list of commits since v0.38.3)

v0.43.1

30 Jul 11:13
Compare
Choose a tag to compare
  • [Fixed]: verboseName in dev now contains the full relative path (more info).
  • [Fixed]: Fix name of default configuration filename (more info).

(list of commits since v0.43.0)