metro

🚇 The JavaScript bundler for React Native

MIT License

Downloads
188.1M
Stars
5.1K
Committers
434

Bot releases are visible (Hide)

metro - Release v0.62.0

Published by benjaminhr about 4 years ago

  • [feature] Add onBundleBuilt to ServerOptions
metro - Release v0.61.0

Published by benjaminhr over 4 years ago

Contains all changes since 0.60.0:

  • [Feature]: Add support for blockList and array of regexs
  • [Fix]: Change order of imports to be the same as in source files
  • [Feature]: Add new secureServerOptions option to runServer
  • [Feature]: Add inline-requires option
  • [PetPeeve]: Metro server => Metro

See 0.59.0...0.60.0 for a full list of changes.

metro - v0.60.0

Published by benjaminhr over 4 years ago

Contains all changes since 0.59.0:

  • [Fix] metro-source-map: propagate sourcesContent when composing source maps (#574 (https://github.com/facebook/metro/pull/574))
  • [Fix] Preserve source locations in import-export-plugin
  • [Change] Resolve path-based configuration options in Metro's config normalizer
  • [Feature] metro-memory-fs: Implement realpath.native
  • [Feature] metro-memory-fs: Implement fs.truncate
  • [Feature] metro-memory-fs: Implement fs.link (http://fs.link/)
  • [Feature] metro-memory-fs: Implement fs.rename
  • [Feature] metro-memory-fs: Implement readdir(withFileTypes)
  • [Feature] Move HttpGetStore to open source
  • [Fix] MultipartResponse to allow for binary data to be sent
  • [Fix] Size attribution in metro-symbolicate
  • [Fix] Links website Docs in Help page. (#563 (https://github.com/facebook/metro/pull/563))
  • [Change] Enable loose mode for @babel/plugin-proposal-object-rest-spread
  • [Fix] Pass config overrides to metro.config.js function (#559 (https://github.com/facebook/metro/pull/559))
  • [Fix] Added bundler property to babel caller (#558 (https://github.com/facebook/metro/pull/558))
  • [Feature] Add rewriteRequestUrl option
  • [New] Add unstable_transformProfile as URL param
  • [Fix] DependencyGraph.resolveDependency resolves to the same module when imported from .. (#556 (https://github.com/facebook/metro/pull/556))
  • [New] Add support for bytecode compilation & bytecode bundles (#546 (https://github.com/facebook/metro/pull/546))
  • [Fix] Send bundle progress immediately
  • [New] New metro-hermes-compiler package @allow-large-files (#545 (https://github.com/facebook/metro/pull/545))
  • [New] Create metro-transform-worker package
  • [Fix] Add getDependencies function that automatically cleans up unused graphs
  • [New] Create metro-transform-plugins package
  • [Breaking Change] Change transform worker from a class to an object interface
  • [Fix] DependencyGraph.resolveDependency resolves to the same module when imported from . (#540 (https://github.com/facebook/metro/pull/540))
  • [Security] Fix security vulnerabilities in third-party dependencies
  • [Removed] Remove hmrEnabled option

See 0.59.0...0.60.0 for a full list of changes.

metro - v0.59.0

Published by cpojer over 4 years ago

Contains all changes since 0.58.0:

  • [Feature] Add support for optional dependencies (#511)
  • [Feature] Bring back the option to use terser as a minifier (#510)
  • [Feature] Record source locations of dependencies in graph
  • [Feature] Show a code frame for resolution errors
  • [Fix] Handle circular dependency removal in the DeltaBundler (#506)
  • [Improvement] Micro optimizations for module resolutions
  • [Breaking] Removed Metro's old configuration
  • [Breaking] Removed resolving to platform specific asset name
  • [Breaking] Removed virtualMapper config option

See https://github.com/facebook/metro/compare/0.58.0...0.59.0 for a full list of changes.

metro - v0.58.0

Published by rickhanlonii almost 5 years ago

  • [Feature]: Add codeframes to symbolication endpoint.
  • [Feature]: Add native as an option for Platform.select (#480).
  • [Feature]: Add module name to reload reason.
  • [Feature]: metro-react-native-babel-preset support for TypeScript namespace (#505).
  • [Feature]: Add watch option to Server and disable file watchers for runBuild (#507).
  • [Fix]: Fix for source maps in chrome devtools.
  • [Fix]: Fix for debugger devtoolsFrontendUrl URL encoding.
  • [Fix]: Fix for Fast Refresh to re-run Modules in Topological Order.
  • [Fix]: Use absolute path, not relative path, when calculating delta (#493).
  • [Fix]: Pass the original module name to custom resolver (#499).
metro - v0.56.4

Published by cpojer almost 5 years ago

metro - v0.57.0

Published by EssamEmad almost 5 years ago

  • [Feature]: Add reloadWithReason to Fast Refresh (61de16b)
  • [Documentation]: Add docs example for connect middleware (ca68db1)
  • [Fix]: Fix BABEL_ENV resolution in babel transformer (c509a89)
  • [Fix]: Fix debugging of split bundles (8669ebd)
    (list of commits since v0.56.3)
metro - v0.56.3

Published by EssamEmad almost 5 years ago

Makes Metro compatible with Flow v0.109.0.

(list of commits since v0.56.0)

metro - v0.56.0

Published by cpojer about 5 years ago

Metro minor targeted at React Native 0.61+.

metro - v0.55.0

Published by motiz88 over 5 years ago

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

metro - v0.54.1

Published by motiz88 over 5 years ago

  • [Fixed]: Minor issues in metro-symbolicate.

(list of commits since v0.54.0)

metro - v0.54.0

Published by rubennorte over 5 years ago

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

metro - v0.53.1

Published by motiz88 over 5 years ago

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

metro - v0.53.0

Published by motiz88 over 5 years ago

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

metro - v0.52.0

Published by motiz88 over 5 years ago

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

metro - v0.51.1

Published by rafeca almost 6 years ago

metro - v0.51.0

Published by rafeca almost 6 years ago

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

metro - v0.48.5

Published by rafeca almost 6 years ago

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

metro - v0.50.0

Published by rafeca almost 6 years ago

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

metro - v0.49.2

Published by rafeca almost 6 years ago

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

Package Rankings
Top 0.62% on Npmjs.org
Top 18.4% on Repo1.maven.org
Badges
Extracted from project README
MIT licensed npm package version Build status Code coverage Follow @MetroBundler on Twitter
Related Projects