Skip to content

Releases: facebook/metro

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

v0.76.1

03 Apr 20:47
Compare
Choose a tag to compare
  • [Feature]: Support custom transformer/resolver options in metro build and runBuild API. (fcfecc9 by @motiz88)
  • [Feature]: metro get-dependencies --entryFile <entryFile> can now be called as metro get-dependencies <entryFile>. (6fdce04 by @huntie)
  • [Feature]: Add Content-Type and Content-Length headers for assets to Metro server. (#953 by @aleqsio, #961 by @byCedric)
  • [Feature]: Expose mergeConfig util from metro package. (aa8ec90 by @huntie)
  • [Fix]: metro-file-map: consistently abort crawl when end() is called. (51877a8 by @motiz88)
  • [Fix]: metro-config: Don't mutate argument to loadConfig. (38ec62d by @motiz88)
  • [Fix]: Babel transformers: Provide correct absolute source path to plugins when Metro is not run from the project root. (de19bbd by @robhogan)
  • [Fix]: resolver.assetExts will now match asset files for extension values that include a dot (.). (6d65a32 by @huntie)
  • [Fix]: Don't register an unhandledRejection listener, fix spammy EventEmitter leak warning. (833f2ff by @motiz88)
  • [Types]: Add bundled TypeScript definitions (partial) for all packages previously on DefinitelyTyped. (c022c36, 07732e7, 9ee5280 by @huntie, with @afoxman and @tido64)
  • [Types]: Expose MetroConfig type in metro package. (d2f3664 by @huntie)

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

Full Changelog: v0.76.0...v0.76.1

v0.73.9

21 Mar 14:32
Compare
Choose a tag to compare

This is a hotfix on the 0.73.x branch.

Full Changelog: v0.73.8...v0.73.9

v0.76.0

06 Mar 14:35
Compare
Choose a tag to compare

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

  • [Experimental]: Fixes and improvements for symlink support. (0e2a70a, 3bef954, and eeb211f by @robhogan)
  • [Experimental]: Fix bug where "exports" field would be used on relative imports within a package. (cd25c2b by @huntie)

v0.75.1

22 Feb 18:09
Compare
Choose a tag to compare
  • [Feature]: metro-inspector-proxy: Add a human-readable reference to each inspector entries/pages.(#921 by @byCedric)
  • [Feature]: metro-inspector-proxy: Report errors in the console. (da8b41b by @mattbfb)
  • [Fix]: Race condition where a very recently modified file might have missing metadata.(baf28ab by @robhogan)
  • [Fix]: Source maps may have invalid entries when using Terser minification. (#928 by @robhogan)
  • [Fix]: metro-inspector-proxy: Fetch source maps from Metro. (6690b39 by @mattbfb)
  • [Fix]: Mitigate potential source map mismatches with concurrent transformations due to terser#1341. (#929 by @robhogan)

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

  • [Experimental]: Add initial_build annotation to Resolving and Transforming Dependencies (fc83b52 by @blakef)
  • [Experimental]: Implement support for Package Exports (enabled via resolver.unstable_enablePackageExports) (4d7ab38, 38b96f8, 216d3e2, 6e6f36f by @huntie)
  • [Experimental]: Implement support for symlinks (enabled via resolver.unstable_enableSymlinks) (#925, #926, etc. by @robhogan)

Full Changelog: v0.75.0...v0.75.1