Skip to content

Releases: facebook/metro

v0.80.9

02 May 11:17
Compare
Choose a tag to compare
  • [Feature]: Allow configuring HttpStore's read and write paths separately. (3e647a6 by @GijsWeterings)
  • [Feature]: Add additionalSuccessStatuses option to HttpStore. (f8f7d55 by @motiz88)
  • [Fix]: Prevent cache write errors from killing the server, log them to reporter instead. (15815d0 by @motiz88)
  • [Fix]: Node crawler (non-Watchman) returns non-deterministic partial results on silent directory read errors. (105e222 by @robhogan)
  • [Fix]: Dedupe Watchman crawl warnings correctly. (#1260 by @EvanBacon)
  • [Fix]: Improve error message for invalid asset paths. (#1267 by @fredrikburmester)

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

  • [Experimental]: Add unstable_renameRequire transformer option. (#1230 by @EvanBacon)

Full Changelog: v0.80.8...v0.80.9

v0.80.8

28 Mar 12:23
Compare
Choose a tag to compare
  • [Fix]: Guard against invalid symbolication in Chrome DevTools by terminating each module's source map with a null mapping (96c6b89 by @motiz88)

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

  • [Experimental]: Package exports resolution: Fix implicit default condition to be null for subpath patterns (edge case) (#1239 by @jbroma)

Full Changelog: v0.80.7...v0.80.8

v0.80.7

19 Mar 11:02
Compare
Choose a tag to compare
  • [Fix]: Fix startup time regression when using Watchman on Windows with a warm cache. (#1231 by @robhogan)

Full Changelog: v0.80.6...v0.80.7

v0.80.6

15 Feb 20:48
Compare
Choose a tag to compare
  • [Performance]: Improve resolution performance by optimising normal->absolute path conversion (#1209 by @robhogan)
  • [Performance]: Improve resolution performance for watched files outside projectRoot (#1210 by @robhogan)

Full Changelog: v0.80.5...v0.80.6

v0.76.9

30 Jan 17:27
Compare
Choose a tag to compare

This is a hotfix release on the 0.76.x branch.

  • [Fix]: Move metro-minify-terser dependency to fix resolution under isolated node_modules (pnpm, etc).(#1199 by @robhogan)
  • [Fix]: inline-plugin: Don't replace __DEV__ in invalid Babel AST locations. (#1195 by @kitten)
  • [Fix]: constant-folding-plugin: Don't fold optional function calls (foo.?()). (#1178 by @Gamote)
  • [Fix]: Incorrect worker resolution when multiple metro versions are installed. (6d46078 by @robhogan)
  • [Fix]: Fix "unexpected null" crash when handling a batch of file changes. (#1083 by @robhogan)
  • [Fix]: Fix Fast Refresh edge case where removing an async dependency could incorrectly remove modules from the graph. (19d3284 by @robhogan)
  • [Fix]: Fix sourceMapUrl when building bundles for windows/macOS (#763 by @acoates-ms)

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

  • [Experimental]: When enabled, the "exports" field is now considered for Haste packages (which could include local monorepo packages) (#1136 by @kraenhansen)
  • [Experimental]: Fix sourceMappingUrl in HMR payloads when using unstable_serverRoot (#1137 by @EvanBacon)

Full Changelog: v0.76.8...v0.76.9

v0.80.5

24 Jan 18:54
Compare
Choose a tag to compare
  • [Feature]: Add server.forwardClientLogs config option, to allow suppressing client console logs in Metro output. (#1192 by @huntie)
  • [Fix]: constant-folding-plugin: Don't fold optional function calls (foo.?()). (#1178 by @Gamote)
  • [Fix]: inline-plugin: Don't replace __DEV__ in invalid Babel AST locations. (#1195 by @kitten)
  • [Fix]: Move metro-minify-terser dependency to fix resolution under isolated node_modules (pnpm, etc). (#1199 by @robhogan)

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

  • [Experimental]: Fix module duplication due to non-real resolved paths when combining unstable_enablePackageExports and unstable_enableSymlinks. (#1198 by @robhogan)

Full Changelog: v0.80.4...v0.80.5

v0.80.4

10 Jan 18:17
Compare
Choose a tag to compare
  • [Fix]: Remove special handling of paths containing .zip/ (9212156 by @robhogan)
  • [Fix]: Edge case leading to invalid bundles when only the order of dependencies within a module has changed (28abfc9 by @motiz88)

Full Changelog: v0.80.3...v0.80.4

v0.80.3

03 Jan 20:17
Compare
Choose a tag to compare
  • [Feature]: Pass dev option to resolver (#1134 by @EvanBacon)
  • [Fix]: Fast Refresh may fail or lose modifications after correcting transform or resolution issues in user code (0e51ad9 by @robhogan)
  • [Fix]: Don't unnecessarily reset Fast Refresh after recovering from certain transform or resolution errors (46b02dc by @robhogan)
  • [Fix]: Ignore errors in unreachable modules during incremental builds (#1164 by @robhogan)

Full Changelog: v0.80.2...v0.80.3

v0.80.2

18 Dec 13:44
Compare
Choose a tag to compare
  • [Fix]: Fast Refresh breaks on encountering a garbage cycle with async/weak dependencies (e223a2e by @robhogan)
  • [Fix]: Destroy HTTP cache connections on timeout instead of hanging (6001f86 by @motiz88)
  • [Fix] Respond with HTTP 404 when a bundle entry point cannot be resolved (cbfb96d by @motiz88)
  • [Fix]: Support serverRoot with HMR serializer chunks (#1137 by @EvanBacon)
  • [Fix]: Update hermes-parser and related packages to 0.18.0 (9cbf1b7)

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

  • [Experimental]: When enabled, the "exports" field is now considered for Haste packages (which could include local monorepo packages) (#1136 by @kraenhansen)

Full Changelog: v0.80.1...v0.80.2

v0.80.1

09 Nov 17:41
Compare
Choose a tag to compare
  • [Fix]: Add React JSX runtime to default exceptions for inline requires.(#1126 by @gaearon)
  • [Fix]: Always exempt Babel runtime helpers from inline (lazy) requires. (#1127 by @gaearon)
  • [Fix]: Include protocol scheme in sourceMapURL when building bundles for windows / macos. (#763 by @acoates-ms)

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

  • [Experimental]: Add unstable_workerThreads options to transformer and watcher configuration. (20df4ec by @robhogan)

Full Changelog: v0.80.0...v0.80.1