Skip to content

Releases: react/metro

v0.47.1

04 Oct 11:32

Choose a tag to compare

  • [Improvement]: Ignore babel.config.js files in addition to .babelrc (#276).
  • [Improvement]: Change injection of global object to use global before window.
  • [Fix]: Generation of inline sourcemaps is now correct.
  • [Fix]: enableBabelRCLookup config param is now correctly taken into account.

(list of commits since v0.47.0)

v0.47.0

04 Oct 11:29

Choose a tag to compare

  • [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).

(list of commits since v0.46.0)

v0.46.0

24 Sep 19:49

Choose a tag to compare

  • [Breaking]: Use babel runtime instead of relying on global babelHelpers on the React Native transformer (#198).
  • [Feature]: Add metro-minify-terser as an alternative minifier (#256).
  • [Fix]: Transform .tsx files correctly (#263).

(list of commits since v0.45.6)

v0.45.6

24 Sep 19:45

Choose a tag to compare

  • [Improvement]: Ensure that jsonvalue exists in resolver.sourceExts (#250).
  • [Fix]: Add "use strict" when transforming JS modules.
  • [Fix]: Create inline source maps only when no URL is specified (#260).
  • [Fix]: Add missing dependencies to the Metro package.

(list of commits since v0.45.5)

v0.45.5

24 Sep 19:42

Choose a tag to compare

  • [Fix]: Add @babel/plugin-external-helpers as a metro dependency.

(list of commits since v0.45.4)

v0.45.4

24 Sep 19:41

Choose a tag to compare

  • [Feature]: Add support for babel.config.js config files in the React Native transformer (#251).
  • [Improvement]: Return a meaningful message when a bundle doesn't exist.
  • [Fix]: Fix haste module resolution inside of scoped modules (#241).
  • [Fix]: Do not include the sourcecode of assets in the sourcemaps.
  • [Fix]: Ignore babel config files when transforming import/export statements.
  • [Fix]: Do not generate non-ES5 code when transforming import/export statements.
  • [Fix]: Small issues around the new experimentalImportSupport config flag (more info).

(list of commits since v0.45.3)

v0.45.3

19 Sep 10:43

Choose a tag to compare

  • [Improvement]: Preview source code or source image of a module, as well as the output code from the metro visualizer.
  • [Fix]: Make Metro visualizer dependency optional.

(list of commits since v0.45.2)

v0.45.2

14 Sep 13:25

Choose a tag to compare

  • [Feature]: Make Metro bundles compatible with ES6 Module runtimes.
  • [Improvement]: Add optimizationSizeLimit config param to not do expensive optimizations on large files.
  • [Fix]: Strip const keywords from the bundle runtime to make it compatible with older JS engines.

(list of commits since v0.45.1)

v0.45.1

10 Sep 11:18

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

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)