Sourced from metro-react-native-babel-preset's releases.
Release v0.72.0
- [Breaking] Enable React 17 new JSX transform (facebook/metro#848 by
@danilobuerger)- [Breaking] Add
watcher.additionalExtsoption, enable inclusion of.cjsand.mjsfiles by default (c1c6d9c09fa92aa2ba71d803fdfa480e4dbb6a51)- [Breaking]
.jsonfiles will no longer be implicitly resolved if removed fromresolver.sourceExts(a3dc30aa0d54d65d6dbd426662f59b0ec398a612)- [Breaking] With a default config, any
.jsxfiles will now be resolved before.json,.ts,.tsx(1b479314dc08f2a2e2f76438971f32fcf431ee89)- [Breaking] Enable strict CLI validation when
metrois passed an invalid subcommand or argument (19c4f7edb85f5b61b056580515348ca9715dd361)- [Feature] Add
startalias forserveCLI command (19c4f7edb85f5b61b056580515348ca9715dd361)Full Changelog:
v0.71.3...v0.72.0Release v0.71.3
- [Fix] End watchman client on calling MetroFileMap end. (fc042d06bb6db98dd819bb0d22b7d536ee396c24)
Full Changelog: https://github.com/facebook/metro/compare/v0.71.2...v0.71.3
Release v0.71.2
- [Feature] Add
requireCycleIgnorePatternsoption to suppress warnings for require cycles, suppressnode_modulesby default (facebook/metro#707 by@hsource)- [Feature] Add
deferStatesoption for Watchman (570c38039abc32b758f8d241896b21e28ca4ba83)- [Fix] Incremental build bug with parallel edges to the same module (fc29a1177f883144674cf85a813b58567f69d545)
NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Add
unstable_allowRequireContextconfig option, implement transformer support forrequire.context(facebook/metro#821 by@EvanBacon)Full Changelog:
v0.71.1...v0.71.2Release v0.71.1
- [Fix] Add missing
.npmignorefiles (e8bb8fb4035699c83fce4b35aabcaec208513f3c)- [Fix] Rewrite DeltaBundler garbage collection (facebook/metro#820)
- [Fix] Remove deprecated Prop Types from lazy imports (facebook/metro#824 by
@ecreeth)NOTE: Experimental features are not covered by semver and can change at any time.
- [Experimental] Expose
unstable_fileMapCacheManagerFactoryconfig option (e7419900d2e063f2d531313f810d18c487f807f8)- [Experimental] Add
unstable_perfLoggerconfig option (eec0d7bf00aa707ae210b25218501b3e17dc4bf2)- [Experimental] Remove
unstable_hasteMapModulePathfrom Metro config (1cae8d8007d04ba62a739a6c4dff991c69af26e4)Full Changelog:
v0.71.0...v0.71.1
d699f9d Release 0.72.0c1c6d9c Add watcher.additionalExts option, enable inclusion of .cjs and .mjs files by...a3dc30a Replace hard default of 'json' in sourceExts with package.json WatcherImpl glob1b47931 Add 'jsx' to resolver.sourceExts defaults75ac509 update staticdocsd0ea806 Fixed typo causing option to not be applied (https://github.com/facebook/flipper/issues/849)1b6dd6f Enable react 17 new jsx transform (https://github.com/facebook/flipper/issues/848)b8252d8 Added isTurboModule helper functionb6ebccf Remove MaskedViewIOS from react-native-github419caf7 Release resolved-env