Skip to content

Releases: facebook/metro

v0.77.0

06 Jul 22:06
Compare
Choose a tag to compare
  • [Breaking]: Increase minimum Node version from 16 to 18. (ebaf27a by @arushikesarwani94)
  • [Breaking]: Use Terser's default for comments. (#972 by @tido64)
  • [Breaking]: Remove metro-minify-uglify from metro dependencies. (7a8fcd5 by @robhogan)
  • [Fix]: Fixed a bug in the handling of path separators in blockList on Windows. (2eecfc7 by @motiz88)
  • [Fix]: Protect against unsafe merging of blockList patterns with inconsistent regex flags. (c80904b by @motiz88)
  • [Fix]: Incorrect worker resolution when multiple metro versions are installed. (6d46078 by @robhogan)
  • [Performance]: Improve resolution performance for files outside the project root. (dc3cddf by @robhogan)
  • [Performance]: Improved startup speed via a new file map cache format. (166477e by @robhogan)

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

  • [Experimental]: metro-file-map: Normalize root-relative paths for cross-platform cache compatibility. (d282a08 by @motiz88)
  • [Experimental]: Fix crash when require.context is used on a directory with infinite path expansions. (14d652f by @robhogan)

Full Changelog: v0.76.7...v0.77.0

v0.76.7

21 Jun 13:58
Compare
Choose a tag to compare
  • [Feature]: metro-babel-transformer and metro-react-native-babel-transformer will return metadata from Babel transform results. (42fdbc2 by @robhogan)
  • [Feature]: Expose TerminalReporter for Reporter implementations. (417e6f2 by @colinta)
  • [Feature]: Allow client-side device identifiers in inspector proxy. (c6a94bc by @byCedric)
  • [Fix]: EPERM file watching errors on Windows. (4b22efb by @robhogan)

Full Changelog: v0.76.6...v0.76.7

v0.76.6

07 Jun 16:29
Compare
Choose a tag to compare
  • [Types] Update config and Server types to use broader types from connect package (d20d7c8 by @huntie)
  • [Types] Fix TypeScript name for createConnectMiddleware export (06682f8 by @huntie)
  • [Deprecation] Deprecate server.enhanceMiddleware option (22e85fd by @huntie)

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

  • [Experimental] Add unstable_extraMiddleware option to runServer API (d0d5543 by @huntie)

Full Changelog: v0.76.5...v0.76.6

v0.73.10

07 Jun 16:24
Compare
Choose a tag to compare

This is a hotfix on the 0.73.x branch.

  • [Feature] Support URLs for both bundling and symbolication requests using //& instead of ? as a query string delimiter (#994 by @robhogan)
  • [Fix] Emit source URLs in a format that will not be stripped by JavaScriptCore (#994 by @robhogan)

Full Changelog: v0.73.9...v0.73.10

v0.72.4

07 Jun 16:15
Compare
Choose a tag to compare

This is a hotfix on the 0.72.x branch.

  • [Feature] Support URLs for both bundling and symbolication requests using //& instead of ? as a query string delimiter (#993 by @robhogan)
  • [Fix] Emit source URLs in a format that will not be stripped by JavaScriptCore (#993 by @robhogan)

Full Changelog: v0.72.3...v0.72.4

v0.70.4

07 Jun 16:11
Compare
Choose a tag to compare

This is a hotfix on the 0.70.x branch.

  • [Feature] Support URLs for both bundling and symbolication requests using //& instead of ? as a query string delimiter. (#996 by @robhogan)
  • [Fix] Emit source URLs in a format that will not be stripped by JavaScriptCore. (#996 by @robhogan)

Full Changelog: v0.70.3...v0.70.4

v0.76.5

25 May 13:52
Compare
Choose a tag to compare
  • [Feature] Support URLs for both bundling and symbolication requests using //& instead of ? as a query string delimiter (bd357c8 by @robhogan)
  • [Fix] Fix crash on a module added+modified+removed between updates (5d7305e by @robhogan)
  • [Fix] Fix missed modification on module removed+modified+added between updates (5d7305e by @robhogan)
  • [Fix] Emit source URLs in a format that will not be stripped by JavaScriptCore (bce6b27 by @robhogan)
  • [Performance] Prune unmodified modules from delta updates before sending them to the client (e24c6ae by @robhogan)

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

  • [Experimental] Fix babel/runtime issue when using Package Exports (905d773 by @huntie)

Full Changelog: v0.76.4...v0.76.5

v0.76.4

10 May 18:08
Compare
Choose a tag to compare

Full Changelog: v0.76.3...v0.76.4

v0.76.3

24 Apr 22:14
Compare
Choose a tag to compare

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

  • [Experimental] Package Exports unstable_conditionNames now defaults to ['require', 'import'] (e70ceef by @huntie)
  • [Experimental] Removed server.experimentalImportBundleSupport config option. (4ef14f9 by @motiz88)

Full Changelog: v0.76.2...v0.76.3

v0.76.2

14 Apr 11:41
Compare
Choose a tag to compare
  • [Feature]: Added customizeStack hook to Metro's /symbolicate endpoint to allow custom frame skipping logic on a stack level. (ce266dd by @GijsWeterings)
  • [Feature]: Re-export metro-core's Terminal from metro. (86e3f93 by @robhogan)
  • [Feature]: Re-export metro-config's resolveConfig from metro. (cc16664 by @robhogan)
  • [Types]: Remove dependency on @types/babel__code-frame. (41cdc03 by @robhogan)
  • [Types]: Remove dependency on @types/ws. (7deb525 by @robhogan)
  • [Types]: Fix TypeScript types entry point for metro-source-map. (3238bbc by @huntie)
  • [Deprecated]: Deprecate ResolutionContext.getPackageForModule. (2d0a01c by @huntie)

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

  • [Experimental]: Pass full path and query params to asyncRequire for lazy bundles. (61a30b7 by @motiz88)
  • [Experimental]: Fix bug where Package Exports warnings may have been logged for nested node_modules path candidates. (29c77bf by @huntie)
  • [Experimental]: Fix package.json discovery against root package specifiers for Package Exports. (b995303 by @huntie, fixes #965 reported by @shamilovtim)

Full Changelog: v0.76.1...v0.76.2