React-Native-Web-TypeScript-Prettier-Boilerplate
React-Native-Web-TypeScript-Prettier-Boilerplate copied to clipboard
Update dependency metro-react-native-babel-preset to ^0.77.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| metro-react-native-babel-preset | ^0.54.1 -> ^0.77.0 |
Release Notes
facebook/metro (metro-react-native-babel-preset)
v0.77.0
- [Breaking]: Increase minimum Node version from 16 to 18. (https://github.com/facebook/metro/commit/ebaf27ab49eb8b9394107bd7a796b24bc342c483 by @arushikesarwani94)
- [Breaking]: Use Terser's default for comments. (https://github.com/facebook/metro/pull/972 by @tido64)
- [Breaking]: Remove
metro-minify-uglifyfrommetrodependencies. (https://github.com/facebook/metro/commit/7a8fcd5ecf5ccbe760c22be7fa924f9cb7c2fe1e by @robhogan) - [Fix]: Fixed a bug in the handling of path separators in
blockListon Windows. (https://github.com/facebook/metro/commit/2eecfc767095f32bbea35a62c2dc85dcc9c4f839 by @motiz88) - [Fix]: Protect against unsafe merging of
blockListpatterns with inconsistent regex flags. (https://github.com/facebook/metro/commit/c80904b64b8fa5d152da176ce668b77fa3e0ba25 by @motiz88) - [Fix]: Incorrect worker resolution when multiple
metroversions are installed. (https://github.com/facebook/metro/commit/6d46078e74ae9a43aa90bed46dbd6610e2696cd0 by @robhogan) - [Performance]: Improve resolution performance for files outside the project root. (https://github.com/facebook/metro/commit/dc3cddf21803eb3addb084627e4d536318e3da0a by @robhogan)
- [Performance]: Improved startup speed via a new file map cache format. (https://github.com/facebook/metro/commit/166477e9154b3aec4d3081a759cc40f8e3d53c4a 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. (https://github.com/facebook/metro/commit/d282a0818b840f1d5b0a2086051ec2c7febf1986 by @motiz88) - [Experimental]: Fix crash when
require.contextis used on a directory with infinite path expansions. (https://github.com/facebook/metro/commit/14d652f411fd055c950f820d2de3087e2a791acd by @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.7...v0.77.0
v0.76.9
This is a hotfix release on the 0.76.x branch.
- [Fix]: Move
metro-minify-terserdependency to fix resolution under isolated node_modules (pnpm, etc).(https://github.com/facebook/metro/pull/1199 by @robhogan) - [Fix]:
inline-plugin: Don't replace__DEV__in invalid Babel AST locations. (https://github.com/facebook/metro/pull/1195 by @kitten) - [Fix]:
constant-folding-plugin: Don't fold optional function calls (foo.?()). (https://github.com/facebook/metro/pull/1178 by @Gamote) - [Fix]: Incorrect worker resolution when multiple
metroversions are installed. (https://github.com/facebook/metro/commit/6d46078e74ae9a43aa90bed46dbd6610e2696cd0 by @robhogan) - [Fix]: Fix "unexpected null" crash when handling a batch of file changes. (https://github.com/facebook/metro/pull/1083 by @robhogan)
- [Fix]: Fix Fast Refresh edge case where removing an async dependency could incorrectly remove modules from the graph. (https://github.com/facebook/metro/commit/19d328459f910aa222b4599b4b28765fde82aa3d by @robhogan)
- [Fix]: Fix sourceMapUrl when building bundles for windows/macOS (https://github.com/facebook/metro/pull/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) (https://github.com/facebook/metro/pull/1136 by @kraenhansen) - [Experimental]: Fix
sourceMappingUrlin HMR payloads when usingunstable_serverRoot(https://github.com/facebook/metro/pull/1137 by @EvanBacon)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.8...v0.76.9
v0.76.8
v0.76.7
- [Feature]:
metro-babel-transformerandmetro-react-native-babel-transformerwill returnmetadatafrom Babel transform results. (42fdbc2by @robhogan) - [Feature]: Expose
TerminalReporterfor Reporter implementations. (417e6f2by @colinta) - [Feature]: Allow client-side device identifiers in inspector proxy. (
c6a94bcby @byCedric) - [Fix]: EPERM file watching errors on Windows. (
4b22efbby @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.6...v0.76.7
v0.76.6
- [Types] Update config and
Servertypes to use broader types fromconnectpackage (https://github.com/facebook/metro/commit/d20d7c80217ba2319379472fec0e345f58c569c6 by @huntie) - [Types] Fix TypeScript name for
createConnectMiddlewareexport (https://github.com/facebook/metro/commit/06682f8775bb4447583fa1944126b3701da540bc by @huntie) - [Deprecation] Deprecate
server.enhanceMiddlewareoption (https://github.com/facebook/metro/commit/22e85fde85ec454792a1b70eba4253747a2587a9 by @huntie)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Add
unstable_extraMiddlewareoption torunServerAPI (https://github.com/facebook/metro/commit/d0d554381f119bb80ab09dbd6a1d310b54737e52 by @huntie)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.5...v0.76.6
v0.76.5
- [Feature] Support URLs for both bundling and symbolication requests using
//&instead of?as a query string delimiter (https://github.com/facebook/metro/commit/bd357c8206205f70051a7a85a645a9595c650002 by @robhogan) - [Fix] Fix crash on a module added+modified+removed between updates (https://github.com/facebook/metro/commit/5d7305e2f3a9f5f4aebc889a452afb03b1db12a7 by @robhogan)
- [Fix] Fix missed modification on module removed+modified+added between updates (https://github.com/facebook/metro/commit/5d7305e2f3a9f5f4aebc889a452afb03b1db12a7 by @robhogan)
- [Fix] Emit source URLs in a format that will not be stripped by JavaScriptCore (https://github.com/facebook/metro/commit/bce6b27ef8ac7c41e0a3e990eb71747cc0e6f606 by @robhogan)
- [Performance] Prune unmodified modules from delta updates before sending them to the client (https://github.com/facebook/metro/commit/e24c6aefc87842c560c613dcefa8c4ffdc3b91b6 by @robhogan)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Fix
babel/runtimeissue when using Package Exports (https://github.com/facebook/metro/commit/905d773454cdff9d7a25403f549b40ba54558792 by @huntie)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.4...v0.76.5
v0.76.4
- [Feature]: Support the
x_google_ignoreListsource map extension. (https://github.com/facebook/metro/pull/973,82bd64aby @motiz88) - [Feature]: Support bundling KTX files as image assets. (https://github.com/facebook/metro/pull/975 by @rshest)
- [Fix]: Fix crash on a module added+modified+removed between updates. (
5d7305eby @robhogan) - [Fix]: Fix missed modification on module removed+modified+added between updates. (
5d7305eby @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.3...v0.76.4
v0.76.3
- [Feature]: Support custom
__loadBundleAsyncimplementations in the defaultasyncRequirefunction. See the lazy bundling RFC for more details. (https://github.com/facebook/metro/commit/ac3adced45a6ca32286dda9e9470eab6eb4218bf, https://github.com/facebook/metro/commit/f07ce5c455a76b63d47c5ccec9611fc8cd66cd0e by @motiz88) - [Feature]: Support
lazyparameter in bundle requests. See the lazy bundling RFC for more details. (https://github.com/facebook/metro/commit/4ef14f9a2f6c0b566df86f9caebb5a98bb7ba52a by @motiz88) - [Feature]: Preserve comments in unminified builds, while continuing to strip all comments from minified builds. (https://github.com/facebook/metro/pull/967 by @tido64)
- [Deprecated]: The
transformer.asyncRequireModulePathconfig option is deprecated. Use__loadBundleAsyncinstead.(https://github.com/facebook/metro/commit/c7b684f0ae90ec22f7cddf82858dcaa8aa4bc64a by @motiz88)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Package Exports unstable_conditionNames now defaults to ['require', 'import'] (https://github.com/facebook/metro/commit/e70ceef126a528c5e18d58c5ed47adb864e8a76b by @huntie)
- [Experimental] Removed
server.experimentalImportBundleSupportconfig option. (https://github.com/facebook/metro/commit/4ef14f9a2f6c0b566df86f9caebb5a98bb7ba52a by @motiz88)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.2...v0.76.3
v0.76.2
- [Feature]: Added customizeStack hook to Metro's
/symbolicateendpoint to allow custom frame skipping logic on a stack level. (https://github.com/facebook/metro/commit/ce266ddafd5eb484168f973f84a203d8b162f842 by @GijsWeterings) - [Feature]: Re-export
metro-core'sTerminalfrommetro. (https://github.com/facebook/metro/commit/86e3f934d4818cf4332a6dc3bed914db46090dd5 by @robhogan) - [Feature]: Re-export
metro-config'sresolveConfigfrommetro. (https://github.com/facebook/metro/commit/cc1666415f8773f799ddda6f4f7f83b8dc6205dd by @robhogan) - [Types]: Remove dependency on
@types/babel__code-frame. (https://github.com/facebook/metro/commit/41cdc034a92c9aed8dd3410bf1d322de8c8e3ebd by @robhogan) - [Types]: Remove dependency on
@types/ws. (https://github.com/facebook/metro/commit/7deb525916e7076a57e48e95a63c20702365246a by @robhogan) - [Types]: Fix TypeScript types entry point for metro-source-map. (https://github.com/facebook/metro/commit/3238bbc9f462081765014a6046fdec03a391005e by @huntie)
- [Deprecated]: Deprecate
ResolutionContext.getPackageForModule. (https://github.com/facebook/metro/commit/2d0a01cd7e244d4dbabc1718aa5c2d43a98b2d48 by @huntie)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Pass full path and query params to
asyncRequirefor lazy bundles. (https://github.com/facebook/metro/commit/61a30b7fc2075cf53f87ae8ad7b7423d204ef670 by @motiz88) - [Experimental]: Fix bug where Package Exports warnings may have been logged for nested
node_modulespath candidates. (https://github.com/facebook/metro/commit/29c77bff31e2475a086bc3f04073f485da8f9ff0 by @huntie) - [Experimental]: Fix
package.jsondiscovery against root package specifiers for Package Exports. (https://github.com/facebook/metro/commit/b99530302415d065a54cf2671bd0cc6c820819ed by @huntie, fixes https://github.com/facebook/metro/issues/965 reported by @shamilovtim)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.1...v0.76.2
v0.76.1
- [Feature]: Support custom transformer/resolver options in
metro buildandrunBuildAPI. (https://github.com/facebook/metro/commit/fcfecc96728848af0f2b49a8a1f7501ff9c1054e by @motiz88) - [Feature]:
metro get-dependencies --entryFile <entryFile>can now be called asmetro get-dependencies <entryFile>. (https://github.com/facebook/metro/commit/6fdce04007af5dfbbb9c1dd23fbc37ffdeb59ccb by @huntie) - [Feature]: Add
Content-TypeandContent-Lengthheaders for assets to Metro server. (https://github.com/facebook/metro/pull/953 by @aleqsio, https://github.com/facebook/metro/pull/961 by @byCedric) - [Feature]: Expose
mergeConfigutil frommetropackage. (https://github.com/facebook/metro/commit/aa8ec904ced59e8bbb22ef4fd71932d5d099baa7 by @huntie) - [Fix]:
metro-file-map: consistently abort crawl whenend()is called. (https://github.com/facebook/metro/commit/51877a8c50b25ce175b097448ef063368aac2009 by @motiz88) - [Fix]:
metro-config: Don't mutate argument toloadConfig. (https://github.com/facebook/metro/commit/38ec62d1a051a5738f17444ba789ad48000ee31d by @motiz88) - [Fix]: Babel transformers: Provide correct absolute source path to plugins when Metro is not run from the project root. (https://github.com/facebook/metro/commit/de19bbd33f239de1b29aac5db290ffffe26ec468 by @robhogan)
- [Fix]:
resolver.assetExtswill now match asset files for extension values that include a dot (.). (https://github.com/facebook/metro/commit/6d65a328e6f5d7c7a5c27cad144b169f6eaad379 by @huntie) - [Fix]: Don't register an
unhandledRejectionlistener, fix spammy EventEmitter leak warning. (https://github.com/facebook/metro/commit/833f2ffc3624d53bea18d46797a24a034e9b264a by @motiz88) - [Types]: Add bundled TypeScript definitions (partial) for all packages previously on DefinitelyTyped. (https://github.com/facebook/metro/commit/c022c361d09870ec5cec92a58feab77c571a4aaf, https://github.com/facebook/metro/commit/07732e778b0587ce7e92571e66243c7546781f7c, https://github.com/facebook/metro/commit/9ee5280bd4e5ce2c45bd3912860c4e70056dd45a by @huntie, with @afoxman and @tido64)
- [Types]: Expose
MetroConfigtype inmetropackage. (https://github.com/facebook/metro/commit/d2f36647e36702ddc1eddef4b0bfcbd5026d4199 by @huntie)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Reorder
asyncRequire's parameters and make module name optional. (https://github.com/facebook/metro/commit/4e5261cca6fd84b7ce75f58b038b397b84a4b038 by @motiz88) - [Experimental]: Remove experimental
metro-hermes-compilerpackage. (https://github.com/facebook/metro/commit/833f2ffc3624d53bea18d46797a24a034e9b264a by @motiz88) - [Experimental]: Package Exports
unstable_conditionNamesnow defaults to['require']. (https://github.com/facebook/metro/pull/955 by @huntie) - [Experimental]: Add compatibility with legacy Node.js "exports" array formats. (https://github.com/facebook/metro/commit/f321cffa73dac3cd407a0865462e62e25aa531f4, https://github.com/facebook/metro/commit/1e47cb5b3cc289530fb18e402891f9d2816611dd by @huntie)
Full Changelog: https://github.com/facebook/metro/compare/v0.76.0...v0.76.1
v0.76.0
- [Breaking]: Increase minimum Node version from 14 to 16. (https://github.com/facebook/metro/commit/e5950aeaf0ddb1bf9776ec98509d56f42db2e95d by @huntie)
- [Breaking]: Remove
isAssetFilefrom custom resolver context, addassetExts. (https://github.com/facebook/metro/commit/c6548f7ccc5b8ad59ea98f4bd7f1f5822deec0cd by @huntie) - [Feature]: Support
require.resolveWeak(). (https://github.com/facebook/metro/commit/354d6e487a068232b740c809e59c737dc7456565 by @motiz88) - [Fix]: Don't over-invalidate on symlink changes if resolution through symlinks is not enabled. (https://github.com/facebook/metro/commit/2303c10b6b71b5bc1194badd997b08f962e8d237 by @robhogan)
- [Fix]: Returning
falsefromcontext.redirectModulePathwill resolve to empty module in all cases. (https://github.com/facebook/metro/commit/0f1846a64d7ec27ad7c42b1aee2a049e0fad9a5a by @huntie) - [Fix]: Respect extensionless entries in
browser,react-nativeetc when resolving subpath package specifiers. (https://github.com/facebook/metro/commit/7e922270de2f710112346e651c0d95a1903086aa by @huntie) - [Fix]: Remove undocumented Meta-only
__jsResourceand__conditionallySplitJsResourcefunctions from module API. (https://github.com/facebook/metro/commit/f1d905bb60227b3390515928fb87c9d524ca5481 and https://github.com/facebook/metro/commit/69c8fc707bda418b4eb7aa646ad2887d83e1d3f1 by @motiz88)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Fixes and improvements for symlink support. (https://github.com/facebook/metro/commit/0e2a70a439c41de8c5f61b426d326b5b32d8129a, https://github.com/facebook/metro/commit/3bef954304cb4b99ab30643c49f0727d917a5306, and https://github.com/facebook/metro/commit/eeb211fdcfdcb9e7f8a51721bd0f48bc7d0d211f by @robhogan)
- [Experimental]: Fix bug where
"exports"field would be used on relative imports within a package. (https://github.com/facebook/metro/commit/cd25c2b5bb6011340d43dd57b8751a102031122a by @huntie)
v0.75.1
- [Feature]:
metro-inspector-proxy: Add a human-readable reference to each inspector entries/pages.(https://github.com/facebook/metro/pull/921 by @byCedric) - [Feature]:
metro-inspector-proxy: Report errors in the console. (https://github.com/facebook/metro/commit/da8b41b279e2618786901daa3d6f25f20e9202db by @mattbfb) - [Fix]: Race condition where a very recently modified file might have missing metadata.(https://github.com/facebook/metro/commit/baf28ab0ee3e2fd965691e57691c5d87b01897b2 by @robhogan)
- [Fix]: Source maps may have invalid entries when using Terser minification. (https://github.com/facebook/metro/pull/928 by @robhogan)
- [Fix]:
metro-inspector-proxy: Fetch source maps from Metro. (https://github.com/facebook/metro/commit/6690b393cc1812af02f8eb20853504f0a6188a83 by @mattbfb) - [Fix]: Mitigate potential source map mismatches with concurrent transformations due to terser#1341. (https://github.com/facebook/metro/pull/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 (https://github.com/facebook/metro/commit/fc83b521b273f7a29f9f38285d973148bd43c0e3 by @blakef)
- [Experimental]: Implement support for Package Exports (enabled via
resolver.unstable_enablePackageExports) (https://github.com/facebook/metro/commit/4d7ab38ba9f85e7a8d4e2a9f2b26f48c1c070186, https://github.com/facebook/metro/commit/38b96f872a92d0f0650c9af0250c8dc5599a6e62, https://github.com/facebook/metro/commit/216d3e234c14a7c16b9561b2682e60d2e2936114, https://github.com/facebook/metro/commit/6e6f36fd982b9226b7daafd1c942c7be32f9af40 by @huntie) - [Experimental]: Implement support for symlinks (enabled via
resolver.unstable_enableSymlinks) (https://github.com/facebook/metro/pull/925, https://github.com/facebook/metro/pull/926, etc. by @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.75.0...v0.75.1
v0.75.0
- [Breaking]: Formalise minimum Node JS requirement at 14.17.0 via
package.json#engines. (https://github.com/facebook/metro/commit/c3e453ede5765a84c006b2c819a0f706218773bf) - [Breaking]: Filter untyped context properties passed to custom resolvers. (https://github.com/facebook/metro/commit/cb01ec09c6a8df51f39d6b1419cbf173fa5abf4a)
- [Breaking]: Change default
context.redirectModulePathimplementation to return absolute path in all cases. (https://github.com/facebook/metro/commit/acbfe63d83a7905e21f6e034a86e5956a5062861) - [Feature]: Add
mainFields,getPackage, andgetPackageForModuleto custom resolver context. (https://github.com/facebook/metro/commit/adfb59329f9ff97151bd33abb7b72433e711eff9)
Full Changelog: https://github.com/facebook/metro/compare/v0.74.1...v0.75.0
v0.74.1
- [Feature]: Add
@babel/plugin-proposal-numeric-separatortometro-react-native-babel-preset(https://github.com/facebook/metro/pull/681 by @SConaway)
Full Changelog: https://github.com/facebook/metro/compare/v0.74.0...v0.74.1
v0.74.0
- [Breaking] Remove @babel/plugin-transform-template-literals from metro-react-native-babel-preset (https://github.com/facebook/metro/commit/322dea8dc700de70aea92cf37614d5fc50e09c6b)
- [Breaking] Remove
postProcessBundleSourcemapfrom config (https://github.com/facebook/metro/commit/339794e43463e004ae36861db17fdfbaf4a9bc67) - [Fix] Don't log ENOENT errors to console for expected URL stack frames (https://github.com/facebook/metro/commit/1031ae6713c72b98673a82c292ecdc47cd7f75ab)
- [Fix] Don't attempt to use the
findcrawler on Windows (https://github.com/facebook/metro/commit/735aa9f5233e4cce78f93e94e80a3be509eea72c) - [Performance] Improve AST processing during transformation (https://github.com/facebook/metro/pull/854 by @EvanBacon)
- [Performance] Improve Fast Refresh responsiveness when watching a large number of files (https://github.com/facebook/metro/commit/b942eca551882aec3b59f1155416ed16be1b066f)
Full Changelog: https://github.com/facebook/metro/compare/v0.73.6...v0.74.0
v0.73.10
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 (https://github.com/facebook/metro/pull/994 by @robhogan) - [Fix] Emit source URLs in a format that will not be stripped by JavaScriptCore (https://github.com/facebook/metro/pull/994 by @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.73.9...v0.73.10
v0.73.9
This is a hotfix on the 0.73.x branch.
- [Fix] Fix watching contents of new directories in
NodeWatcher(https://github.com/facebook/react-native/issues/36387) (https://github.com/facebook/metro/commit/ab86982fad83da457d949f01a301c589fabcb12e by @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.73.8...v0.73.9
v0.73.8
This is a hotfix on the 0.73.x branch.
- [Fix]: Source maps may have invalid entries when using Terser minification. (https://github.com/facebook/metro/pull/928)
- [Fix]: Mitigate potential source map mismatches with concurrent transformations due to terser#1341. (https://github.com/facebook/metro/pull/929)
Full Changelog: https://github.com/facebook/metro/compare/v0.73.7...v0.73.8
v0.73.7
This is a hotfix on the 0.73.x branch.
- [Fix] Don't attempt to use the
findcrawler on Windows (https://github.com/facebook/metro/commit/370301981b8e5a92e072e5a2323e9be3308a2cdf)
v0.73.6
- [Fix] Fix duplicate 'add' events, reduce dropped events on new subtrees in
NodeWatcher(non-Watchman, non-macOS).(https://github.com/facebook/metro/commit/51fb7e349ca9462511ea5cd1b9c391be68839a32)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]
experimentalImportBundleSupport: Move bundle path hints into serialised dependency map(https://github.com/facebook/metro/pull/901)
Full Changelog: https://github.com/facebook/metro/compare/v0.73.5...v0.73.6
v0.73.5
- [Fix]: Make all
getTransformOptionsresult properties optional. (https://github.com/facebook/metro/commit/a07c8235a39724b8dbc7f18312db57f10302ae56) - [Fix]: Bug that can lead to "unknown module" errors at runtime after an incremental build. (https://github.com/facebook/metro/commit/b1be263f7d5a5a606733dd15a9deeb070f951170)
- [Fix]:
metro-runtime: Re-throw cached module errors without wrapping. (https://github.com/facebook/metro/commit/032c4a1e03f3f696c8526c7771621d8e312e3f61) - [Fix] Bump
babel/typesdependency to^7.20.0for more consistent exposed AST Bumpbabel/typesdependency to^7.20.0for more consistent exposed AST
Full Changelog: https://github.com/facebook/metro/compare/v0.73.4...v0.73.5
v0.73.4
- [Feature]: Expose
watchoption inRunServerOptions(https://github.com/facebook/metro/pull/889 by @EvanBacon) - [Feature]:
metro-runtime: Emit additional context on WebSocket'close'events (https://github.com/facebook/metro/commit/d54986c49cbcb217a831769766abc87f6ceb52cd)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]:
experimentalImportBundleSupport: Retraverse parents of deleted async dependencies (https://github.com/facebook/metro/commit/cb806d15d4c4631b74cd4d3939dd9d07494bba13)
Full Changelog: https://github.com/facebook/metro/compare/v0.73.3...v0.73.4
v0.73.3
- [Feature]: Add configurable watcher health check that is off by default (https://github.com/facebook/metro/commit/7adf468575dbc494bd5155d239233531aa55bf32, https://github.com/facebook/metro/commit/39f6e5065d0215e10f68d715a7f7740ea97f7fed)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental]: Move
experimentalImportBundleSupportoption from transformer to server (https://github.com/facebook/metro/commit/3c0e1f7c298d226f86f30b77ec443f5aa54bf8b2)
Full Changelog: https://github.com/facebook/metro/compare/v0.73.2...v0.73.3
v0.73.2
Maintenance release with purely internal changes.
Full Changelog: https://github.com/facebook/metro/compare/v0.73.1...v0.73.2
v0.73.1
- [Fix]: Generate a unique name for each Watchman subscription. (
3b0e78a)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental][Fix]: Normalize file paths for
require.contexton Windows (https://github.com/facebook/metro/pull/876 by @byCedric)
Full Changelog: https://github.com/facebook/metro/compare/v0.73.0...v0.73.1
v0.73.0
- [Breaking] Switch default minifier from
uglify-estoterser. (#871) - [Breaking]: Increase minimum supported Node.js version to ^14.17.0. (#872)
- [Breaking]: Drop support for old (pre-CalVer) Watchman versions. (
422055a) - [Feature]: Support
fseventswatcher on Apple Silicon. (#875) - [Feature]: Support loading source URLs in inspector-proxy. (
db19b06) - [Fix]: Log warning on unexpected error during
metro-file-mapcache read. (7028b7f) - [Fix]: Remove exponentiation operator transform from
metro-react-native-babel-preset. (c2365bb) - [Fix]: Don’t check
watchman --versionifuseWatchmanis false. (76c9307)
Full Changelog: https://github.com/facebook/metro/compare/v0.72.3...v0.73.0
v0.72.4
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 (https://github.com/facebook/metro/pull/993 by @robhogan) - [Fix] Emit source URLs in a format that will not be stripped by JavaScriptCore (https://github.com/facebook/metro/pull/993 by @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.72.3...v0.72.4
v0.72.3
- [Fix]: Incremental build crashing when garbage collecting modules reachable via multiple paths in the graph. (https://github.com/facebook/metro/commit/50bb451e9cec275cfbc1efda3e1ced3f8a952e15)
- Updated metro logo on startup
Full Changelog: https://github.com/facebook/metro/compare/v0.72.2...v0.72.3
v0.72.2: Release 0.72.2
- [Feature] Pass
customResolverOptionsfrom bundle URL intoresolveRequest(https://github.com/facebook/metro/commit/623b55d54874c77ee51bca6424fca9c3156678ae) - [Performance] Load
hermes-parserconditionally when hermes is enabled (https://github.com/facebook/metro/pull/855 by @EvanBacon) - [Performance] Lazily import
metro-hermes-compiler(https://github.com/facebook/metro/pull/856 by @EvanBacon)
Full Changelog: v0.72.1...v0.72.2
v0.72.1
- [Feature] Expose the
react-refresh/runtimemodule as part of themetro-runtimepackage
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Add
require.contextsupport (https://github.com/facebook/metro/pull/822 by @EvanBacon)
Full Changelog: v0.72.0...v0.72.1
v0.72.0
- [Breaking] Enable React 17 new JSX transform (https://github.com/facebook/metro/pull/848 by @danilobuerger)
- [Breaking] Add
watcher.additionalExtsoption, enable inclusion of.cjsand.mjsfiles by default (c1c6d9c) - [Breaking]
.jsonfiles will no longer be implicitly resolved if removed fromresolver.sourceExts(a3dc30a) - [Breaking] With a default config, any
.jsxfiles will now be resolved before.json,.ts,.tsx(1b47931) - [Breaking] Enable strict CLI validation when
metrois passed an invalid subcommand or argument (19c4f7e) - [Feature] Add
startalias forserveCLI command (19c4f7e)
Full Changelog: v0.71.3...v0.72.0
v0.71.3
- [Fix] End watchman client on calling MetroFileMap end. (
fc042d0)
Full Changelog: https://github.com/facebook/metro/compare/v0.71.2...v0.71.3
v0.71.2
- [Feature] Add
requireCycleIgnorePatternsoption to suppress warnings for require cycles, suppressnode_modulesby default (https://github.com/facebook/metro/pull/707 by @hsource) - [Feature] Add
deferStatesoption for Watchman (570c380) - [Fix] Incremental build bug with parallel edges to the same module (
fc29a11)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Add
unstable_allowRequireContextconfig option, implement transformer support forrequire.context(https://github.com/facebook/metro/pull/821 by @EvanBacon)
Full Changelog: v0.71.1...v0.71.2
v0.71.1
- [Fix] Add missing
.npmignorefiles (e8bb8fb) - [Fix] Rewrite DeltaBundler garbage collection (https://github.com/facebook/metro/pull/820)
- [Fix] Remove deprecated Prop Types from lazy imports (https://github.com/facebook/metro/pull/824 by @ecreeth)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Expose
unstable_fileMapCacheManagerFactoryconfig option (e741990) - [Experimental] Add
unstable_perfLoggerconfig option (eec0d7b) - [Experimental] Remove
unstable_hasteMapModulePathfrom Metro config (1cae8d8)
Full Changelog: v0.71.0...v0.71.1
v0.71.0
- [Breaking] Reject runServer promise if the HTTP server can't start listening (
f39af2c) - [Feature] Add
fileMapCacheDirectoryconfig option, deprecatehasteMapCacheDirectory(93966c0) - [Fix] Fail
runServerquickly if the port is not available (6d9623e) - [Fix] Add explicit dependency on
@babel/runtimetometro-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 anErrorobject tosocket.close()(fdc4ef1)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Open source our
jest-haste-map forkasmetro-file-map(#812)
Full Changelog: v0.70.2...v0.71.0
v0.70.4
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. (https://github.com/facebook/metro/pull/996 by @robhogan) - [Fix] Emit source URLs in a format that will not be stripped by JavaScriptCore. (https://github.com/facebook/metro/pull/996 by @robhogan)
Full Changelog: https://github.com/facebook/metro/compare/v0.70.3...v0.70.4
v0.70.3
This is a hotfix on the 0.70.x branch.
- [Fix] Add explicit dependency on
@babel/runtimetometro-runtime(#816)
v0.70.2
Maintenance release, containing purely internal changes such as dependency version updates.
v0.70.1
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Respect unstable_serverRoot setting in experimentalImportBundleSupport mode (
779e724) - [Experimental]
metro-react-native-babel-preset: Transform named capture groups in regex literals for Hermes (#791 by @danilobuerger)
v0.70.0
- [Breaking] Remove
@babel/plugin-transform-regeneratorfromreact-native-babel-preset(#789 by @tido64) - [Breaking] Remove
@babel/plugin-transform-for-offromreact-native-babel-preset(#792 by @newyankeecodeshop) - [Feature] Allow customizing the babel transform runtime version (#771 by @newyankeecodeshop)
- [Fix] Don't set a global
uncaughtExceptionlistener onprocess(4be4099)
v0.69.1
- [Fix] buck-worker-tool: Implement worker termination correctly. (
22af874) - [Fix] metro-resolver: Export the
CustomResolutionContextFlow type for use in custom resolvers. (cde639c)
v0.69.0
- [Breaking] Move the SegmentedComponentIOS away from React Native Core (
f9059c3) - [Feature] Use Node DevTools URL (#761 by @janicduplessis)
- [Feature] Update hermes-parser to 0.6.0 (
56a6b2a) - [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! 🚇
v0.68.0
- [Breaking]
resolver.resolveRequestmoved to the front of the resolution algorithm and has a new API (d81d887) - [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! 🚇
v0.67.0
- [Breaking] Use custom resolvers (
resolver.resolveRequest) before checking the Haste map. (96fb6e9) - [Feature] Update React Native lazy imports list with the removal of
StatusBarIOS. (2a0f779) - [Feature] Allow configuring the path of the canonical empty module, which now lives in
metro-runtimeby default. (bd5f932,6e3e789,7723be5) - [Feature] Add
initialize_done,transformer_loading, andtransformer_loadedevents to theReporterinterface. (d19cf5d) - [Feature] Add
waitForBundleroption to therunServer()andrunMetro()APIs. (57d8a92) - [Feature] Add
resolver.disableHierarchicalLookupoption. (01416f1) - [Feature] Remove confusing troubleshooting steps from missing module errors. (
1fa45c2) - [Feature] Infer names for anonymous functions in optional calls. (
4ced2a1) - [Feature] Infer names for anonymous functions memoized with useCallback. (
2611f61) - [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. (
793b1a0) - [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. (
41522a2) - [Fix] Resolve package.json module replacements when the replaced module isn't a physical file. (
171393a) - [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.nodeModulesPathsto respect transitive dependencies. (https://github.com/facebook/metro/pull/738 by @sharmilajesupaul) - [Fix] Respect
mangle: false&sourceMap: falseinminifierConfig. (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_serverRootoption to allow serving bundles from folders outside the project root. (026a66c,ca86682,e061cf3,70e9888,baacea2) - [Experimental] Update
metro-hermes-compiler. (e80434c) - [Experimental] Provide safe access to assets outside the project root using
/assets?unstable_path=.... (f3d1157) - [Experimental] Add
resolver.unstable_hasteMapModulePathoption. (e8c0de0)
Thanks to all the contributors mentioned above for helping improve Metro! 🚇
v0.66.2
- [Fix] Fix crash in React Native 0.65.0-rc.2. (
f7c6325)
[v0.66.1](https://togithu
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Congratulations :tada:. DeepCode analyzed your code in 0.249 seconds and we found no issues. Enjoy a moment of no bugs :sunny:.