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

Published by jacdebug over 2 years ago

  • [Fix] End watchman client on calling MetroFileMap end. (fc042d06bb6db98dd819bb0d22b7d536ee396c24)

Full Changelog: https://github.com/facebook/metro/compare/v0.71.2...v0.71.3

metro - Release v0.71.2

Published by robhogan over 2 years ago

NOTE: Experimental features are not covered by semver and can change at any time.

Full Changelog: v0.71.1...v0.71.2

metro - Release v0.71.1

Published by robhogan over 2 years ago

NOTE: Experimental features are not covered by semver and can change at any time.

  • [Experimental] Expose unstable_fileMapCacheManagerFactory config option (e7419900d2e063f2d531313f810d18c487f807f8)
  • [Experimental] Add unstable_perfLogger config option (eec0d7bf00aa707ae210b25218501b3e17dc4bf2)
  • [Experimental] Remove unstable_hasteMapModulePath from Metro config (1cae8d8007d04ba62a739a6c4dff991c69af26e4)

Full Changelog: v0.71.0...v0.71.1

metro - Release v0.71.0

Published by arushikesarwani94 over 2 years ago

  • [Breaking] Reject runServer promise if the HTTP server can't start listening (f39af2cba2c3f39f674ad40ddf97ca7c3daa91f5)
  • [Feature] Add fileMapCacheDirectory config option, deprecate hasteMapCacheDirectory (93966c0065e24dfaed15e409eeedf4b9bc209a41)
  • [Fix] Fail runServer quickly if the port is not available (6d9623eec0250f8b0e78d1843c18a531444713ff)
  • [Fix] Add explicit dependency on @babel/runtime to metro-runtime (#816)
  • [Fix] Fix missing dependency on metro-transform-worker (#817)
  • [Fix] Fix batching bugs causing modules to be incorrectly omitted from delta updates(#819)
  • [Fix] InspectorProxy: Don't pass an Error object to socket.close() (fdc4ef17230ee093cfd302ddc8c59a88019b1f02)

NOTE: Experimental features are not covered by semver and can change at any time.

  • [Experimental] Open source our jest-haste-map fork as metro-file-map (#812)

Full Changelog: v0.70.2...v0.71.0

metro - Release v0.70.3

Published by robhogan over 2 years ago

This is a hotfix on the 0.70.x branch.

  • [Fix] Add explicit dependency on @babel/runtime to metro-runtime (#816)
metro - Release v0.70.2

Published by motiz88 over 2 years ago

Maintenance release, containing purely internal changes such as dependency version updates.

metro - Release v0.70.1

Published by arushikesarwani94 over 2 years ago

NOTE: Experimental features are not covered by semver and can change at any time.

  • [Experimental] Respect unstable_serverRoot setting in experimentalImportBundleSupport mode (779e724885ec439a317edd7eb4356d01fe8d55a2)
  • [Experimental] metro-react-native-babel-preset: Transform named capture groups in regex literals for Hermes (#791 by @danilobuerger)
metro - Release v0.70.0

Published by robhogan over 2 years ago

  • [Breaking] Remove @babel/plugin-transform-regenerator from react-native-babel-preset (#789 by @tido64)
  • [Breaking] Remove @babel/plugin-transform-for-of from react-native-babel-preset (#792 by @newyankeecodeshop)
  • [Feature] Allow customizing the babel transform runtime version (#771 by @newyankeecodeshop)
  • [Fix] Don't set a global uncaughtException listener on process (4be4099184c98ffc0b7687c2322f7dd863d3fbb6)
metro - Release v0.69.1

Published by motiz88 over 2 years ago

  • [Fix] buck-worker-tool: Implement worker termination correctly. (22af8747469529ed2532b5392d695514930fb298)
  • [Fix] metro-resolver: Export the CustomResolutionContext Flow type for use in custom resolvers. (cde639ca3c4d118a46448eb2a960cfb7bcdc4227)
metro - Release v0.69.0

Published by arushikesarwani94 over 2 years ago

  • [Breaking] Move the SegmentedComponentIOS away from React Native Core (f9059c3a04628ef1a778eeba61b8fe503c4c2078)
  • [Feature] Use Node DevTools URL (#761 by @janicduplessis)
  • [Feature] Update hermes-parser to 0.6.0 (56a6b2aaffee8c0f0bb77e2b55e5b33ce1eac7d6)
  • [Feature] Use Object.assign instead of Babel _extends (#745 by @newyankeecodeshop)
  • [Fix] Remove mkdirp@^0.5.1 due to CVE warnings, use native recursive fs.mkdir (#768 by @ericanderson)

Thanks to all of our contributors for helping improve Metro! 🚇

metro - Release v0.68.0

Published by robhogan over 2 years ago

  • [Breaking] resolver.resolveRequest moved to the front of the resolution algorithm and has a new API (d81d8877c05637eac2b4ea946a9fa1e8ae869b06)
  • [Feature] metro-react-native-babel-preset: Support async iterators, "for await ... of" (#747 by @newyankeecodeshop)

Thanks to all of our contributors for helping improve Metro! 🚇

metro - Release v0.67.0

Published by motiz88 over 2 years ago

  • [Breaking] Use custom resolvers (resolver.resolveRequest) before checking the Haste map. (96fb6e904e1660b37f4d1f5353ca1e5477c4afbf)
  • [Feature] Update React Native lazy imports list with the removal of StatusBarIOS. (2a0f77925e3299e01c2bfe82d0356145a643adc0)
  • [Feature] Allow configuring the path of the canonical empty module, which now lives in metro-runtime by default. (bd5f9323337b03a77bc219636937bb75cd8c18ca, 6e3e789b685b95ea59a58364a751e8010d536e8b, 7723be545795c936cb81cad214ee202f72e169b3)
  • [Feature] Add initialize_done, transformer_loading, and transformer_loaded events to the Reporter interface. (d19cf5d7e88207a8d46c17b570f14a239dae8926)
  • [Feature] Add waitForBundler option to the runServer() and runMetro() APIs. (57d8a92583185a97dffcdc1c95fef7780be9104d)
  • [Feature] Add resolver.disableHierarchicalLookup option. (01416f1bc41a3d557b24e4b508fed5f158990108)
  • [Feature] Remove confusing troubleshooting steps from missing module errors. (1fa45c21f7508cc3a852071b775f592873700ad0)
  • [Feature] Infer names for anonymous functions in optional calls. (4ced2a1be8a42a9c7df71b566918a457bad207c1)
  • [Feature] Infer names for anonymous functions memoized with useCallback. (2611f618b245fd2bd2c3558d2536011269bb5a68)
  • [Feature] Update terser to v5 in metro-minify-terser. (https://github.com/facebook/metro/pull/754 by @rockwotj, https://github.com/facebook/metro/pull/606 by @janicduplessis)
  • [Fix] Fix a caching issue with custom resolvers. (793b1a03c1f0b5e63869b471adab3f1ad61b199b)
  • [Fix] Specify UTF-8 encoding when serving bundles. (https://github.com/facebook/metro/pull/695 by @zhiqingchen)
  • [Fix] Support package.json module replacements for requires with implicit extensions. (41522a25bec9325d1df5981b55d4672db7126895)
  • [Fix] Resolve package.json module replacements when the replaced module isn't a physical file. (171393a6319e507935eeb3d40561e908c1a2abfe)
  • [Fix] Fix stack trace symbolication when input files have non-Unix line endings. (https://github.com/facebook/metro/pull/691 by @danielsmc)
  • [Fix] Decrease the precedence of resolver.nodeModulesPaths to respect transitive dependencies. (https://github.com/facebook/metro/pull/738 by @sharmilajesupaul)
  • [Fix] Respect mangle: false & sourceMap: false in minifierConfig. (https://github.com/facebook/metro/pull/749 by @mfbx9da4)
  • [Fix] Update hash function from MD4 to MD5 for Node 17 compatibility. (https://github.com/facebook/metro/pull/752 by @tobua)

NOTE: Experimental features are not covered by semver and can change at any time.

  • [Experimental] Add server.unstable_serverRoot option to allow serving bundles from folders outside the project root. (026a66cf40df1bd05da2afc1660efa1d9605c55a, ca86682012eb836e2b6aeb001f2b3112129e38c3, e061cf342505f3d07fb21f85f22925e3d05557c9, 70e98882ad24d7c25c9b73eaf347e60f2a74c8ca, baacea28635dae7fea3bd30dd485252ae59a937e)
  • [Experimental] Update metro-hermes-compiler. (e80434cf329619e1a0c6c56ae7be6c88cb350c99)
  • [Experimental] Provide safe access to assets outside the project root using /assets?unstable_path=.... (f3d1157bacc341dff82efea2f70b634141105fc0)
  • [Experimental] Add resolver.unstable_hasteMapModulePath option. (e8c0de0411148bd31e3decb6a5c4c1dc1d645666)

Thanks to all the contributors mentioned above for helping improve Metro! 🚇

metro - Release v0.66.2

Published by rubennorte over 3 years ago

  • [Fix] Fix crash in React Native 0.65.0-rc.2. (f7c6325)
metro - Release v0.66.1

Published by motiz88 over 3 years ago

  • [Feature] Add option to use the Hermes parser in the transformer. (6dae163)
  • [Feature] Update the list of default React Native lazy imports to match the removal of Picker, which was already deprecated. (7dcb20d)
  • [Feature] Make the input transform options (e.g. platform) available to experimentalSerializerHook and customSerializer. (#679)
  • [Fix] Avoid triggering Babel scope caching bugs. (4fea2bd, 1370b7a)
  • [Fix] Fix Hermes debugger proxy for IPv6. (#662)
  • [Types] Remove documentation and types for the postMinifyProcess option which has been broken since Metro v0.33.0. (5d778de)
  • [Experimental] Various unstable additions to the transformer config. These are not covered by semver and can change at any time. (6482241, 3390274, 5b913fa, #677)
metro - Release v0.66.0

Published by GijsWeterings over 3 years ago

  • [Breaking] metro-symbolicate: Optionally accept a SourceURL parameter for debug builds (7ad7560)
  • [Feature] Move generator to Hermes stable (b280477)
  • [Feature] Move for-of and ?? to hermes stable (31375f7)
  • [Feature] Set app name for React Native Experimental Debug Connection (3aca116)
  • [Feature] Infer the name "default" for anonymous exports (af23a1b)
  • [Fix] Disable fileName moduleId parsing for non-legacy source maps (e473e93)
  • [Fix] Format log messages using printf format (f2b3485)
  • [Fix] Fix scope of function declaration binding in constant folding (150d13e)
metro - Release v0.65.2

Published by MichaReiser over 3 years ago

  • [Fix] Fix _interopRequireDefault not defined error when using ES Modules (63f3d1e14407266be64ccbbb982485e107f327f0)
metro - Release v0.65.1

Published by GijsWeterings over 3 years ago

metro - Release v0.65.0

Published by motiz88 over 3 years ago

  • [Breaking]: Remove JSON from default asset types (#593)
  • [Breaking]: Removes support for Node 10 (bc8a3f057c7fe277742de6ca9ce98808a76b1d03)
  • [Feature]: metro-symbolicate: Support for symbolicating Chrome heap timelines (cb542c0f00987996caeef9672288e2b386d36d8b, 6b0a0cb6afaa28d3a72fb2df7cbd2a99dc7362c4)
  • [Feature]: Update the default list of lazy imports to match RN 0.63 (#602)
  • [Performance]: Several changes that improve Metro's startup and bundling performance (807bea7, bc8a3f0,
    aceafc5, 279b295, 745e2d8, a942002, d6eefe4)
  • [Fix]: Optimize Platform.select() calls correctly when the argument includes methods (4d9908b)
  • [Fix]: Handle EISDIR errors in buildCodeFrameMessage (#567)
metro - Release v0.64.0

Published by cpojer almost 4 years ago

  • [Feature]: Add mkdtemp and mkdtempSync implementations to metro-memory-fs (1ed78495ec5b492d3ce6f1f375bc596b18d9dc52)
  • [Feature]: Add chmod, lchmod, and fchmod implementations to metro-memory-fs (d99b55be2cb9567e31f5a09ff96e3fd10c54941b)
  • [Feature]: Support function-name inference for flow typecast-expressions to source-maps (d48277f5b78f43365333652a459602b7990fca54)
  • [Feature]: Support SegmentID field in Hermes mini-dump stack traces (d0634a858a860b4739ca821cec744b705edf9013)
  • [Feature]: Support node modules algorithm for resolving configuration path (dea7e0549c286f8052df86f833de6221463687c7)
  • [Feature]: Remove template literal and shorthand prop transformation from hermes-stable preset (1367b711d8807d0b300e23a06d11befe3e66d6f1)
  • [Feature]: Add nodeModulesPath option to resolver (b2528d40c46085a32adbae370d0e47b6a24e3c8c)
  • [Feature]: Remove computed properties, spread, and spread rest transform plugins from Hermes-canary preset (82818e778b75cdd1398f974513111a9a0ed43907)
  • [Breaking]: Renames the Metro transform.inlineRequires.blacklist option to blockList. (b25fe89261732bd0befe965e4cf0bd38ff55b2b6)
  • [Fix]: Prevent inlining of __DEV__ in object property-keys (42942ca2ba81d03e50167ed028c8efb733bb0a3b)
  • [Fix]: Include /node_modules in resolver search path (04a2a466eb353ea2953aac108654276c262fedfb)
  • [Fix]: Correctly escape the path separator in blocklist regular expressions on Windows (881d9f6d97da92fbf510236fef697642ac9a3fe2)
  • [Experimental]: Support absolute file paths when symbolicating stack traces (7be228453f5ff93191401c54614feb7c336fa86c)
metro - Release v0.63.0

Published by benjaminhr about 4 years ago

  • [fix] Change initialisation logo and text from RN to Metro
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