Skip to content

Releases: facebook/metro

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)

v0.49.2

26 Nov 10:44
Compare
Choose a tag to compare
  • [Improvement]: Optimizations to the Delta Client (more info).
  • [Fix]: Adds a missing peer dependency to metro-react-native-preset (more info).
  • [Fix]: parsing of the HMR legacy URLs (more info).

(list of commits since v0.49.1)

v0.49.1

26 Nov 10:41
Compare
Choose a tag to compare
  • [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).

(list of commits since v0.49.0)

v0.49.0

05 Nov 10:02
Compare
Choose a tag to compare
  • [Feature]: Add Source map support for HMR updates (more info).
  • [Feature]: Add a ServiceWorker implementation to get development updates via delta bundles in web (more info).

(list of commits since v0.48.3)

v0.48.3

05 Nov 09:59
Compare
Choose a tag to compare
  • [Fix]: Do not add "use strict;" to non ES6 modules (more info).

(list of commits since v0.48.2)

v0.48.2

05 Nov 09:57
Compare
Choose a tag to compare
  • [Breaking]: Upgrade jest-haste-map to v24.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.

(list of commits since v0.48.1)