Essam Ewaisha
540a3b891e
Update metro dependencies to v0.57.0
...
Summary:
Changelog:
[General][Changed] - Update miscellaneous Metro packages to the latest version `v0.57.0`
Reviewed By: motiz88
Differential Revision: D18254177
fbshipit-source-id: fe30452dad092bc407c67de3fcb5b578944a320e
2019-11-07 10:15:08 -08:00
Jordan Brown
9d0707c409
deploy v0.111 to xplat
...
Summary: Changelog: [Internal]
Reviewed By: dsainati1
Differential Revision: D18342672
fbshipit-source-id: ae6933344e4545ae8f650a4d14cfe55c34f43ad9
2019-11-06 10:02:29 -08:00
Frieder Bluemle
1c7cd129f1
Update eslint-plugin-react-native to 3.8.1 ( #27114 )
...
Summary:
This updates [`eslint-plugin-react-native`](https://github.com/intellicode/eslint-plugin-react-native ) to `3.8.1`.
Includes some minor updates and fixes, and avoids errors related to incorrect peer dependencies when using ESLint 6+
```
error "react-native#eslint-plugin-react-native#eslint@^3.17.0 || ^4 || ^5" doesn't satisfy found match of "eslint@6.6.0"
```
## Changelog
[Internal] [Changed] - Update eslint-plugin-react-native to 3.8.1
Pull Request resolved: https://github.com/facebook/react-native/pull/27114
Test Plan: Check that ESlint and CI passes.
Differential Revision: D18323510
Pulled By: cpojer
fbshipit-source-id: 0257eaebe295fec4b0e52b2f08cf62336fc147a3
2019-11-05 05:39:21 -08:00
Essam Ewaisha
4b487ba500
Upgrade metro version to 0.56.3
...
Summary: Pulls the `0.56.3` release tag internally, by adding the same changes and upgrading react-native-github metro dependencies to `0.56.3`.
Reviewed By: motiz88
Differential Revision: D18114219
fbshipit-source-id: 0be58255eb8c79267e8ea30ab2e9e3d96a794b92
2019-10-31 10:08:46 -07:00
glevi@fb.com
070520beea
Deploy v0.110.1 to xplat/js
...
Summary:
Used `yarn` to update all of them except `react-native-github`. That one I did by hand. Sandcastle will let me know if I screwed it up too badly.
## Changelog:
[General] [Internal] - Upgrade `flow-bin` from 0.110.0 to 0.110.1
(Note: this ignores all push blocking failures!)
Reviewed By: mroch
Differential Revision: D18108512
fbshipit-source-id: a04b38f0fd4ec3a4008d7c61c23fa01eaaf8a8e4
2019-10-24 15:09:08 -07:00
Sam Goldman
def3ebe3fd
@allow-large-files Deploy Flow v0.110.0
...
Summary: Changelog: [Internal]
Reviewed By: dsainati1
Differential Revision: D18054545
fbshipit-source-id: 80d88a8004cb3172e4079ff10a4c11741adf2a6f
2019-10-21 22:30:39 -07:00
Dan Abramov
a7e5a0a3dd
React sync for revisions 85d05b3...4eeee35
...
Summary:
This sync includes the following changes:
- **[4eeee358e](https://github.com/facebook/react/commit/4eeee358e )**: [SuspenseList] Store lastEffect before rendering (#17131 ) //<Sebastian Markbåge>//
- **[4fb5bf61d](https://github.com/facebook/react/commit/4fb5bf61d )**: [react-interactions] Fix focus-visible heuristic (#17124 ) //<Nicolas Gallagher>//
- **[8facc0537](https://github.com/facebook/react/commit/8facc0537 )**: [react-interactions] Allow event.preventDefault on LegacyPress responder (#17113 ) //<Dominic Gannaway>//
- **[7cec15155](https://github.com/facebook/react/commit/7cec15155 )**: Remove prefixed concurrent APIs from www build (#17108 ) //<Andrew Clark>//
- **[ed5f010ae](https://github.com/facebook/react/commit/ed5f010ae )**: Client render Suspense content if there's no boundary match (#16945 ) //<Sebastian Markbåge>//
- **[916937563](https://github.com/facebook/react/commit/916937563 )**: [react-interactions] Add onFocusWithin event to FocusWithin responder (#17115 ) //<Dominic Gannaway>//
- **[d7feeb25a](https://github.com/facebook/react/commit/d7feeb25a )**: unstable_createRoot -> createRoot in test (#17107 ) //<Andrew Clark>//
- **[6ff23f2a5](https://github.com/facebook/react/commit/6ff23f2a5 )**: Change retry priority to "Never" for dehydrated boundaries (#17105 ) //<Sebastian Markbåge>//
- **[3ac0eb075](https://github.com/facebook/react/commit/3ac0eb075 )**: Modify Babel React JSX Duplicate Children Fix (#17101 ) //<Luna Ruan>//
- **[43562455c](https://github.com/facebook/react/commit/43562455c )**: Temporary patch www fork with prefixed APIs (#17103 ) //<Andrew Clark>//
- **[9123c479f](https://github.com/facebook/react/commit/9123c479f )**: Enable concurrent APIs in all experimental forks (#17102 ) //<Andrew Clark>//
- **[30c5daf94](https://github.com/facebook/react/commit/30c5daf94 )**: Remove concurrent apis from stable (#17088 ) //<Andrew Clark>//
- **[4cb399a43](https://github.com/facebook/react/commit/4cb399a43 )**: [react-interactions] Modify Scope query mechanism (#17095 ) //<Dominic Gannaway>//
- **[e7704e22a](https://github.com/facebook/react/commit/e7704e22a )**: [babel-plugin-react-jsx] Avoid duplicate "children" key in props object (#17094 ) //<Dominic Gannaway>//
- **[fdba0e5ce](https://github.com/facebook/react/commit/fdba0e5ce )**: Fixed a bug with illegal invocation for Trusted Types (#17083 ) //<Krzysztof Kotowicz>//
- **[d364d8555](https://github.com/facebook/react/commit/d364d8555 )**: Set up experimental builds (#17071 ) //<Andrew Clark>//
- **[d5b54d0c3](https://github.com/facebook/react/commit/d5b54d0c3 )**: [SuspenseList] Fix bugs with dropped Promises (#17082 ) //<Sebastian Markbåge>//
- **[75955bf1d](https://github.com/facebook/react/commit/75955bf1d )**: Pass prod error messages directly to constructor (#17063 ) //<Andrew Clark>//
- **[0ac8e563d](https://github.com/facebook/react/commit/0ac8e563d )**: [react-interactions] Add getInstanceFromNode support to TestHostRenderer (#17065 ) //<Dominic Gannaway>//
- **[22b2642a5](https://github.com/facebook/react/commit/22b2642a5 )**: DevTools test shell tweaks (#17054 ) //<Brian Vaughn>//
- **[4be45be5f](https://github.com/facebook/react/commit/4be45be5f )**: Stop warning about setNativeProps being deprecated (#17045 ) //<Eli White>//
- **[b71ab61c8](https://github.com/facebook/react/commit/b71ab61c8 )**: [react-interactions] Adds more experimental Scope API methods (#17042 ) //<Dominic Gannaway>//
- **[5a71cbe7a](https://github.com/facebook/react/commit/5a71cbe7a )**: Remove unused export //<Andrew Clark>//
- **[71d012ecd](https://github.com/facebook/react/commit/71d012ecd )**: Remove dormant createBatch experiment (#17035 ) //<Andrew Clark>//
- **[cd1b167ad](https://github.com/facebook/react/commit/cd1b167ad )**: [Scheduler Profiler] Use microsecond precision (#17010 ) //<Andrew Clark>//
- **[55731fd8c](https://github.com/facebook/react/commit/55731fd8c )**: [react-interactions] Refine a11y component flow types (#17032 ) //<Dominic Gannaway>//
- **[a011aacaf](https://github.com/facebook/react/commit/a011aacaf )**: [react-interactions] Remove FB builds of a11y components (#17030 ) //<Dominic Gannaway>//
- **[fff5b1ca7](https://github.com/facebook/react/commit/fff5b1ca7 )**: [react-interactions] Add FocusTable colSpan support (#17019 ) //<Dominic Gannaway>//
- **[4bc52ef0d](https://github.com/facebook/react/commit/4bc52ef0d )**: Revert "update hideOrUnhideAllChildren to hide portals that aren't wrapped in a host component (#16992 )" (#17011 ) //<Luna Ruan>//
- **[3a2b5f148](https://github.com/facebook/react/commit/3a2b5f148 )**: [Selective Hydration] ReactDOM.unstable_scheduleHydration(domNode) (#17004 ) //<Sebastian Markbåge>//
- **[26ba38ae4](https://github.com/facebook/react/commit/26ba38ae4 )**: [EnterLeaveEventPlugin] Fix bug when dealing with unhandled DOM nodes (#17006 ) //<Dominic Gannaway>//
- **[d256f88ac](https://github.com/facebook/react/commit/d256f88ac )**: Update local version numbers for 16.10.2 release //<Andrew Clark>//
- **[a8b8ffb89](https://github.com/facebook/react/commit/a8b8ffb89 )**: DevTools v4.1.3 -> v4.2.0 //<Brian Vaughn>//
- **[0545f366d](https://github.com/facebook/react/commit/0545f366d )**: Added trace updates feature (DOM only) (#16989 ) //<Brian Vaughn>//
- **[e09097a75](https://github.com/facebook/react/commit/e09097a75 )**: chore: upgrade to jest 24 (#15778 ) //<Simen Bekkhus>//
- **[5943b1da6](https://github.com/facebook/react/commit/5943b1da6 )**: Fixing grammatical errors in error message (#16973 ) //<Rane Wallin>//
- **[4c5698400](https://github.com/facebook/react/commit/4c5698400 )**: [react-interactions] Remove context.setTimeout & context.clearTimeout (#17000 ) //<Dominic Gannaway>//
- **[b33633d93](https://github.com/facebook/react/commit/b33633d93 )**: [react-interactions] Repurpose React a11y modules (#16997 ) //<Dominic Gannaway>//
- **[de2edc268](https://github.com/facebook/react/commit/de2edc268 )**: update hideOrUnhideAllChildren to hide portals that aren't wrapped in a host component (#16992 ) //<Luna Ruan>//
- **[bb680a090](https://github.com/facebook/react/commit/bb680a090 )**: [Selective Hydration] Prioritize the last continuous target (#16937 ) //<Sebastian Markbåge>//
- **[10277cc5b](https://github.com/facebook/react/commit/10277cc5b )**: Remove unused canonical check in fiber host component (#16914 ) //<Eli White>//
- **[ab1a4f249](https://github.com/facebook/react/commit/ab1a4f249 )**: Move eventSystemFlags to last argument in event plugin extractors (#16978 ) //<Nicolas Gallagher>//
- **[f6efb224b](https://github.com/facebook/react/commit/f6efb224b )**: [react-interactions] Tap cancels on second pointerdown (#16936 ) //<Nicolas Gallagher>//
- **[34457729a](https://github.com/facebook/react/commit/34457729a )**: [react-interactions] Add allowModifiers flag to FocusList + FocusTable (#16971 ) //<Dominic Gannaway>//
- **[b34f042e5](https://github.com/facebook/react/commit/b34f042e5 )**: Fix mouseenter handlers fired twice (#16928 ) //<Rango Yuan>//
- **[2c8832075](https://github.com/facebook/react/commit/2c8832075 )**: React DevTools v4.1.2 -> v.4.1.3 //<Brian Vaughn>//
- **[6c73a1e77](https://github.com/facebook/react/commit/6c73a1e77 )**: Updated DevTools CHANGELOG //<Brian Vaughn>//
- **[6a3de7a41](https://github.com/facebook/react/commit/6a3de7a41 )**: [DevTools] postMessage target origin needs to be '*' for local files (#16953 ) //<David Huang>//
- **[ac8e8b327](https://github.com/facebook/react/commit/ac8e8b327 )**: [react-interactions] Add tab handling to FocusList (#16958 ) //<Dominic Gannaway>//
- **[10c7dfe3b](https://github.com/facebook/react/commit/10c7dfe3b )**: [react-interactins] FocusTable tabScope handling+tabIndex control (#16922 ) //<Dominic Gannaway>//
- **[d3622d0f9](https://github.com/facebook/react/commit/d3622d0f9 )**: chore: updated comment message (#16949 ) //<Kirankumar Ambati>//
- **[2a264a9db](https://github.com/facebook/react/commit/2a264a9db )**: Update local version numbers for 16.10.1 release //<Andrew Clark>//
- **[d8a76ad58](https://github.com/facebook/react/commit/d8a76ad58 )**: Allow Suspense Mismatch on the Client to Silently Proceed (#16943 ) //<Sebastian Markbåge>//
- **[9d637844e](https://github.com/facebook/react/commit/9d637844e )**: Remove enableUserBlockingEvents flag (#16882 ) //<Sebastian Markbåge>//
- **[fe31cc710](https://github.com/facebook/react/commit/fe31cc710 )**: [Selective Hydration] Increase priority for non-synchronous discrete events and retries (#16935 ) //<Sebastian Markbåge>//
- **[b55067961](https://github.com/facebook/react/commit/b55067961 )**: Fixed typo in DevTools CHANGELOG //<Brian Vaughn>//
- **[5184346da](https://github.com/facebook/react/commit/5184346da )**: DevTools v4.1.1 -> v4.1.2 //<Brian Vaughn>//
- **[d4278663c](https://github.com/facebook/react/commit/d4278663c )**: Replaced === check with Object.is() to support values like NaN (#16934 ) //<Brian Vaughn>//
- **[d1121c017](https://github.com/facebook/react/commit/d1121c017 )**: [react-interactions] Fix virtual click heuristic (#16915 ) //<Nicolas Gallagher>//
- **[93f5f11b7](https://github.com/facebook/react/commit/93f5f11b7 )**: Update local version numbers for 16.10 release //<Andrew Clark>//
- **[c8dc7a926](https://github.com/facebook/react/commit/c8dc7a926 )**: expose isHydrating (#16909 ) //<Luna Ruan>//
- **[db8afe4f6](https://github.com/facebook/react/commit/db8afe4f6 )**: Add HostComponent type to ReactNative (#16898 ) //<Eli White>//
- **[fad510210](https://github.com/facebook/react/commit/fad510210 )**: [bugfix] Fix false positive render phase update (#16907 ) //<Andrew Clark>//
- **[a9cd9a765](https://github.com/facebook/react/commit/a9cd9a765 )**: DevTools v4.1.0 -> v4.1.1 //<Brian Vaughn>//
- **[b6606ecba](https://github.com/facebook/react/commit/b6606ecba )**: DevTools shows unsupported renderer version dialog (#16897 ) //<Brian Vaughn>//
- **[84e83db1e](https://github.com/facebook/react/commit/84e83db1e )**: Updated DevTools CHANGELOG //<Brian Vaughn>//
- **[b9811ed5b](https://github.com/facebook/react/commit/b9811ed5b )**: [react-interactions] Add wrapping support to FocusList/FocusTable (#16903 ) //<Dominic Gannaway>//
- **[49b0cb6db](https://github.com/facebook/react/commit/49b0cb6db )**: Moving backend injection to the content script (#16900 ) //<David Huang>//
- **[3694a3b5e](https://github.com/facebook/react/commit/3694a3b5e )**: Selective Hydration (#16880 ) //<Sebastian Markbåge>//
- **[4bb0e96b4](https://github.com/facebook/react/commit/4bb0e96b4 )**: [react-interactions] FocusTable key press bound propgataion (#16895 ) //<Dominic Gannaway>//
- **[fa1a32622](https://github.com/facebook/react/commit/fa1a32622 )**: Update useEditableValue hook to sync external value changes (#16878 ) //<Brian Vaughn>//
- **[57bf275fb](https://github.com/facebook/react/commit/57bf275fb )**: [devtools] Add support for React Scope symbol/number (#16893 ) //<Dominic Gannaway>//
- **[7c3bd08b3](https://github.com/facebook/react/commit/7c3bd08b3 )**: [react-interactions] Add more documentation for a11y components (#16894 ) //<Dominic Gannaway>//
- **[a06d181af](https://github.com/facebook/react/commit/a06d181af )**: Include tag in begin/complete invariant (#16881 ) //<Sebastian Markbåge>//
- **[0d8c0cd09](https://github.com/facebook/react/commit/0d8c0cd09 )**: These flags are hard coded in our internal config (#16883 ) //<Sebastian Markbåge>//
- **[d6d83d706](https://github.com/facebook/react/commit/d6d83d706 )**: [react-interactions] Add Portal propagation configuration (#16889 ) //<Dominic Gannaway>//
- **[d0ebde77f](https://github.com/facebook/react/commit/d0ebde77f )**: [react-interactions] Add initial docs explaining React Scopes (#16892 ) //<Dominic Gannaway>//
- **[32e5c97d1](https://github.com/facebook/react/commit/32e5c97d1 )**: [React Native] Improve errors for invalid ViewConfig getter functions (#16879 ) //<Joshua Gross>//
- **[ebc299fc2](https://github.com/facebook/react/commit/ebc299fc2 )**: [react-interactions] TabFocus -> FocusManager (#16874 ) //<Dominic Gannaway>//
- **[793f176da](https://github.com/facebook/react/commit/793f176da )**: [react-interactions] Make FocusList bundle (#16876 ) //<Dominic Gannaway>//
- **[68a87eee5](https://github.com/facebook/react/commit/68a87eee5 )**: [react-interactions] Add FocusList component (#16875 ) //<Dominic Gannaway>//
- **[18d2e0c03](https://github.com/facebook/react/commit/18d2e0c03 )**: Warning system refactoring (part 1) (#16799 ) //<Jessica Franco>//
- **[8b580a89d](https://github.com/facebook/react/commit/8b580a89d )**: Idle updates should not be blocked by hidden work (#16871 ) //<Andrew Clark>//
- **[c5e7190ed](https://github.com/facebook/react/commit/c5e7190ed )**: [react-interactions] Press with useRef instead of useState (#16870 ) //<Nicolas Gallagher>//
- **[911104a12](https://github.com/facebook/react/commit/911104a12 )**: DevTools CHANGELOG update //<Brian Vaughn>//
- **[bce2ac63a](https://github.com/facebook/react/commit/bce2ac63a )**: Revert change to backend injection method from PR #16752 (#16864 ) //<Brian Vaughn>//
- **[9b3cde9b6](https://github.com/facebook/react/commit/9b3cde9b6 )**: Fix DevTools v4.1 editable hook regression (#16867 ) //<Brian Vaughn>//
- **[1a6294d3e](https://github.com/facebook/react/commit/1a6294d3e )**: [react-interaction] Refactor a11y components more (#16866 ) //<Dominic Gannaway>//
- **[1758b3f7b](https://github.com/facebook/react/commit/1758b3f7b )**: [react-interactions] Add no-op stopPropagation + preventDefault to Press (#16868 ) //<Dominic Gannaway>//
- **[013b7ad11](https://github.com/facebook/react/commit/013b7ad11 )**: [suspense][error handling] Inline renderRoot and fix error handling bug (#16801 ) //<Andrew Clark>//
- **[0a527707c](https://github.com/facebook/react/commit/0a527707c )**: Event Replaying (#16725 ) //<Sebastian Markbåge>//
- **[a87d245fc](https://github.com/facebook/react/commit/a87d245fc )**: [work loop] Prevent work loop from being inlined (#16865 ) //<Andrew Clark>//
- **[312b462d5](https://github.com/facebook/react/commit/312b462d5 )**: [react-interactions] Improve consistency of Tap responder (#16837 ) //<Nicolas Gallagher>//
- **[70754f10d](https://github.com/facebook/react/commit/70754f10d )**: [react-interaction] Tweak Focus Table component (#16862 ) //<Dominic Gannaway>//
- **[d7f6dd5a8](https://github.com/facebook/react/commit/d7f6dd5a8 )**: [react-interactions] Fix typo in FocusTable (#16860 ) //<Dominic Gannaway>//
- **[cef47cbc0](https://github.com/facebook/react/commit/cef47cbc0 )**: Rename experimental react-ui => react-interactions (#16842 ) //<Dan Abramov>//
- **[57a5805a9](https://github.com/facebook/react/commit/57a5805a9 )**: [react-ui] Add preventDefault+stopPropagation to Keyboard + update Focus components (#16833 ) //<Dominic Gannaway>//
- **[08b51aa38](https://github.com/facebook/react/commit/08b51aa38 )**: Added React DevTools v4.1.0 release date to CHANGELOG //<Brian Vaughn>//
- **[b5cebedfb](https://github.com/facebook/react/commit/b5cebedfb )**: React DevTools version bump 4.0.6 -> 4.1.0 //<Brian Vaughn>//
- **[fd870e6b6](https://github.com/facebook/react/commit/fd870e6b6 )**: [react-ui/events] Tap responder API changes (#16827 ) //<Nicolas Gallagher>//
- **[4ddcb8e13](https://github.com/facebook/react/commit/4ddcb8e13 )**: [DevTools] Remove Welcome dialog (#16834 ) //<Dan Abramov>//
- **[924a30578](https://github.com/facebook/react/commit/924a30578 )**: [react-ui] Remove event object warnings (#16822 ) //<Dominic Gannaway>//
- **[a5df18a9e](https://github.com/facebook/react/commit/a5df18a9e )**: prevent firefox marking required textareas invalid (#16578 ) //<halvves>//
- **[f818af9b0](https://github.com/facebook/react/commit/f818af9b0 )**: [Fresh] Always remount classes (#16823 ) //<Dan Abramov>//
- **[6ecfa90eb](https://github.com/facebook/react/commit/6ecfa90eb )**: [React Native] Fix for view config registrations (#16821 ) //<Ricky>//
- **[18cb59050](https://github.com/facebook/react/commit/18cb59050 )**: [react-core] Do not null fiber.sibling in detachFiber (#16820 ) //<Dominic Gannaway>//
- **[d862f0ea5](https://github.com/facebook/react/commit/d862f0ea5 )**: Optimize objectIs (#16212 ) //<Kuba Juszczyk>//
- **[d1c255586](https://github.com/facebook/react/commit/d1c255586 )**: [react-devtools-shared] Added string type check for object name prop in getDisplayName function (#16798 ) //<Pavlo Tymchuk>//
- **[70dcdd265](https://github.com/facebook/react/commit/70dcdd265 )**: Updated pending CHANGELOG for DevTools //<Brian Vaughn>//
- **[8f1533f4d](https://github.com/facebook/react/commit/8f1533f4d )**: [react-ui] Fix bundle name [hotfix] (#16811 ) //<Dominic Gannaway>//
- **[7c802de79](https://github.com/facebook/react/commit/7c802de79 )**: [react-a11y] Add react-ui/accessibility to bundle build (#16804 ) //<Dominic Gannaway>//
- **[901139c29](https://github.com/facebook/react/commit/901139c29 )**: [scheduler][profiler] Start time of delayed tasks (#16809 ) //<Andrew Clark>//
- **[f40ceb001](https://github.com/facebook/react/commit/f40ceb001 )**: [react-ui] FocusGrid -> ReactFocusTable + tweaks and fixes (#16806 ) //<Dominic Gannaway>//
- **[2f1e8c5f7](https://github.com/facebook/react/commit/2f1e8c5f7 )**: [react-core] Clear more properties in detachFiber (#16807 ) //<Dominic Gannaway>//
- **[8e0c57412](https://github.com/facebook/react/commit/8e0c57412 )**: Follow-up to initial Trusted Types support (#16795 ) //<Dan Abramov>//
- **[3af05de1a](https://github.com/facebook/react/commit/3af05de1a )**: [react-ui] usePress from useKeyboard and useTap (#16772 ) //<Nicolas Gallagher>//
- **[494300b36](https://github.com/facebook/react/commit/494300b36 )**: [react-ui] Move experimental event+a11y work to react-ui package (#16794 ) //<Dominic Gannaway>//
- **[9691eb273](https://github.com/facebook/react/commit/9691eb273 )**: [react-events] Keyboard support for virtual clicks (#16780 ) //<Nicolas Gallagher>//
- **[b8d079b41](https://github.com/facebook/react/commit/b8d079b41 )**: Add trusted types to react on client side (#16157 ) //<Emanuel Tesař>//
- **[cdbfa5044](https://github.com/facebook/react/commit/cdbfa5044 )**: fix typo inteval -> interval & continutation -> continuation (#16760 ) //<Heaven>//
- **[45b6443c9](https://github.com/facebook/react/commit/45b6443c9 )**: Spelling is fundamental (#16782 ) //<Andrew Clark>//
- **[45898d0be](https://github.com/facebook/react/commit/45898d0be )**: [Scheduler] Prevent event log from growing unbounded (#16781 ) //<Andrew Clark>//
- **[87eaa90ef](https://github.com/facebook/react/commit/87eaa90ef )**: [react-events] Keyboard calls preventDefault on 'click' events (#16779 ) //<Nicolas Gallagher>//
- **[0c0b30b8c](https://github.com/facebook/react/commit/0c0b30b8c )**: Remove unnecessary interaction tracing ping wrapper (#16777 ) //<Brian Vaughn>//
- **[137ea783b](https://github.com/facebook/react/commit/137ea783b )**: Re-enable risky work loop changes (#16771 ) //<Andrew Clark>//
- **[d6f6b951e](https://github.com/facebook/react/commit/d6f6b951e )**: Support disabling interaction tracing for suspense promises (#16776 ) //<Brian Vaughn>//
- **[b4b8a349a](https://github.com/facebook/react/commit/b4b8a349a )**: [react-interactions] Add experimental FocusGrid API (#16766 ) //<Dominic Gannaway>//
- **[a7dabcb60](https://github.com/facebook/react/commit/a7dabcb60 )**: Revert "Re-arrange slightly to prevent refactor hazard (#16743 )" (#16769 ) //<Andrew Clark>//
- **[4b0b556dc](https://github.com/facebook/react/commit/4b0b556dc )**: [react-interactions] Refactor TabFocusController (#16768 ) //<Dominic Gannaway>//
- **[fb39f6292](https://github.com/facebook/react/commit/fb39f6292 )**: Added upcoming changes to DevTools CHANGELOG //<Brian Vaughn>//
- **[ba932a5ad](https://github.com/facebook/react/commit/ba932a5ad )**: fix: inspect ClassComponent.render instead of constructor, fixes #16749 (#16759 ) //<Anton Korzunov>//
- **[35a202d0e](https://github.com/facebook/react/commit/35a202d0e )**: [react-events] Ensure we restore currentInstance + currentTimers (#16758 ) //<Dominic Gannaway>//
- **[3717c25a7](https://github.com/facebook/react/commit/3717c25a7 )**: [react-interactions] More Tab Focus control handling (#16751 ) //<Dominic Gannaway>//
- **[0a2215cc0](https://github.com/facebook/react/commit/0a2215cc0 )**: [Scheduler][www] Put profiling feature behind flag (#16757 ) //<Andrew Clark>//
- **[efa780d0a](https://github.com/facebook/react/commit/efa780d0a )**: Removed DT inject() script since it's no longer being used //<Brian Vaughn>//
- **[4290967d4](https://github.com/facebook/react/commit/4290967d4 )**: Merge branch 'tt-compat' of https://github.com/onionymous/react into onionymous-tt-compat //<Brian Vaughn>//
- **[f09854a9e](https://github.com/facebook/react/commit/f09854a9e )**: Moved inline comment. //<Brian Vaughn>//
- **[776d1c69b](https://github.com/facebook/react/commit/776d1c69b )**: Lint fixes //<Stephanie Ding>//
- **[2e75000f4](https://github.com/facebook/react/commit/2e75000f4 )**: Removed done(), added some comments explaining the change //<Stephanie Ding>//
- **[8a6cd3cd1](https://github.com/facebook/react/commit/8a6cd3cd1 )**: remove ability to inject arbitrary scripts //<Stephanie Ding>//
- **[d51f062d0](https://github.com/facebook/react/commit/d51f062d0 )**: Formatting changes //<Stephanie Ding>//
- **[85c721101](https://github.com/facebook/react/commit/85c721101 )**: Moved injection logic to content script //<Stephanie Ding>//
- **[788036c7e](https://github.com/facebook/react/commit/788036c7e )**: Moved backend injection logic to content script //<Stephanie Ding>//
- **[c93038fab](https://github.com/facebook/react/commit/c93038fab )**: Moved backend injection logic to content script //<Stephanie Ding>//
- **[3a49dff38](https://github.com/facebook/react/commit/3a49dff38 )**: [react-events] Use context.objectAssign in Tap responder (#16748 ) //<Dominic Gannaway>//
- **[56114a4b2](https://github.com/facebook/react/commit/56114a4b2 )**: Change `trackedTouchCount` console.error to warn (#16750 ) //<Matt Kane>//
- **[ae724be7b](https://github.com/facebook/react/commit/ae724be7b )**: [react-interactions] Add TabFocusContainer and TabbableScope UI components (#16732 ) //<Dominic Gannaway>//
- **[ab4951fc0](https://github.com/facebook/react/commit/ab4951fc0 )**: Re-arrange slightly to prevent refactor hazard (#16743 ) //<Andrew Clark>//
- **[b0a8a3e04](https://github.com/facebook/react/commit/b0a8a3e04 )**: Mark root as already hydrated after committing (#16739 ) //<Sebastian Markbåge>//
- **[e04f4259c](https://github.com/facebook/react/commit/e04f4259c )**: Handle SuspenseListComponent getting retried (#16745 ) //<Sebastian Markbåge>//
- **[2c98af77c](https://github.com/facebook/react/commit/2c98af77c )**: DevTools: Props editing interface tweaks (#16740 ) //<Brian Vaughn>//
- **[2ce5801c2](https://github.com/facebook/react/commit/2ce5801c2 )**: Added upcoming changes to DevTools CHANGELOG //<Brian Vaughn>//
- **[709baf1fe](https://github.com/facebook/react/commit/709baf1fe )**: [DevTools] Support for adding props | Improved state/props value editing (#16700 ) //<Hristo Kanchev>//
- **[4ef6387d6](https://github.com/facebook/react/commit/4ef6387d6 )**: [DevTools] [Context] Legacy Context (#16617 ) //<Hristo Kanchev>//
- **[c317fc273](https://github.com/facebook/react/commit/c317fc273 )**: Correct link for troubleshooting react-dev-tools (#16690 ) (#16708 ) //<Liad Yosef>//
- **[41a78cd85](https://github.com/facebook/react/commit/41a78cd85 )**: [react-events] Tap: add maximumDistance prop (#16689 ) //<Nicolas Gallagher>//
- **[240040078](https://github.com/facebook/react/commit/240040078 )**: react-refresh@0.4.2 //<Dan Abramov>//
- **[ba6bb0fcc](https://github.com/facebook/react/commit/ba6bb0fcc )**: [Fresh] Hash signatures (#16738 ) //<Dan Abramov>//
- **[fd3e8cb0a](https://github.com/facebook/react/commit/fd3e8cb0a )**: [react-events] Remove stopPropagation (Press) + use document for delegation (#16730 ) //<Dominic Gannaway>//
- **[38c03ce00](https://github.com/facebook/react/commit/38c03ce00 )**: Fix typo in commet (#16727 ) //<Heaven>//
- **[4905590e1](https://github.com/facebook/react/commit/4905590e1 )**: Fixed font family issue in FF. (#16701 ) //<Hristo Kanchev>//
- **[35f447ddb](https://github.com/facebook/react/commit/35f447ddb )**: Remove console.log from copyWithSet (#16716 ) //<Daniel Lo Nigro>//
- **[440cbf2ee](https://github.com/facebook/react/commit/440cbf2ee )**: Let's schedule the passive effects even earlier (#16714 ) //<Sebastian Markbåge>//
- **[cc2492ccf](https://github.com/facebook/react/commit/cc2492ccf )**: Schedule passive callbacks before layout effects are invoked (#16713 ) //<Sebastian Markbåge>//
- **[031eba789](https://github.com/facebook/react/commit/031eba789 )**: [react-events] Tap: change order of events (#16694 ) //<Nicolas Gallagher>//
- **[f26fe8c0a](https://github.com/facebook/react/commit/f26fe8c0a )**: [react-events] Keyboard: fix callback return types (#16693 ) //<Nicolas Gallagher>//
- **[9444c876d](https://github.com/facebook/react/commit/9444c876d )**: Remove wrong copy-paste code in test (#16695 ) //<Heaven>//
- **[b260bef39](https://github.com/facebook/react/commit/b260bef39 )**: [Fresh] Add skipEnvCheck option to Babel plugin (#16688 ) //<Dan Abramov>//
- **[2f1588185](https://github.com/facebook/react/commit/2f1588185 )**: react-refresh@0.4.1 //<Dan Abramov>//
- **[9044bb0fa](https://github.com/facebook/react/commit/9044bb0fa )**: [Fresh] Fix a crash with implicit arrow return (#16687 ) //<Dan Abramov>//
- **[21d79ce04](https://github.com/facebook/react/commit/21d79ce04 )**: Add FreshRuntime WWW bundle, remove ESLint (#16684 ) //<Dan Abramov>//
- **[206d61f72](https://github.com/facebook/react/commit/206d61f72 )**: fix typos on react-devtools comments (#16681 ) //<Alex Rohleder>//
- **[61836fba2](https://github.com/facebook/react/commit/61836fba2 )**: Fix typo: wnless -> unless (#16680 ) //<Heaven>//
- **[e11bf42ce](https://github.com/facebook/react/commit/e11bf42ce )**: Check for Suspense boundary in a root Container (#16673 ) //<Sebastian Markbåge>//
- **[962dfc2c3](https://github.com/facebook/react/commit/962dfc2c3 )**: Remove experimental scheduler flags (#16672 ) //<Dan Abramov>//
- **[ff006451a](https://github.com/facebook/react/commit/ff006451a )**: [react-events] Fix isTargetWithinNode type (#16671 ) //<Nicolas Gallagher>//
- **[040ca0fad](https://github.com/facebook/react/commit/040ca0fad )**: Enable MessageLoop implementation by default (#16408 ) //<Dan Abramov>//
- **[d96f478f8](https://github.com/facebook/react/commit/d96f478f8 )**: use-subscription tearing fix (#16623 ) //<Brian Vaughn>//
- **[79e46b677](https://github.com/facebook/react/commit/79e46b677 )**: updated flags from false to dicated on www (#16647 ) //<Luna Ruan>//
- **[8d7c733f1](https://github.com/facebook/react/commit/8d7c733f1 )**: [Partial Hydration] Don't invoke listeners on parent of dehydrated event target (#16591 ) //<Sebastian Markbåge>//
- **[9ce8711d5](https://github.com/facebook/react/commit/9ce8711d5 )**: [react-events] Tap responder (#16628 ) //<Nicolas Gallagher>//
- **[e86146e71](https://github.com/facebook/react/commit/e86146e71 )**: [react-events] Refine executeUserEventHandler (#16662 ) //<Dominic Gannaway>//
- **[c66edb9f8](https://github.com/facebook/react/commit/c66edb9f8 )**: [react-events] Refactor getCurrentTarget to getResponderNode (#16660 ) //<Dominic Gannaway>//
- **[9ff60ff16](https://github.com/facebook/react/commit/9ff60ff16 )**: [react-events] Fix Scope listener issue (#16658 ) //<Dominic Gannaway>//
- **[7126a37bf](https://github.com/facebook/react/commit/7126a37bf )**: [react-events] Keyboard responder propagation handling (#16657 ) //<Dominic Gannaway>//
- **[539640d89](https://github.com/facebook/react/commit/539640d89 )**: [react-events] Various core tweaks for event responder system (#16654 ) //<Dominic Gannaway>//
- **[af032764a](https://github.com/facebook/react/commit/af032764a )**: [react-events] Adds preventKeys support to Keyboard responder (#16642 ) //<Dominic Gannaway>//
- **[f705e2bac](https://github.com/facebook/react/commit/f705e2bac )**: Updated pending CHANGELOG for DevTools //<Brian Vaughn>//
- **[77bb10239](https://github.com/facebook/react/commit/77bb10239 )**: [DevTools] [Profiler]: Save profile now working in Firefox (#16612 ) //<Hristo Kanchev>//
- **[92f094d86](https://github.com/facebook/react/commit/92f094d86 )**: fix typo: oncurrent - concurrent (#16633 ) //<Heaven>//
- **[46f912fd5](https://github.com/facebook/react/commit/46f912fd5 )**: [react-core] Add more support for experimental React Scope API (#16621 ) //<Dominic Gannaway>//
- **[f962feb88](https://github.com/facebook/react/commit/f962feb88 )**: Updated extensions build-from-source instructions in README //<Brian Vaughn>//
- **[4e544cffe](https://github.com/facebook/react/commit/4e544cffe )**: [react-events] Split out mixed event responder tests (#16608 ) //<Dominic Gannaway>//
- **[f61138e06](https://github.com/facebook/react/commit/f61138e06 )**: Use renderToStaticMarkup for tests (#16516 ) //<Gerald Monaco>//
- **[980112b14](https://github.com/facebook/react/commit/980112b14 )**: rephrase comment (#16559 ) //<James George>//
- **[8a7c2e50f](https://github.com/facebook/react/commit/8a7c2e50f )**: Remove duplicate character in regex group (#16572 ) //<Bas Peeters>//
- **[557d472fe](https://github.com/facebook/react/commit/557d472fe )**: add <thead>, <tfoot> to table > tr warning (#16535 ) //<Tom Quirk>//
- **[bd79be9b6](https://github.com/facebook/react/commit/bd79be9b6 )**: [react-core] Add experimental React Scope component API (#16587 ) //<Dominic Gannaway>//
- **[996acf903](https://github.com/facebook/react/commit/996acf903 )**: Updated DevTools extension build script to work when run remotely (#16603 ) //<Brian Vaughn>//
- **[34aaec6f9](https://github.com/facebook/react/commit/34aaec6f9 )**: [react-events] Ensure screen reader virtual clicks support preventDefault (#16600 ) //<Dominic Gannaway>//
- **[01fb68b9b](https://github.com/facebook/react/commit/01fb68b9b )**: Don't ignore dependencies for render phase update (#16574 ) //<Dan Abramov>//
- **[b034ac6d3](https://github.com/facebook/react/commit/b034ac6d3 )**: Merge branch 'master' into devtools-v4-merge //<Brian Vaughn>//
- **[f51253775](https://github.com/facebook/react/commit/f51253775 )**: Babel Transform JSX to React.jsx/React.jsxDEV Plugin (#16432 ) //<Luna Ruan>//
- **[cb15f18dc](https://github.com/facebook/react/commit/cb15f18dc )**: [react-events] Improve mock event object accuracy (#16590 ) //<Nicolas Gallagher>//
- **[bc8b15332](https://github.com/facebook/react/commit/bc8b15332 )**: Updated README docs, example screenshots, etc //<Brian Vaughn>//
- **[7153dd516](https://github.com/facebook/react/commit/7153dd516 )**: Fixed a StyleEditor variable resolution regression //<Brian Vaughn>//
- **[33d439f8f](https://github.com/facebook/react/commit/33d439f8f )**: Merge branch 'master' into devtools-v4-merge //<Brian Vaughn>//
- **[4ef269606](https://github.com/facebook/react/commit/4ef269606 )**: [react-events] Support screen reader virtual clicks (#16584 ) //<Dominic Gannaway>//
- **[fb316787c](https://github.com/facebook/react/commit/fb316787c )**: Removed unused Chrome Flow types //<Brian Vaughn>//
- **[8e1434e80](https://github.com/facebook/react/commit/8e1434e80 )**: Added FB copyright header //<Brian Vaughn>//
- **[49b0f87d1](https://github.com/facebook/react/commit/49b0f87d1 )**: Suppress act/renderer warning for DevTools tests //<Brian Vaughn>//
- **[8c684bf7e](https://github.com/facebook/react/commit/8c684bf7e )**: Removed forked DevTools Flow types //<Brian Vaughn>//
- **[9a016c0c2](https://github.com/facebook/react/commit/9a016c0c2 )**: Removed outdated snapshot //<Brian Vaughn>//
- **[896c993ad](https://github.com/facebook/react/commit/896c993ad )**: Fixed remaining DevTools broken tests by fixing a hydration/spread bug //<Brian Vaughn>//
- **[e3cc42be9](https://github.com/facebook/react/commit/e3cc42be9 )**: Fix Console patching test by resetting modules //<Brian Vaughn>//
- **[177f357d9](https://github.com/facebook/react/commit/177f357d9 )**: Updated DevTools test setup to no longer mock test renerer //<Brian Vaughn>//
- **[a48593a8d](https://github.com/facebook/react/commit/a48593a8d )**: Iterating on DevTools tests: Trying to run tests against pre-build react-dom and react-test-renderers //<Brian Vaughn>//
- **[ee4806f47](https://github.com/facebook/react/commit/ee4806f47 )**: Fixed flushing problem with tests //<Brian Vaughn>//
- **[9d4fd7a24](https://github.com/facebook/react/commit/9d4fd7a24 )**: Merged changes from 4.0.5 -> 4.0.6 from DevTools fork //<Brian Vaughn>//
- **[a39d9c3df](https://github.com/facebook/react/commit/a39d9c3df )**: 4.0.5 -> 4.0.6 //<Brian Vaughn>//
- **[84b492f34](https://github.com/facebook/react/commit/84b492f34 )**: Polyfill Symbol usage //<Brian Vaughn>//
- **[c00a92064](https://github.com/facebook/react/commit/c00a92064 )**: Merge branch 'master' into devtools-v4-merge //<Brian Vaughn>//
- **[0da7bd060](https://github.com/facebook/react/commit/0da7bd060 )**: React DevTools CHANGELOG entry for 4.0.6 //<Brian Vaughn>//
- **[fc8077207](https://github.com/facebook/react/commit/fc8077207 )**: [react-events] Ensure updateEventListeners updates in commit phase (#16540 ) //<Dominic Gannaway>//
- **[0f6e3cd61](https://github.com/facebook/react/commit/0f6e3cd61 )**: [Scheduler] Profiler Features (second try) (#16542 ) //<Dan Abramov>//
- **[474b650ca](https://github.com/facebook/react/commit/474b650ca )**: [react-events] Rename hook exports (#16533 ) //<Nicolas Gallagher>//
- **[2f03aa6ee](https://github.com/facebook/react/commit/2f03aa6ee )**: [react-events] Fix middle-click for Press (#16546 ) //<Nicolas Gallagher>//
- **[16c340863](https://github.com/facebook/react/commit/16c340863 )**: Only warn in case the fourth argument is a function (#16543 ) //<Bruno Scopelliti>//
- **[05f5192e8](https://github.com/facebook/react/commit/05f5192e8 )**: [Partial Hydration] Dispatching events should not work until hydration commits (#16532 ) //<Sebastian Markbåge>//
- **[8a01b50fc](https://github.com/facebook/react/commit/8a01b50fc )**: eslint-plugin-react-hooks@2.0.1 //<Dan Abramov>//
- **[3ed289b3b](https://github.com/facebook/react/commit/3ed289b3b )**: Clear canceled task node early (#16403 ) //<Dan Abramov>//
- **[067282905](https://github.com/facebook/react/commit/067282905 )**: Bump ESLint plugin to 2.0 (#16528 ) //<Dan Abramov>//
- **[2559111c2](https://github.com/facebook/react/commit/2559111c2 )**: [react-events] Rely on 'buttons' rather than 'button' (#16479 ) //<Nicolas Gallagher>//
- **[c433fbb59](https://github.com/facebook/react/commit/c433fbb59 )**: Revert "Revert "[ESLint] Forbid top-level use*() calls (#16455 )"" (#16525 ) //<Dan Abramov>//
- **[507f0fb37](https://github.com/facebook/react/commit/507f0fb37 )**: Revert "[ESLint] Forbid top-level use*() calls (#16455 )" (#16522 ) //<Sunil Pai>//
- **[66c9fedc3](https://github.com/facebook/react/commit/66c9fedc3 )**: Flow fixes //<Brian Vaughn>//
- **[2e549efae](https://github.com/facebook/react/commit/2e549efae )**: Moved DevTools custom Flow definitions //<Brian Vaughn>//
- **[4da836af7](https://github.com/facebook/react/commit/4da836af7 )**: Merged changes from 4.0.0 -> 4.0.5 from DevTools fork //<Brian Vaughn>//
- **[5441b094a](https://github.com/facebook/react/commit/5441b094a )**: 4.0.4 -> 4.0.5 //<Brian Vaughn>//
- **[d2456c757](https://github.com/facebook/react/commit/d2456c757 )**: Fixed standalone target not properly serving backend over localhost:8097 //<Brian Vaughn>//
- **[3c6a21946](https://github.com/facebook/react/commit/3c6a21946 )**: 4.0.3 -> 4.0.4 //<Brian Vaughn>//
- **[95ca07955](https://github.com/facebook/react/commit/95ca07955 )**: Fixed standalone bug that prevented backend from being served over localhost:8097 //<Brian Vaughn>//
- **[95ffd3ccf](https://github.com/facebook/react/commit/95ffd3ccf )**: 4.0.2 -> 4.0.3 //<Brian Vaughn>//
- **[2bcc6c6d0](https://github.com/facebook/react/commit/2bcc6c6d0 )**: 4.0.1 -> 4.0.2 //<Brian Vaughn>//
- **[c100cc7b3](https://github.com/facebook/react/commit/c100cc7b3 )**: 4.0.0 -> 4.0.1 //<Brian Vaughn>//
- **[0763c48ed](https://github.com/facebook/react/commit/0763c48ed )**: Bumped all versions to 4.0.0 //<Brian Vaughn>//
- **[732f3a6ef](https://github.com/facebook/react/commit/732f3a6ef )**: 4.0.0-alpha.9 -> 4.0.0-alpha.10 //<Brian Vaughn>//
- **[db9e5c971](https://github.com/facebook/react/commit/db9e5c971 )**: Updated all GitHub links to point to React repo //<Brian Vaughn>//
- **[833f20634](https://github.com/facebook/react/commit/833f20634 )**: Merge branch 'master' into devtools-v4-merge //<Brian Vaughn>//
- **[efa5dbe7a](https://github.com/facebook/react/commit/efa5dbe7a )**: Update CHANGELOG.md (#16439 ) //<bbolek>//
- **[da0a47bec](https://github.com/facebook/react/commit/da0a47bec )**: fix typo in CHNAGELOG.md (#16447 ) //<Heaven>//
- **[69aafbf4d](https://github.com/facebook/react/commit/69aafbf4d )**: Fix spelling in react-devtools CHANGELOG.md (#16448 ) //<Morgan McCauley>//
- **[c80678c76](https://github.com/facebook/react/commit/c80678c76 )**: Add "hydrationOptions" behind the enableSuspenseCallback flag (#16434 ) //<Sebastian Markbåge>//
- **[2d68bd096](https://github.com/facebook/react/commit/2d68bd096 )**: Fix message loop behavior when host callback is cancelled (#16407 ) //<Dan Abramov>//
- **[96eb703bb](https://github.com/facebook/react/commit/96eb703bb )**: [ESLint] Forbid top-level use*() calls (#16455 ) //<Dan Abramov>//
- **[56f93a7f3](https://github.com/facebook/react/commit/56f93a7f3 )**: Throw on unhandled SSR suspending (#16460 ) //<Dan Abramov>//
- **[dce430ad9](https://github.com/facebook/react/commit/dce430ad9 )**: [Flare] Rework the responder dispatching/batching mechanism (#16334 ) //<Dominic Gannaway>//
- **[6ae6a7c02](https://github.com/facebook/react/commit/6ae6a7c02 )**: Updated React DevTools changelog for 4.0.5 //<Brian Vaughn>//
- **[56d1b0fb5](https://github.com/facebook/react/commit/56d1b0fb5 )**: [react-events] DOM event testing library (#16433 ) //<Nicolas Gallagher>//
- **[e89c19d16](https://github.com/facebook/react/commit/e89c19d16 )**: Added DevTools 4.0.4 CHANGELOG entry //<Brian Vaughn>//
- **[d97af798d](https://github.com/facebook/react/commit/d97af798d )**: Updated DevTools CHANLOGE to add an unreleased change //<Brian Vaughn>//
- **[21e793fb4](https://github.com/facebook/react/commit/21e793fb4 )**: Added 4.0.1, 4.0.2, and 4.0.3 changelog entries (#16438 ) //<Brian Vaughn>//
- **[c1d3f7f1a](https://github.com/facebook/react/commit/c1d3f7f1a )**: [DevTools Changelog] Add a note on 4.0.2 //<Dan Abramov>//
- **[6f86294e6](https://github.com/facebook/react/commit/6f86294e6 )**: [DevTools Changelog] Add a note about restoring selection (#16409 ) //<Dan Abramov>//
- **[600c57a9b](https://github.com/facebook/react/commit/600c57a9b )**: Added OVERVIEW.md and updated CHANGELOG to point to it (#16405 ) //<Brian Vaughn>//
- **[9b5985b3c](https://github.com/facebook/react/commit/9b5985b3c )**: Added release date to DevTools CHANGELOG //<Brian Vaughn>//
- **[ebd1f5ddb](https://github.com/facebook/react/commit/ebd1f5ddb )**: [react-events] Press: improve test coverage (#16397 ) //<Nicolas Gallagher>//
- **[85fbe3be3](https://github.com/facebook/react/commit/85fbe3be3 )**: Merge branch 'master' into devtools-v4-merge //<Brian Vaughn>//
- **[a9304e79d](https://github.com/facebook/react/commit/a9304e79d )**: Add DevTools package placeholder package.json //<Brian Vaughn>//
- **[6edff8f5e](https://github.com/facebook/react/commit/6edff8f5e )**: Added CHANGELOG and READMEs for DevTools v4 NPM packages (#16404 ) //<Brian Vaughn>//
- **[7ce229d3b](https://github.com/facebook/react/commit/7ce229d3b )**: Made some incremental progress on Jest tests //<Brian Vaughn>//
- **[41db902ed](https://github.com/facebook/react/commit/41db902ed )**: Removed unused __TEST__ files //<Brian Vaughn>//
- **[a473dca59](https://github.com/facebook/react/commit/a473dca59 )**: Merge branch 'master' into devtools-v4-merge //<Brian Vaughn>//
- **[4ba141230](https://github.com/facebook/react/commit/4ba141230 )**: Revert "[Scheduler] Profiling features (#16145 )" (#16392 ) //<Dan Abramov>//
- **[407816725](https://github.com/facebook/react/commit/407816725 )**: Removed (no longer necessary) node->node-events mapping //<Brian Vaughn>//
- **[d7ca8847f](https://github.com/facebook/react/commit/d7ca8847f )**: Add build-info.json to package files array for non-private DT packages //<Brian Vaughn>//
- **[39209dc5b](https://github.com/facebook/react/commit/39209dc5b )**: Update react-devtools-inline to embed react-debug-tools since it's not published yet //<Brian Vaughn>//
- **[45dff31a7](https://github.com/facebook/react/commit/45dff31a7 )**: Patched up react-devtools-core Webpack configs //<Brian Vaughn>//
- **[58b39c60d](https://github.com/facebook/react/commit/58b39c60d )**: Fixed web extensions //<Brian Vaughn>//
- **[30b8ef375](https://github.com/facebook/react/commit/30b8ef375 )**: Iterated on Webpack configs until I got the inline and shell packages seemingly working //<Brian Vaughn>//
- **[44e410900](https://github.com/facebook/react/commit/44e410900 )**: Merged master (with events -> legacy-events package rename) //<Brian Vaughn>//
- **[b1a03dfdc](https://github.com/facebook/react/commit/b1a03dfdc )**: Rename legacy "events" package to "legacy-events" (#16388 ) //<Brian Vaughn>//
- **[9e64bf18e](https://github.com/facebook/react/commit/9e64bf18e )**: [eslint-plugin-react-hooks] Fixed crash when referencing arguments in arrow functions. (#16356 ) //<Hristo Kanchev>//
- **[e308a037b](https://github.com/facebook/react/commit/e308a037b )**: chore: make tests compatible with Jest 24 (#15779 ) //<Simen Bekkhus>//
- **[5fa99b5aa](https://github.com/facebook/react/commit/5fa99b5aa )**: chore: add eslint-plugin-jest's valid-expect rule (#16332 ) //<Simen Bekkhus>//
- **[a34ca7bce](https://github.com/facebook/react/commit/a34ca7bce )**: [Scheduler] Profiling features (#16145 ) //<Andrew Clark>//
- **[56636353d](https://github.com/facebook/react/commit/56636353d )**: Partial support for React.lazy() in server renderer. (#16383 ) //<Lee Byron>//
- **[6fbe63054](https://github.com/facebook/react/commit/6fbe63054 )**: [Partial Hydration] Attempt hydration at a higher pri first if props/context changes (#16352 ) //<Sebastian Markbåge>//
- **[e0a521b02](https://github.com/facebook/react/commit/e0a521b02 )**: Make component stack last argument for deprecation warnings (#16384 ) //<Dan Abramov>//
- **[1fd3906e9](https://github.com/facebook/react/commit/1fd3906e9 )**: Remove "Waiting for async callback" User Timing measurement (#16379 ) //<Dan Abramov>//
- **[89bbffed6](https://github.com/facebook/react/commit/89bbffed6 )**: Cleanup Babel PR (ReactFreshPlugin) (#16340 ) //<lunaruan>//
- **[441d014ce](https://github.com/facebook/react/commit/441d014ce )**: Cleaned up some extnesions build script stuff //<Brian Vaughn>//
- **[380da5fcc](https://github.com/facebook/react/commit/380da5fcc )**: Moved OVERVIEW //<Brian Vaughn>//
- **[b73e293cc](https://github.com/facebook/react/commit/b73e293cc )**: Moved CHANGELOG //<Brian Vaughn>//
- **[ac2e861fb](https://github.com/facebook/react/commit/ac2e861fb )**: Fixed a bunch of Lint issues //<Brian Vaughn>//
- **[51626ae2f](https://github.com/facebook/react/commit/51626ae2f )**: Prettier //<Brian Vaughn>//
- **[f7afe1b86](https://github.com/facebook/react/commit/f7afe1b86 )**: Moved shell fixture into packages/react-devtools-shell //<Brian Vaughn>//
- **[183f96f2a](https://github.com/facebook/react/commit/183f96f2a )**: Prettier //<Brian Vaughn>//
- **[edc46d7be](https://github.com/facebook/react/commit/edc46d7be )**: Misc Flow and import fixes //<Brian Vaughn>//
- **[08743b1a8](https://github.com/facebook/react/commit/08743b1a8 )**: Reorganized folders into packages/* //<Brian Vaughn>//
- **[ec7ef50e8](https://github.com/facebook/react/commit/ec7ef50e8 )**: Reorganized things again into packages //<Brian Vaughn>//
- **[65b93cd16](https://github.com/facebook/react/commit/65b93cd16 )**: Merge remote-tracking branch 'devtools-merge/master' into devtools-v4-merge //<Brian Vaughn>//
- **[6eb04b2b1](https://github.com/facebook/react/commit/6eb04b2b1 )**: 4.0.0-alpha.8 -> 4.0.0-alpha.9 //<Brian Vaughn>//
- **[8001b6432](https://github.com/facebook/react/commit/8001b6432 )**: Fixed raw-loader + Jest problem //<Brian Vaughn>//
- **[2eb3f4e9b](https://github.com/facebook/react/commit/2eb3f4e9b )**: README typofix //<Brian Vaughn>//
- **[2015a39c2](https://github.com/facebook/react/commit/2015a39c2 )**: 4.0.0-alpha.7 -> 4.0.0-alpha.8 //<Brian Vaughn>//
- **[e015e3d93](https://github.com/facebook/react/commit/e015e3d93 )**: Added not about sync/batched root API being required //<Brian Vaughn>//
- **[baac1dcc5](https://github.com/facebook/react/commit/baac1dcc5 )**: Inline package tweaks: * Ignore messages from the DevTools browser extension. * Cleanup/clarify README //<Brian Vaughn>//
- **[dc8580e64](https://github.com/facebook/react/commit/dc8580e64 )**: New NPM package react-devtools-inline (#363 ) //<Brian Vaughn>//
- **[db8542ad9](https://github.com/facebook/react/commit/db8542ad9 )**: Refactor inspect/select logic so that $r contains hooks data (#364 ) //<Brian Vaughn>//
- **[62e5fd57a](https://github.com/facebook/react/commit/62e5fd57a )**: NPM package versions 4.0.0-alpha.5 -> 4.0.0-alpha.6 //<Brian Vaughn>//
- **[4f8b7864e](https://github.com/facebook/react/commit/4f8b7864e )**: Add "Welcome to the new DevTools" notification //<Brian Vaughn>//
- **[3b2905b69](https://github.com/facebook/react/commit/3b2905b69 )**: NPM package versions 4.0.0-alpha.4 -> 4.0.0-alpha.5 //<Brian Vaughn>//
- **[7385de9fc](https://github.com/facebook/react/commit/7385de9fc )**: react-devtools-core standalone bugfix: prevent electron crash //<Brian Vaughn>//
- **[76c67399d](https://github.com/facebook/react/commit/76c67399d )**: Re-enabled packages backend build to be production mode (whoops) //<Brian Vaughn>//
- **[050cb8452](https://github.com/facebook/react/commit/050cb8452 )**: 4.0.0-alpha.3 -> 4.0.0-alpha.4 //<Brian Vaughn>//
- **[1e8aa8105](https://github.com/facebook/react/commit/1e8aa8105 )**: Re-enable "view source" button for standalone shell //<Brian Vaughn>//
- **[c7aff5503](https://github.com/facebook/react/commit/c7aff5503 )**: 4.0.0-alpha.2 -> 4.0.0-alpha.3 //<Brian Vaughn>//
- **[9a05e0b60](https://github.com/facebook/react/commit/9a05e0b60 )**: Disable view-source button in standalone mode if no project roots are provided //<Brian Vaughn>//
- **[56b001761](https://github.com/facebook/react/commit/56b001761 )**: 4.0.0-alpha.1 -> 4.0.0-alpha.2 //<Brian Vaughn>//
- **[f74c89b14](https://github.com/facebook/react/commit/f74c89b14 )**: Misc improvements based on user feedback from Tim //<Brian Vaughn>//
- **[ffb19346c](https://github.com/facebook/react/commit/ffb19346c )**: NPM packages 4.0.0-alpha.0 -> 4.0.0-alpha.1 //<Brian Vaughn>//
- **[4b34a77d2](https://github.com/facebook/react/commit/4b34a77d2 )**: Improve Bridge Flow types (#352 ) //<Brian Vaughn>//
- **[39ad101ea](https://github.com/facebook/react/commit/39ad101ea )**: Removed reference to setDefaultThemeName() method //<Brian Vaughn>//
- **[167daf7a4](https://github.com/facebook/react/commit/167daf7a4 )**: Updating NPM packages as 4.0.0-alpha.0 //<Brian Vaughn>//
- **[249a2e043](https://github.com/facebook/react/commit/249a2e043 )**: Detect React Native v3 backend and show warning //<Brian Vaughn>//
- **[cb3fb4212](https://github.com/facebook/react/commit/cb3fb4212 )**: Patch console to append component stacks (#348 ) //<Brian Vaughn>//
- **[0f2fb5bad](https://github.com/facebook/react/commit/0f2fb5bad )**: Standalone NPM packages and React Native support (#335 ) //<Brian Vaughn>//
- **[21d6395a1](https://github.com/facebook/react/commit/21d6395a1 )**: Add test case for #16359 (#16371 ) //<Andrew Clark>//
- **[a29adc9f6](https://github.com/facebook/react/commit/a29adc9f6 )**: Dehydrated suspense boundaries in suspense list (#16369 ) //<Sebastian Markbåge>//
- **[50addf4c0](https://github.com/facebook/react/commit/50addf4c0 )**: Refactor Partial Hydration (#16346 ) //<Sebastian Markbåge>//
- **[c2034716a](https://github.com/facebook/react/commit/c2034716a )**: Fix typo in error code map (#16373 ) //<Andrew Clark>//
- **[62b04cfa7](https://github.com/facebook/react/commit/62b04cfa7 )**: Remove unused import //<Andrew Clark>//
- **[3eeb64551](https://github.com/facebook/react/commit/3eeb64551 )**: Remove flag that reverts #15650 (#16372 ) //<Andrew Clark>//
- **[2716d91ec](https://github.com/facebook/react/commit/2716d91ec )**: Reset didReceiveUpdate in beginWork (#16359 ) //<Sebastian Markbåge>//
- **[9449f8bf3](https://github.com/facebook/react/commit/9449f8bf3 )**: [react-events] Fix keyboard responder test (#16368 ) //<Nicolas Gallagher>//
- **[107521a95](https://github.com/facebook/react/commit/107521a95 )**: [react-events] Focus/FocusWithin responders with fallbacks (#16343 ) //<Nicolas Gallagher>//
- **[7a7e792a6](https://github.com/facebook/react/commit/7a7e792a6 )**: Make SchedulerMinHeap flow strict (#16351 ) //<Desmond Brand>//
- **[e349da19b](https://github.com/facebook/react/commit/e349da19b )**: [Scheduler] Temporarily remove wrapper function (#16345 ) //<Andrew Clark>//
- **[0bd0c5269](https://github.com/facebook/react/commit/0bd0c5269 )**: Upgrade ESLint so we can use JSX Fragment syntax (#16328 ) //<Andrew Clark>//
- **[07d062dea](https://github.com/facebook/react/commit/07d062dea )**: Mark spawned work for client-rendered suspense boundary (#16341 ) //<Sebastian Markbåge>//
- **[07a02fb80](https://github.com/facebook/react/commit/07a02fb80 )**: [react-events] Refactor unit tests for Hover (#16320 ) //<Nicolas Gallagher>//
- **[f62b53d90](https://github.com/facebook/react/commit/f62b53d90 )**: fix some missing assertions (#16336 ) //<Sunil Pai>//
- **[b9faa3b09](https://github.com/facebook/react/commit/b9faa3b09 )**: [act] remove obsolete container element (#16312 ) //<Sunil Pai>//
- **[66a474227](https://github.com/facebook/react/commit/66a474227 )**: use a different link in the UNSAFE_ component warnings (#16321 ) //<Sunil Pai>//
- **[8d5403877](https://github.com/facebook/react/commit/8d5403877 )**: Add use-subscription to Rollup bundle config (#16326 ) //<Brian Vaughn>//
- **[b12a98206](https://github.com/facebook/react/commit/b12a98206 )**: Babel 7 (#16297 ) //<lunaruan>//
- **[d77c6232d](https://github.com/facebook/react/commit/d77c6232d )**: [Scheduler] Store Tasks on a Min Binary Heap (#16245 ) //<Andrew Clark>//
- **[95767acf8](https://github.com/facebook/react/commit/95767acf8 )**: Bump deps in packages/**/package.json (#16325 ) //<Andrew Clark>//
- **[6536973a0](https://github.com/facebook/react/commit/6536973a0 )**: Prepare use-subscription v1 for publishing (#16324 ) //<Brian Vaughn>//
Changelog:
[General][Changed] - React sync for revisions 85d05b3...4eeee35
Reviewed By: TheSavior
Differential Revision: D18008433
fbshipit-source-id: 3b528bb5019d84c69e4dda4f836e852a4f263ba4
2019-10-21 07:36:10 -07:00
Moti Zilberman
6611c4b8f4
Move error-subclass-name lint rule to GitHub
...
Summary: Ports an internal ESLint rule used at Facebook, `error-subclass-name`, to cover the React Native codebase. This rule enforces that error classes ( = those with PascalCase names ending with `Error`) only extend other error classes, and that regular functions don't have names that could be mistaken for those of error classes.
Reviewed By: rubennorte
Differential Revision: D17829298
fbshipit-source-id: 834e457343034a0897ab394b6a2d941789953d2e
2019-10-09 11:48:07 -07:00
Daniel Sainati
b786cd6d69
v0.109.0 in xplat
...
Summary:
flowboi
allow-large-files
Reviewed By: gabelevi
Differential Revision: D17729593
fbshipit-source-id: 20575b072540497b64fbe63a92d4827eaab78fc4
2019-10-04 16:42:08 -07:00
Juan Tejada
f0bcfbe9be
Upgrade eslint-plugin-relay to 1.3.12
...
Summary:
Bump eslint-plugin-relay version to 1.3.12 on fbsource
`js1 upgrade dependency --package eslint-plugin-relay@1.3.12`
Reviewed By: kassens
Differential Revision: D17581310
fbshipit-source-id: 6285843dd2f92c6cdd4f0fe0bc2ac7f5c78dbff2
2019-09-25 16:00:05 -07:00
Logan Daniels
89e3f70eab
Upgrade nullthrows to ^1.1.1
...
Reviewed By: TheSavior
Differential Revision: D17552725
fbshipit-source-id: 535faeb8d9ca2b901c5342a48ccba7fc26aebd4f
2019-09-25 10:16:00 -07:00
Mike Vitousek
d34bc5fa64
Upgrade to Flow v0.108.0
...
Reviewed By: gabelevi
Differential Revision: D17488182
fbshipit-source-id: e67c5bcbd9f0bda49d52531387d92d7c83a01f21
2019-09-20 13:37:25 -07:00
Eli White
eb7dbc8532
Generate doc info for RN components
...
Summary:
We used to generate the documentation for the website but moved the docs to another repo.
There is some work on the docs to be able to ingest info from this repo in order to go back to generating API information. The current thinking is we will generate this JSON file and the website repo will pull it in to generate the docs.
I plan to make the script run on CI and fail if the generated file isn't updated, in a follow up PR.
Reviewed By: zackargyle
Differential Revision: D17183936
fbshipit-source-id: 99ce3fa5d7becc0ef20df5d439b175eedbe546f3
2019-09-19 18:36:25 -07:00
Andrew Coates
722bfd8074
Various flow fixes
2019-09-19 12:41:39 -07:00
sunnylqm
811401bcac
Bump hermes to v0.2.1 ( #26451 )
...
Summary:
Bump hermes to v0.2.1
allow-large-files
## Changelog
See https://github.com/facebook/hermes/releases/tag/v0.2.1
[Android] [Changed] - Bump hermes to v0.2.1
Pull Request resolved: https://github.com/facebook/react-native/pull/26451
Test Plan: RNTester builds and runs as expected
Differential Revision: D17394921
Pulled By: cpojer
fbshipit-source-id: 07ce5da3517b7aa24bfb5e1f6eefed6cdc9f5cb5
2019-09-18 04:40:38 -07:00
Christoph Nakazawa
9a0ebe0aba
Move ART JS files to FB internal
...
Summary: This is part of Lean Core.
Reviewed By: rubennorte
Differential Revision: D17343246
fbshipit-source-id: 1185e6c1f75e8272048ce1a24c2f195728d436c4
2019-09-13 07:47:57 -07:00
Tianyu Yao
76ace4764b
Upgrade eslint-plugin-relay to 1.3.11
...
Summary:
Bump eslint-plugin-relay version to 1.3.11 on fbsource
`js1 upgrade dependency --package eslint-plugin-relay@1.3.11`
And enable lint rule for checking second argument on relay hooks
Reviewed By: jstejada
Differential Revision: D17261273
fbshipit-source-id: 1d898535079ba5b7a7ee0d179e6e68f6a5e2bd46
2019-09-10 10:03:23 -07:00
Nat Mote
20a4ac9854
Upgrade to v0.107.0
...
Reviewed By: gabelevi
Differential Revision: D17219316
fbshipit-source-id: c654fd51f8a575a7d810759893273cb6a2b501d6
2019-09-06 11:07:05 -07:00
Héctor Ramos
51681e80ab
useColorScheme hook ( #26143 )
...
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/26143
A new useColorScheme hook is provided as the preferred way of accessing the user's preferred color scheme (aka Dark Mode).
Changelog:
[General] [Added] - useColorScheme hook
Reviewed By: yungsters
Differential Revision: D16860954
fbshipit-source-id: 8a2b6c2624ed7cf431ab331158bc5456cde1f185
2019-08-31 11:22:43 -07:00
glevi@fb.com
b31056d802
Deploy v0.106.3 to xplat/js
...
Reviewed By: jbrown215
Differential Revision: D17120458
fbshipit-source-id: b1f097acffcf277b624910a3c4d7141ef5f352ad
2019-08-30 08:18:13 -07:00
Tianyu Yao
c9ff99f18e
Upgrade eslint-plugin-relay to 1.3.10
...
Summary: Bump eslint-plugin-relay version to 1.3.10 which contains fix for JS errors that blocks enabling the rules.
Reviewed By: kassens
Differential Revision: D17052055
fbshipit-source-id: 74867c16d128d2c0767e92861575ffcbe20370cc
2019-08-27 09:52:34 -07:00
Brian Vaughn
92a3c9da0a
React DevTools v4 integration
...
Summary:
This Diff is being posted for discussion purposes. It will not be ready to land until React DevTools v4 has been published to NPM.
Update React Native to be compatible with the [new version 4 React DevTools extension](https://github.com/bvaughn/react-devtools-experimental ).
**Note that this is a breaking change**, as the version 3 and version 4 backends are **not compatible**. Once this update ships (in React Native) users will be required to update their version of the [`react-devtools` NPM package](https://www.npmjs.com/package/react-devtools ). The same will be true for IDEs like Nuclide as well as other developer tools like Flipper and [React Native Debugger](https://github.com/jhen0409/react-native-debugger ).
Related changes also included in this diff are:
* Pass an explicit whitelist of style props for the React Native style editor (to improve developer experience when adding new styles).
* Update `YellowBox` console patching to coordinate with DevTools own console patching.
* Also improved formatting slightly by not calling `stringifySafe` for strings (since this adds visible quotation marks).
Regarding the console patching- component stacks will be appended by default when there's no DevTools frontend open. The frontend will provide an option to turn this behavior off though:
{F168852162}
React DevTools will detect if the new version is used with an older version of React Native, and offer inline upgrade instructions:
{F169306863}
**Note that the change to the `RCTEnableTurboModule` will not be included in this Diff**. I've just turned those off temporarily so I can use v8+Chrome for debugging.
Reviewed By: rickhanlonii
Differential Revision: D15973709
fbshipit-source-id: bb9d83fc829af4693e7a10a622acc95a411a48e4
2019-08-26 23:56:59 -07:00
glevi@fb.com
97b42bb142
Deploy v0.106.0 to xplat/js
...
Reviewed By: mroch
Differential Revision: D16979246
fbshipit-source-id: 995fbd391823eaf0c9e3a673cf8fbe061ce0545a
2019-08-23 08:06:44 -07:00
Eli White
2dbf42b4a3
Bump eslint-plugin-react-hooks to 2.0.1
...
Summary: This catches some errors about hooks being used at the top level in a module
Reviewed By: gaearon
Differential Revision: D16945591
fbshipit-source-id: 116ed24b4394b1f516a2ebcd75977d2ba5c57afb
2019-08-21 18:08:26 -07:00
Christopher Hogan
487cf44a55
iOS changes to get RNTester running with 0.60. Updates to pbxprojs, some core JS files, bundler, etc.
2019-08-20 11:16:42 -07:00
Christopher Hogan
be6e83889f
initial commit with merge conflicts
2019-08-15 08:35:19 -07:00
Michał Pierzchała
5edd1c674c
- Bump CLI to ^3.0.0-alpha.1 ( #26028 )
...
Summary:
Bumps the CLI to v3 alpha which includes Metro 0.56
## Changelog
[Internal] [Changed] - Bump CLI to ^3.0.0-alpha.1
Pull Request resolved: https://github.com/facebook/react-native/pull/26028
Test Plan: None
Differential Revision: D16763732
Pulled By: cpojer
fbshipit-source-id: 8f35fb80913f623cb44d37208f49040d4a33b07b
2019-08-12 09:11:04 -07:00
Avik Chaudhuri
b1ca5be68a
@allow-large-files flow 0.105 xplat deploy
...
Summary:
bypass-lint
allow_many_files
Reviewed By: jbrown215
Differential Revision: D16753543
fbshipit-source-id: 1db37b56c1bb84b547e302dfe13ea0c9787deace
2019-08-11 00:22:31 -07:00
Eli White
0ccedf3964
React sync for revisions 55bc393...85d05b3
...
Summary:
This sync includes the following changes:
- **[85d05b3a4](https://github.com/facebook/react/commit/85d05b3a4 )**: Bump package.json versions //<Andrew Clark>//
- **[d9fdec6cf](https://github.com/facebook/react/commit/d9fdec6cf )**: [Flare] Remove contextmenu logic from Press (#16322 ) //<Dominic Gannaway>//
- **[12be8938a](https://github.com/facebook/react/commit/12be8938a )**: [Fresh] Support multiple renderers at the same time (#16302 ) //<Dan Abramov>//
- **[6f3c8332d](https://github.com/facebook/react/commit/6f3c8332d )**: Reset hydration state after reentering (#16306 ) //<Sebastian Markbåge>//
- **[028c07f89](https://github.com/facebook/react/commit/028c07f89 )**: Ensure Fundamental flags are added to more locations (#16311 ) //<Dominic Gannaway>//
- **[9dfe973b5](https://github.com/facebook/react/commit/9dfe973b5 )**: Nit: fix inconsistent spacing in a warning (#16310 ) //<Dan Abramov>//
- **[c4f0b9370](https://github.com/facebook/react/commit/c4f0b9370 )**: Warn when Using String Refs (#16217 ) //<lunaruan>//
- **[7c838a645](https://github.com/facebook/react/commit/7c838a645 )**: [Flare] Adds support for hydrating host components with listeners (#16304 ) //<Dominic Gannaway>//
- **[ed4970079](https://github.com/facebook/react/commit/ed4970079 )**: [react-events] Separate the Focus/FocusWithin unit tests (#16298 ) //<Nicolas Gallagher>//
- **[23405c9c4](https://github.com/facebook/react/commit/23405c9c4 )**: [react-events] Add ContextMenu responder (#16296 ) //<Nicolas Gallagher>//
- **[606f76b6e](https://github.com/facebook/react/commit/606f76b6e )**: Fix hydration bug with nested suspense boundaries (#16288 ) //<Sebastian Markbåge>//
- **[a1dbb852c](https://github.com/facebook/react/commit/a1dbb852c )**: warn if you try to use act() in prod (#16282 ) //<Sunil Pai>//
- **[dc232e677](https://github.com/facebook/react/commit/dc232e677 )**: chore: remove outdated comment about gcc (#16232 ) //<Ashwin Ramaswami>//
- **[6b565ce73](https://github.com/facebook/react/commit/6b565ce73 )**: Rendering tasks should not jump the queue (#16284 ) //<Andrew Clark>//
- **[c4c9f086e](https://github.com/facebook/react/commit/c4c9f086e )**: BugFix: Suspense priority warning firing when not supposed to (#16256 ) //<lunaruan>//
- **[05dce7598](https://github.com/facebook/react/commit/05dce7598 )**: Fix priority of clean-up function on deletion (#16277 ) //<Andrew Clark>//
- **[a53f5cc22](https://github.com/facebook/react/commit/a53f5cc22 )**: [SuspenseList] Bug fix: Reset renderState when bailing out (#16278 ) //<Sebastian Markbåge>//
- **[0c1ec049f](https://github.com/facebook/react/commit/0c1ec049f )**: Add a feature flag to disable legacy context (#16269 ) //<Dan Abramov>//
- **[42794557c](https://github.com/facebook/react/commit/42794557c )**: [Flare] Tweaks to Flare system design and API (#16264 ) //<Dominic Gannaway>//
- **[b5af4fe3c](https://github.com/facebook/react/commit/b5af4fe3c )**: Remove FocusScope (#16267 ) //<Dominic Gannaway>//
- **[375616788](https://github.com/facebook/react/commit/375616788 )**: Add missing check to unmocked Scheduler warning (#16261 ) //<Andrew Clark>//
- **[f939df402](https://github.com/facebook/react/commit/f939df402 )**: [act] Wrap IsThisRendererActing in DEV check (#16259 ) //<Andrew Clark>//
- **[f440bfd55](https://github.com/facebook/react/commit/f440bfd55 )**: Bugfix: Effects should never have higher than normal priority (#16257 ) //<Andrew Clark>//
- **[db3ae32b8](https://github.com/facebook/react/commit/db3ae32b8 )**: flush fallbacks in tests (#16240 ) //<Sunil Pai>//
- **[e6a0473c3](https://github.com/facebook/react/commit/e6a0473c3 )**: Warn when rendering tests in concurrent/batched mode without a mocked scheduler (#16207 ) //<Sunil Pai>//
- **[e276a5e85](https://github.com/facebook/react/commit/e276a5e85 )**: [Flare] Remove delay props from Hover (#16248 ) //<Nicolas Gallagher>//
- **[1912b4a0f](https://github.com/facebook/react/commit/1912b4a0f )**: [Flare] Remove delay props from Press (#16247 ) //<Nicolas Gallagher>//
Changelog:
[General][Changed] - React sync for revisions 55bc393...85d05b3
Reviewed By: zackargyle, rickhanlonii
Differential Revision: D16720468
fbshipit-source-id: 1884ef67f404623697f516cd77ad952d1fbb4737
2019-08-09 14:32:40 -07:00
Kant
d2b92fffb1
Use eslint-plugin-prettier recommended config ( #25674 )
...
Summary:
I created a new test project today using RN 0.60.3 and saw that prettier is now used with eslint. After looking at the `react-native-community` eslint config, I notice that it wasn't using the [recommended configuration](https://github.com/prettier/eslint-plugin-prettier#recommended-configuration ) of `eslint-plugin-prettier`
This PR adds the `eslint-config-prettier` to avoid conflicts between eslint and prettier, it also adds the `prettier/react` config to avoid problems with the `eslint-plugin-react`.
## Changelog
[General] [Changed] - Use eslint-plugin-prettier recommended config
Pull Request resolved: https://github.com/facebook/react-native/pull/25674
Test Plan: - ✅ Ensure there is no difference on this repo (no ESLint errors, same number of warnings, and no changes when running prettier).
Differential Revision: D16666178
Pulled By: cpojer
fbshipit-source-id: 70f81db793866acc88388b7b00a496aab5e0b156
2019-08-09 06:41:41 -07:00
Dan Abramov
93f4f9d9c9
Fix Fast Refresh on Fabric
...
Summary: Brings in https://github.com/facebook/react/pull/16302 . We were passing roots to a wrong renderer, hence a confusing Fabric-only crash.
Reviewed By: JoshuaGross
Differential Revision: D16672454
fbshipit-source-id: 115894eb375b50da09d145c57f15c7d5668b926d
2019-08-08 04:42:06 -07:00
sunnylqm
c21e36db45
Bump hermes to v0.1.1 ( #25908 )
...
Summary:
Hermes has been updated to [v0.1.1](https://github.com/facebook/hermes/releases/tag/v0.1.1 ) and [renamed from 'hermesvm' to 'hermes-engine'](c74842ee5c
)
## Changelog
[Android] [Changed] - Bump hermes to v0.1.1
Pull Request resolved: https://github.com/facebook/react-native/pull/25908
Test Plan: RNTester builds and runs as expected
Differential Revision: D16645811
Pulled By: cpojer
fbshipit-source-id: 4fb6a3160df2c6d08140dd1fee51acf9ff8baffc
2019-08-05 12:58:25 -07:00
Christoph Nakazawa
d285860851
Add jest-watch-typeahead
...
Summary: Had to split it out if Jest because of tomocchino's patents. I hate it. Anyway, I brought it back into RN because I can't live without it.
Reviewed By: rubennorte
Differential Revision: D16560078
fbshipit-source-id: c394e248dcd048866a31a7b08b233d8966af9ee3
2019-07-30 09:31:19 -07:00
Marshall Roch
59db059dbd
upgrade to flow v0.104.0
...
Reviewed By: dsainati1
Differential Revision: D16523758
fbshipit-source-id: 8816a6b93415b9967888217dd6d0642830d5ed1d
2019-07-26 19:21:32 -07:00
Brian Vaughn
fffe2d0f67
Update react-devtools-core to 3.6.3 to fix React Inspector
...
Summary:
It appears that Electron (or the version of Chromium it uses) has a bug that causes a `webview` process to crash if `URL.createObjectURL` is used.
Before releasing `react-devtools-core` 3.5.0, we updated Webpack and the loaders we used. Apparently the version of `style-loader` we now use makes use of the `URL.createObjectURL` API for CSS source maps. This triggers the `webview` crash I mentioned above.
The fix for this is to disable CSS source maps, in which case the loader just uses a `<style>` tag. This diff updates Nuclide to pull in this fixed version.
Reviewed By: bestander
Differential Revision: D16518772
fbshipit-source-id: a779b7d310f869793fa05988d138ce6a46840d8c
2019-07-26 14:45:28 -07:00
cpojer
d7f5153cd8
Add Hermes support to React Native on Android ( #25613 )
...
Summary:
Yesterday we shipped hermesengine.dev as part of the current 0.60 release. This PR brings those changes to master.
## Changelog
[General] [Added] - Added support for Hermes
Pull Request resolved: https://github.com/facebook/react-native/pull/25613
Test Plan:
* CI is green both on GitHub and at FB
* Creating a new app from source can use Hermes on Android
Reviewed By: cpojer
Differential Revision: D16221777
Pulled By: willholen
fbshipit-source-id: aa6be10537863039cb666292465ba2e1d44b64ef
2019-07-25 23:05:53 -07:00
Dan Abramov
8b5ed7abdd
Fixing error on first mount should fall back to reload
...
Summary:
This updates `react-refresh` to 0.3.0 which brings a new feature: we can now detect if the root fails on _the initial mount_. In that case we currently can't recover with Fast Refresh because we don't know which element to retry mounting. (In the future, we can lift this limitation, but it would require more changes in React renderer.)
Before this diff, after you fix an error on initial mount, you would see a blank screen (because nothing managed to mount).
After this diff, after you fix an error on initial mount, you would fall back to a full reload.
This diff doesn't affect errors on updates. We can recover from those, just like before.
Reviewed By: cpojer
Differential Revision: D16440836
fbshipit-source-id: 4a414202a9eab894acd7baa0525c25ff003dd323
2019-07-23 16:19:15 -07:00
Brian Vaughn
a3a22fa91d
Update react-devtools-core to ^3.6.2
...
Summary:
Update to the latest React DevTools v3 release, which adds the ability to detect when the (v3) frontend is connected with a v4 backend and shows update instructions to the user.
## Changelog:
[General] [Added] - Updated embedded react-devtools-core package to the latest version in preparation for the upcoming v4 DevTools release.
Reviewed By: rickhanlonii
Differential Revision: D16419553
fbshipit-source-id: a36b0ba5bf6992a490f1234b9a92b8abd4c9b3e6
2019-07-22 19:45:03 -07:00
George Zahariev
9984ac4786
Deploy Flow 0.103 to xplat
...
Summary:
Deploy Flow 0.103 to xplat
bypass-lint
Reviewed By: panagosg7
Differential Revision: D16374740
fbshipit-source-id: e0d67e0bc9a209dd75d78bcf257c6af821ed04d1
2019-07-19 21:43:05 -07:00
Michał Pierzchała
fafe5ee072
- Bump CLI to ^2.6.0 ( #25666 )
...
Summary:
Bumps CLI to the latest, including automatic jetifier, prettierrc in template and more: https://github.com/react-native-community/cli/compare/v2.2.0...v2.6.0
## Changelog
[Internal] [Changed] - Bump CLI to ^2.6.0
Pull Request resolved: https://github.com/facebook/react-native/pull/25666
Test Plan: CI passes
Differential Revision: D16279319
Pulled By: cpojer
fbshipit-source-id: d84e2e69a310ac3ef5722c22a17b12926a073097
2019-07-18 03:21:28 -07:00
Michał Pierzchała
5b448eca4f
- Bump CLI to ^2.2.0 ( #25555 )
...
Summary:
We've released a bunch of versions since the initial 2.0 release, with a lot of bug fixes (especially for Windows) and some features added.
Changes since 2.0: https://github.com/react-native-community/cli/compare/v2.0.1...v2.2.0
Latest release: https://github.com/react-native-community/cli/releases/tag/v2.2.0
## Changelog
[Internal] [Changed] - Bump CLI to ^2.2.0
Pull Request resolved: https://github.com/facebook/react-native/pull/25555
Test Plan: None
Differential Revision: D16161897
Pulled By: cpojer
fbshipit-source-id: 542c4bffa7c6b0537f1c7135f43c98dd3db358e4
2019-07-09 03:42:19 -07:00
Michał Pierzchała
7a6bb389df
– Bump CLI to ^2.0.1 ( #25472 )
...
Summary:
Bump the React Native CLI to ^2.0.1 as it's just released now. Comes with fixes to autolinking, helpful warnings and upgrading.
## Changelog
[Internal] [Change] - Bump CLI to ^2.0.1
Pull Request resolved: https://github.com/facebook/react-native/pull/25472
Test Plan: Nothing breaks
Differential Revision: D16107705
Pulled By: cpojer
fbshipit-source-id: 1019330d434294c434b9a9d835dff67e7b3939dd
2019-07-04 03:31:11 -07:00
Lorenzo Sciandra
35aeb8c027
[LOCAL] bump CLI
2019-07-03 13:00:27 +01:00
Dan Abramov
aa860fb5df
Update react-refresh to 0.2.0
...
Summary: Version bump for a minor Babel transform bugfix.
Reviewed By: motiz88
Differential Revision: D16093422
fbshipit-source-id: c1c2181a1cd75d78765e9d951e0bc001eff77bb9
2019-07-02 18:40:15 -07:00
Kudo Chien
58d87940a1
Upgrade jsc-android to r245459 and fix crash on Samsung S7 Edge ( #25426 )
...
Summary:
Upgrade bundled jsc-android that should fix the native JSC crash addressed for https://github.com/facebook/react-native/issues/24261 .
Major changes after r241213 are:
1. Disable DFG JIT.
2. Upgrade WebKitGTK to 2.24.2, this version includes the [new bytecode format enhancement](https://webkit.org/blog/9329/a-new-bytecode-format-for-javascriptcore/ ).
3. Workaround LLVM __clear_cache issue which may have some problems on ARM Cortex A-53.
For details, please refer to the PRs in https://github.com/react-native-community/jsc-android-buildscripts .
In https://github.com/facebook/react-native/issues/24261 , there were many experimented JSC deliveries and thank to people in RN community helping me verify the final version which solve the crash issues.
## Changelog
[Android] [Fixed] - Upgrade jsc-android to r245459 and fix crash on Samsung S7 Edge
Pull Request resolved: https://github.com/facebook/react-native/pull/25426
Test Plan:
1. Run [measure scripts](https://github.com/react-native-community/jsc-android-buildscripts/tree/master/measure ) on my Samsung Note 5.
2. Provide an [experimented version](https://www.npmjs.com/package/kudo-ci/jsc-android/v/245459.9000.0 ) for community who previously reported JSC crash and seems no more crashes happened, see that thread in https://github.com/facebook/react-native/issues/24261
Differential Revision: D16071388
Pulled By: cpojer
fbshipit-source-id: 52eb7af61ccd73db21dea1e2e9c58f191a311868
2019-07-01 04:29:17 -07:00
Dan Abramov
9c82d3c84b
Update react-refresh dependency
...
Summary: This bumps the dependency so I can get a new export I added.
Reviewed By: rickhanlonii
Differential Revision: D16030064
fbshipit-source-id: 2b539f04d4fbc21c097c0f1d1d1e7b59f376a894
2019-06-27 07:58:50 -07:00
Panagiotis Vekris
454bbff3ba
Flow v0.102 in xplat/js
...
Summary:
https://our.intern.facebook.com/intern/wiki/Flow/Flow_Release_Process/Updating_Internal_Repositories/#update-xplat-js
allow-large-files
Reviewed By: jbrown215
Differential Revision: D16013696
fbshipit-source-id: 1a6185dafd14ef9c9e1aa214cdbf8cf9c573b08f
2019-06-26 19:07:39 -07:00
Dan Abramov
0a17699fd5
Recover from render errors by remounting root
...
Summary: This updates the renderer and Fresh packages to pull in the new error handling behavior. The new feature is that roots that errored on last save get remounted after an edit. This allows much faster iteration in the Fast Refresh mode as you don't need to do a full reload after typos.
Reviewed By: bvaughn
Differential Revision: D15967396
fbshipit-source-id: 96a82e6a4e00a8cb636d7bca037a1a43552a4cd2
2019-06-24 13:54:40 -07:00
Dan Abramov
5d29590cd4
Update renderer and packages
...
Summary:
This pulls in the latest package updates for Fresh. It doesn't have any user-observable behavior.
The renderer is rebuilt on top of the last cherry-picked sync. I cherry-picked https://github.com/facebook/react/pull/15928 on top of it.
Reviewed By: rickhanlonii
Differential Revision: D15901887
fbshipit-source-id: ccd974f79e4c0a2a8a8cab0d472deeaedf1e3ddd
2019-06-20 21:18:46 -07:00
Michał Pierzchała
bf4ee6f5c1
Bump CLI to 2.0.0-rc.2 ( #25241 )
...
Summary:
Fixing Metro validation issue. Hope that helps with fixing the CI �.
## Changelog
[General] [Changed] - Bump CLI to 2.0.0-rc.2
Pull Request resolved: https://github.com/facebook/react-native/pull/25241
Differential Revision: D15803610
Pulled By: cpojer
fbshipit-source-id: 22136db1583f8cf5a40afd5d8a561d98cb6de982
2019-06-19 12:54:50 +01:00
Dan Abramov
1284c5d1f2
Add react-refresh as a dependency
...
Summary:
This adds the Fresh Babel plugin and runtime to React Native dependencies. **They're not actually being used or enabled yet**. This is purely additive and just gets the deps setup out of the way for future diffs.
The `react-refresh` source of truth is in the React repo.
Reviewed By: cpojer
Differential Revision: D15828330
fbshipit-source-id: 67ec2dea8c896477ff8b434445f1730e388ea67a
2019-06-17 10:59:05 -07:00
Michał Pierzchała
6c0eccd46d
Bump CLI to 2.0.0-rc.2 ( #25241 )
...
Summary:
Fixing Metro validation issue. Hope that helps with fixing the CI �.
## Changelog
[General] [Changed] - Bump CLI to 2.0.0-rc.2
Pull Request resolved: https://github.com/facebook/react-native/pull/25241
Differential Revision: D15803610
Pulled By: cpojer
fbshipit-source-id: 22136db1583f8cf5a40afd5d8a561d98cb6de982
2019-06-13 08:59:36 -07:00
Jordan Brown
dec9698d1c
@allow-large-files Deploy v0.101.0 to xplat
...
Summary: Deploy v0.101.0 to xplat
Reviewed By: gabelevi
Differential Revision: D15765260
fbshipit-source-id: 8535438131ee47eaa94bd3a735c30eaf13a732ff
2019-06-11 15:22:23 -07:00
Tom Underhill
232c1b9c5d
Fix RCTBaseTextInputView.m to build for tvOS under.
...
Fix to React.xcodeproj/project.pbxproj to include JSCExecutorFactory.mm in tvOS target.
Fix to package.json/yarn.lock to update detox to 12.2.0 so that it works in macOS Mojave and later.
Fix to scripts/react-native-xcode.sh so that ip.txt is not written for mac RNTester builds.
2019-06-10 16:27:50 -07:00
Michał Pierzchała
782e8481a1
chore: upgrade CLI to 2.0.0-rc.1 ( #25190 )
...
Summary:
The RC1 of the CLI upgrades Metro to 0.54.1 to be compatible with 0.60 and master and fixes an issue with haste backwards compatibility.
cc kelset
## Changelog
[General] [Changed] - Bump CLI to 2.0.0-rc.1
Pull Request resolved: https://github.com/facebook/react-native/pull/25190
Differential Revision: D15737249
Pulled By: cpojer
fbshipit-source-id: a39747620a7652507d29f5dadb6a4bdc9c1393f0
2019-06-10 04:08:42 -07:00
Lorenzo Sciandra
5ecc87bf3e
bump versions to match the requirements
2019-06-07 17:54:20 +01:00
Michał Pierzchała
39ce412b25
Bump CLI to 2.0.0-rc.0 ( #25175 )
...
Summary:
Upgrading the CLI to the latest with a bunch of fixes and features included.
## Changelog
[General] [Changed] - Bump CLI to 2.0.0-rc.0
Pull Request resolved: https://github.com/facebook/react-native/pull/25175
Differential Revision: D15694764
Pulled By: cpojer
fbshipit-source-id: 25fbf1c275ed5379e1cdb372512b6bb6327dea92
# Conflicts:
# jest/hasteImpl.js
# package.json
# yarn.lock
2019-06-07 15:14:32 +01:00
Janic Duplessis
54471963e0
Remove vendored fetch polyfill, update to whatwg-fetch@3.0 ( #24418 )
...
Summary:
The original reason for vendoring the fetch polyfill was to remove the default blob response type but this was reverted.
Here's a little history around the fetch polyfill and the blob issue:
- Original commit introducing the vendored polyfill: #19333 , the goal was to fix a memory leak because our blob implementation doesn't release resources automatically. Not an ideal fix but since the issue was pretty severe and the infra for a proper fix was not in place.
- This introduced an issue when downloading images using `fetch` which was fixed by #22063 which re-added the default blob content type. However that re-introduced the original fetch memory leak.
- We have better infra now with jsi and I was able to get blob deallocation working, see #24405
Currently the vendored fetch polyfill is useless since it was changed back to the original version. We can just use the npm version again. I also updated to 3.0 which brings better spec compliance and support for cancellation via `AbortController`, https://github.com/github/fetch/releases/tag/v3.0.0 .
## Changelog
[General] [Changed] - Remove vendored fetch polyfill, update to whatwg-fetch@3.0
Pull Request resolved: https://github.com/facebook/react-native/pull/24418
Differential Revision: D14932683
Pulled By: cpojer
fbshipit-source-id: 915e3d25978e8b9d7507ed807e7fba45aa88385a
2019-06-07 15:11:36 +01:00
Michał Pierzchała
ea090a10e6
Bump CLI to 2.0.0-rc.0 ( #25175 )
...
Summary:
Upgrading the CLI to the latest with a bunch of fixes and features included.
## Changelog
[General] [Changed] - Bump CLI to 2.0.0-rc.0
Pull Request resolved: https://github.com/facebook/react-native/pull/25175
Differential Revision: D15694764
Pulled By: cpojer
fbshipit-source-id: 25fbf1c275ed5379e1cdb372512b6bb6327dea92
2019-06-07 03:09:35 -07:00
Andrew Coates
086d39fa9b
supress final flow issues
2019-06-04 12:53:44 -07:00
Sam Goldman
b3a50ec0de
Deploy Flow v0.100 to xplat/js
...
Reviewed By: dsainati1
Differential Revision: D15617077
fbshipit-source-id: b88325dd80d167473d3c4cc7bb93c27ea71e654b
2019-06-03 23:03:41 -07:00
Janic Duplessis
bccc92dfdd
Remove vendored fetch polyfill, update to whatwg-fetch@3.0 ( #24418 )
...
Summary:
The original reason for vendoring the fetch polyfill was to remove the default blob response type but this was reverted.
Here's a little history around the fetch polyfill and the blob issue:
- Original commit introducing the vendored polyfill: #19333 , the goal was to fix a memory leak because our blob implementation doesn't release resources automatically. Not an ideal fix but since the issue was pretty severe and the infra for a proper fix was not in place.
- This introduced an issue when downloading images using `fetch` which was fixed by #22063 which re-added the default blob content type. However that re-introduced the original fetch memory leak.
- We have better infra now with jsi and I was able to get blob deallocation working, see #24405
Currently the vendored fetch polyfill is useless since it was changed back to the original version. We can just use the npm version again. I also updated to 3.0 which brings better spec compliance and support for cancellation via `AbortController`, https://github.com/github/fetch/releases/tag/v3.0.0 .
## Changelog
[General] [Changed] - Remove vendored fetch polyfill, update to whatwg-fetch@3.0
Pull Request resolved: https://github.com/facebook/react-native/pull/24418
Differential Revision: D14932683
Pulled By: cpojer
fbshipit-source-id: 915e3d25978e8b9d7507ed807e7fba45aa88385a
2019-05-31 01:43:00 -07:00
Michał Pierzchała
49f7e31ea3
- Upgrade CLI to latest alpha ( #25094 )
...
Summary:
Updates the CLI version to the latest alpha to fix some issues around init and autolinking. Please port this PR back to `0.60-stable` branch as it fixes an issue with `npx react-native init`.
cc grabbou hramos
## Changelog
[General] [Fix] - Upgrade CLI to latest alpha
Pull Request resolved: https://github.com/facebook/react-native/pull/25094
Differential Revision: D15558082
Pulled By: cpojer
fbshipit-source-id: 60be64fbed996b6667eddc08346b07475dbb5089
2019-05-30 12:37:02 -07:00
James Ide
33ee6f8b99
Add a lint rule to disallow Haste imports ( #25058 )
...
Summary:
This is an ESLint plugin that infers whether an import looks like a Haste module name. To keep the linter fast and simple, it does not look in the Haste map. Instead, it looks for uppercase characters in single-name import paths, since npm has disallowed uppercase letters in package names for a long time. There are some false negatives (e.g. "merge" is a Haste module and this linter rule would not pick it up) but those are about 1.1% of the module names in the RN repo, and unit tests and integration tests will fail anyway once Haste is turned off.
You can disable the lint rule on varying granular levels with ESLint's normal disabling/enabling mechanisms.
Also rewrote more Haste imports so that the linter passes (i.e. fixed lint errors as part of this PR).
## Changelog
[General] [Changed] - Add a lint rule to disallow Haste imports
Pull Request resolved: https://github.com/facebook/react-native/pull/25058
Differential Revision: D15515826
Pulled By: cpojer
fbshipit-source-id: d58a3c30dfe0887f8a530e3393af4af5a1ec1cac
2019-05-30 07:45:16 -07:00
Sam Goldman
87b31bccdf
@allow-large-files Deploy Flow v0.99.0 to xplat/js
...
Reviewed By: dsainati1
Differential Revision: D15541620
fbshipit-source-id: e19795e13d47dca58c5603b308b7cd60ba67ef86
2019-05-29 18:11:43 -07:00
REDMOND\acoates
2e64c10da8
merge master
2019-05-28 13:08:40 -07:00
Héctor Ramos
ea460d6d3e
Revert "[0.60.0-rc.0] Bump version numbers"
...
This reverts commit edb749f283
.
2019-05-28 07:39:11 -07:00
Mike Grabowski
edb749f283
[0.60.0-rc.0] Bump version numbers
2019-05-22 22:29:43 +02:00
BarinderGrewal
ae2677e22e
This change updates react dependencies ( #67 )
...
* This change updates react dependencies
* Updating yarn.lock file
2019-05-17 07:02:08 -07:00
Michał Pierzchała
0815f811df
- update CLI to alpha.20 to fix Android tests ( #24869 )
...
Summary:
PR https://github.com/facebook/react-native/pull/24843 broke Android tests because of a regression we introduced in terms of passing `reporter` argument to Metro config. This was fixed in latest `alpha.20` release of CLI
## Changelog
[General] [Fix] - update CLI to alpha.20 to fix Android tests
Pull Request resolved: https://github.com/facebook/react-native/pull/24869
Reviewed By: rickhanlonii
Differential Revision: D15355144
Pulled By: cpojer
fbshipit-source-id: faafd8098c708845264b7164557076bce45ea332
2019-05-16 06:11:15 -07:00
Moti Zilberman
7ff3874ec0
Upgrade Metro packages to 0.54.1
...
Summary: Upgrades React Native's direct Metro dependencies to 0.54.1.
Reviewed By: amnn
Differential Revision: D15335292
fbshipit-source-id: b6787937c74a1ab6ad0f1793ba7beb38dc7fe999
2019-05-15 10:05:22 -07:00
Lucas Bento
aa926e349b
Open links from new app screen in computer's browser ( #24843 )
...
Summary:
This PR is related to #24760 and adds the `openURLInBrowser` functionality introduced on react-native-community/cli#383 .
[General] [Changed] - Open links from new app in computer's browser.
Pull Request resolved: https://github.com/facebook/react-native/pull/24843
Reviewed By: rickhanlonii
Differential Revision: D15334011
Pulled By: cpojer
fbshipit-source-id: 947ad1b113923989cf706e60851e02a87e1099e8
2019-05-14 07:07:24 -07:00
Dan Abramov
6001acb319
Declare a dependency on scheduler ( #24802 )
...
Summary:
ReactNativeRenderer has `require('scheduler')` in it but we don't seem to declare a dependency. As a result, the latest sync broke `useEffect` in open source master:
```js
function Counter() {
const [count, setCount] = useState(0);
useEffect(() => {
const id = setInterval(() => {
setCount(c => c + 1);
}, 1000)
return () => clearInterval(id);
}, [])
return <View><Text>{count}</Text></View>
}
```
<img width="535" alt="Screen Shot 2019-05-10 at 3 26 05 PM" src="https://user-images.githubusercontent.com/810438/57535832-e04dc000-733a-11e9-8e3e-d685171ec55a.png ">
This adds an explicit dependency on the same version we're currently using internally.
<img width="535" alt="Screen Shot 2019-05-10 at 3 47 42 PM" src="https://user-images.githubusercontent.com/810438/57535886-f65b8080-733a-11e9-82c3-78e6c3a3888b.png ">
Pull Request resolved: https://github.com/facebook/react-native/pull/24802
Differential Revision: D15295252
Pulled By: hramos
fbshipit-source-id: cd897ac590de1b719f28234f7631b0dcc069d043
2019-05-10 08:59:12 -07:00
Moti Zilberman
343f0a1d50
Upgrade Metro packages to 0.54.0
...
Summary: Upgrades React Native's Metro dependencies to 0.54.0.
Reviewed By: alexeylang
Differential Revision: D15212988
fbshipit-source-id: 5799740bc8df1b778630bba063be17d8739cbef8
2019-05-08 14:22:23 -07:00
Adrian Zgorzalek
ff9f8f347d
Upgrade prettier to 1.17.0
...
Summary:
Run `js1 upgrade prettier 1.17.0` and `xplat/js/scripts/update-oss-yarn-lockfile.sh` and `hg revert -r .^ xplat/js/rome`
allow-large-files
Reviewed By: zackargyle, pvdz
Differential Revision: D15164375
fbshipit-source-id: 2fe68733dfa93ea64a67d170ba2f80c5af086917
2019-05-07 10:35:14 -07:00
Kudo Chien
509a07b207
Remove unreliable packagingOptions.pickFirst for libc++_shared.so and libjsc.so ( #24672 )
...
Summary:
packagingOptions.pickFirst is unreliable that we could not specify which library will be used.
If user have other third party libraries, the story is more complicated.
From the framework point of view, it is better to drop the pickFirst.
In jsc-android 241213.1.0, we did two things:
1. Remove libc++_shared.so in AAR to prevent the conflict with RN.
2. Build by NDK r17c, which aligned with current RN NDK version.
In this commit, I also revert the pickFirst for JSC.
pickFirst JSC also makes upgrade JSC unreliable.
Currently a lot of user report JSC crash issues, those crash issues may relate to JIT and hard to reproduce in-house.
My plan is to make sure user could choose another JSC build easier,
i.e. only to `yarn add 'jsc-android@latest'`.
We could then propose some experimented JSC build for user to check
if the build could help them to fix the crash issue.
[Android] [Fixed] - Remove unreliable packagingOptions.pickFirst for libc++_shared.so and libjsc.so
NOTE that this may not need to add the changelog, as RN 0.59 does not have pickFirst.
This will also reduce a breaking change for upgrade from RN 0.59 or before.
Pull Request resolved: https://github.com/facebook/react-native/pull/24672
Differential Revision: D15164536
Pulled By: cpojer
fbshipit-source-id: 9fc897a77409173a5841f325b38e2836bb07f599
2019-05-07 07:13:33 -07:00
Nat Mote
0e1dfd4369
Upgrade to Flow v0.98
...
Summary:
https://our.intern.facebook.com/intern/wiki/Flow/Flow_Release_Process/#update-xplat-js
allow-large-files
Reviewed By: avikchaudhuri
Differential Revision: D15149545
fbshipit-source-id: 85b6107c058d50d9fe80fd277fcdd005faccea8e
2019-05-03 11:43:10 -07:00
David Vacca
ee681b72ce
React sync for revisions 8e25ed2...ec6691a
...
Summary:
This sync includes the following changes:
- **[ec6691a68](https://github.com/facebook/react/commit/ec6691a68 )**: Event API: remove isTargetDirectlyWithinEventComponent (#15546 ) //<Dominic Gannaway>//
- **[a6e30001f](https://github.com/facebook/react/commit/a6e30001f )**: Delete duplicate Focus.js (#15540 ) //<Dominic Gannaway>//
- **[f7993d547](https://github.com/facebook/react/commit/f7993d547 )**: Delete duplicate Hover.js (#15539 ) //<Dominic Gannaway>//
- **[c8ee10037](https://github.com/facebook/react/commit/c8ee10037 )**: Delete duplicate Swipe.js (#15541 ) //<Dominic Gannaway>//
- **[494716c9b](https://github.com/facebook/react/commit/494716c9b )**: Delete duplicate Drag.js (#15537 ) //<Dominic Gannaway>//
- **[377846fef](https://github.com/facebook/react/commit/377846fef )**: Delete duplicate Press.js (#15538 ) //<Dominic Gannaway>//
- **[379515e83](https://github.com/facebook/react/commit/379515e83 )**: Follow up to 15535 (#15536 ) //<Dominic Gannaway>//
- **[bd88982fb](https://github.com/facebook/react/commit/bd88982fb )**: Event API: use `capture` for all event listeners using experimental responder system (#15526 ) //<Dominic Gannaway>//
- **[72ca3c60e](https://github.com/facebook/react/commit/72ca3c60e )**: Bump scheduler version to 0.14.0 (#15395 ) //<Andrew Clark>//
- **[7882c41f6](https://github.com/facebook/react/commit/7882c41f6 )**: Use lowercase entry points for event modules (#15535 ) //<Andrew Clark>//
- **[43c4e5f34](https://github.com/facebook/react/commit/43c4e5f34 )**: Add method for forcing a lower framerate //<Nathan Schloss>//
- **[1b752f191](https://github.com/facebook/react/commit/1b752f191 )**: Fixed potential interaction tracing leak in Suspense thennable memoization (#15531 ) //<Brian Vaughn>//
- **[12e5a13cf](https://github.com/facebook/react/commit/12e5a13cf )**: [React Native] Inline calls to FabricUIManager in shared code (#15490 ) //<Eli White>//
- **[2cca18728](https://github.com/facebook/react/commit/2cca18728 )**: React Events: add onFocusVisibleChange to Focus (#15516 ) //<Nicolas Gallagher>//
- **[cc5a49379](https://github.com/facebook/react/commit/cc5a49379 )**: React Events: FocusScope tweaks and docs (#15515 ) //<Nicolas Gallagher>//
- **[796c67a25](https://github.com/facebook/react/commit/796c67a25 )**: Event API: responder event types should not re-register on EventComponent update (#15514 ) //<Dominic Gannaway>//
- **[c4d1dcb53](https://github.com/facebook/react/commit/c4d1dcb53 )**: React Events: core API documentation followup (#15506 ) //<Dominic Gannaway>//
- **[41ef1961c](https://github.com/facebook/react/commit/41ef1961c )**: Update TopLevelEventTypes.js (#15511 ) //<Dan Nate>//
- **[7a482af5d](https://github.com/facebook/react/commit/7a482af5d )**: Event API: Fix bug where Press root events were not being cleared (#15507 ) //<Dominic Gannaway>//
- **[a14e24efa](https://github.com/facebook/react/commit/a14e24efa )**: React Events: core API documentation (#15505 ) //<Nicolas Gallagher>//
- **[8658611b6](https://github.com/facebook/react/commit/8658611b6 )**: Event API: ensure event keys are unique + add validation (#15501 ) //<Dominic Gannaway>//
- **[d9839740e](https://github.com/facebook/react/commit/d9839740e )**: React events: remove unused types (#15503 ) //<Nicolas Gallagher>//
- **[0b3431170](https://github.com/facebook/react/commit/0b3431170 )**: React events: fix press end event dispatching (#15500 ) //<Nicolas Gallagher>//
- **[d1f667acc](https://github.com/facebook/react/commit/d1f667acc )**: Event API: follow up fixes for FocusScope + context changes (#15496 ) //<Dominic Gannaway>//
- **[c530639dd](https://github.com/facebook/react/commit/c530639dd )**: Minor code structure adjustments to the bundles.js file (#15079 ) //<Kunuk Nykjær>//
- **[ed36df46c](https://github.com/facebook/react/commit/ed36df46c )**: add --watch mode to "yarn build" (#15116 ) //<Alec Larson>//
- **[793ef9b85](https://github.com/facebook/react/commit/793ef9b85 )**: test(eslint-plugin-react-hooks): add coverage for unused custom hook (#15130 ) //<Redmond Tran>//
- **[d61da9387](https://github.com/facebook/react/commit/d61da9387 )**: test(accumulate): add test suite for accumulate function (#15159 ) //<Jeffrey Berry>//
- **[a187e9b5e](https://github.com/facebook/react/commit/a187e9b5e )**: React Native: Allow Views to be nested inside of Text (#15464 ) //<Adam Comella>//
- **[f85aadefc](https://github.com/facebook/react/commit/f85aadefc )**: ADD: disablePictureInPicture attribute for HTML5 videos (#15334 ) //<Radu-Sebastian Amarie>//
- **[1eb2b892d](https://github.com/facebook/react/commit/1eb2b892d )**: give `canUseDOM` with a possibility to be a constant (#14194 ) //<FUJI Goro>//
- **[de26d6dd3](https://github.com/facebook/react/commit/de26d6dd3 )**: typo fix (#15493 ) //<shubham>//
- **[64e3da286](https://github.com/facebook/react/commit/64e3da286 )**: Event API: Add `FocusScope` surface (#15487 ) //<Dominic Gannaway>//
- **[3f058debc](https://github.com/facebook/react/commit/3f058debc )**: Event API: various bug fixes (#15485 ) //<Dominic Gannaway>//
- **[fb28e9048](https://github.com/facebook/react/commit/fb28e9048 )**: Add missing word to code comment for clarity (#15443 ) //<Brendan McLoughlin>//
- **[fa2fa3564](https://github.com/facebook/react/commit/fa2fa3564 )**: Experimental event API: adds context.isTargetDirectlyWithinEventComponent (#15481 ) //<Dominic Gannaway>//
- **[d3af2f2a5](https://github.com/facebook/react/commit/d3af2f2a5 )**: Experimental Event API: add event component mount phase callback (#15480 ) //<Dominic Gannaway>//
- **[ce126fbb2](https://github.com/facebook/react/commit/ce126fbb2 )**: Fix priority inference of next level of work (#15478 ) //<Andrew Clark>//
- **[71c8759ce](https://github.com/facebook/react/commit/71c8759ce )**: Measure callback timeout relative to current time (#15479 ) //<Andrew Clark>//
- **[9c6ff136c](https://github.com/facebook/react/commit/9c6ff136c )**: Remove timeout from performance flamegraph (#15477 ) //<Andrew Clark>//
- **[299a2714c](https://github.com/facebook/react/commit/299a2714c )**: Use stricter equality check (#15474 ) //<Dan Abramov>//
- **[017d6f14b](https://github.com/facebook/react/commit/017d6f14b )**: Experimental Event API: add `rootEventTypes` support to event responders (#15475 ) //<Dominic Gannaway>//
- **[784ebd8fa](https://github.com/facebook/react/commit/784ebd8fa )**: Experimental event API: rework the propagation system for event components (#15462 ) //<Dominic Gannaway>//
- **[587676900](https://github.com/facebook/react/commit/587676900 )**: React events: initial implementation of disabled prop (#15458 ) //<Nicolas Gallagher>//
- **[59c7aef91](https://github.com/facebook/react/commit/59c7aef91 )**: React events: add a test for focusable descendants (#15457 ) //<Nicolas Gallagher>//
- **[0a8da3391](https://github.com/facebook/react/commit/0a8da3391 )**: React events: README update types and remove stopPropagation prop (#15456 ) //<Nicolas Gallagher>//
- **[d584fcdc6](https://github.com/facebook/react/commit/d584fcdc6 )**: React events: use passive events where possible (#15454 ) //<Nicolas Gallagher>//
- **[051513bfa](https://github.com/facebook/react/commit/051513bfa )**: React Events: consolidate logic for Press event component (#15451 ) //<Nicolas Gallagher>//
- **[cdfce1ad2](https://github.com/facebook/react/commit/cdfce1ad2 )**: React events: consolidate logic of Hover event component (#15450 ) //<Nicolas Gallagher>//
- **[5857c89da](https://github.com/facebook/react/commit/5857c89da )**: React events: extract common helper functions (#15449 ) //<Nicolas Gallagher>//
- **[0b50fb29f](https://github.com/facebook/react/commit/0b50fb29f )**: Include rootEventTypes in DOMEventResponderSystem stopPropagation tests (#15433 ) //<Nicolas Gallagher>//
- **[1ae409d2c](https://github.com/facebook/react/commit/1ae409d2c )**: React events: fix nested Hover components error (#15428 ) //<Nicolas Gallagher>//
- **[c73ab39c1](https://github.com/facebook/react/commit/c73ab39c1 )**: React events: make nested Focus work as expected (#15421 ) //<Nicolas Gallagher>//
- **[4221565e1](https://github.com/facebook/react/commit/4221565e1 )**: Cancel pending commit before starting on root //<Andrew Clark>//
- **[9ebe1768a](https://github.com/facebook/react/commit/9ebe1768a )**: Experimental Event API: Redesign event responder propagation (#15408 ) //<Dominic Gannaway>//
- **[a30e7d992](https://github.com/facebook/react/commit/a30e7d992 )**: act() tests - Reuse and properly unmount containers (#14974 ) //<Philipp Spiess>//
- **[8cf963c6c](https://github.com/facebook/react/commit/8cf963c6c )**: React events: ignore device buttons that aren't for primary interactions (#15402 ) //<Nicolas Gallagher>//
- **[38bd570d4](https://github.com/facebook/react/commit/38bd570d4 )**: Stop tracking bundle sizes (#15404 ) //<Andrew Clark>//
- **[3438e5ce8](https://github.com/facebook/react/commit/3438e5ce8 )**: Experimental Event API: Add Hover onUnmount support (#15394 ) //<Dominic Gannaway>//
- **[805e7f873](https://github.com/facebook/react/commit/805e7f873 )**: React events: add unmounting to Focus (#15396 ) //<Nicolas Gallagher>//
- **[543353a04](https://github.com/facebook/react/commit/543353a04 )**: Experimental Event API: Remove "listener" from event objects (#15391 ) //<Dominic Gannaway>//
- **[9055e31e5](https://github.com/facebook/react/commit/9055e31e5 )**: Replace old Fiber Scheduler with new one (#15387 ) //<Andrew Clark>//
- **[4e59d4f5d](https://github.com/facebook/react/commit/4e59d4f5d )**: React events: add onHoverMove support (#15388 ) //<Nicolas Gallagher>//
- **[de7590327](https://github.com/facebook/react/commit/de7590327 )**: Fix CI (#15393 ) //<Andrew Clark>//
- **[687e4fb6f](https://github.com/facebook/react/commit/687e4fb6f )**: Bump scheduler version to 0.14.0 //<Andrew Clark>//
- **[45473c94c](https://github.com/facebook/react/commit/45473c94c )**: React events: Press event fixes (#15386 ) //<Nicolas Gallagher>//
- **[9672cf621](https://github.com/facebook/react/commit/9672cf621 )**: Experimental Event API: adds `stopPropagation` by default to Press (#15384 ) //<Dominic Gannaway>//
- **[a9eff329c](https://github.com/facebook/react/commit/a9eff329c )**: Remove TouchHitTarget SSR logic to prevent issues with mouse events (#15381 ) //<Dominic Gannaway>//
- **[c9841001b](https://github.com/facebook/react/commit/c9841001b )**: Experimental Event API: preventDefault handling for anchors (#15383 ) //<Dominic Gannaway>//
- **[c25c59c80](https://github.com/facebook/react/commit/c25c59c80 )**: Apply the Just Noticeable Difference to suspense timeouts (#15367 ) //<Sebastian Markbåge>//
- **[3e2e930d6](https://github.com/facebook/react/commit/3e2e930d6 )**: Fixes a Flow type merge conflict (#15378 ) //<Dominic Gannaway>//
- **[7fc91f17c](https://github.com/facebook/react/commit/7fc91f17c )**: React events: add onPressMove and pressRetentionOffset to Press (#15374 ) //<Nicolas Gallagher>//
- **[dd9cef9fc](https://github.com/facebook/react/commit/dd9cef9fc )**: Experimental Event API: Add targets and responder utility method for finding targets (#15372 ) //<Dominic Gannaway>//
- **[c64b33003](https://github.com/facebook/react/commit/c64b33003 )**: Move EventTypes to ReactTypes (#15364 ) //<Dominic Gannaway>//
- **[4c78ac0b9](https://github.com/facebook/react/commit/4c78ac0b9 )**: Track Event Time as the Start Time for Suspense (#15358 ) //<Sebastian Markbåge>//
- **[875d05d55](https://github.com/facebook/react/commit/875d05d55 )**: Include full error messages in React Native build (#15363 ) //<Andrew Clark>//
- **[1b2159acc](https://github.com/facebook/react/commit/1b2159acc )**: [React Native] measure calls will now call FabricUIManager (#15324 ) //<Eli White>//
- **[c7a959982](https://github.com/facebook/react/commit/c7a959982 )**: [React Native] Add tests to paper renderer for measure, measureLayout (#15323 ) //<Eli White>//
- **[aece8119c](https://github.com/facebook/react/commit/aece8119c )**: Refactor EventComponent logic + add onOwnershipChange callback (#15354 ) //<Dominic Gannaway>//
- **[183d1f42e](https://github.com/facebook/react/commit/183d1f42e )**: Fix: Measure expiration times relative to module initialization (#15357 ) //<Andrew Clark>//
- **[b4bc33a58](https://github.com/facebook/react/commit/b4bc33a58 )**: Fix areHookInputsEqual method warning params order (#15345 ) //<砖家>//
- **[29fb5862f](https://github.com/facebook/react/commit/29fb5862f )**: Move EventComponent state creation to complete phase + tests (#15352 ) //<Dominic Gannaway>//
- **[745baf2e0](https://github.com/facebook/react/commit/745baf2e0 )**: Provide new jsx transform target for reactjs/rfcs#107 (#15141 ) //<Ricky Vetter>//
- **[81a61b1d1](https://github.com/facebook/react/commit/81a61b1d1 )**: React events: add delay props to Press module (#15340 ) //<Nicolas Gallagher>//
- **[4064ea9fa](https://github.com/facebook/react/commit/4064ea9fa )**: Experimental event API: Support EventComponent onUnmount responder callback (#15335 ) //<Dominic Gannaway>//
- **[4fbbae8af](https://github.com/facebook/react/commit/4fbbae8af )**: Add full TouchHitTarget hit slop (experimental event API) to ReactDOM (#15308 ) //<Dominic Gannaway>//
- **[958b6173f](https://github.com/facebook/react/commit/958b6173f )**: Add delay props to Hover event module (#15325 ) //<Nicolas Gallagher>//
- **[c3cc936da](https://github.com/facebook/react/commit/c3cc936da )**: Add Hover,Focus,Press docs to REAMDE (#15328 ) //<Nicolas Gallagher>//
- **[49595e921](https://github.com/facebook/react/commit/49595e921 )**: [New Scheduler] Fix: Suspending an expired update (#15326 ) //<Andrew Clark>//
- **[b93a8a9bb](https://github.com/facebook/react/commit/b93a8a9bb )**: Experimental event API: refactor responder modules for lifecycle inclusion (#15322 ) //<Dominic Gannaway>//
- **[937d262f5](https://github.com/facebook/react/commit/937d262f5 )**: React events: keyboard press, types, tests (#15314 ) //<Nicolas Gallagher>//
- **[7a2dc4853](https://github.com/facebook/react/commit/7a2dc4853 )**: Allow DevTools to toggle Suspense fallbacks (#15232 ) //<Dan Abramov>//
- **[43b1f74c8](https://github.com/facebook/react/commit/43b1f74c8 )**: Alternate fix for #14198 //<Andrew Clark>//
- **[41aa345d2](https://github.com/facebook/react/commit/41aa345d2 )**: Fix a crash in Suspense with findDOMNode //<Dan Abramov>//
- **[6d0effad7](https://github.com/facebook/react/commit/6d0effad7 )**: Expose extra internals in FB build of react-dom/unstable-new-scheduler (#15311 ) //<Andrew Clark>//
- **[3a44ccefe](https://github.com/facebook/react/commit/3a44ccefe )**: Fix feature flags react-dom/unstable-new-scheduler (#15309 ) //<Andrew Clark>//
- **[92a1d8fea](https://github.com/facebook/react/commit/92a1d8fea )**: mark react-events as private so we publish script skips it for now (#15307 ) //<Sunil Pai>//
- **[e5c59359c](https://github.com/facebook/react/commit/e5c59359c )**: Prevent bundling of Node polyfills when importing TestUtils/TestRenderer (#15305 ) //<Dan Abramov>//
- **[73187239a](https://github.com/facebook/react/commit/73187239a )**: writing unit tests in experimental event Drag API (#15297 ) //<Behzad Abbasi>//
- **[89064fe68](https://github.com/facebook/react/commit/89064fe68 )**: Adds displayName to EventComponent and EventTarget (#15268 ) //<Dominic Gannaway>//
- **[fc6a9f1a1](https://github.com/facebook/react/commit/fc6a9f1a1 )**: Add test for async event dispatching (#15300 ) //<Nicolas Gallagher>//
- **[38fa84088](https://github.com/facebook/react/commit/38fa84088 )**: Experiemental event API - wrap async dispatched events (#15299 ) //<Dominic Gannaway>//
- **[4d5cb64aa](https://github.com/facebook/react/commit/4d5cb64aa )**: Rewrite ReactFiberScheduler for better integration with Scheduler package (#15151 ) //<Andrew Clark>//
- **[aed0e1c30](https://github.com/facebook/react/commit/aed0e1c30 )**: await act(async () => ...) (#14853 ) //<Sunil Pai>//
- **[4c75881ee](https://github.com/facebook/react/commit/4c75881ee )**: Remove maxDuration from tests (#15272 ) //<Sebastian Markbåge>//
- **[9307932fe](https://github.com/facebook/react/commit/9307932fe )**: Refactor event object creation for the experimental event API (#15295 ) //<Dominic Gannaway>//
- **[6a1e6b2f7](https://github.com/facebook/react/commit/6a1e6b2f7 )**: Experimental event API: loosen EventTarget constraints and warnings (#15292 ) //<Dominic Gannaway>//
- **[f243deab8](https://github.com/facebook/react/commit/f243deab8 )**: Add tests for Press responder event module (#15290 ) //<Nicolas Gallagher>//
- **[296c4393d](https://github.com/facebook/react/commit/296c4393d )**: Add Press event prop types and fix a check in Safari (#15288 ) //<Nicolas Gallagher>//
- **[4482fdded](https://github.com/facebook/react/commit/4482fdded )**: Fix host context issues around EventComponents and EventTargets (#15284 ) //<Dominic Gannaway>//
- **[5ef0d1d29](https://github.com/facebook/react/commit/5ef0d1d29 )**: Rename hover props in experimental event API and write unit tests (#15283 ) //<Behzad Abbasi>//
- **[9444a5472](https://github.com/facebook/react/commit/9444a5472 )**: Warn on nested EventTragets in experimental event API (#15287 ) //<Dominic Gannaway>//
- **[7f1f5ddc3](https://github.com/facebook/react/commit/7f1f5ddc3 )**: Rename press props in experimental event API (#15263 ) //<Nicolas Gallagher>//
- **[2e02469fa](https://github.com/facebook/react/commit/2e02469fa )**: ReactNative's ref.measureLayout now takes a ref (#15126 ) //<Eli White>//
- **[1b94fd215](https://github.com/facebook/react/commit/1b94fd215 )**: Make setNativeProps a no-op with Fabric renderer (#15094 ) //<Eli White>//
- **[08055a625](https://github.com/facebook/react/commit/08055a625 )**: Fix Press module in experimental event API (#15262 ) //<Nicolas Gallagher>//
- **[f4625f518](https://github.com/facebook/react/commit/f4625f518 )**: Fix on(Long)PressChange events in experimental press event API (#15256 ) //<Nicolas Gallagher>//
- **[a41b21770](https://github.com/facebook/react/commit/a41b21770 )**: Add additional event API responder surfaces (#15248 ) //<Dominic Gannaway>//
- **[700f17be6](https://github.com/facebook/react/commit/700f17be6 )**: Fix longpress in experimental Press event module (#15246 ) //<Nicolas Gallagher>//
- **[5d336df70](https://github.com/facebook/react/commit/5d336df70 )**: Allow for null targetFiber for root event handling (#15247 ) //<Dominic Gannaway>//
- **[c6f3524df](https://github.com/facebook/react/commit/c6f3524df )**: Adds React event component and React event target support to SSR renderer (#15242 ) //<Dominic Gannaway>//
- **[c7a2dce50](https://github.com/facebook/react/commit/c7a2dce50 )**: Disable JS urls at build level for www (#15230 ) //<Sebastian Markbåge>//
- **[fb6b50871](https://github.com/facebook/react/commit/fb6b50871 )**: Update versions for 16.8.6 //<Dan Abramov>//
- **[1cfd25668](https://github.com/facebook/react/commit/1cfd25668 )**: Fix circular module imports causing file size increase (#15231 ) //<Dominic Gannaway>//
- **[669cafb36](https://github.com/facebook/react/commit/669cafb36 )**: Adds experimental event component responder surfaces (#15228 ) //<Dominic Gannaway>//
- **[d8cb10f11](https://github.com/facebook/react/commit/d8cb10f11 )**: Enabled warnAboutDeprecatedLifecycles flag by default (#15186 ) //<Brian Vaughn>//
- **[80f8b0d51](https://github.com/facebook/react/commit/80f8b0d51 )**: Add part of the event responder system for experimental event API (#15179 ) //<Dominic Gannaway>//
- **[5c2b2c085](https://github.com/facebook/react/commit/5c2b2c085 )**: Warn about async infinite useEffect loop (#15180 ) //<Dan Abramov>//
- **[8e9a013c0](https://github.com/facebook/react/commit/8e9a013c0 )**: Release 16.8.5 //<Dan Abramov>//
- **[f33e5790b](https://github.com/facebook/react/commit/f33e5790b )**: eslint-plugin-react-hooks@1.6.0 //<Dan Abramov>//
- **[b1cccd1ed](https://github.com/facebook/react/commit/b1cccd1ed )**: Warn about setState directly in dep-less useEffect (#15184 ) //<Dan Abramov>//
- **[78f2775ed](https://github.com/facebook/react/commit/78f2775ed )**: Flip event passive logic on passiveBrowserEventsSupported (#15190 ) //<Dominic Gannaway>//
- **[f161ee2eb](https://github.com/facebook/react/commit/f161ee2eb )**: React.warn() and React.error() (#15170 ) //<Brian Vaughn>//
- **[78968bb3d](https://github.com/facebook/react/commit/78968bb3d )**: Validate useEffect without deps too (#15183 ) //<Dan Abramov>//
- **[4b8e1641b](https://github.com/facebook/react/commit/4b8e1641b )**: Fork performWork instead of using boolean flag (#15169 ) //<Sebastian Markbåge>//
- **[56035dac6](https://github.com/facebook/react/commit/56035dac6 )**: unstable_Profiler -> Profiler (#15172 ) //<Brian Vaughn>//
- **[31518135c](https://github.com/facebook/react/commit/31518135c )**: Strengthen nested update counter test coverage (#15166 ) //<Dan Abramov>//
- **[66f280c87](https://github.com/facebook/react/commit/66f280c87 )**: Add internal logic for listening to event responders (#15168 ) //<Dominic Gannaway>//
- **[b1a56abd6](https://github.com/facebook/react/commit/b1a56abd6 )**: Fork ReactFiberScheduler with feature flag //<Andrew Clark>//
- **[45f571736](https://github.com/facebook/react/commit/45f571736 )**: ReactFiberScheduler -> ReactFiberScheduler.old //<Andrew Clark>//
- **[c05b4b81f](https://github.com/facebook/react/commit/c05b4b81f )**: Link to useLayoutEffect gist in a warning (#15158 ) //<Dan Abramov>//
- **[061d6ce3c](https://github.com/facebook/react/commit/061d6ce3c )**: fix(react-dom): access iframe contentWindow instead of contentDocument (#15099 ) //<Renan Valentin>//
- **[b83e01cad](https://github.com/facebook/react/commit/b83e01cad )**: Adds more scaffolding for experimental event API (#15112 ) //<Dominic Gannaway>//
- **[daeda44d8](https://github.com/facebook/react/commit/daeda44d8 )**: Follow up to 15150 (#15152 ) //<Dominic Gannaway>//
- **[acd65db5b](https://github.com/facebook/react/commit/acd65db5b )**: Deprecate module pattern (factory) components (#15145 ) //<Sebastian Markbåge>//
- **[55cc921c5](https://github.com/facebook/react/commit/55cc921c5 )**: Adds react-events package for internal testing (#15150 ) //<Dominic Gannaway>//
- **[7ad738630](https://github.com/facebook/react/commit/7ad738630 )**: Improve warning for invalid class contextType (#15142 ) //<Dan Abramov>//
- **[1e3364e76](https://github.com/facebook/react/commit/1e3364e76 )**: Test that we don't suspend when disabling yielding (#15143 ) //<Sebastian Markbåge>//
- **[42c3c967d](https://github.com/facebook/react/commit/42c3c967d )**: Compile invariant directly to throw expressions (#15071 ) //<Andrew Clark>//
- **[df7b87d25](https://github.com/facebook/react/commit/df7b87d25 )**: Warn for Context.Consumer with contextType (#14831 ) //<Brandon Dail>//
- **[2b93d686e](https://github.com/facebook/react/commit/2b93d686e )**: Add more info to invalid hook call error message (#15139 ) //<Jared Palmer>//
- **[d926936f0](https://github.com/facebook/react/commit/d926936f0 )**: Eager bailout optimization should always compare to latest reducer (#15124 ) //<Andrew Clark>//
- **[4162f6026](https://github.com/facebook/react/commit/4162f6026 )**: Add feature flag to disable yielding (#15119 ) //<Sebastian Markbåge>//
- **[8d60bd4dc](https://github.com/facebook/react/commit/8d60bd4dc )**: [Shallow] Implement setState for Hooks and remount on type change (#15120 ) //<Dan Abramov>//
- **[035e4cffb](https://github.com/facebook/react/commit/035e4cffb )**: Change passive checker to use defineProperty (#15121 ) //<Dominic Gannaway>//
- **[b283d75c1](https://github.com/facebook/react/commit/b283d75c1 )**: Support React.memo in ReactShallowRenderer (#14816 ) //<Brandon Dail>//
- **[f0621fe23](https://github.com/facebook/react/commit/f0621fe23 )**: Use same example code for async effect warning (#15118 ) //<Dan Abramov>//
- **[52c870c8d](https://github.com/facebook/react/commit/52c870c8d )**: Fix shallow renderer not allowing hooks in forwardRef render functions (#15100 ) //<Sebastian Silbermann>//
- **[f1ff4348c](https://github.com/facebook/react/commit/f1ff4348c )**: Don't suggest a function as its own dep (#15115 ) //<Dan Abramov>//
- **[371bbf36b](https://github.com/facebook/react/commit/371bbf36b )**: Add infrastructure for passive/non-passive event support for future API exploration (#15036 ) //<Dominic Gannaway>//
- **[ab5fe174c](https://github.com/facebook/react/commit/ab5fe174c )**: Don't set the first option as selected in select tag with `size` attribute (#14242 ) //<Mateusz>//
- **[935f60083](https://github.com/facebook/react/commit/935f60083 )**: eslint-plugin-react-hooks@1.5.1 //<Dan Abramov>//
- **[0c03a4743](https://github.com/facebook/react/commit/0c03a4743 )**: Adds experimental event API scaffolding (#15108 ) //<Dominic Gannaway>//
- **[1204c7897](https://github.com/facebook/react/commit/1204c7897 )**: [eslint] Wording tweaks (#15078 ) //<Sophie Alpert>//
- **[9d77a317b](https://github.com/facebook/react/commit/9d77a317b )**: Improve async useEffect warning (#15104 ) //<Dan Abramov>//
- **[103378b1e](https://github.com/facebook/react/commit/103378b1e )**: Warn for javascript: URLs in DOM sinks (#15047 ) //<Sebastian Markbåge>//
- **[5d0c3c6c7](https://github.com/facebook/react/commit/5d0c3c6c7 )**: [Partial Hydration] Render client-only content at normal priority (#15061 ) //<Sebastian Markbåge>//
- **[6a4a261ee](https://github.com/facebook/react/commit/6a4a261ee )**: Test suspended children are hidden before layout in persistent mode (#15030 ) //<Andrew Clark>//
- **[bc8bd24c1](https://github.com/facebook/react/commit/bc8bd24c1 )**: Run persistent mode tests in CI (#15029 ) //<Andrew Clark>//
- **[3f4852fa5](https://github.com/facebook/react/commit/3f4852fa5 )**: Run Placeholder tests in persistent mode, too (#15013 ) //<Andrew Clark>//
- **[d0289c7e3](https://github.com/facebook/react/commit/d0289c7e3 )**: eslint-plugin-react-hooks@1.5.0 //<Dan Abramov>//
- **[03ad9c73e](https://github.com/facebook/react/commit/03ad9c73e )**: [ESLint] Tweak setState updater message and add useEffect(async) warning (#15055 ) //<Dan Abramov>//
- **[eb6247a9a](https://github.com/facebook/react/commit/eb6247a9a )**: More concise messages (#15053 ) //<Dan Abramov>//
- **[197703ecc](https://github.com/facebook/react/commit/197703ecc )**: [ESLint] Add more hints to lint messages (#15046 ) //<Dan Abramov>//
- **[6d2666bab](https://github.com/facebook/react/commit/6d2666bab )**: Fix ESLint rule crash (#15044 ) //<Dan Abramov>//
- **[9b7e1d138](https://github.com/facebook/react/commit/9b7e1d138 )**: [ESLint] Suggest moving inside a Hook or useCallback when bare function is a dependency (#15026 ) //<Dan Abramov>//
- **[1e3b6192b](https://github.com/facebook/react/commit/1e3b6192b )**: Import Scheduler directly, not via host config (#14984 ) //<Andrew Clark>//
- **[5d49dafac](https://github.com/facebook/react/commit/5d49dafac )**: Enforce deps array in useMemo and useCallback (#15025 ) //<Dan Abramov>//
- **[a9aa24ed8](https://github.com/facebook/react/commit/a9aa24ed8 )**: 16.8.4 and changelog //<Brian Vaughn>//
- **[fa5d4ee43](https://github.com/facebook/react/commit/fa5d4ee43 )**: [ESLint] Treat functions that don't capture anything as static (#14996 ) //<Dan Abramov>//
- **[fd557d453](https://github.com/facebook/react/commit/fd557d453 )**: Warn on mount when deps are not an array (#15018 ) //<Dan Abramov>//
- **[ce45ca9ba](https://github.com/facebook/react/commit/ce45ca9ba )**: Prettier //<Andrew Clark>//
- **[757a70b25](https://github.com/facebook/react/commit/757a70b25 )**: ReactNoop.yield -> Scheduler.yieldValue (#15008 ) //<Andrew Clark>//
- **[9d756d903](https://github.com/facebook/react/commit/9d756d903 )**: Revert #14756 changes to ReactFiberScheduler (#14992 ) //<Andrew Clark>//
- **[f16442a10](https://github.com/facebook/react/commit/f16442a10 )**: eslint-plugin-react-hooks@1.4.0 //<Dan Abramov>//
- **[e1e45fb36](https://github.com/facebook/react/commit/e1e45fb36 )**: [ESLint] Suggest to destructure props when they are only used as members (#14993 ) //<Dan Abramov>//
- **[59ef28437](https://github.com/facebook/react/commit/59ef28437 )**: Warn about dependencies outside of render scope (#14990 ) //<Dan Abramov>//
- **[df7b4768c](https://github.com/facebook/react/commit/df7b4768c )**: [ESLint] Deduplicate suggested dependencies (#14982 ) //<Dan Abramov>//
- **[02404d793](https://github.com/facebook/react/commit/02404d793 )**: Avoid dynamic dispatch for scheduler calls (#14968 ) //<Dan Abramov>//
- **[bb2939ccc](https://github.com/facebook/react/commit/bb2939ccc )**: Support editable useState hooks in DevTools (#14906 ) //<Brian Vaughn>//
- **[69060e1da](https://github.com/facebook/react/commit/69060e1da )**: Swap expect(ReactNoop) for expect(Scheduler) (#14971 ) //<Andrew Clark>//
- **[ccb2a8a44](https://github.com/facebook/react/commit/ccb2a8a44 )**: Replace test renderer's fake Scheduler implementation with mock build (#14970 ) //<Andrew Clark>//
- **[53e787b45](https://github.com/facebook/react/commit/53e787b45 )**: Replace noop's fake Scheduler implementation with mock Scheduler build (#14969 ) //<Andrew Clark>//
- **[3ada82b74](https://github.com/facebook/react/commit/3ada82b74 )**: Allow extraneous effect dependencies (#14967 ) //<Dan Abramov>//
- **[00748c53e](https://github.com/facebook/react/commit/00748c53e )**: Add new mock build of Scheduler with flush, yield API (#14964 ) //<Andrew Clark>//
- **[4186952a6](https://github.com/facebook/react/commit/4186952a6 )**: Fixed incompatibility between react-debug-tools and useContext() (#14940 ) //<Brian Vaughn>//
- **[0b8efb229](https://github.com/facebook/react/commit/0b8efb229 )**: Allow omitting constant primitive deps (#14959 ) //<Dan Abramov>//
Changelog:
[General][Changed] - React sync for revisions 8e25ed2...ec6691a
Follow steps in the [React Native test plan](https://our.intern.facebook.com/intern/dex/react/test-workflows-react-native/ ).
Reviewed By: shergin
Differential Revision: D15171103
fbshipit-source-id: d16b54dfd575b3a1fa38e6a132633f42c715b4fd
2019-05-02 17:35:24 -07:00
REDMOND\acoates
e81755d397
Merge react-native-implementation.*
2019-05-01 14:29:51 -07:00
Matt Oakes
65eea9d1f8
Set the Prettier config so it is not forced on users of @react-native-community/eslint-config ( #24635 )
...
Summary:
This fixes an issue where the Prettier config was set to the `fb` (Facebook) values for all users of the `react-native-community/eslint-config` package. This was due to [this line](8f186b84ae/packages/eslint-config-react-native-community/index.js (L219)
) in the config file.
It was causing issues like these:
* Errors when using newer versions of `eslint-plugin-prettier` (you had to use a version that was >1 year old): https://github.com/facebook/react-native/issues/24564
* Errors due to the Prettier parser being forced to be `flow` when using Typescript: https://github.com/typescript-eslint/typescript-eslint/issues/481
This PR:
* Changes that line to remove the explicit `fb` config so users can set their own.
* Moves the React Native Prettier config to `.prettierrc` so ESLint, Prettier, and code editors can all read from the same place.
* Upgrades both `prettier` and the `eslint-plugin-prettier` to the latest versions.
[General] [Fixed] - Stopped the Prettier config being set for all users of react-native-community/eslint-config
Pull Request resolved: https://github.com/facebook/react-native/pull/24635
Differential Revision: D15122200
Pulled By: cpojer
fbshipit-source-id: 56bae8a7f2d8e133b1d808091a6b73302b94d2ed
2019-04-29 09:44:51 -07:00
Mike Grabowski
706f67a882
Use latest React Native CLI ( #24517 )
...
Summary:
Updates React Native to use latest CLI.
Changes:
- No more `--reactNativePath`, define it once in the configuration file. This reverts the previous PR that added this flag
- Add `platforms` and `commands` - React Native now defines platform like any other package. There's no longer concept of "out-of-tree" platform. All are treated equally. If React Native works, any other platform will work too.
- Updates `jest/hasteImpl.js` to use public CLI interface (`loadConfig`) instead of `findPlugins` and removes a weird conditional that checks for CI presence.
[INTERNAL] - Update React Native CLI
Pull Request resolved: https://github.com/facebook/react-native/pull/24517
Differential Revision: D15044762
Pulled By: cpojer
fbshipit-source-id: 379b61e842e619312c542173219a7d326663cf24
2019-04-24 05:09:10 -07:00
Christopher Hogan
fedfabcecb
facebook 59.0 merge- with conflicts
2019-04-22 10:37:26 -07:00
Valentin Shergin
7ada066da1
Revert D14862650: React sync
...
Differential Revision:
D14862650
Original commit changeset: 350447246d26
fbshipit-source-id: 2afe982037a2a2eff6e1fd23e6bdd35ae475bc26
2019-04-19 10:20:36 -07:00
Eli White
83c0d025f1
React sync
...
Summary:
This sync includes the following changes:
- **[1b2159acc](https://github.com/facebook/react/commit/1b2159acc )**: [React Native] measure calls will now call FabricUIManager (#15324 ) //<Eli White>//
- **[c7a959982](https://github.com/facebook/react/commit/c7a959982 )**: [React Native] Add tests to paper renderer for measure, measureLayout (#15323 ) //<Eli White>//
- **[aece8119c](https://github.com/facebook/react/commit/aece8119c )**: Refactor EventComponent logic + add onOwnershipChange callback (#15354 ) //<Dominic Gannaway>//
- **[183d1f42e](https://github.com/facebook/react/commit/183d1f42e )**: Fix: Measure expiration times relative to module initialization (#15357 ) //<Andrew Clark>//
- **[b4bc33a58](https://github.com/facebook/react/commit/b4bc33a58 )**: Fix areHookInputsEqual method warning params order (#15345 ) //<砖家>//
- **[29fb5862f](https://github.com/facebook/react/commit/29fb5862f )**: Move EventComponent state creation to complete phase + tests (#15352 ) //<Dominic Gannaway>//
- **[745baf2e0](https://github.com/facebook/react/commit/745baf2e0 )**: Provide new jsx transform target for reactjs/rfcs#107 (#15141 ) //<Ricky Vetter>//
- **[81a61b1d1](https://github.com/facebook/react/commit/81a61b1d1 )**: React events: add delay props to Press module (#15340 ) //<Nicolas Gallagher>//
- **[4064ea9fa](https://github.com/facebook/react/commit/4064ea9fa )**: Experimental event API: Support EventComponent onUnmount responder callback (#15335 ) //<Dominic Gannaway>//
- **[4fbbae8af](https://github.com/facebook/react/commit/4fbbae8af )**: Add full TouchHitTarget hit slop (experimental event API) to ReactDOM (#15308 ) //<Dominic Gannaway>//
- **[958b6173f](https://github.com/facebook/react/commit/958b6173f )**: Add delay props to Hover event module (#15325 ) //<Nicolas Gallagher>//
- **[c3cc936da](https://github.com/facebook/react/commit/c3cc936da )**: Add Hover,Focus,Press docs to REAMDE (#15328 ) //<Nicolas Gallagher>//
- **[49595e921](https://github.com/facebook/react/commit/49595e921 )**: [New Scheduler] Fix: Suspending an expired update (#15326 ) //<Andrew Clark>//
- **[b93a8a9bb](https://github.com/facebook/react/commit/b93a8a9bb )**: Experimental event API: refactor responder modules for lifecycle inclusion (#15322 ) //<Dominic Gannaway>//
- **[937d262f5](https://github.com/facebook/react/commit/937d262f5 )**: React events: keyboard press, types, tests (#15314 ) //<Nicolas Gallagher>//
- **[7a2dc4853](https://github.com/facebook/react/commit/7a2dc4853 )**: Allow DevTools to toggle Suspense fallbacks (#15232 ) //<Dan Abramov>//
- **[43b1f74c8](https://github.com/facebook/react/commit/43b1f74c8 )**: Alternate fix for #14198 //<Andrew Clark>//
- **[41aa345d2](https://github.com/facebook/react/commit/41aa345d2 )**: Fix a crash in Suspense with findDOMNode //<Dan Abramov>//
- **[6d0effad7](https://github.com/facebook/react/commit/6d0effad7 )**: Expose extra internals in FB build of react-dom/unstable-new-scheduler (#15311 ) //<Andrew Clark>//
- **[3a44ccefe](https://github.com/facebook/react/commit/3a44ccefe )**: Fix feature flags react-dom/unstable-new-scheduler (#15309 ) //<Andrew Clark>//
- **[92a1d8fea](https://github.com/facebook/react/commit/92a1d8fea )**: mark react-events as private so we publish script skips it for now (#15307 ) //<Sunil Pai>//
- **[e5c59359c](https://github.com/facebook/react/commit/e5c59359c )**: Prevent bundling of Node polyfills when importing TestUtils/TestRenderer (#15305 ) //<Dan Abramov>//
- **[73187239a](https://github.com/facebook/react/commit/73187239a )**: writing unit tests in experimental event Drag API (#15297 ) //<Behzad Abbasi>//
- **[89064fe68](https://github.com/facebook/react/commit/89064fe68 )**: Adds displayName to EventComponent and EventTarget (#15268 ) //<Dominic Gannaway>//
- **[fc6a9f1a1](https://github.com/facebook/react/commit/fc6a9f1a1 )**: Add test for async event dispatching (#15300 ) //<Nicolas Gallagher>//
- **[38fa84088](https://github.com/facebook/react/commit/38fa84088 )**: Experiemental event API - wrap async dispatched events (#15299 ) //<Dominic Gannaway>//
- **[4d5cb64aa](https://github.com/facebook/react/commit/4d5cb64aa )**: Rewrite ReactFiberScheduler for better integration with Scheduler package (#15151 ) //<Andrew Clark>//
- **[aed0e1c30](https://github.com/facebook/react/commit/aed0e1c30 )**: await act(async () => ...) (#14853 ) //<Sunil Pai>//
- **[4c75881ee](https://github.com/facebook/react/commit/4c75881ee )**: Remove maxDuration from tests (#15272 ) //<Sebastian Markbåge>//
- **[9307932fe](https://github.com/facebook/react/commit/9307932fe )**: Refactor event object creation for the experimental event API (#15295 ) //<Dominic Gannaway>//
- **[6a1e6b2f7](https://github.com/facebook/react/commit/6a1e6b2f7 )**: Experimental event API: loosen EventTarget constraints and warnings (#15292 ) //<Dominic Gannaway>//
- **[f243deab8](https://github.com/facebook/react/commit/f243deab8 )**: Add tests for Press responder event module (#15290 ) //<Nicolas Gallagher>//
- **[296c4393d](https://github.com/facebook/react/commit/296c4393d )**: Add Press event prop types and fix a check in Safari (#15288 ) //<Nicolas Gallagher>//
- **[4482fdded](https://github.com/facebook/react/commit/4482fdded )**: Fix host context issues around EventComponents and EventTargets (#15284 ) //<Dominic Gannaway>//
- **[5ef0d1d29](https://github.com/facebook/react/commit/5ef0d1d29 )**: Rename hover props in experimental event API and write unit tests (#15283 ) //<Behzad Abbasi>//
- **[9444a5472](https://github.com/facebook/react/commit/9444a5472 )**: Warn on nested EventTragets in experimental event API (#15287 ) //<Dominic Gannaway>//
- **[7f1f5ddc3](https://github.com/facebook/react/commit/7f1f5ddc3 )**: Rename press props in experimental event API (#15263 ) //<Nicolas Gallagher>//
- **[2e02469fa](https://github.com/facebook/react/commit/2e02469fa )**: ReactNative's ref.measureLayout now takes a ref (#15126 ) //<Eli White>//
- **[1b94fd215](https://github.com/facebook/react/commit/1b94fd215 )**: Make setNativeProps a no-op with Fabric renderer (#15094 ) //<Eli White>//
- **[08055a625](https://github.com/facebook/react/commit/08055a625 )**: Fix Press module in experimental event API (#15262 ) //<Nicolas Gallagher>//
- **[f4625f518](https://github.com/facebook/react/commit/f4625f518 )**: Fix on(Long)PressChange events in experimental press event API (#15256 ) //<Nicolas Gallagher>//
- **[a41b21770](https://github.com/facebook/react/commit/a41b21770 )**: Add additional event API responder surfaces (#15248 ) //<Dominic Gannaway>//
- **[700f17be6](https://github.com/facebook/react/commit/700f17be6 )**: Fix longpress in experimental Press event module (#15246 ) //<Nicolas Gallagher>//
- **[5d336df70](https://github.com/facebook/react/commit/5d336df70 )**: Allow for null targetFiber for root event handling (#15247 ) //<Dominic Gannaway>//
- **[c6f3524df](https://github.com/facebook/react/commit/c6f3524df )**: Adds React event component and React event target support to SSR renderer (#15242 ) //<Dominic Gannaway>//
- **[c7a2dce50](https://github.com/facebook/react/commit/c7a2dce50 )**: Disable JS urls at build level for www (#15230 ) //<Sebastian Markbåge>//
- **[fb6b50871](https://github.com/facebook/react/commit/fb6b50871 )**: Update versions for 16.8.6 //<Dan Abramov>//
- **[1cfd25668](https://github.com/facebook/react/commit/1cfd25668 )**: Fix circular module imports causing file size increase (#15231 ) //<Dominic Gannaway>//
- **[669cafb36](https://github.com/facebook/react/commit/669cafb36 )**: Adds experimental event component responder surfaces (#15228 ) //<Dominic Gannaway>//
- **[d8cb10f11](https://github.com/facebook/react/commit/d8cb10f11 )**: Enabled warnAboutDeprecatedLifecycles flag by default (#15186 ) //<Brian Vaughn>//
- **[80f8b0d51](https://github.com/facebook/react/commit/80f8b0d51 )**: Add part of the event responder system for experimental event API (#15179 ) //<Dominic Gannaway>//
- **[5c2b2c085](https://github.com/facebook/react/commit/5c2b2c085 )**: Warn about async infinite useEffect loop (#15180 ) //<Dan Abramov>//
- **[8e9a013c0](https://github.com/facebook/react/commit/8e9a013c0 )**: Release 16.8.5 //<Dan Abramov>//
- **[f33e5790b](https://github.com/facebook/react/commit/f33e5790b )**: eslint-plugin-react-hooks@1.6.0 //<Dan Abramov>//
- **[b1cccd1ed](https://github.com/facebook/react/commit/b1cccd1ed )**: Warn about setState directly in dep-less useEffect (#15184 ) //<Dan Abramov>//
- **[78f2775ed](https://github.com/facebook/react/commit/78f2775ed )**: Flip event passive logic on passiveBrowserEventsSupported (#15190 ) //<Dominic Gannaway>//
- **[f161ee2eb](https://github.com/facebook/react/commit/f161ee2eb )**: React.warn() and React.error() (#15170 ) //<Brian Vaughn>//
- **[78968bb3d](https://github.com/facebook/react/commit/78968bb3d )**: Validate useEffect without deps too (#15183 ) //<Dan Abramov>//
- **[4b8e1641b](https://github.com/facebook/react/commit/4b8e1641b )**: Fork performWork instead of using boolean flag (#15169 ) //<Sebastian Markbåge>//
- **[56035dac6](https://github.com/facebook/react/commit/56035dac6 )**: unstable_Profiler -> Profiler (#15172 ) //<Brian Vaughn>//
- **[31518135c](https://github.com/facebook/react/commit/31518135c )**: Strengthen nested update counter test coverage (#15166 ) //<Dan Abramov>//
- **[66f280c87](https://github.com/facebook/react/commit/66f280c87 )**: Add internal logic for listening to event responders (#15168 ) //<Dominic Gannaway>//
- **[b1a56abd6](https://github.com/facebook/react/commit/b1a56abd6 )**: Fork ReactFiberScheduler with feature flag //<Andrew Clark>//
- **[45f571736](https://github.com/facebook/react/commit/45f571736 )**: ReactFiberScheduler -> ReactFiberScheduler.old //<Andrew Clark>//
- **[c05b4b81f](https://github.com/facebook/react/commit/c05b4b81f )**: Link to useLayoutEffect gist in a warning (#15158 ) //<Dan Abramov>//
- **[061d6ce3c](https://github.com/facebook/react/commit/061d6ce3c )**: fix(react-dom): access iframe contentWindow instead of contentDocument (#15099 ) //<Renan Valentin>//
- **[b83e01cad](https://github.com/facebook/react/commit/b83e01cad )**: Adds more scaffolding for experimental event API (#15112 ) //<Dominic Gannaway>//
- **[daeda44d8](https://github.com/facebook/react/commit/daeda44d8 )**: Follow up to 15150 (#15152 ) //<Dominic Gannaway>//
- **[acd65db5b](https://github.com/facebook/react/commit/acd65db5b )**: Deprecate module pattern (factory) components (#15145 ) //<Sebastian Markbåge>//
- **[55cc921c5](https://github.com/facebook/react/commit/55cc921c5 )**: Adds react-events package for internal testing (#15150 ) //<Dominic Gannaway>//
- **[7ad738630](https://github.com/facebook/react/commit/7ad738630 )**: Improve warning for invalid class contextType (#15142 ) //<Dan Abramov>//
- **[1e3364e76](https://github.com/facebook/react/commit/1e3364e76 )**: Test that we don't suspend when disabling yielding (#15143 ) //<Sebastian Markbåge>//
- **[42c3c967d](https://github.com/facebook/react/commit/42c3c967d )**: Compile invariant directly to throw expressions (#15071 ) //<Andrew Clark>//
- **[df7b87d25](https://github.com/facebook/react/commit/df7b87d25 )**: Warn for Context.Consumer with contextType (#14831 ) //<Brandon Dail>//
- **[2b93d686e](https://github.com/facebook/react/commit/2b93d686e )**: Add more info to invalid hook call error message (#15139 ) //<Jared Palmer>//
- **[d926936f0](https://github.com/facebook/react/commit/d926936f0 )**: Eager bailout optimization should always compare to latest reducer (#15124 ) //<Andrew Clark>//
- **[4162f6026](https://github.com/facebook/react/commit/4162f6026 )**: Add feature flag to disable yielding (#15119 ) //<Sebastian Markbåge>//
- **[8d60bd4dc](https://github.com/facebook/react/commit/8d60bd4dc )**: [Shallow] Implement setState for Hooks and remount on type change (#15120 ) //<Dan Abramov>//
- **[035e4cffb](https://github.com/facebook/react/commit/035e4cffb )**: Change passive checker to use defineProperty (#15121 ) //<Dominic Gannaway>//
- **[b283d75c1](https://github.com/facebook/react/commit/b283d75c1 )**: Support React.memo in ReactShallowRenderer (#14816 ) //<Brandon Dail>//
- **[f0621fe23](https://github.com/facebook/react/commit/f0621fe23 )**: Use same example code for async effect warning (#15118 ) //<Dan Abramov>//
- **[52c870c8d](https://github.com/facebook/react/commit/52c870c8d )**: Fix shallow renderer not allowing hooks in forwardRef render functions (#15100 ) //<Sebastian Silbermann>//
- **[f1ff4348c](https://github.com/facebook/react/commit/f1ff4348c )**: Don't suggest a function as its own dep (#15115 ) //<Dan Abramov>//
- **[371bbf36b](https://github.com/facebook/react/commit/371bbf36b )**: Add infrastructure for passive/non-passive event support for future API exploration (#15036 ) //<Dominic Gannaway>//
- **[ab5fe174c](https://github.com/facebook/react/commit/ab5fe174c )**: Don't set the first option as selected in select tag with `size` attribute (#14242 ) //<Mateusz>//
- **[935f60083](https://github.com/facebook/react/commit/935f60083 )**: eslint-plugin-react-hooks@1.5.1 //<Dan Abramov>//
- **[0c03a4743](https://github.com/facebook/react/commit/0c03a4743 )**: Adds experimental event API scaffolding (#15108 ) //<Dominic Gannaway>//
- **[1204c7897](https://github.com/facebook/react/commit/1204c7897 )**: [eslint] Wording tweaks (#15078 ) //<Sophie Alpert>//
- **[9d77a317b](https://github.com/facebook/react/commit/9d77a317b )**: Improve async useEffect warning (#15104 ) //<Dan Abramov>//
- **[103378b1e](https://github.com/facebook/react/commit/103378b1e )**: Warn for javascript: URLs in DOM sinks (#15047 ) //<Sebastian Markbåge>//
- **[5d0c3c6c7](https://github.com/facebook/react/commit/5d0c3c6c7 )**: [Partial Hydration] Render client-only content at normal priority (#15061 ) //<Sebastian Markbåge>//
- **[6a4a261ee](https://github.com/facebook/react/commit/6a4a261ee )**: Test suspended children are hidden before layout in persistent mode (#15030 ) //<Andrew Clark>//
- **[bc8bd24c1](https://github.com/facebook/react/commit/bc8bd24c1 )**: Run persistent mode tests in CI (#15029 ) //<Andrew Clark>//
- **[3f4852fa5](https://github.com/facebook/react/commit/3f4852fa5 )**: Run Placeholder tests in persistent mode, too (#15013 ) //<Andrew Clark>//
- **[d0289c7e3](https://github.com/facebook/react/commit/d0289c7e3 )**: eslint-plugin-react-hooks@1.5.0 //<Dan Abramov>//
- **[03ad9c73e](https://github.com/facebook/react/commit/03ad9c73e )**: [ESLint] Tweak setState updater message and add useEffect(async) warning (#15055 ) //<Dan Abramov>//
- **[eb6247a9a](https://github.com/facebook/react/commit/eb6247a9a )**: More concise messages (#15053 ) //<Dan Abramov>//
- **[197703ecc](https://github.com/facebook/react/commit/197703ecc )**: [ESLint] Add more hints to lint messages (#15046 ) //<Dan Abramov>//
- **[6d2666bab](https://github.com/facebook/react/commit/6d2666bab )**: Fix ESLint rule crash (#15044 ) //<Dan Abramov>//
- **[9b7e1d138](https://github.com/facebook/react/commit/9b7e1d138 )**: [ESLint] Suggest moving inside a Hook or useCallback when bare function is a dependency (#15026 ) //<Dan Abramov>//
- **[1e3b6192b](https://github.com/facebook/react/commit/1e3b6192b )**: Import Scheduler directly, not via host config (#14984 ) //<Andrew Clark>//
- **[5d49dafac](https://github.com/facebook/react/commit/5d49dafac )**: Enforce deps array in useMemo and useCallback (#15025 ) //<Dan Abramov>//
- **[a9aa24ed8](https://github.com/facebook/react/commit/a9aa24ed8 )**: 16.8.4 and changelog //<Brian Vaughn>//
- **[fa5d4ee43](https://github.com/facebook/react/commit/fa5d4ee43 )**: [ESLint] Treat functions that don't capture anything as static (#14996 ) //<Dan Abramov>//
- **[fd557d453](https://github.com/facebook/react/commit/fd557d453 )**: Warn on mount when deps are not an array (#15018 ) //<Dan Abramov>//
- **[ce45ca9ba](https://github.com/facebook/react/commit/ce45ca9ba )**: Prettier //<Andrew Clark>//
- **[757a70b25](https://github.com/facebook/react/commit/757a70b25 )**: ReactNoop.yield -> Scheduler.yieldValue (#15008 ) //<Andrew Clark>//
- **[9d756d903](https://github.com/facebook/react/commit/9d756d903 )**: Revert #14756 changes to ReactFiberScheduler (#14992 ) //<Andrew Clark>//
- **[f16442a10](https://github.com/facebook/react/commit/f16442a10 )**: eslint-plugin-react-hooks@1.4.0 //<Dan Abramov>//
- **[e1e45fb36](https://github.com/facebook/react/commit/e1e45fb36 )**: [ESLint] Suggest to destructure props when they are only used as members (#14993 ) //<Dan Abramov>//
- **[59ef28437](https://github.com/facebook/react/commit/59ef28437 )**: Warn about dependencies outside of render scope (#14990 ) //<Dan Abramov>//
- **[df7b4768c](https://github.com/facebook/react/commit/df7b4768c )**: [ESLint] Deduplicate suggested dependencies (#14982 ) //<Dan Abramov>//
- **[02404d793](https://github.com/facebook/react/commit/02404d793 )**: Avoid dynamic dispatch for scheduler calls (#14968 ) //<Dan Abramov>//
- **[bb2939ccc](https://github.com/facebook/react/commit/bb2939ccc )**: Support editable useState hooks in DevTools (#14906 ) //<Brian Vaughn>//
- **[69060e1da](https://github.com/facebook/react/commit/69060e1da )**: Swap expect(ReactNoop) for expect(Scheduler) (#14971 ) //<Andrew Clark>//
- **[ccb2a8a44](https://github.com/facebook/react/commit/ccb2a8a44 )**: Replace test renderer's fake Scheduler implementation with mock build (#14970 ) //<Andrew Clark>//
- **[53e787b45](https://github.com/facebook/react/commit/53e787b45 )**: Replace noop's fake Scheduler implementation with mock Scheduler build (#14969 ) //<Andrew Clark>//
- **[3ada82b74](https://github.com/facebook/react/commit/3ada82b74 )**: Allow extraneous effect dependencies (#14967 ) //<Dan Abramov>//
- **[00748c53e](https://github.com/facebook/react/commit/00748c53e )**: Add new mock build of Scheduler with flush, yield API (#14964 ) //<Andrew Clark>//
- **[4186952a6](https://github.com/facebook/react/commit/4186952a6 )**: Fixed incompatibility between react-debug-tools and useContext() (#14940 ) //<Brian Vaughn>//
- **[0b8efb229](https://github.com/facebook/react/commit/0b8efb229 )**: Allow omitting constant primitive deps (#14959 ) //<Dan Abramov>//
- **[875d05d55](https://github.com/facebook/react/commit/875d05d55 )**: Include full error messages in React Native build (#15363 ) //<Andrew Clark>//
- **[c64b33003](https://github.com/facebook/react/commit/c64b33003 )**: Move EventTypes to ReactTypes (#15364 ) //<Dominic Gannaway>//
- **[4c78ac0b9](https://github.com/facebook/react/commit/4c78ac0b9 )**: Track Event Time as the Start Time for Suspense (#15358 ) //<Sebastian Markbåge>//
Changelog:
[General][Changed] - React sync for revisions 8e25ed2...c64b330
Reviewed By: hramos
Differential Revision: D14862650
fbshipit-source-id: 350447246d26c69e7f462c5eb4e3ec02e99d05bb
2019-04-17 12:03:55 -07:00
Frieder Bluemle
62ff7d6863
Update detox to 12.2.0 ( #24425 )
...
Summary:
This updates `detox` from `12.1.1` to `12.2.0`.
It includes (amongst other things) the following fixes, as described on the [12.1.4 release page](https://github.com/wix/Detox/releases/tag/12.1.4 ):
- hotfix: redundant logs in the folder
- fix: stabilize simulator log recording
It also updates the detox test script and config in `packages.json` (which was previously missed when detox was updated to 12.1.x). It will remove the following deprecation warnings:
```
detox[6416] WARN: [test.js] Deprecation warning: "file" and "specs" support will be dropped in the next Detox version.
detox[6416] WARN: [test.js] Please edit your package.json according to the migration guide: https://wix.to/I0DOAK0
```
Instead of extra preprocessing the test folder by `detox`, it will now be passed straight to `jest`.
More information in the [migration guide](https://github.com/wix/Detox/blob/master/docs/Guide.Migration.md ).
[General] [Changed] - Update detox to 12.2.0
Pull Request resolved: https://github.com/facebook/react-native/pull/24425
Differential Revision: D14973771
Pulled By: cpojer
fbshipit-source-id: 367ed1f75d2cc3b02349282e7a6201684ba130a7
2019-04-17 10:18:44 -07:00
Janic Duplessis
5e36b0c6eb
Add support for cancelling fetch requests with AbortController ( #24419 )
...
Summary:
This adds https://github.com/mysticatea/abort-controller to polyfill [AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController ). This is used to cancel requests when using `fetch`.
This also updates `event-target-shim` to 5.0 to make sure we only have one version of this dependency. This updates required adding a polyfill for `console.assert` which is used by the new version. I made one based on https://github.com/gskinner/console-polyfill/blob/master/console.js#L74 .
The polyfill is very small, especially since we already use `event-target-shim` so I think it makes sense to include in core.
Depends on #24418 so that the fetch polyfill supports the `signal` parameter.
Fixes #18115
[General] [Added] - Add support for cancelling fetch requests with AbortController
Pull Request resolved: https://github.com/facebook/react-native/pull/24419
Differential Revision: D14912858
Pulled By: cpojer
fbshipit-source-id: 8a6402910398db51e2f3e3262f07aabdf68fcf72
2019-04-15 12:02:36 -07:00
Panagiotis Vekris
5e44c08fa5
Deploy 0.97.0 to xplat
...
Summary:
https://our.intern.facebook.com/intern/wiki/Flow/Flow_Release_Process/#update-xplat-js
allow-large-files
bypass-lint
Reviewed By: dsainati1
Differential Revision: D14920747
fbshipit-source-id: db03f6cf73a4b3e9fad6b47e0e657490c45d06a3
2019-04-15 11:19:20 -07:00
Salakar
65d6c3f3a0
Upgrade detox to v12.1.1 ( #24204 )
...
Summary:
This PR upgrades Detox from version 9.0.4 to 12.1.1.
[General] [Changed] - Upgrade e2e tests to use Detox 12.1.1 (from v9).
Pull Request resolved: https://github.com/facebook/react-native/pull/24204
Reviewed By: TheSavior
Differential Revision: D14710489
Pulled By: hramos
fbshipit-source-id: eeea341f28140d0d259a0d22f7265cf1cd3fec45
2019-04-09 16:08:35 -07:00
Scott Hovestadt
4018e799ba
Upgrade Jest to 24.7.1
...
Summary: Update Jest to 24.7.1, which has performance improvements I've built over the last few weeks.
Reviewed By: rubennorte
Differential Revision: D14766905
fbshipit-source-id: 9ebb3b6f2a9ed656ca0a41a27099fe1ea6e92710
2019-04-05 14:53:21 -07:00
Kudo Chien
8e375850de
Use node package dependency to manage JSC version ( #24276 )
...
Summary:
In origin approach, we packed libjsc.so inside react-native.aar and it is difficult for user to choose different JSC variants. E.g., [the Intl supported version](https://github.com/react-native-community/jsc-android-buildscripts#international-variant ).
This change list allows application to determine JSC versions or variants by npm/yarn package.
There is a |useIntlJsc| flag in build.gradle, it will use the same JSC version but with Intl support.
`yarn add jsc-android@canary`
[Android] [Changed] - Allow application to select different JSC variants
**MIGRATION**
Note that there are some changes in build.gradle.
Existing application needs to change their android/build.gradle and android/app/build.gradle.
Hopefully, the rn-diff-purge should handle the case well.
Pull Request resolved: https://github.com/facebook/react-native/pull/24276
Differential Revision: D14752359
Pulled By: cpojer
fbshipit-source-id: a4bfb135ad8e328f404a2d1a062412f40ebf4622
2019-04-04 14:22:14 -07:00
Avik Chaudhuri
380ed5581f
@allow-large-files xplat flow 0.96 upgrade
...
Summary:
bypass-lint
allow_many_files
Reviewed By: panagosg7
Differential Revision: D14727932
fbshipit-source-id: 66b2fce7753450204c5daa131ffe43dcd4736539
2019-04-02 13:44:19 -07:00
REDMOND\acoates
7f3192cf9d
put RN58 back
2019-03-28 13:44:57 -07:00
REDMOND\acoates
b988169e72
Squashed commit of the following:
...
commit 4c43e301d97042e9eec4401dd81b8ebce053f691
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:49:02 2019 -0700
Squashed commit of the following:
commit 862f3fb5d9e3161feab6e5e0e61c7b28e8ac1ef9
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:46:37 2019 -0700
Revert "Merge 1b12e2caaa
into 9f1e90947421ad0ea2de1b534117c500dc8c9744"
This reverts commit d036bc4c57
, reversing
changes made to 9f1e909474
.
commit 41477c33c1bcc78f40da00ac7e86ab4dd3f7d062
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:46:23 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.1"
This reverts commit 852df1af0e
.
commit 4993963205e737849e4880309ef86aeac9f2a765
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:46:16 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.2"
This reverts commit 774513fec9
.
commit 41f8beadb2030593208ffc6ff29339991dde3798
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:46:07 2019 -0700
Revert "Merge 4f3c37886c
into 774513fec948ee5595543e23ab4e7b9cccbdcbf1"
This reverts commit a840490784
, reversing
changes made to 774513fec9
.
commit 143e70ec6228e110cd94a5ae9c56309040c1f1eb
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:45:57 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.3"
This reverts commit 54dfee820d
.
commit 138191b0d6bf9e4370fb5126dc2095a3fb122a57
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:45:16 2019 -0700
Revert "Merge d8be239fac
into 54dfee820d107cb897c5aca14131cf7fbde616d7"
This reverts commit faae1e56f8
, reversing
changes made to 54dfee820d
.
commit 40a77c8365c5273df0bba4fc2b0439db17d247d0
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:34:44 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.4"
This reverts commit 043f6330e7
.
commit adf5c26c8f7132a6643ecfea116226632173447b
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:34:42 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.5"
This reverts commit 4004f889c2
.
commit e68d497a58e32d26f0d04130895954d7b654c2bf
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:34:39 2019 -0700
Revert "Fix the builds... (#20 )"
This reverts commit 745eeda26f
.
commit 4cdef1eef22edbcdc9ca86e31846a175b944999e
Author: REDMOND\acoates <acoates@microsoft.com>
Date: Tue Mar 26 10:34:31 2019 -0700
Revert "Applying package update to 0.58.6-microsoft.6"
This reverts commit 34a3077388
.
2019-03-26 10:54:53 -07:00
acoates-ms
745eeda26f
Fix the builds... ( #20 )
...
Gets the circleci tests working again.
2019-03-25 15:17:54 -07:00
Christoph Nakazawa
73245555cd
js1 upgrade jest adds a caret (^)
...
Summary: This diff changes `js1 upgrade jest` to add a caret when upgrading so that the open source version of RN is not locked to a concrete version of Jest which doesn't really make much sense. I also added `pretty-format` to the packages that get updated because it is part of Jest's repo.
Reviewed By: rubennorte
Differential Revision: D14503180
fbshipit-source-id: 683c9a6ac768baa578771b9ad677e02df4912baa
2019-03-21 11:13:13 -07:00
Matt Hargett
13351e6acf
Bundle size reduction ( #23968 )
...
Summary:
With recent activity to extract out non-core things into separate repos, I did an audit of the package.json to see what can be removed, and what packages remain that have newer versions that result in less/smaller javascript code. The goal is to:
1. make developer experience better by removing unneeded dependencies, and
2. eliminate things the app bundler needs to process to make the production app bundle smaller.
[internal] [chore] - Remove unneeded packages, bump package versions who now have smaller size
Pull Request resolved: https://github.com/facebook/react-native/pull/23968
Differential Revision: D14519070
Pulled By: cpojer
fbshipit-source-id: 579f035f925668a34d07293810e3d35a7d0ae076
2019-03-21 11:13:13 -07:00
Matt Hargett
e67aa427a8
Eliminate eslint npm version mismatch warnings and bump some to latest ( #23969 )
...
Summary:
I was annoyed by warnings from yarn/npm about eslint peer dependencies not being met, so I dived in to try and get rid of some of them. Sometimes it meant bumping a plugin, but then that plugin needed a newer babel-eslint, so it was a dance.
Some we can't easily update to latest (eslint-plugin-prettier) because the rule format has changed a bit. Happy to do that in this PR if folks think its a good idea. eslint-config-fbjs itself needs to be updated and republished to eliminate the last few warnings.
There are a few new warnings (the repo wasn't linting cleanly for me from the start). I can fix those in this PR, or a separate one, based on people's preferences.
[internal] [chore] - Eliminate some peer dependency warnings and bump some eslint packages to latest.
Pull Request resolved: https://github.com/facebook/react-native/pull/23969
Differential Revision: D14519076
Pulled By: cpojer
fbshipit-source-id: aa44cfd05814d7b79069414aa78d089e448c2235
2019-03-19 11:14:30 -07:00
Michał Pierzchała
79be593f27
feat: validate config with jest-validate ( #205 )
...
Summary:
**Summary**
This PR introduces validation for the new `metro-config`. For now I'm keen on only validating new config, because I can see there's yet unused `convertConfig` which, I guess, defeats the purpose. Let me know otherwise.
This is still work in progress, as I need to fix some stuff upstream (e.g. recursive object validation and pretty-printing). Just letting you know I'm working on it :)
**Test plan**
Added a test.
cc CompuIves cpojer
Pull Request resolved: https://github.com/facebook/metro/pull/205
Differential Revision: D14501222
Pulled By: cpojer
fbshipit-source-id: 0ab8f3ad14d6f33690d5f57fd1e7487f3a4a8c71
2019-03-18 09:42:24 -07:00
Mike Grabowski
5558333c60
Update React Native to use latest CLI ( #23940 )
...
Summary:
Landing D14472633 again which failed because of a metro-buck issue.
Latest CLI requires `reactNativePath` to be explicitly set when `react-native` is not present under `node_modules` (which is the case when running from source).
Fixes #23936
This PR also updates CLI to latest version and removes private calls to `findPlugins` (it's now exposed under public interface).
We also remove custom `rn-cli.config.js` options that are no longer needed that we have `--reactNativePath`. I added them a month ago as a temporary workaround.
[GENERAL] [FIXED] - Internal - Update to the latest CLI
Pull Request resolved: https://github.com/facebook/react-native/pull/23940
Reviewed By: rickhanlonii
Differential Revision: D14501686
Pulled By: cpojer
fbshipit-source-id: c8dac71b3806d81c9d18b6d4a7e92d82962791f9
2019-03-18 06:22:53 -07:00
Marshall Roch
5613aa8948
flow v0.95
...
Summary: 0.95 has a more accurate definition of JSON.stringify which could return void.
Reviewed By: dsainati1
Differential Revision: D14494286
fbshipit-source-id: 6cf9cb5889b4078548665bc66fe899a266c689ce
2019-03-16 09:12:27 -07:00
ericlewis
97e6ea1371
Fabric: working podspecs & works in RNTester ( #23803 )
...
Summary:
This is the couple of hacks I used after I finished #23802 in order to get fabric working on RNTester. This is inspired from prior work by kmagiera.
The goal of this PR is to show others what I’m struggling with, and to eventually merge it sans hacks.
- Yarn Install
- Uncomment the commented out pods in RNTester's pod file
- Open RNTesterPods workspace
- Run App
- this is only for pods, the non-pod RNTester will no longer work until updated with fabric too.
- `SurfaceHostingView` & `SurfaceHostingProxyRootView` both try to start the surface immediately, this leads to a race condition due to the javascript not having loaded yet, the hack here is:
1. Swizzle the `start` method on `RCTFabricSurface` to no-op when called.
2. Add observer for `RCTJavaScriptDidLoadNotification`
3. Call private method `_startAllSurfaces` on `_surfacePresenter` in AppDelegate when we receive `RCTJavaScriptDidLoadNotification`.
[General] [Added] - Use Fabric in RNTester
Pull Request resolved: https://github.com/facebook/react-native/pull/23803
Reviewed By: shergin, mdvacca
Differential Revision: D14450726
Pulled By: fkgozali
fbshipit-source-id: 8ae2d48634fecb60db539aaf0a2c89ba1f572c27
2019-03-15 23:59:22 -07:00
Adam Ernst
0ceaaf0cf6
Revert D14472633: [react-native][PR] Update React Native to use latest CLI
...
Differential Revision:
D14472633
Original commit changeset: b7ea92ee130d
fbshipit-source-id: ed5bce3ba4a39c8b60e787cb678747231583f6f5
2019-03-15 14:07:54 -07:00
James Ide
7d84d0dc07
Remove react-clone-referenced-element dependency ( #23933 )
...
Summary:
This package was a dependency for ListView, which is no longer part of RN. Removed the dependency from package.json and yarn.lock.
Also removed its pattern from the Jest preset -- ListView is not in this repo and also react-clone-referenced-element was written at a time when Node did not support the same modern JS features as RN. The latest Node 8+ supports the features that react-clone-referenced-element uses so we don't need to transform it.
[General] [Removed] - Removed unused react-clone-referenced-element dependency
Pull Request resolved: https://github.com/facebook/react-native/pull/23933
Differential Revision: D14477240
Pulled By: cpojer
fbshipit-source-id: 4f6975133b54cc75088262cedd11da20225cada8
2019-03-15 11:50:07 -07:00
Mike Grabowski
1fe4799a88
Update React Native to use latest CLI ( #23940 )
...
Summary:
Latest CLI requires `reactNativePath` to be explicitly set when `react-native` is not present under `node_modules` (which is the case when running from source).
Fixes #23936
This PR also updates CLI to latest version and removes private calls to `findPlugins` (it's now exposed under public interface).
We also remove custom `rn-cli.config.js` options that are no longer needed that we have `--reactNativePath`. I added them a month ago as a temporary workaround.
[GENERAL] [FIXED] - Internal - Update to the latest CLI
Pull Request resolved: https://github.com/facebook/react-native/pull/23940
Differential Revision: D14472633
Pulled By: cpojer
fbshipit-source-id: b7ea92ee130da6730aa0093265958aa1b8c2ab97
2019-03-15 11:07:48 -07:00
Rubén Norte
49fb0cdc40
Upgrade jest to 24.5.0
...
Summary: Upgrade Jest and related packages to their latest stable version (24.5.0)
Reviewed By: mjesun
Differential Revision: D14424512
fbshipit-source-id: 6292b9f95c3315a520233b80ae06074d69a0ea3b
2019-03-14 08:00:17 -07:00
Peter van der Zee
dcd4e90d9a
Bump Prettier to 1.16.4
...
Summary:
@public
This bumps Prettier to v1.16.4
Only format source files were updated.
Reviewed By: mjesun
Differential Revision: D14454893
fbshipit-source-id: 72f9872fe764a79dbf0d9fab9bebb1456b039f2f
2019-03-14 07:00:27 -07:00
Mike Grabowski
370947d2b2
Bump Jest version
2019-03-11 20:17:33 +01:00
George Zahariev
35d2dfcabf
Deploy 0.94 to xplat
...
Summary:
Update Flow version in xplat (https://our.intern.facebook.com/intern/wiki/Flow/Flow_Release_Process/#update-xplat-js )
allow-large-files
bypass-lint
Reviewed By: nmote
Differential Revision: D14317820
fbshipit-source-id: 07ec22c0745321db036f4e10a502009a4b640652
2019-03-06 14:57:30 -08:00
Rubén Norte
ee1e15a3d9
Upgrade fbjs-scripts to 1.1.0
...
Summary: This new version uses paths relative to the `rootDir` option to compute cache keys, so it is compatible with remote caching.
Reviewed By: rickhanlonii
Differential Revision: D14241858
fbshipit-source-id: fbf244bbf389bf873fb8a42f35c9b023fb06182f
2019-02-28 09:46:05 -08:00
Héctor Ramos
52cdb7cf26
React sync for revisions f24a0da...8e25ed2
...
Summary:
This sync includes the following changes:
- **[8e25ed20b](https://github.com/facebook/react/commit/8e25ed20b )**: Unify noop and test renderer assertion APIs (#14952 ) //<Andrew Clark>//
- **[870214f37](https://github.com/facebook/react/commit/870214f37 )**: Deprecate ref.setNativeProps in favor of ReactNative.setNativeProps (#14912 ) //<Eli White>//
- **[3989c0950](https://github.com/facebook/react/commit/3989c0950 )**: eslint-plugin-react-hooks@1.3.0 //<Dan Abramov>//
- **[1bbfbc98d](https://github.com/facebook/react/commit/1bbfbc98d )**: [ESLint] Add more cases to exhaustive-deps rule (#14930 ) //<Dan Abramov>//
- **[412f88296](https://github.com/facebook/react/commit/412f88296 )**: fix(eslint-plugin-react-hooks): node engine updated to version 7 because of object.entries(#14951 ) //<Farhad Yasir>//
- **[ba708fa79](https://github.com/facebook/react/commit/ba708fa79 )**: Remove ReactNoop.flushDeferredPri and flushUnitsOfWork (#14934 ) //<Andrew Clark>//
- **[920b0bbb3](https://github.com/facebook/react/commit/920b0bbb3 )**: [scheduler] Pass didTimeout argument to callbacks (#14931 ) //<Andrew Clark>//
- **[f99fca3cb](https://github.com/facebook/react/commit/f99fca3cb )**: Fix sample ESLint configuration (#14926 ) //<Matt Thomson>//
- **[22bb94764](https://github.com/facebook/react/commit/22bb94764 )**: Release eslint-plugin-react-hooks@1.2.0 //<Dan Abramov>//
- **[a77bbf1a1](https://github.com/facebook/react/commit/a77bbf1a1 )**: [ESLint] Warn against assignments from inside Hooks (#14916 ) //<Dan Abramov>//
- **[219ce8a9c](https://github.com/facebook/react/commit/219ce8a9c )**: Fix tracing fixture (#14917 ) //<Dan Abramov>//
- **[8c1966590](https://github.com/facebook/react/commit/8c1966590 )**: Release 16.8.3 //<Dan Abramov>//
- **[7de4d2391](https://github.com/facebook/react/commit/7de4d2391 )**: Fix UMD builds by re-exporting the scheduler priorities (#14914 ) //<Dan Abramov>//
- **[d0318fb3f](https://github.com/facebook/react/commit/d0318fb3f )**: Updating copyright headers, dropping the year (#14893 ) //<Nathan Hunzaker>//
- **[f978d5fde](https://github.com/facebook/react/commit/f978d5fde )**: Fix warning message for new setNativeProps method. on -> with (#14909 ) //<Eli White>//
- **[b0f45c0fc](https://github.com/facebook/react/commit/b0f45c0fc )**: Adding ReactNative.setNativeProps that takes a ref (#14907 ) //<Eli White>//
- **[4f4aa69f1](https://github.com/facebook/react/commit/4f4aa69f1 )**: Adding setNativeProps tests for NativeMethodsMixin (#14901 ) //<Eli White>//
- **[b96b61dc4](https://github.com/facebook/react/commit/b96b61dc4 )**: Use the canonical nativeTag for Fabric's setNativeProps (#14900 ) //<Eli White>//
- **[dab2fdbbb](https://github.com/facebook/react/commit/dab2fdbbb )**: Add eslint-plugin-react-hooks/exhaustive-deps rule to check stale closure dependencies (#14636 ) //<Dan Abramov>//
- **[1493abd7e](https://github.com/facebook/react/commit/1493abd7e )**: Deleted empty App.css (#14149 ) //<Josh R>//
- **[13645d224](https://github.com/facebook/react/commit/13645d224 )**: Deal with fallback content in Partial Hydration (#14884 ) //<Sebastian Markbåge>//
- **[c506ded3b](https://github.com/facebook/react/commit/c506ded3b )**: Don't discard render phase state updates with the eager reducer optimization (#14852 ) //<Dan Abramov>//
- **[0e67969cb](https://github.com/facebook/react/commit/0e67969cb )**: Prompt to include UMD build artifact links in GitHub release (#14864 ) //<Brian Vaughn>//
- **[fad0842fd](https://github.com/facebook/react/commit/fad0842fd )**: Release scripts documentation (#14863 ) //<Brian Vaughn>//
- **[ab7a67b1d](https://github.com/facebook/react/commit/ab7a67b1d )**: Fix react-dom/server context leaks when render stream destroyed early (#14706 ) //<overlookmotel>//
- **[3e5556043](https://github.com/facebook/react/commit/3e5556043 )**: Release 16.8.2 //<Dan Abramov>//
- **[dfabb77a9](https://github.com/facebook/react/commit/dfabb77a9 )**: Include another change in 16.8.2 //<Dan Abramov>//
- **[c555c008b](https://github.com/facebook/react/commit/c555c008b )**: Include component stack in 'act(...)' warning (#14855 ) //<Sunil Pai>//
- **[ff188d666](https://github.com/facebook/react/commit/ff188d666 )**: Add React 16.8.2 changelog (#14851 ) //<Dan Abramov>//
- **[c4d8ef643](https://github.com/facebook/react/commit/c4d8ef643 )**: Fix typo in code comment (#14836 ) //<Deniz Susman>//
- **[08e955435](https://github.com/facebook/react/commit/08e955435 )**: Statically enable suspense/partial hydration flag in www (#14842 ) //<Sebastian Markbåge>//
- **[0e4135e8c](https://github.com/facebook/react/commit/0e4135e8c )**: Revert "[ShallowRenderer] Queue/rerender on dispatched action after render component with hooks (#14802 )" (#14839 ) //<Dan Abramov>//
- **[6d4038f0a](https://github.com/facebook/react/commit/6d4038f0a )**: [ShallowRenderer] Queue/rerender on dispatched action after render component with hooks (#14802 ) //<Rodrigo Ribeiro>//
- **[fa6205d52](https://github.com/facebook/react/commit/fa6205d52 )**: Special case crossOrigin for SVG image elements (#14832 ) //<Brandon Dail>//
- **[c6bee765b](https://github.com/facebook/react/commit/c6bee765b )**: Remove false positive warning and add TODOs about `current` being non-null (#14821 ) //<DanAbramov>//
- **[3ae94e188](https://github.com/facebook/react/commit/3ae94e188 )**: Fix ignored sync work in passive effects (#14799 ) //<Dan Abramov>//
- **[f3a14951a](https://github.com/facebook/react/commit/f3a14951a )**: Partial Hydration (#14717 ) //<Sebastian Markbåge>//
Changelog:
[GENERAL] [Changed] React sync for revisions f24a0da...22bb947
Reviewed By: gaearon
Differential Revision: D14160361
fbshipit-source-id: fffdc922f3ee5dfeeee656a8f213a6d3c03e8481
2019-02-27 21:24:27 +01:00
Héctor Ramos
d4ce8463a8
React sync for revisions f24a0da...8e25ed2
...
Summary:
This sync includes the following changes:
- **[8e25ed20b](https://github.com/facebook/react/commit/8e25ed20b )**: Unify noop and test renderer assertion APIs (#14952 ) //<Andrew Clark>//
- **[870214f37](https://github.com/facebook/react/commit/870214f37 )**: Deprecate ref.setNativeProps in favor of ReactNative.setNativeProps (#14912 ) //<Eli White>//
- **[3989c0950](https://github.com/facebook/react/commit/3989c0950 )**: eslint-plugin-react-hooks@1.3.0 //<Dan Abramov>//
- **[1bbfbc98d](https://github.com/facebook/react/commit/1bbfbc98d )**: [ESLint] Add more cases to exhaustive-deps rule (#14930 ) //<Dan Abramov>//
- **[412f88296](https://github.com/facebook/react/commit/412f88296 )**: fix(eslint-plugin-react-hooks): node engine updated to version 7 because of object.entries(#14951 ) //<Farhad Yasir>//
- **[ba708fa79](https://github.com/facebook/react/commit/ba708fa79 )**: Remove ReactNoop.flushDeferredPri and flushUnitsOfWork (#14934 ) //<Andrew Clark>//
- **[920b0bbb3](https://github.com/facebook/react/commit/920b0bbb3 )**: [scheduler] Pass didTimeout argument to callbacks (#14931 ) //<Andrew Clark>//
- **[f99fca3cb](https://github.com/facebook/react/commit/f99fca3cb )**: Fix sample ESLint configuration (#14926 ) //<Matt Thomson>//
- **[22bb94764](https://github.com/facebook/react/commit/22bb94764 )**: Release eslint-plugin-react-hooks@1.2.0 //<Dan Abramov>//
- **[a77bbf1a1](https://github.com/facebook/react/commit/a77bbf1a1 )**: [ESLint] Warn against assignments from inside Hooks (#14916 ) //<Dan Abramov>//
- **[219ce8a9c](https://github.com/facebook/react/commit/219ce8a9c )**: Fix tracing fixture (#14917 ) //<Dan Abramov>//
- **[8c1966590](https://github.com/facebook/react/commit/8c1966590 )**: Release 16.8.3 //<Dan Abramov>//
- **[7de4d2391](https://github.com/facebook/react/commit/7de4d2391 )**: Fix UMD builds by re-exporting the scheduler priorities (#14914 ) //<Dan Abramov>//
- **[d0318fb3f](https://github.com/facebook/react/commit/d0318fb3f )**: Updating copyright headers, dropping the year (#14893 ) //<Nathan Hunzaker>//
- **[f978d5fde](https://github.com/facebook/react/commit/f978d5fde )**: Fix warning message for new setNativeProps method. on -> with (#14909 ) //<Eli White>//
- **[b0f45c0fc](https://github.com/facebook/react/commit/b0f45c0fc )**: Adding ReactNative.setNativeProps that takes a ref (#14907 ) //<Eli White>//
- **[4f4aa69f1](https://github.com/facebook/react/commit/4f4aa69f1 )**: Adding setNativeProps tests for NativeMethodsMixin (#14901 ) //<Eli White>//
- **[b96b61dc4](https://github.com/facebook/react/commit/b96b61dc4 )**: Use the canonical nativeTag for Fabric's setNativeProps (#14900 ) //<Eli White>//
- **[dab2fdbbb](https://github.com/facebook/react/commit/dab2fdbbb )**: Add eslint-plugin-react-hooks/exhaustive-deps rule to check stale closure dependencies (#14636 ) //<Dan Abramov>//
- **[1493abd7e](https://github.com/facebook/react/commit/1493abd7e )**: Deleted empty App.css (#14149 ) //<Josh R>//
- **[13645d224](https://github.com/facebook/react/commit/13645d224 )**: Deal with fallback content in Partial Hydration (#14884 ) //<Sebastian Markbåge>//
- **[c506ded3b](https://github.com/facebook/react/commit/c506ded3b )**: Don't discard render phase state updates with the eager reducer optimization (#14852 ) //<Dan Abramov>//
- **[0e67969cb](https://github.com/facebook/react/commit/0e67969cb )**: Prompt to include UMD build artifact links in GitHub release (#14864 ) //<Brian Vaughn>//
- **[fad0842fd](https://github.com/facebook/react/commit/fad0842fd )**: Release scripts documentation (#14863 ) //<Brian Vaughn>//
- **[ab7a67b1d](https://github.com/facebook/react/commit/ab7a67b1d )**: Fix react-dom/server context leaks when render stream destroyed early (#14706 ) //<overlookmotel>//
- **[3e5556043](https://github.com/facebook/react/commit/3e5556043 )**: Release 16.8.2 //<Dan Abramov>//
- **[dfabb77a9](https://github.com/facebook/react/commit/dfabb77a9 )**: Include another change in 16.8.2 //<Dan Abramov>//
- **[c555c008b](https://github.com/facebook/react/commit/c555c008b )**: Include component stack in 'act(...)' warning (#14855 ) //<Sunil Pai>//
- **[ff188d666](https://github.com/facebook/react/commit/ff188d666 )**: Add React 16.8.2 changelog (#14851 ) //<Dan Abramov>//
- **[c4d8ef643](https://github.com/facebook/react/commit/c4d8ef643 )**: Fix typo in code comment (#14836 ) //<Deniz Susman>//
- **[08e955435](https://github.com/facebook/react/commit/08e955435 )**: Statically enable suspense/partial hydration flag in www (#14842 ) //<Sebastian Markbåge>//
- **[0e4135e8c](https://github.com/facebook/react/commit/0e4135e8c )**: Revert "[ShallowRenderer] Queue/rerender on dispatched action after render component with hooks (#14802 )" (#14839 ) //<Dan Abramov>//
- **[6d4038f0a](https://github.com/facebook/react/commit/6d4038f0a )**: [ShallowRenderer] Queue/rerender on dispatched action after render component with hooks (#14802 ) //<Rodrigo Ribeiro>//
- **[fa6205d52](https://github.com/facebook/react/commit/fa6205d52 )**: Special case crossOrigin for SVG image elements (#14832 ) //<Brandon Dail>//
- **[c6bee765b](https://github.com/facebook/react/commit/c6bee765b )**: Remove false positive warning and add TODOs about `current` being non-null (#14821 ) //<DanAbramov>//
- **[3ae94e188](https://github.com/facebook/react/commit/3ae94e188 )**: Fix ignored sync work in passive effects (#14799 ) //<Dan Abramov>//
- **[f3a14951a](https://github.com/facebook/react/commit/f3a14951a )**: Partial Hydration (#14717 ) //<Sebastian Markbåge>//
Changelog:
[GENERAL] [Changed] React sync for revisions f24a0da...22bb947
Reviewed By: gaearon
Differential Revision: D14160361
fbshipit-source-id: fffdc922f3ee5dfeeee656a8f213a6d3c03e8481
2019-02-27 07:57:19 -08:00
Maël Nison
b13d59d901
Adds missing dependencies to rn
...
Summary:
The following stack is meant to fix all "unsatisfied peer dependencies" that I could find in xplat/js.
Starting from Yarn v2 such problems will become much more noticeable, as they currently behave in unpredictable ways that can include the peer dependency being satisfied by a random package from the dependency tree. The v2 will enforce well-defined relationships between packages.
In this case, RN was missing some dependency required by `babel-preset-fbjs` through peer dependencies.
Reviewed By: pvdz
Differential Revision: D14136856
fbshipit-source-id: 5a7eeee913ebfe63573353683c152ad5512a66e3
2019-02-26 09:42:11 -08:00
Christoph Nakazawa
665954efcc
Add deprecated-react-native-listview
...
Summary:
This adds the deprecated ListView package to xplat/js. I published this module in https://github.com/facebookarchive/react-native-deprecated-modules
The way it is published I tried to reduce duplication of dependencies as much as possible. With this diff and the changes in package.json, the bundle size should not regress (until the actually deprected ListView is included; and then it will be recovered once ListView is fully removed from React Native, which will happen within a short timeframe). The change to `react-clone-referenced-element` are non-breaking.
Reviewed By: TheSavior
Differential Revision: D14163988
fbshipit-source-id: 0fc2d1f33855a8b1a709f5316e68c734716ec049
2019-02-21 20:34:06 -08:00
Moti Zilberman
fc6f161020
Upgrade Metro to 0.52.0
...
Reviewed By: pvdz
Differential Revision: D14129296
fbshipit-source-id: 383a2f163b496d9f757d78873ababf78956921dc
2019-02-21 18:50:01 -08:00
Eric Lewis
a9c8e2c078
Update ws dependency ( #23520 )
...
Summary:
Our `ws` dependency is super outdated, and is [insecure](https://www.npmjs.com/advisories/550 ). It is used for the websocket example code in RNTester. This PR updates the dependency, and removes undefined console.logs.
[General] [Security] - Updates ws dependency to 6.4.1
Pull Request resolved: https://github.com/facebook/react-native/pull/23520
Differential Revision: D14147596
Pulled By: cpojer
fbshipit-source-id: a03041f613a84bf019d8d0a8c5028d6657b5d89a
2019-02-21 13:55:36 -08:00
Miguel Jimenez Esun
e10d984c43
Upgrade Jest to 24.1.0
...
Summary: Upgrade Jest to 24.1.0 (latest stable)
Reviewed By: cpojer
Differential Revision: D14101975
fbshipit-source-id: a9b0d5899a2d0ebb98650ee719ae2ae9d45f7e47
2019-02-18 04:48:13 -08:00
gengjiawen
d056d756b0
add clang-format to current toolchain ( #23434 )
...
Summary:
add `clang-format` toolchain. we have 2558 files need to process in current task.
cc cpojer empyrical shergin matthargett
Pull Request resolved: https://github.com/facebook/react-native/pull/23434
Differential Revision: D14067789
Pulled By: cpojer
fbshipit-source-id: ddf812fc9579068ebb850bacedde6675376f18b7
2019-02-17 16:03:12 -08:00
Daniel Sainati
8da1f1149f
deploy 0.93
...
Summary:
upgrades flow version
allow-large-files
bypass-lint
Reviewed By: nmote
Differential Revision: D14095305
fbshipit-source-id: 000b3b2e085f673bc443fc8bc1b3aae1b42df0e9
2019-02-15 12:04:32 -08:00
Simen Bekkhus
ee76227c48
chore: upgrade `jest-junit` to avoid older jest dependencies ( #23476 )
...
Summary:
Upgrade `jest-junit` to the latest version (breaking change between 5 and 6 was reverted). In particular, 6.2.0 removes the dependency on `jest-config` which pulls in `babel-core@6` etc.
I noticed this since `react-native` had `jest-junit` in `dependencies` until #23276 . So not as big of an issue. Still a nice cleanup, I'd say
/cc palmerj3
Btw, any reason Jest is still at alpha?
[General] [Fixed] - upgrade `jest-junit` to avoid older jest dependencies
Pull Request resolved: https://github.com/facebook/react-native/pull/23476
Differential Revision: D14100133
Pulled By: cpojer
fbshipit-source-id: 79877261b7ea995ac1f4249a12a6980ec488f655
2019-02-15 06:55:03 -08:00
Mike Grabowski
a252aee2ea
Bump CLI dependency
2019-02-13 16:35:02 +01:00
Mike Grabowski
06bc4b5b7c
Explicitly set path to React Native for development
2019-02-13 15:23:30 +01:00
Héctor Ramos
2af13b4477
React sync for revisions aa94237...f24a0da
...
Summary:
This sync includes the following changes:
- **[f24a0da6e](https://github.com/facebook/react/commit/f24a0da6e )**: Fix useImperativeHandle to have no deps by default (#14801 ) //<Dan Abramov>//
- **[1fecba923](https://github.com/facebook/react/commit/1fecba923 )**: Fix crash unmounting an empty Portal (#14820 ) //<Dan Abramov>//
- **[c11015ff4](https://github.com/facebook/react/commit/c11015ff4 )**: fix spelling mistakes (#14805 ) //<zhuoli99>//
- **[3e295edd5](https://github.com/facebook/react/commit/3e295edd5 )**: Typo fix in comment (#14787 ) //<Deniz Susman>//
- **[1d48b4a68](https://github.com/facebook/react/commit/1d48b4a68 )**: Fix hydration with createRoot warning (#14808 ) //<Sebastian Markbåge>//
Release Notes:
[GENERAL] [Changed] - React sync for revisions aa94237...f24a0da
Reviewed By: cpojer
Differential Revision: D14030552
fbshipit-source-id: f8df9d8e532b2afef59dbbc10715bd52fd22b355
2019-02-11 15:26:44 -08:00
Christoph Nakazawa
7ecf55fc9d
Enforce rules-of-hooks via eslint
...
Summary:
allow-large-files
Enforce rules-of-hooks in React Native via the eslint-plugin-react-hooks plugin. See https://reactjs.org/docs/hooks-rules.html
Reviewed By: rickhanlonii
Differential Revision: D13998695
fbshipit-source-id: 48f1cde18c7112ce91d5087461875bcd0b50bf4f
2019-02-08 07:08:10 -08:00
Christoph Nakazawa
ccefc700d0
React sync for revisions 6bf5e85...aa94237 ( #23320 )
...
Summary:
allow-large-files
This sync includes the following changes:
- **[45fc46bfa](https://github.com/facebook/react/commit/45fc46bfa )**: 16.8.1 packages //<Brian Vaughn>//
- **[f2e2637c8](https://github.com/facebook/react/commit/f2e2637c8 )**: Backwards compat fix for ReactCurrentDispatcher on older react versions (#14770 ) //<Brian Vaughn>//
- **[1107b9673](https://github.com/facebook/react/commit/1107b9673 )**: [TestUtils.act] warn when using TestUtils.act in node (#14768 ) //<Sunil Pai>//
- **[0975ea327](https://github.com/facebook/react/commit/0975ea327 )**: eslint-plugin-react-hooks v1.0.0 //<Brian Vaughn>//
- **[bc9818f24](https://github.com/facebook/react/commit/bc9818f24 )**: Scheduler.unstable_next (#14756 ) //<Andrew Clark>//
- **[ce6ecd3fb](https://github.com/facebook/react/commit/ce6ecd3fb )**: Add 16.8.0 changelog and update some READMEs (#14692 ) //<Dan Abramov>//
- **[008a2ab9c](https://github.com/facebook/react/commit/008a2ab9c )**: 16.8.0 //<Brian Vaughn>//
- **[d1326f466](https://github.com/facebook/react/commit/d1326f466 )**: [TestUtils.act] fix return result checking (#14758 ) //<Sunil Pai>//
- **[267ed9814](https://github.com/facebook/react/commit/267ed9814 )**: expose `TestUtils.act()` for batching actions in tests (#14744 ) //<Sunil Pai>//
- **[fb3f7bfde](https://github.com/facebook/react/commit/fb3f7bfde )**: Avoid importing Scheduler directly (#14757 ) //<Andrew Clark>//
- **[e602b5291](https://github.com/facebook/react/commit/e602b5291 )**: Use SameValue instead of === to check for dispatchAction equivalence (#14752 ) //<Jessica Franco>//
- **[e489c3f9c](https://github.com/facebook/react/commit/e489c3f9c )**: Update the version with Hooks proposal in README (#14751 ) //<SToneX>//
- **[c21c41ecf](https://github.com/facebook/react/commit/c21c41ecf )**: Tweak invalid Hook warning and error (#14747 ) //<Dan Abramov>//
- **[fec00a869](https://github.com/facebook/react/commit/fec00a869 )**: Typo in comment (#14739 ) //<Deniz Susman>//
- **[66eb29374](https://github.com/facebook/react/commit/66eb29374 )**: Restrict effect return type to a function or nothing (#14119 ) //<Andrew Clark>//
- **[51c07912a](https://github.com/facebook/react/commit/51c07912a )**: Warn when second argument is passed to useCallback (#14729 ) //<Dan Abramov>//
- **[70d407583](https://github.com/facebook/react/commit/70d407583 )**: Move Hook mismatch warning to first mismatch site (#14720 ) //<Andrew Clark>//
- **[ba6477aa3](https://github.com/facebook/react/commit/ba6477aa3 )**: Improve Reducer Hook's lazy init API (#14723 ) //<Andrew Clark>//
- **[cb1ff430e](https://github.com/facebook/react/commit/cb1ff430e )**: Phased dispatcher (#14701 ) //<Andrew Clark>//
- **[9d483dcfd](https://github.com/facebook/react/commit/9d483dcfd )**: Spelling abitrarily -> arbitrarily (#14710 ) //<Peter Donald>//
- **[e19c9e106](https://github.com/facebook/react/commit/e19c9e106 )**: Fix issue with multiple code branches in hooks linter (#14661 ) //<Yurick>//
- **[f11a9c1cb](https://github.com/facebook/react/commit/f11a9c1cb )**: State update bug in concurrent mode (#14698 ) //<Brian Vaughn>//
- **[e679a4b6e](https://github.com/facebook/react/commit/e679a4b6e )**: Fix typo in code comment (#14696 ) //<Greg Hurrell>//
- **[8bcc88f2e](https://github.com/facebook/react/commit/8bcc88f2e )**: Make all readContext() and Hook-in-a-Hook checks DEV-only (#14677 ) //<Dan Abramov>//
- **[6cb26774e](https://github.com/facebook/react/commit/6cb26774e )**: Enable hooks! (#14679 ) //<Brian Vaughn>//
- **[73962c366](https://github.com/facebook/react/commit/73962c366 )**: Revert "Revert "Double-render function components with Hooks in DEV in StrictMode" (#14652 )" (#14654 ) //<Dan Abramov>//
- **[994439228](https://github.com/facebook/react/commit/994439228 )**: Put DEV-only code into DEV blocks (#14673 ) //<Dan Abramov>//
- **[f0befae65](https://github.com/facebook/react/commit/f0befae65 )**: Tweak context invariant message (#14671 ) //<Dan Abramov>//
- **[a129259ad](https://github.com/facebook/react/commit/a129259ad )**: Disallow reading context during useMemo etc (#14653 ) //<Dan Abramov>//
- **[c068d31cc](https://github.com/facebook/react/commit/c068d31cc )**: Add unit tests for concurrent mode event dispatching (#14415 ) //<Sebastian Markbåge>//
- **[38247cba3](https://github.com/facebook/react/commit/38247cba3 )**: --save is no longer needed (#14302 ) //<SamCortopassi>//
- **[3f0bcaf0d](https://github.com/facebook/react/commit/3f0bcaf0d )**: Importing React for the first example. (#14346 ) //<Ramón Chancay Ortega>//
- **[ecd919a2f](https://github.com/facebook/react/commit/ecd919a2f )**: RFC: warn when returning different hooks on subsequent renders (#14585 ) //<Sunil Pai>//
- **[3fbebb2a0](https://github.com/facebook/react/commit/3fbebb2a0 )**: Revert "Double-render function components with Hooks in DEV in StrictMode" (#14652 ) //<Dan Abramov>//
- **[5fce6488c](https://github.com/facebook/react/commit/5fce6488c )**: Revert "Disallow reading context during useMemo etc" (#14651 ) //<Dan Abramov>//
- **[fe2ecd276](https://github.com/facebook/react/commit/fe2ecd276 )**: Add test coverage for readContext() on the server (#14649 ) //<Dan Abramov>//
- **[8f45a7fdc](https://github.com/facebook/react/commit/8f45a7fdc )**: Warn about incorrect use of useImperativeHandle() (#14647 ) //<Dan Abramov>//
- **[1fcbd2243](https://github.com/facebook/react/commit/1fcbd2243 )**: Disallow reading context during useMemo etc (#14648 ) //<Dan Abramov>//
- **[2a084f51a](https://github.com/facebook/react/commit/2a084f51a )**: Warn about refs on lazy function components (#14645 ) //<Dan Abramov>//
- **[b5a3df6e8](https://github.com/facebook/react/commit/b5a3df6e8 )**: Fix typo (#14560 ) //<Linchengyi>//
- **[9c146e675](https://github.com/facebook/react/commit/9c146e675 )**: fix typo (#14316 ) //<liunian>//
- **[baa6d40fc](https://github.com/facebook/react/commit/baa6d40fc )**: Mention forwardRef() in <Fn ref={...} /> errors and warnings (#14644 ) //<Dan Abramov>//
- **[a1414e894](https://github.com/facebook/react/commit/a1414e894 )**: Double-render function components with Hooks in DEV in StrictMode (#14643 ) //<Dan Abramov>//
- **[10a7a5b5c](https://github.com/facebook/react/commit/10a7a5b5c )**: Fix synchronous thenable rejection (#14633 ) //<Dan Abramov>//
- **[a2fa6eb98](https://github.com/facebook/react/commit/a2fa6eb98 )**: Move lazy._result assignment (#14632 ) //<Dan Abramov>//
- **[9120f6c2d](https://github.com/facebook/react/commit/9120f6c2d )**: Support sync thenables for lazy() (#14626 ) //<Dan Abramov>//
- **[b66e6e41e](https://github.com/facebook/react/commit/b66e6e41e )**: Add directory details to the package.json of all packages (#14628 ) //<Grey Baker>//
- **[177fb7635](https://github.com/facebook/react/commit/177fb7635 )**: Warn when second callback is passed to setState/dispatch in Hooks (#14625 ) //<Dan Abramov>//
- **[d17d0b99c](https://github.com/facebook/react/commit/d17d0b99c )**: Use public context.report interface in eslint rules (#14623 ) //<Sebastian Silbermann>//
- **[4f332885a](https://github.com/facebook/react/commit/4f332885a )**: Fix shallow renderer set instance state after gDSFP before calling sCU (#14613 ) //<Yi-Shan, Chen>//
- **[e1cd83e49](https://github.com/facebook/react/commit/e1cd83e49 )**: Throw an error when using hooks inside useMemo/useState/useReducer, or .memo's comparator (#14608 ) //<Sunil Pai>//
- **[be457ca68](https://github.com/facebook/react/commit/be457ca68 )**: Small tweaks to SSR to match #14594 (#14618 ) //<Dan Abramov>//
- **[17d70df91](https://github.com/facebook/react/commit/17d70df91 )**: Warn when mixing createRoot() and old APIs (#14615 ) //<Dan Abramov>//
- **[4feab7fc9](https://github.com/facebook/react/commit/4feab7fc9 )**: Add hooks support to ReactShallowRenderer (#14567 ) //<Dominic Gannaway>//
- **[1454a8be0](https://github.com/facebook/react/commit/1454a8be0 )**: Don't bother comparing constructor when deps are not provided (#14594 ) //<Andrew Clark>//
- **[71b64d521](https://github.com/facebook/react/commit/71b64d521 )**: Warn if number of hooks increases (#14591 ) //<Andrew Clark>//
- **[790c8ef04](https://github.com/facebook/react/commit/790c8ef04 )**: Allow useReducer to bail out of rendering by returning previous state (#14569 ) //<Andrew Clark>//
- **[7ab8a8e97](https://github.com/facebook/react/commit/7ab8a8e97 )**: Added Flow type to keep hooks dispatchers in-sync (#14599 ) //<Brian Vaughn>//
- **[4392e3821](https://github.com/facebook/react/commit/4392e3821 )**: useDebugValue should throw if used in a class component (#14601 ) //<Brian Vaughn>//
- **[153a0b598](https://github.com/facebook/react/commit/153a0b598 )**: Add noop useDebugValue hook to partial/server renderer (#14597 ) //<Brian Vaughn>//
- **[7ad9806d1](https://github.com/facebook/react/commit/7ad9806d1 )**: Tweak to avoid property read (#14593 ) //<Brandon Dail>//
- **[0fc154751](https://github.com/facebook/react/commit/0fc154751 )**: Avoid new Set([iterable]) for thenables (#14592 ) //<Brandon Dail>//
- **[edb1f5956](https://github.com/facebook/react/commit/edb1f5956 )**: Support configurable labels for custom hooks (#14559 ) //<Brian Vaughn>//
- **[3e15b1c69](https://github.com/facebook/react/commit/3e15b1c69 )**: make a fork for ReactCurrentDispatcher (#14588 ) //<Sunil Pai>//
- **[0005d1e3f](https://github.com/facebook/react/commit/0005d1e3f )**: Fix typo (#14576 ) //<Carl Mungazi>//
- **[f290138d3](https://github.com/facebook/react/commit/f290138d3 )**: react-debug-tools accepts currentDispatcher ref as param (#14556 ) //<Brian Vaughn>//
- **[b4ad8e947](https://github.com/facebook/react/commit/b4ad8e947 )**: rename useImperativeMethods -> useImperativeHandle (#14565 ) //<Sunil Pai>//
- **[ab03e3d65](https://github.com/facebook/react/commit/ab03e3d65 )**: Inject ReactCurrentDispatcher ref to DevTools (#14550 ) //<Brian Vaughn>//
- **[19ef0ec11](https://github.com/facebook/react/commit/19ef0ec11 )**: Separate current owner and dispatcher (#14548 ) //<Brian Vaughn>//
- **[a9b035b0c](https://github.com/facebook/react/commit/a9b035b0c )**: Separate Object.is polyfill (#14334 ) //<Maksim Markelov>//
- **[547e059f0](https://github.com/facebook/react/commit/547e059f0 )**: Simplify wording of key warning (#14503 ) //<Sophie Alpert>//
- **[3494ee57e](https://github.com/facebook/react/commit/3494ee57e )**: Update ReactUpdateQueue.js (#14521 ) //<Carl Mungazi>//
- **[659c13963](https://github.com/facebook/react/commit/659c13963 )**: Update ReactFiberScheduler.js (#14477 ) //<Carl Mungazi>//
- **[c695b2384](https://github.com/facebook/react/commit/c695b2384 )**: React v16.7.0 //<Andrew Clark>//
- **[1c5aa2f23](https://github.com/facebook/react/commit/1c5aa2f23 )**: Move SchedulerFeatureFlags fork to src directory to fix lint //<Andrew Clark>//
- **[653bc582f](https://github.com/facebook/react/commit/653bc582f )**: Create separate SchedulerFeatureFlags instead of using ReactFeatureFlags (#14455 ) //<Andrew Clark>//
- **[8bfef0da5](https://github.com/facebook/react/commit/8bfef0da5 )**: Make scheduler debugging feature flag static //<Andrew Clark>//
- **[4a1072194](https://github.com/facebook/react/commit/4a1072194 )**: Memoize promise listeners to prevent exponential growth (#14429 ) //<Andrew Clark>//
- **[535804f5c](https://github.com/facebook/react/commit/535804f5c )**: Removed Fabric-specific feature flag files and updated Rollup to use the (non-Fabric) React Native flag files. (#14437 ) //<Brian Vaughn>//
- **[2743fb7b2](https://github.com/facebook/react/commit/2743fb7b2 )**: Enable hooks by default for FB React Native renderer (#14435 ) //<Brian Vaughn>//
- **[7325ebe4d](https://github.com/facebook/react/commit/7325ebe4d )**: Inject overrideProps() fn to DevTools (#14427 ) //<Brian Vaughn>//
- **[a22880e5e](https://github.com/facebook/react/commit/a22880e5e )**: Add support for Suspense & lazy() to the react-is package (#14423 ) //<Pleun Vanderbauwhede>//
- **[947bddd5c](https://github.com/facebook/react/commit/947bddd5c )**: Remove redundant argument of getPlugins function (#14419 ) //<Heaven>//
- **[8df4d59be](https://github.com/facebook/react/commit/8df4d59be )**: Implement pauseExecution, continueExecution, dumpQueue for Scheduler (#14053 ) //<Kevin Chavez>//
- **[5bb4ad737](https://github.com/facebook/react/commit/5bb4ad737 )**: Added ErrorBoundary tests for useEffect and useLayoutEffect (#14401 ) //<Brian Vaughn>//
- **[98eb5ae53](https://github.com/facebook/react/commit/98eb5ae53 )**: TestRenderer toJSON should not expose the Array wrapper Suspense uses for hidden trees (#14392 ) //<Brian Vaughn>//
- **[39489e767](https://github.com/facebook/react/commit/39489e767 )**: Enable hooks in fabric (#14301 ) //<Spencer Ahrens>//
- **[1dc108e58](https://github.com/facebook/react/commit/1dc108e58 )**: Tweaked wording for v8 "performance cliff" issue //<Brian Vaughn>//
Release Notes:
[GENERAL] [Changed] - React sync for revisions 6bf5e85...aa94237 (React 16.8.1)
Pull Request resolved: https://github.com/facebook/react-native/pull/23320
Reviewed By: rickhanlonii
Differential Revision: D13976467
fbshipit-source-id: 4ce198e86a54658e1c35aa36bffe4a7dc2956a2e
2019-02-08 07:08:10 -08:00
Paco Estevez Garcia
5ee738659b
Update xplat/js to 0.92.0
...
Summary: This diff updates `xplat/js` to Flow 0.92.0
Reviewed By: panagosg7
Differential Revision: D13917049
fbshipit-source-id: 69613182badecd4c23aef25b79f7380d5604a13b
2019-02-01 09:35:42 -08:00
Ram N
02697291ff
Remove TabbarIOS from OSS
...
Reviewed By: fkgozali
Differential Revision: D13858496
fbshipit-source-id: ba9dd9912f4abcbeb3326f412ec91be9bee9cfd3
2019-01-30 23:41:40 -08:00
Mike Grabowski
1add9b4f08
Update few files after syncing changes:
2019-01-28 15:08:34 +01:00
Mike Grabowski
9d19ab0c0c
Bring missing changes to 0.58-stable branch
...
This reverts commit b864e7e63e
.
2019-01-28 14:56:57 +01:00
Mike Grabowski
1af390be19
Update references to the CLI ( #23052 )
...
Summary:
This updates React Native to use latest CLI. We also create Metro configuration, because CLI looks for React Native in "node_modules" by default. Since we are running React Native from source, it will fail to find required files.
To avoid hacky logic to detect if we are running from source backed into the CLI, I decided to leverage the Metro configuration instead.
Pull Request resolved: https://github.com/facebook/react-native/pull/23052
Reviewed By: rickhanlonii
Differential Revision: D13719938
Pulled By: cpojer
fbshipit-source-id: 1f40a40b3cdbb07ccd42daf75feb457556d3e40f
2019-01-21 09:13:08 -08:00
Jordan Brown
be51dbc214
@allow-large-files [flow] Bump xplat/js to 0.91 and remove unused suppressions
...
Summary: Upgrades flow in xplat/js to 0.91. This diff also adds and removes suppressions.
Reviewed By: samwgoldman
Differential Revision: D13720697
fbshipit-source-id: 1bf8830ce286db92277476a2d2404cf0c0dddca2
2019-01-18 14:47:53 -08:00
Brian Vaughn
b0db2d71b9
Updated React DevTools to ^3.6.0
...
Summary:
Updated DevTools to latest release to add "hooks" support.
`js1 upgrade react-devtools -v ^3.6.0`
Reviewed By: threepointone
Differential Revision: D13663129
fbshipit-source-id: 58942cc8ac0ecc7be55f8ff32937ad8bda531240
2019-01-17 09:53:51 -08:00
Sam Goldman
2c7895706d
@allow-large-files Deploy Flow v0.90 to xplat/js
...
Reviewed By: dsainati1
Differential Revision: D13708161
fbshipit-source-id: b83dab505f2739bf4bc5077936e71ebd1800eaf4
2019-01-16 21:55:02 -08:00
Rafael Oleza
f88ce82627
Upgrade metro packages on React Native
...
Summary: bumpit
Reviewed By: jeanlauliac
Differential Revision: D13504233
fbshipit-source-id: c399ec831b5d06be89f5132892905c08bc464d50
2018-12-21 04:19:57 -08:00
Eli White
a3c6e1da10
Open source the Codegen!
...
Summary:
This is very much a work in progress. Moving it into the open source repo to be able to hook it up to generate some Fabric files.
Will continue to iterate on it in the open.
Reviewed By: hramos, mdvacca
Differential Revision: D13500969
fbshipit-source-id: 79082447dc52b5834f24eb72bc6e07200b324238
2018-12-20 11:58:11 -08:00
Ivan Filenko
d8f28ceef8
Bump ws package to 1.1.5 due to vulnerability issues ( #21769 )
...
Summary:
Update `ws` package from 1.1.0 to 1.1.5 due to vulnerability issues.
Here is `npm audit` report:
```
=== npm audit security report ===
┌──────────────────────────────────────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Denial of Service │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >= 1.1.5 <2.0.0 || >=3.3.1 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ c635d8a886cde7688a0123f573cc5b1f0430780052ba848c8fa1dc8a4c3… │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ c635d8a886cde7688a0123f573cc5b1f0430780052ba848c8fa1dc8a4c3… │
│ │ > react-devtools-core > ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://nodesecurity.io/advisories/550 │
└───────────────┴──────────────────────────────────────────────────────────────┘
```
Pull Request resolved: https://github.com/facebook/react-native/pull/21769
Reviewed By: hramos
Differential Revision: D10379892
Pulled By: cpojer
fbshipit-source-id: 9d03f8231a90c5f55eb95ccac029aedd45a49a2d
2018-12-17 19:52:32 +01:00
glevi@fb.com
24f8d4d3db
Deploy v0.89
...
Reviewed By: jbrown215
Differential Revision: D13457087
fbshipit-source-id: 9f01371ae3515990c5595f1eb2361174050066b8
2018-12-14 13:57:50 -08:00
Rafael Oleza
f5cb4b68eb
Remove metro dependency from react native
...
Summary:
This diff removes the dependency of `metro` on `react-native` by using the newly created `metro-react-native-babel-transformer` package.
This package does not depend on any other internal metro logic and this will decouple RN from metro a bit more.
Reviewed By: cpojer
Differential Revision: D13434949
fbshipit-source-id: a02a3b327c71cef53111514b797f7d6bc9f9d71c
2018-12-14 08:15:09 -08:00
Blair Vanderhoof
4ed3344275
Update react-test-renderer to support hooks
...
Summary: The current version of react-test-renderer is throwing an error when we use hooks. Upgrading to 16.7.0-alpha.2 fixes it.
Reviewed By: sahrens
Differential Revision: D13104634
fbshipit-source-id: ac7f8d603293907c8653e247563a4d12413b10b9
2018-12-12 14:39:34 -08:00
Rafael Oleza
c9dc1c68a2
Create metro-react-native-babel-transformer package
...
Summary:
By having this package we can remove the dependency from `react-native` to `metro` and then unblock the releases of metro to npm.
We cannot use this package yet from `react-native` since it hasn't been published, what I'm gonna do here is the following:
1. Land this diff
2. Publish manually a version of `metro-react-native-babel-transformer@0.50.0` once this diff lands.
3. Update the RN repo to depend on `metro-react-native-babel-transformer` instead of `metro`.
Then we should be able to publish versions of metro :)
Differential Revision: D13432231
fbshipit-source-id: 522152e32162cc5fc40aea2fa4c8fd53c528e2e3
2018-12-12 09:42:15 -08:00
Nat Mote
aaa4a38fbc
Upgrade to Flow v0.88.0
...
Summary:
allow-large-files
https://our.intern.facebook.com/intern/wiki/Flow/Flow_Release_Process/#update-xplat-js
Reviewed By: samwgoldman
Differential Revision: D13418170
fbshipit-source-id: 91ab0d2788c1061b8c81a39f8a017eedea48abe2
2018-12-11 20:01:00 -08:00
Mike Grabowski
c0bf7a128c
[0.58.0-rc.1] Bump version numbers
2018-12-06 09:39:36 +01:00
Tim Yung
e54d1e27ea
React sync for revisions 3ff2c7c...6bf5e85
...
Summary:
@public
This sync includes the following changes:
- **[6bf5e8598](https://github.com/facebook/react/commit/6bf5e8598 )**: Fix scheduler setTimeout() re-entrancy check (#14384 ) //<Brian Vaughn>//
- **[7a48c900b](https://github.com/facebook/react/commit/7a48c900b )**: Prevent a v8 deopt when profiling (#14383 ) //<Brian Vaughn>//
- **[f00c2755b](https://github.com/facebook/react/commit/f00c2755b )**: Removed unnecessary externals from Jest bundles (#14372 ) //<Brian Vaughn>//
- **[52bea95cf](https://github.com/facebook/react/commit/52bea95cf )**: Fixed scheduler setTimeout fallback (#14358 ) //<Brian Vaughn>//
- **[1d25aa578](https://github.com/facebook/react/commit/1d25aa578 )**: [Fizz] New Server Rendering Infra (#14144 ) //<Sebastian Markbåge>//
- **[f1bf28160](https://github.com/facebook/react/commit/f1bf28160 )**: Fix bug in cloneHook (#14364 ) //<Imre Osswald>//
- **[16e120438](https://github.com/facebook/react/commit/16e120438 )**: [Fire] Add initial build infrastructure (#14359 ) //<Dan Abramov>//
- **[d14ba87b1](https://github.com/facebook/react/commit/d14ba87b1 )**: Validate propTypes for lazy() and memo() and warn about invalid patterns (#14298 ) //<Dan Abramov>//
- **[4f964f09c](https://github.com/facebook/react/commit/4f964f09c )**: Adding isMemo check to react-is package (#14313 ) //<Jinto Jose>//
- **[c2a2d8a53](https://github.com/facebook/react/commit/c2a2d8a53 )**: Remove useMutationEffect (#14336 ) //<Sophie Alpert>//
- **[48f1e5b3c](https://github.com/facebook/react/commit/48f1e5b3c )**: Add a null type test for memo (#14325 ) //<chun shang>//
- **[f93f3402f](https://github.com/facebook/react/commit/f93f3402f )**: Make useEffect(async) warning more verbose (#14327 ) //<Dan Abramov>//
- **[ee3ef3a07](https://github.com/facebook/react/commit/ee3ef3a07 )**: Fix regression: Errors not emitted in streams (#14314 ) //<Pelle Wessman>//
- **[33f6f5e53](https://github.com/facebook/react/commit/33f6f5e53 )**: Remove usage of `fbjs/lib/invariant` in ReactNativeViewConfigRegistry. (#14330 ) //<Christoph Nakazawa>//
- **[686f1060a](https://github.com/facebook/react/commit/686f1060a )**: Publish a local release (canary or stable) to NPM (#14260 ) //<Brian Vaughn>//
- **[7475120ce](https://github.com/facebook/react/commit/7475120ce )**: Prevent deopts from modifying exports object in stable builds (#14309 ) //<Dan Abramov>//
- **[0c7189d92](https://github.com/facebook/react/commit/0c7189d92 )**: Fix resolution of outer props with React.memo() (#14312 ) //<Dan Abramov>//
- **[14be29b2b](https://github.com/facebook/react/commit/14be29b2b )**: Add more test coverage for nested memo() (#14311 ) //<Dan Abramov>//
- **[dc0dd4bbf](https://github.com/facebook/react/commit/dc0dd4bbf )**: Use |0 to coerce to number (#14297 ) //<Dan Abramov>//
- **[dd8205cef](https://github.com/facebook/react/commit/dd8205cef )**: List ignored types instead of included types in the stack (#14308 ) //<Dan Abramov>//
- **[a9fdf8a32](https://github.com/facebook/react/commit/a9fdf8a32 )**: Warn about reassigning this.props (#14277 ) //<Dan Abramov>//
- **[327cf0ee3](https://github.com/facebook/react/commit/327cf0ee3 )**: Fix support for mixing react-dom/server@16.6 and react@<16.6 (#14291 ) //<Dan Abramov>//
- **[c954efa70](https://github.com/facebook/react/commit/c954efa70 )**: Remove `import * as` pattern from the codebase (#14282 ) //<Sebastian Markbåge>//
- **[ccb14e270](https://github.com/facebook/react/commit/ccb14e270 )**: Fix SSR useCallback in render phase (#14279 ) //<Dan Abramov>//
- **[0e9cb3f5d](https://github.com/facebook/react/commit/0e9cb3f5d )**: Clear fields on unmount of fiber to avoid memory leak (#14276 ) //<Dominic Gannaway>//
- **[592676503](https://github.com/facebook/react/commit/592676503 )**: Revert "Clear memoizedState on unmount of fiber to avoid memory leak (#14218 )" (#14275 ) //<Dominic Gannaway>//
- **[9b2fb24f9](https://github.com/facebook/react/commit/9b2fb24f9 )**: Clear memoizedState on unmount of fiber to avoid memory leak (#14218 ) //<Dominic Gannaway>//
- **[a22fabc2a](https://github.com/facebook/react/commit/a22fabc2a )**: Reduce scheduler serialization overhead (#14249 ) //<Jason Miller>//
- **[21d5f7d32](https://github.com/facebook/react/commit/21d5f7d32 )**: Wrap shorthand CSS property collision warning in feature flag (#14245 ) //<Andrew Clark>//
- **[8feeed10d](https://github.com/facebook/react/commit/8feeed10d )**: [scheduler] Remove window.postMessage fallback //<Andrew Clark>//
- **[5bce0ef10](https://github.com/facebook/react/commit/5bce0ef10 )**: [scheduler] Post to MessageChannel instead of window (#14234 ) //<Andrew Clark>//
- **[f55795c8e](https://github.com/facebook/react/commit/f55795c8e )**: Add regression test for #14188 (#14197 ) //<Dan Abramov>//
- **[b98adb648](https://github.com/facebook/react/commit/b98adb648 )**: Simplify CSS shorthand property warning (#14183 ) //<Sophie Alpert>//
- **[f8bfd5868](https://github.com/facebook/react/commit/f8bfd5868 )**: fix typo //<Sebastian Markbage>//
- **[961eb65b4](https://github.com/facebook/react/commit/961eb65b4 )**: Use unique thread ID for each partial render to access Context (#14182 ) //<Sebastian Markbåge>//
- **[1a6ab1e9b](https://github.com/facebook/react/commit/1a6ab1e9b )**: SimpleMemoComponent should warn if a ref is given (#14178 ) //<Sophie Alpert>//
- **[8ae867e6b](https://github.com/facebook/react/commit/8ae867e6b )**: Warn about conflicting style values during updates (#14181 ) //<Sophie Alpert>//
- **[d5e1bf07d](https://github.com/facebook/react/commit/d5e1bf07d )**: Renamed outdated schedule/tracing referecnes (#14177 ) //<Brian Vaughn>//
- **[2dd4ba11e](https://github.com/facebook/react/commit/2dd4ba11e )**: ESlint -> ESLint //<Andrew Clark>//
- **[9cc631a53](https://github.com/facebook/react/commit/9cc631a53 )**: Don't run danger on bad build (#14143 ) //<Sophie Alpert>//
- **[1034e26fe](https://github.com/facebook/react/commit/1034e26fe )**: Fix typos (#14124 ) //<Heaven>//
- **[5618da49d](https://github.com/facebook/react/commit/5618da49d )**: Fix comment typo (#14156 ) //<Bartosz Gordon>//
- **[9fb919945](https://github.com/facebook/react/commit/9fb919945 )**: Add global to ESLint plugin bundle config //<Andrew Clark>//
- **[c174f8592](https://github.com/facebook/react/commit/c174f8592 )**: Add fb build of ESLint plugin (#14165 ) //<Andrew Clark>//
- **[02e4848e3](https://github.com/facebook/react/commit/02e4848e3 )**: Improved suspense support in ReactDOMServer (#14161 ) //<Alex Taylor>//
- **[4b163fee1](https://github.com/facebook/react/commit/4b163fee1 )**: Remove errant return assignment (#14164 ) //<Andrew Clark>//
- **[e58ecda9a](https://github.com/facebook/react/commit/e58ecda9a )**: Suspense fuzz tester (#14147 ) //<Andrew Clark>//
- **[7fd1661f8](https://github.com/facebook/react/commit/7fd1661f8 )**: Don't warn if an unmounted component is pinged (#14158 ) //<Andrew Clark>//
- **[f9e9913f0](https://github.com/facebook/react/commit/f9e9913f0 )**: [Synchronous Suspense] Don't delete children of suspended component (#14157 ) //<Andrew Clark>//
- **[7c560131b](https://github.com/facebook/react/commit/7c560131b )**: Adding logger pri (#14155 ) //<Nathan Schloss>//
- **[3d8bda70e](https://github.com/facebook/react/commit/3d8bda70e )**: Refactor ESLint configuration to enable better IDE integration (#13914 ) //<Minh Nguyen>//
- **[051272f20](https://github.com/facebook/react/commit/051272f20 )**: Use Entry in `yarn build ...` Instead of Label (#14148 ) //<Sebastian Markbåge>//
Release Notes:
[GENERAL] [FEATURE] [React] - React sync for revisions 3ff2c7c...6bf5e85
Reviewed By: bvaughn
Differential Revision: D13288288
fbshipit-source-id: 89a4837a9198c53fc79306933f589ef25d8bb4b6
2018-12-04 15:38:21 +01:00
Ivan Filenko
96ce6f9538
Bump ws package to 1.1.5 due to vulnerability issues ( #21769 )
...
Summary:
Update `ws` package from 1.1.0 to 1.1.5 due to vulnerability issues.
Here is `npm audit` report:
```
=== npm audit security report ===
┌──────────────────────────────────────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Denial of Service │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >= 1.1.5 <2.0.0 || >=3.3.1 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ c635d8a886cde7688a0123f573cc5b1f0430780052ba848c8fa1dc8a4c3… │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ c635d8a886cde7688a0123f573cc5b1f0430780052ba848c8fa1dc8a4c3… │
│ │ > react-devtools-core > ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://nodesecurity.io/advisories/550 │
└───────────────┴──────────────────────────────────────────────────────────────┘
```
Pull Request resolved: https://github.com/facebook/react-native/pull/21769
Reviewed By: hramos
Differential Revision: D10379892
Pulled By: cpojer
fbshipit-source-id: 9d03f8231a90c5f55eb95ccac029aedd45a49a2d
2018-12-03 22:21:56 -08:00
Tim Yung
073ad6a036
React sync for revisions 3ff2c7c...6bf5e85
...
Summary:
@public
This sync includes the following changes:
- **[6bf5e8598](https://github.com/facebook/react/commit/6bf5e8598 )**: Fix scheduler setTimeout() re-entrancy check (#14384 ) //<Brian Vaughn>//
- **[7a48c900b](https://github.com/facebook/react/commit/7a48c900b )**: Prevent a v8 deopt when profiling (#14383 ) //<Brian Vaughn>//
- **[f00c2755b](https://github.com/facebook/react/commit/f00c2755b )**: Removed unnecessary externals from Jest bundles (#14372 ) //<Brian Vaughn>//
- **[52bea95cf](https://github.com/facebook/react/commit/52bea95cf )**: Fixed scheduler setTimeout fallback (#14358 ) //<Brian Vaughn>//
- **[1d25aa578](https://github.com/facebook/react/commit/1d25aa578 )**: [Fizz] New Server Rendering Infra (#14144 ) //<Sebastian Markbåge>//
- **[f1bf28160](https://github.com/facebook/react/commit/f1bf28160 )**: Fix bug in cloneHook (#14364 ) //<Imre Osswald>//
- **[16e120438](https://github.com/facebook/react/commit/16e120438 )**: [Fire] Add initial build infrastructure (#14359 ) //<Dan Abramov>//
- **[d14ba87b1](https://github.com/facebook/react/commit/d14ba87b1 )**: Validate propTypes for lazy() and memo() and warn about invalid patterns (#14298 ) //<Dan Abramov>//
- **[4f964f09c](https://github.com/facebook/react/commit/4f964f09c )**: Adding isMemo check to react-is package (#14313 ) //<Jinto Jose>//
- **[c2a2d8a53](https://github.com/facebook/react/commit/c2a2d8a53 )**: Remove useMutationEffect (#14336 ) //<Sophie Alpert>//
- **[48f1e5b3c](https://github.com/facebook/react/commit/48f1e5b3c )**: Add a null type test for memo (#14325 ) //<chun shang>//
- **[f93f3402f](https://github.com/facebook/react/commit/f93f3402f )**: Make useEffect(async) warning more verbose (#14327 ) //<Dan Abramov>//
- **[ee3ef3a07](https://github.com/facebook/react/commit/ee3ef3a07 )**: Fix regression: Errors not emitted in streams (#14314 ) //<Pelle Wessman>//
- **[33f6f5e53](https://github.com/facebook/react/commit/33f6f5e53 )**: Remove usage of `fbjs/lib/invariant` in ReactNativeViewConfigRegistry. (#14330 ) //<Christoph Nakazawa>//
- **[686f1060a](https://github.com/facebook/react/commit/686f1060a )**: Publish a local release (canary or stable) to NPM (#14260 ) //<Brian Vaughn>//
- **[7475120ce](https://github.com/facebook/react/commit/7475120ce )**: Prevent deopts from modifying exports object in stable builds (#14309 ) //<Dan Abramov>//
- **[0c7189d92](https://github.com/facebook/react/commit/0c7189d92 )**: Fix resolution of outer props with React.memo() (#14312 ) //<Dan Abramov>//
- **[14be29b2b](https://github.com/facebook/react/commit/14be29b2b )**: Add more test coverage for nested memo() (#14311 ) //<Dan Abramov>//
- **[dc0dd4bbf](https://github.com/facebook/react/commit/dc0dd4bbf )**: Use |0 to coerce to number (#14297 ) //<Dan Abramov>//
- **[dd8205cef](https://github.com/facebook/react/commit/dd8205cef )**: List ignored types instead of included types in the stack (#14308 ) //<Dan Abramov>//
- **[a9fdf8a32](https://github.com/facebook/react/commit/a9fdf8a32 )**: Warn about reassigning this.props (#14277 ) //<Dan Abramov>//
- **[327cf0ee3](https://github.com/facebook/react/commit/327cf0ee3 )**: Fix support for mixing react-dom/server@16.6 and react@<16.6 (#14291 ) //<Dan Abramov>//
- **[c954efa70](https://github.com/facebook/react/commit/c954efa70 )**: Remove `import * as` pattern from the codebase (#14282 ) //<Sebastian Markbåge>//
- **[ccb14e270](https://github.com/facebook/react/commit/ccb14e270 )**: Fix SSR useCallback in render phase (#14279 ) //<Dan Abramov>//
- **[0e9cb3f5d](https://github.com/facebook/react/commit/0e9cb3f5d )**: Clear fields on unmount of fiber to avoid memory leak (#14276 ) //<Dominic Gannaway>//
- **[592676503](https://github.com/facebook/react/commit/592676503 )**: Revert "Clear memoizedState on unmount of fiber to avoid memory leak (#14218 )" (#14275 ) //<Dominic Gannaway>//
- **[9b2fb24f9](https://github.com/facebook/react/commit/9b2fb24f9 )**: Clear memoizedState on unmount of fiber to avoid memory leak (#14218 ) //<Dominic Gannaway>//
- **[a22fabc2a](https://github.com/facebook/react/commit/a22fabc2a )**: Reduce scheduler serialization overhead (#14249 ) //<Jason Miller>//
- **[21d5f7d32](https://github.com/facebook/react/commit/21d5f7d32 )**: Wrap shorthand CSS property collision warning in feature flag (#14245 ) //<Andrew Clark>//
- **[8feeed10d](https://github.com/facebook/react/commit/8feeed10d )**: [scheduler] Remove window.postMessage fallback //<Andrew Clark>//
- **[5bce0ef10](https://github.com/facebook/react/commit/5bce0ef10 )**: [scheduler] Post to MessageChannel instead of window (#14234 ) //<Andrew Clark>//
- **[f55795c8e](https://github.com/facebook/react/commit/f55795c8e )**: Add regression test for #14188 (#14197 ) //<Dan Abramov>//
- **[b98adb648](https://github.com/facebook/react/commit/b98adb648 )**: Simplify CSS shorthand property warning (#14183 ) //<Sophie Alpert>//
- **[f8bfd5868](https://github.com/facebook/react/commit/f8bfd5868 )**: fix typo //<Sebastian Markbage>//
- **[961eb65b4](https://github.com/facebook/react/commit/961eb65b4 )**: Use unique thread ID for each partial render to access Context (#14182 ) //<Sebastian Markbåge>//
- **[1a6ab1e9b](https://github.com/facebook/react/commit/1a6ab1e9b )**: SimpleMemoComponent should warn if a ref is given (#14178 ) //<Sophie Alpert>//
- **[8ae867e6b](https://github.com/facebook/react/commit/8ae867e6b )**: Warn about conflicting style values during updates (#14181 ) //<Sophie Alpert>//
- **[d5e1bf07d](https://github.com/facebook/react/commit/d5e1bf07d )**: Renamed outdated schedule/tracing referecnes (#14177 ) //<Brian Vaughn>//
- **[2dd4ba11e](https://github.com/facebook/react/commit/2dd4ba11e )**: ESlint -> ESLint //<Andrew Clark>//
- **[9cc631a53](https://github.com/facebook/react/commit/9cc631a53 )**: Don't run danger on bad build (#14143 ) //<Sophie Alpert>//
- **[1034e26fe](https://github.com/facebook/react/commit/1034e26fe )**: Fix typos (#14124 ) //<Heaven>//
- **[5618da49d](https://github.com/facebook/react/commit/5618da49d )**: Fix comment typo (#14156 ) //<Bartosz Gordon>//
- **[9fb919945](https://github.com/facebook/react/commit/9fb919945 )**: Add global to ESLint plugin bundle config //<Andrew Clark>//
- **[c174f8592](https://github.com/facebook/react/commit/c174f8592 )**: Add fb build of ESLint plugin (#14165 ) //<Andrew Clark>//
- **[02e4848e3](https://github.com/facebook/react/commit/02e4848e3 )**: Improved suspense support in ReactDOMServer (#14161 ) //<Alex Taylor>//
- **[4b163fee1](https://github.com/facebook/react/commit/4b163fee1 )**: Remove errant return assignment (#14164 ) //<Andrew Clark>//
- **[e58ecda9a](https://github.com/facebook/react/commit/e58ecda9a )**: Suspense fuzz tester (#14147 ) //<Andrew Clark>//
- **[7fd1661f8](https://github.com/facebook/react/commit/7fd1661f8 )**: Don't warn if an unmounted component is pinged (#14158 ) //<Andrew Clark>//
- **[f9e9913f0](https://github.com/facebook/react/commit/f9e9913f0 )**: [Synchronous Suspense] Don't delete children of suspended component (#14157 ) //<Andrew Clark>//
- **[7c560131b](https://github.com/facebook/react/commit/7c560131b )**: Adding logger pri (#14155 ) //<Nathan Schloss>//
- **[3d8bda70e](https://github.com/facebook/react/commit/3d8bda70e )**: Refactor ESLint configuration to enable better IDE integration (#13914 ) //<Minh Nguyen>//
- **[051272f20](https://github.com/facebook/react/commit/051272f20 )**: Use Entry in `yarn build ...` Instead of Label (#14148 ) //<Sebastian Markbåge>//
Release Notes:
[GENERAL] [FEATURE] [React] - React sync for revisions 3ff2c7c...6bf5e85
Reviewed By: bvaughn
Differential Revision: D13288288
fbshipit-source-id: 89a4837a9198c53fc79306933f589ef25d8bb4b6
2018-12-03 16:29:53 -08:00
Mike Grabowski
cb6eb03776
Extract out CLI ( #22337 )
...
Summary:
Continuation of https://github.com/facebook/react-native/pull/22174 with an exception that `local-cli` folder is left in React Native repository to keep Facebook internal and React Native calls still working.
Separate strategy should be developed to remove all uses of `local-cli` in favor of dedicated utilities.
Pull Request resolved: https://github.com/facebook/react-native/pull/22337
Reviewed By: TheSavior
Differential Revision: D13172898
Pulled By: cpojer
fbshipit-source-id: 0217867f9944648307475ebe629eb729da7bfaaf
2018-12-02 22:21:43 -08:00
Héctor Ramos
69e9c9d371
Add Coveralls to package.json [1/2] ( #21017 )
...
Summary:
Adds a new step to the test suite. Test coverage is now collected and sent to Coveralls.
Initial configuration is limited to the Libraries/ and local-cli/ directories. Please let me know if additional directories should be considered.
I have enabled this repo on the coveralls service. The coveralls token has been added to React Native's Circle CI environment variables.
- Track coverage on PRs, and fail PRs that lower the coverage %
- Increase coverage :)
[INTERNAL] [ENHANCEMENT] [.circleci/config.yml] - Start tracking code coverage (JS)
Pull Request resolved: https://github.com/facebook/react-native/pull/21017
Differential Revision: D9724396
Pulled By: hramos
fbshipit-source-id: 61da4478877805f9a9a3c9670b54ddc4e40e958b
2018-11-30 19:49:00 -08:00
Rafael Oleza
8d68a3e9f1
Upgrade metro in RN
...
Summary: Upgrade metro, yay! :)
Reviewed By: hramos
Differential Revision: D13267399
fbshipit-source-id: 37ec0daa2a282f56a70db0dfdfbf40e361813a15
2018-11-30 02:58:24 -08:00
Panagiotis Vekris
ef2084c6bd
0.87.0 in xplat/js
...
Summary: allow-large-files
Reviewed By: samwgoldman
Differential Revision: D13230018
fbshipit-source-id: f07e2371a3b7382de0592cc7c7b20e7f4faa6889
2018-11-28 17:32:50 -08:00
Tim Yung
4355b2df1b
JS: Upgrade to `chalk@^2.4.1`
...
Summary: Upgrades to `chalk@^2.4.1`. Verified no dependencies to the breaking changes in `chalk@2.0.0`.
Reviewed By: cpojer
Differential Revision: D13192150
fbshipit-source-id: 27a1a53d50a3c7628528a4f21e7166d452b2f205
2018-11-27 23:33:56 -08:00
Rafael Oleza
3355c52467
Bump metro version in React Native
...
Summary: This is the tweak on the release process of metro: after publishing D13075199 and releasing a new version of Metro, this diff upgrades it in RN along with its yarn.lock file. This should allow us to publish new versions of metro without breaking the RN sanity scripts (or disable them).
Reviewed By: hramos
Differential Revision: D13084224
fbshipit-source-id: 19781ae142db11d7dd8b6ca4303366f7ccb32dcc
2018-11-22 12:27:10 -08:00
Mike Grabowski
e0ea58ecbd
Add missing Metro Config
2018-11-22 18:18:37 +01:00
Mike Grabowski
b864e7e63e
Revert "Merge branch 'master' into 0.58-stable"
...
This reverts commit 696bd89013
, reversing
changes made to a525941ab6
.
2018-11-22 17:53:44 +01:00
Panagiotis Vekris
8fb228f313
Flow v0.86.0 in xplat/js
...
Summary:
allow-large-files
bypass-lint
ignore-conflict-markers
ignore-signed-source
ignore-nocommit
drop-conflicts
Reviewed By: yungsters
Differential Revision: D13081129
fbshipit-source-id: fbb0ccaf3c0a2f224a56f6f6ac6c26811ebba583
2018-11-16 10:43:16 -08:00
Spencer Ahrens
a00940693e
New TextInput-test that would have prevented S168585
...
Summary: Adds a basic test that would have prevented S168585. We should expand coverage of this and other components as well.
Reviewed By: TheSavior
Differential Revision: D13038064
fbshipit-source-id: 14cf4742efd53d7bca2a3f8d1c5c34ebc6227674
2018-11-15 20:51:52 -08:00
Brian Vaughn
aacb06c594
Fix React Native AsyncMode and DevTools
...
Summary:
Fixes two problems I uncovered with React Native:
1. `FBCore/Prelude` points to `React.unstable_AsyncMode` which is not defined. (This type was renamed to `React.unstable_ConcurrentMode` in React v16.6.0. **As a result** people in the "react_native:async_rendering" GK will no longer get runtime errors on app start.
2. Updates `react-devtools` and (more importantly) `react-devtools-core` to 3.4.2 to handle the React-internal tag/type refactoring that happened prior to the release of 16.6.0. **As a result** DevTools will no longer cause a runtime error when connected to React Native.
For the second change, I ran `js1 upgrade react-devtools -v ^3.4.2`
Reviewed By: sebmarkbage
Differential Revision: D13030590
fbshipit-source-id: 603f7f6259f282839039820bcdba4310064a7965
2018-11-15 09:26:01 -08:00
Stephy Ma
984eef8f9e
Revert D12994045: Flow v0.86.0 in xplat/js [3/n]
...
Differential Revision:
D12994045
Original commit changeset: 04552bf081ba
fbshipit-source-id: 062b367b88a966a6efc895c99e9911f0ec0fe8ff
2018-11-14 23:04:04 -08:00
Panagiotis Vekris
43ad3a64e6
Flow v0.86.0 in xplat/js [3/n]
...
Summary:
allow-large-files
bypass-lint
ignore-conflict-markers
ignore-signed-source
ignore-nocommit
drop-conflicts
Reviewed By: avikchaudhuri
Differential Revision: D12994045
fbshipit-source-id: 04552bf081ba742de58e80fba08f8280cb86b1c3
2018-11-14 22:13:27 -08:00
Rafael Oleza
06c13b3e06
Upgrade jest to v24.0.0-alpha.6
...
Summary: yayyay
Reviewed By: mjesun
Differential Revision: D13027838
fbshipit-source-id: ce51a82fa4c6dfa62e202e52c2733d161ae52883
2018-11-14 15:26:55 -08:00
Héctor Ramos
11d4512abf
Update React Native OSS Yarn and Gradle caches
...
Summary:
Update the yarn lockfile.
Add `metro/src/DeltaBundler/Serializers/plainJSBundle` definition to OSS Flow config.
Reviewed By: fkgozali, axe-fb
Differential Revision: D13046780
fbshipit-source-id: f7f68edacc6a4ed61c9e7b269e49148f915249cb
2018-11-13 18:57:26 -08:00
Emily Janzer
8d5d144046
Update oss lockfile
...
Summary: Updating lockfile to fix open source sanity test.
Reviewed By: hramos
Differential Revision: D12982917
fbshipit-source-id: 1e2f0abadf6e76b67215b70b8c71dea1c2c05bff
2018-11-08 12:24:11 -08:00
Tim Yung
0cb59b5c23
React sync for revisions 4773fdf...3ff2c7c
...
Summary:
@public
This sync includes the following changes:
- **[3ff2c7ccd](https://github.com/facebook/react/commit/3ff2c7ccd )**: Invalid actualDuration+treeBaseDuration for hidden+suspended trees (#14065 ) //<Brian Vaughn>//
- **[5afa1c4ed](https://github.com/facebook/react/commit/5afa1c4ed )**: Tag MemoComponent with PerformedWork effectTag for DevTools Profiler (#14141 ) //<Brian Vaughn>//
- **[e27720d7f](https://github.com/facebook/react/commit/e27720d7f )**: [Synchronous Suspense] Reuse deletions from primary tree (#14133 ) //<Andrew Clark>//
- **[aa1ffe4e7](https://github.com/facebook/react/commit/aa1ffe4e7 )**: Show deprecated context object warnings usage in ReactDOM server (#14033 ) //<Dominic Gannaway>//
- **[e3a7b9645](https://github.com/facebook/react/commit/e3a7b9645 )**: Make react-debug-tools a private package //<Andrew Clark>//
- **[ba1984423](https://github.com/facebook/react/commit/ba1984423 )**: Update bundle sizes for 16.6.1 release //<Andrew Clark>//
- **[b50e63ef5](https://github.com/facebook/react/commit/b50e63ef5 )**: Updating package versions for release 16.6.1 //<Andrew Clark>//
- **[8f2c89e96](https://github.com/facebook/react/commit/8f2c89e96 )**: Make react-debug-tools a private package //<Andrew Clark>//
- **[2aecbcd6f](https://github.com/facebook/react/commit/2aecbcd6f )**: "functional component" -> "function component" (#14123 ) //<locknono>//
- **[b4608dd24](https://github.com/facebook/react/commit/b4608dd24 )**: Remove unused simulated flag parameter (#14127 ) //<Nadav Kaner>//
- **[3c69a1881](https://github.com/facebook/react/commit/3c69a1881 )**: Recover from errors with a boundary in completion phase (#14104 ) //<Dan Abramov>//
- **[b020fb114](https://github.com/facebook/react/commit/b020fb114 )**: Check correct commit phase props in fuzz tester (#14129 ) //<Andrew Clark>//
- **[b67c1a2ee](https://github.com/facebook/react/commit/b67c1a2ee )**: Add DEV-only checks for assumption about instance properties (#14128 ) //<Dan Abramov>//
- **[f777d196e](https://github.com/facebook/react/commit/f777d196e )**: Fix lazy() with defaultProps (#14112 ) //<Dan Abramov>//
- **[e4512991c](https://github.com/facebook/react/commit/e4512991c )**: Fix unhiding in IE11 (#14126 ) //<Sophie Alpert>//
- **[affb2b50c](https://github.com/facebook/react/commit/affb2b50c )**: Enable hooks in www test renderer, too //<Andrew Clark>//
- **[0a0f503d5](https://github.com/facebook/react/commit/0a0f503d5 )**: Enable hooks in www build (#14116 ) //<Andrew Clark>//
- **[600651e68](https://github.com/facebook/react/commit/600651e68 )**: Restore the Hooks dispatcher after using SSR (#14105 ) //<Dan Abramov>//
- **[e9a2ec915](https://github.com/facebook/react/commit/e9a2ec915 )**: [suspense] Avoid double commit by re-rendering immediately and reusing primary children (#14083 ) //<Andrew Clark>//
- **[9d47143e8](https://github.com/facebook/react/commit/9d47143e8 )**: Implement {,un}hideInstance on RN renderer (#14115 ) //<Sophie Alpert>//
- **[ebdb47d2c](https://github.com/facebook/react/commit/ebdb47d2c )**: DCE hooks code when flag is off (#14111 ) //<Sophie Alpert>//
- **[8b87ebf5b](https://github.com/facebook/react/commit/8b87ebf5b )**: Rename .internal tests that aren't using internals (#14109 ) //<Sophie Alpert>//
- **[da04058a9](https://github.com/facebook/react/commit/da04058a9 )**: Use Function.prototype.apply in warningWithoutStack (#14107 ) //<Sophie Alpert>//
- **[fd1256a56](https://github.com/facebook/react/commit/fd1256a56 )**: Add Debug Tools Package for Introspection of Hooks (#14085 ) //<Sebastian Markbåge>//
- **[b305c4e03](https://github.com/facebook/react/commit/b305c4e03 )**: fix(react-dom): Fix crash during server render (#14103 ) //<Tiago Nunes>//
- **[d34d1c3ba](https://github.com/facebook/react/commit/d34d1c3ba )**: react-reconciler: Update README.md (#13953 ) //<Marcelo Jorge Vieira>//
- **[6c404d82a](https://github.com/facebook/react/commit/6c404d82a )**: Bugfix: Add back early return in setOffsets which was removed between 16.4.2 and 16.5.0. Fails in Edge in some scenarios. (#14095 ) //<einarq>//
- **[8eca0eff8](https://github.com/facebook/react/commit/8eca0eff8 )**: chore(tests): don't rely on jest fake timers scheduling real timers (#14003 ) //<Simen Bekkhus>//
- **[293fed899](https://github.com/facebook/react/commit/293fed899 )**: Warn for bad useEffect return value (#14069 ) //<Sophie Alpert>//
- **[ae196e84b](https://github.com/facebook/react/commit/ae196e84b )**: Rename inputsAreEqual to areHookInputsEqual & move it to shared (#14036 ) //<Mateusz Burzyński>//
- **[c898020e0](https://github.com/facebook/react/commit/c898020e0 )**: Warn for forwardRef(memo(...)) (#14070 ) //<Sophie Alpert>//
- **[bf9fadfcf](https://github.com/facebook/react/commit/bf9fadfcf )**: [Hooks] Remove dispatch callbacks (#14037 ) //<Andrew Clark>//
- **[8c67bbf18](https://github.com/facebook/react/commit/8c67bbf18 )**: [scheduler] Deadline object -> shouldYield (#14025 ) //<Andrew Clark>//
- **[e02086bfc](https://github.com/facebook/react/commit/e02086bfc )**: Warn about variable number of dependencies //<Andrew Clark>//
- **[b92cdef64](https://github.com/facebook/react/commit/b92cdef64 )**: Rename ReactHooks test suite //<Andrew Clark>//
- **[6efbbe068](https://github.com/facebook/react/commit/6efbbe068 )**: Prettier //<Sophie Alpert>//
- **[504576306](https://github.com/facebook/react/commit/504576306 )**: Swap order of function member in hook union types //<Andrew Clark>//
- **[ddbfe2ed5](https://github.com/facebook/react/commit/ddbfe2ed5 )**: Add ESLint rule for React Hooks //<Caleb Meredith>//
- **[acb489963](https://github.com/facebook/react/commit/acb489963 )**: Clear effect tags from a fiber that suspends in non-concurrent mode //<Andrew Clark>//
- **[933b64710](https://github.com/facebook/react/commit/933b64710 )**: Disable hook update callback (2nd arg to setState/dispatch) //<Andrew Clark>//
- **[5fc84efac](https://github.com/facebook/react/commit/5fc84efac )**: Skip updating effect tag when skipping effect //<Sophie Alpert>//
- **[9f34eb79a](https://github.com/facebook/react/commit/9f34eb79a )**: Add readContext to ReactPartialRendererHooks //<Alex Taylor>//
- **[f7cb9d2b2](https://github.com/facebook/react/commit/f7cb9d2b2 )**: Warn about useContext(Consumer|Provider) //<Dan Abramov>//
- **[63cc7d2b3](https://github.com/facebook/react/commit/63cc7d2b3 )**: Test useContext in pure, forwardRef, and PureComponent //<Dan Abramov>//
- **[3a7c6da8d](https://github.com/facebook/react/commit/3a7c6da8d )**: Make effects actually work with memo //<Sophie Alpert>//
- **[75a1c2e72](https://github.com/facebook/react/commit/75a1c2e72 )**: The Lost Effect, chapter 3 //<Sophie Alpert>//
- **[55a4b1f37](https://github.com/facebook/react/commit/55a4b1f37 )**: memo supports Hooks //<Sophie Alpert>//
- **[30aa4ad55](https://github.com/facebook/react/commit/30aa4ad55 )**: The Lost Effect, chapter 2 //<Sophie Alpert>//
- **[b772e0e26](https://github.com/facebook/react/commit/b772e0e26 )**: "functional component" -> "function component" in hooks error messages //<Sebastian Markbåge>//
- **[9e9e3970e](https://github.com/facebook/react/commit/9e9e3970e )**: Warn for Hook set-state on unmounted component //<Sophie Alpert>//
- **[6514697f0](https://github.com/facebook/react/commit/6514697f0 )**: Make sure deletions don't stop passive effects //<Sophie Alpert>//
- **[dd019d34d](https://github.com/facebook/react/commit/dd019d34d )**: Add support for hooks to ReactDOMServer //<Alex Taylor>//
- **[11d0781ee](https://github.com/facebook/react/commit/11d0781ee )**: Defer useEffect until after paint //<Andrew Clark>//
- **[105f2de54](https://github.com/facebook/react/commit/105f2de54 )**: Put hooks behind feature flag //<Andrew Clark>//
- **[7bee9fbdd](https://github.com/facebook/react/commit/7bee9fbdd )**: Initial hooks implementation //<Andrew Clark>//
- **[37c7fe0a5](https://github.com/facebook/react/commit/37c7fe0a5 )**: Update createRoot warning message based on `enableStableConcurrentModeAPIs` (#14017 ) //<Rauno Freiberg>//
- **[95f98a187](https://github.com/facebook/react/commit/95f98a187 )**: fix typo (#13955 ) //<Joseph>//
- **[e217f2f1a](https://github.com/facebook/react/commit/e217f2f1a )**: Updated comment for getEventModifierState (#13918 ) //<Patrick>//
- **[275e76e83](https://github.com/facebook/react/commit/275e76e83 )**: Enable stable concurrent APIs flag for 16.7 alpha (#13928 ) //<Brian Vaughn>//
- **[8b97a9c36](https://github.com/facebook/react/commit/8b97a9c36 )**: Update bundle sizes for 16.6.0 release //<Dan Abramov>//
- **[6c29eabf7](https://github.com/facebook/react/commit/6c29eabf7 )**: Updating package versions for release 16.6.0 //<Dan Abramov>//
- **[d520b358d](https://github.com/facebook/react/commit/d520b358d )**: Revert all package versions to 16.5.2 state //<Dan Abramov>//
- **[8f1ec7649](https://github.com/facebook/react/commit/8f1ec7649 )**: Bump versions to beta.0 //<Dan Abramov>//
- **[5055a83fa](https://github.com/facebook/react/commit/5055a83fa )**: Revert "Revert "Updating dependencies for react-noop-renderer"" //<Dan Abramov>//
- **[3e8b4a5b8](https://github.com/facebook/react/commit/3e8b4a5b8 )**: Revert "Updating dependencies for react-noop-renderer" //<Brian Vaughn>//
- **[d8e03de4a](https://github.com/facebook/react/commit/d8e03de4a )**: [react-cache] Remove `cache` as argument to `read` (#13865 ) //<Andrew Clark>//
- **[fefa1269e](https://github.com/facebook/react/commit/fefa1269e )**: Revert accidentally committed existence check (#13931 ) //<Andrew Clark>//
- **[80a0c05ce](https://github.com/facebook/react/commit/80a0c05ce )**: Removed react-cache from the bundle list for now (#13930 ) //<BrianVaughn>//
- **[915e4eab5](https://github.com/facebook/react/commit/915e4eab5 )**: Add "unstable_" prefix to react-cache and jest-react (#13929 ) //<Brian Vaughn>//
- **[cbbc2b6c4](https://github.com/facebook/react/commit/cbbc2b6c4 )**: [Synchronous Suspense] Suspending a class outside concurrent mode (#13926 ) //<Andrew Clark>//
- **[4947fcd76](https://github.com/facebook/react/commit/4947fcd76 )**: Fix lint (#13923 ) //<Sebastian Markbåge>//
- **[d75c69e0c](https://github.com/facebook/react/commit/d75c69e0c )**: Remove unstable_ prefix from Suspense (#13922 ) //<Sebastian Markbåge>//
- **[c8ef2feda](https://github.com/facebook/react/commit/c8ef2feda )**: Remove redundant word "the" (#13919 ) //<John Lin>//
- **[55444a6f4](https://github.com/facebook/react/commit/55444a6f4 )**: Try rendering again if a timed out tree receives an update (#13921 ) //<Andrew Clark>//
- **[04c4f2fce](https://github.com/facebook/react/commit/04c4f2fce )**: [reconciler] ReactFiberNewContext import maxSigned31BitInt twice (#13857 ) //<yongningfu>//
- **[409e472fc](https://github.com/facebook/react/commit/409e472fc )**: Add flow types in ReactControlledComponent (#13669 ) //<Abdul Rauf>//
- **[663835a43](https://github.com/facebook/react/commit/663835a43 )**: Add flow types in getEventModifierState (#13909 ) //<Abdul Rauf>//
- **[82710097f](https://github.com/facebook/react/commit/82710097f )**: Add flow types in getNodeForCharacterOffset (#13908 ) //<Abdul Rauf>//
- **[b753f76a7](https://github.com/facebook/react/commit/b753f76a7 )**: Fix failing async tests in Node 10 //<Andrew Clark>//
- **[b5c0852fd](https://github.com/facebook/react/commit/b5c0852fd )**: Bump version to 16.6.0-beta.0 (#13906 ) //<Dan Abramov>//
- **[769b1f270](https://github.com/facebook/react/commit/769b1f270 )**: pure -> memo (#13905 ) //<Dan Abramov>//
- **[8ecd4bd4f](https://github.com/facebook/react/commit/8ecd4bd4f )**: Add support for React.pure in ReactDOMServer (#13855 ) //<Alex Taylor>//
- **[15b11d23f](https://github.com/facebook/react/commit/15b11d23f )**: Allow arbitrary types to be wrapped in pure (#13903 ) //<Sebastian Markbåge>//
- **[e770af7a3](https://github.com/facebook/react/commit/e770af7a3 )**: Add back accidentally deleted `break` to prevent fallthrough //<Andrew Clark>//
- **[95a313ec0](https://github.com/facebook/react/commit/95a313ec0 )**: Unfork Lazy Component Branches (#13902 ) //<Sebastian Markbåge>//
- **[e16cdd5b1](https://github.com/facebook/react/commit/e16cdd5b1 )**: Always bail out timed out children even if they receive an update (#13901 ) //<Andrew Clark>//
- **[7268d97d2](https://github.com/facebook/react/commit/7268d97d2 )**: Centralize props memoization (#13900 ) //<Sebastian Markbåge>//
- **[0fc044679](https://github.com/facebook/react/commit/0fc044679 )**: Class component can suspend without losing state outside concurrent mode (#13899 ) //<Andrew Clark>//
- **[36db53822](https://github.com/facebook/react/commit/36db53822 )**: Bugfix for #13886 (#13896 ) //<Andrew Clark>//
- **[6938dcaac](https://github.com/facebook/react/commit/6938dcaac )**: SSR support for class contextType (#13889 ) //<Sebastian Markbåge>//
- **[fa65c58e1](https://github.com/facebook/react/commit/fa65c58e1 )**: Add readContext to SSR (#13888 ) //<Sebastian Markbåge>//
- **[d9a3cc070](https://github.com/facebook/react/commit/d9a3cc070 )**: React.lazy constructor must return result of a dynamic import (#13886 ) //<Andrew Clark>//
- **[d9659e499](https://github.com/facebook/react/commit/d9659e499 )**: Lazy components must use React.lazy (#13885 ) //<Andrew Clark>//
- **[0648ca618](https://github.com/facebook/react/commit/0648ca618 )**: Revert "React.pure automatically forwards ref" (#13887 ) //<Sophie Alpert>//
- **[4dd772ac1](https://github.com/facebook/react/commit/4dd772ac1 )**: Prettier :( //<Andrew Clark>//
- **[98bab66c3](https://github.com/facebook/react/commit/98bab66c3 )**: Fix lint //<Andrew Clark>//
- **[8ced545e3](https://github.com/facebook/react/commit/8ced545e3 )**: Suspense component does not capture if `fallback` is not defined (#13879 ) //<Andrew Clark>//
- **[b738ced47](https://github.com/facebook/react/commit/b738ced47 )**: Remove render prop option from Suspense (#13880 ) //<Andrew Clark>//
- **[55b827942](https://github.com/facebook/react/commit/55b827942 )**: Strict mode and default mode should have same Suspense semantics (#13882 ) //<Andrew Clark>//
- **[dac9202a9](https://github.com/facebook/react/commit/dac9202a9 )**: Hide timed-out children instead of deleting them so their state ispreserved (#13823 ) //<Andrew Clark>//
- **[4f0bd4590](https://github.com/facebook/react/commit/4f0bd4590 )**: Replacement of old links, by the new ones of the documentation. (#13871 ) //<Pablo Javier D. A>//
- **[7685b55d2](https://github.com/facebook/react/commit/7685b55d2 )**: Remove unstable_read() in favor of direct dispatcher call (#13861 )//<Dan Abramov>//
- **[21a79a1d9](https://github.com/facebook/react/commit/21a79a1d9 )**: [schedule] Call ensureHostCallbackIsScheduled without args (#13852 ) //<Trivikram Kamat>//
- **[9ea4bc6ed](https://github.com/facebook/react/commit/9ea4bc6ed )**: Fix false positive context warning when using an old React (#13850 ) //<Dan Abramov>//
Release Notes:
[GENERAL] [FEATURE] [React] - React sync for revisions 4773fdf...3ff2c7c
Reviewed By: sebmarkbage
Differential Revision: D12955345
fbshipit-source-id: db12076758fe85a519074ca4fe3aa5ede6f4fd49
2018-11-07 19:36:04 -08:00
Tim Yung
6448f4e2f1
RN: Revert React 16.6 Sync
...
Summary:
There are some critical bugs that require further investigation in the most recent upgrade to React 16.6 (and ReactNativeRenderer changes).
This revision reverts the sync until these issues have been resolved.
Reviewed By: mdvacca
Differential Revision: D12918541
fbshipit-source-id: 5c1ada185851ba599f3c86387158a2b41f3dcf3e
2018-11-04 01:08:40 -07:00
Tim Yung
8b275a8b8d
React sync for revisions 4773fdf...bf9fadf
...
Summary:
@public
This sync includes the following changes:
- **[bf9fadfcf](https://github.com/facebook/react/commit/bf9fadfcf )**: [Hooks] Remove dispatch callbacks (#14037 ) //<Andrew Clark>//
- **[8c67bbf18](https://github.com/facebook/react/commit/8c67bbf18 )**: [scheduler] Deadline object -> shouldYield (#14025 ) //<Andrew Clark>//
- **[e02086bfc](https://github.com/facebook/react/commit/e02086bfc )**: Warn about variable number of dependencies //<Andrew Clark>//
- **[b92cdef64](https://github.com/facebook/react/commit/b92cdef64 )**: Rename ReactHooks test suite //<Andrew Clark>//
- **[6efbbe068](https://github.com/facebook/react/commit/6efbbe068 )**: Prettier //<Sophie Alpert>//
- **[504576306](https://github.com/facebook/react/commit/504576306 )**: Swap order of function member in hook union types //<Andrew Clark>//
- **[ddbfe2ed5](https://github.com/facebook/react/commit/ddbfe2ed5 )**: Add ESLint rule for React Hooks //<Caleb Meredith>//
- **[acb489963](https://github.com/facebook/react/commit/acb489963 )**: Clear effect tags from a fiber that suspends in non-concurrent mode //<Andrew Clark>//
- **[933b64710](https://github.com/facebook/react/commit/933b64710 )**: Disable hook update callback (2nd arg to setState/dispatch) //<Andrew Clark>//
- **[5fc84efac](https://github.com/facebook/react/commit/5fc84efac )**: Skip updating effect tag when skipping effect //<Sophie Alpert>//
- **[9f34eb79a](https://github.com/facebook/react/commit/9f34eb79a )**: Add readContext to ReactPartialRendererHooks //<Alex Taylor>//
- **[f7cb9d2b2](https://github.com/facebook/react/commit/f7cb9d2b2 )**: Warn about useContext(Consumer|Provider) //<Dan Abramov>//
- **[63cc7d2b3](https://github.com/facebook/react/commit/63cc7d2b3 )**: Test useContext in pure, forwardRef, and PureComponent //<Dan Abramov>//
- **[3a7c6da8d](https://github.com/facebook/react/commit/3a7c6da8d )**: Make effects actually work with memo //<Sophie Alpert>//
- **[75a1c2e72](https://github.com/facebook/react/commit/75a1c2e72 )**: The Lost Effect, chapter 3 //<Sophie Alpert>//
- **[55a4b1f37](https://github.com/facebook/react/commit/55a4b1f37 )**: memo supports Hooks //<Sophie Alpert>//
- **[30aa4ad55](https://github.com/facebook/react/commit/30aa4ad55 )**: The Lost Effect, chapter 2 //<Sophie Alpert>//
- **[b772e0e26](https://github.com/facebook/react/commit/b772e0e26 )**: "functional component" -> "function component" in hooks error messages //<Sebastian Markbåge>//
- **[9e9e3970e](https://github.com/facebook/react/commit/9e9e3970e )**: Warn for Hook set-state on unmounted component //<Sophie Alpert>//
- **[6514697f0](https://github.com/facebook/react/commit/6514697f0 )**: Make sure deletions don't stop passive effects //<Sophie Alpert>//
- **[dd019d34d](https://github.com/facebook/react/commit/dd019d34d )**: Add support for hooks to ReactDOMServer //<Alex Taylor>//
- **[11d0781ee](https://github.com/facebook/react/commit/11d0781ee )**: Defer useEffect until after paint //<Andrew Clark>//
- **[105f2de54](https://github.com/facebook/react/commit/105f2de54 )**: Put hooks behind feature flag //<Andrew Clark>//
- **[7bee9fbdd](https://github.com/facebook/react/commit/7bee9fbdd )**: Initial hooks implementation //<Andrew Clark>//
- **[37c7fe0a5](https://github.com/facebook/react/commit/37c7fe0a5 )**: Update createRoot warning message based on `enableStableConcurrentModeAPIs` (#14017 ) //<Rauno Freiberg>//
- **[95f98a187](https://github.com/facebook/react/commit/95f98a187 )**: fix typo (#13955 ) //<Joseph>//
- **[e217f2f1a](https://github.com/facebook/react/commit/e217f2f1a )**: Updated comment for getEventModifierState (#13918 ) //<Patrick>//
- **[275e76e83](https://github.com/facebook/react/commit/275e76e83 )**: Enable stable concurrent APIs flag for 16.7 alpha (#13928 ) //<Brian Vaughn>//
- **[8b97a9c36](https://github.com/facebook/react/commit/8b97a9c36 )**: Update bundle sizes for 16.6.0 release //<Dan Abramov>//
- **[6c29eabf7](https://github.com/facebook/react/commit/6c29eabf7 )**: Updating package versions for release 16.6.0 //<Dan Abramov>//
- **[d520b358d](https://github.com/facebook/react/commit/d520b358d )**: Revert all package versions to 16.5.2 state //<Dan Abramov>//
- **[8f1ec7649](https://github.com/facebook/react/commit/8f1ec7649 )**: Bump versions to beta.0 //<Dan Abramov>//
- **[5055a83fa](https://github.com/facebook/react/commit/5055a83fa )**: Revert "Revert "Updating dependencies for react-noop-renderer"" //<Dan Abramov>//
- **[3e8b4a5b8](https://github.com/facebook/react/commit/3e8b4a5b8 )**: Revert "Updating dependencies for react-noop-renderer" //<Brian Vaughn>//
- **[d8e03de4a](https://github.com/facebook/react/commit/d8e03de4a )**: [react-cache] Remove `cache` as argument to `read` (#13865 ) //<Andrew Clark>//
- **[fefa1269e](https://github.com/facebook/react/commit/fefa1269e )**: Revert accidentally committed existence check (#13931 ) //<Andrew Clark>//
- **[80a0c05ce](https://github.com/facebook/react/commit/80a0c05ce )**: Removed react-cache from the bundle list for now (#13930 ) //<BrianVaughn>//
- **[915e4eab5](https://github.com/facebook/react/commit/915e4eab5 )**: Add "unstable_" prefix to react-cache and jest-react (#13929 ) //<Brian Vaughn>//
- **[cbbc2b6c4](https://github.com/facebook/react/commit/cbbc2b6c4 )**: [Synchronous Suspense] Suspending a class outside concurrent mode (#13926 ) //<Andrew Clark>//
- **[4947fcd76](https://github.com/facebook/react/commit/4947fcd76 )**: Fix lint (#13923 ) //<Sebastian Markbåge>//
- **[d75c69e0c](https://github.com/facebook/react/commit/d75c69e0c )**: Remove unstable_ prefix from Suspense (#13922 ) //<Sebastian Markbåge>//
- **[c8ef2feda](https://github.com/facebook/react/commit/c8ef2feda )**: Remove redundant word "the" (#13919 ) //<John Lin>//
- **[55444a6f4](https://github.com/facebook/react/commit/55444a6f4 )**: Try rendering again if a timed out tree receives an update (#13921 ) //<Andrew Clark>//
- **[04c4f2fce](https://github.com/facebook/react/commit/04c4f2fce )**: [reconciler] ReactFiberNewContext import maxSigned31BitInt twice (#13857 ) //<yongningfu>//
- **[409e472fc](https://github.com/facebook/react/commit/409e472fc )**: Add flow types in ReactControlledComponent (#13669 ) //<Abdul Rauf>//
- **[663835a43](https://github.com/facebook/react/commit/663835a43 )**: Add flow types in getEventModifierState (#13909 ) //<Abdul Rauf>//
- **[82710097f](https://github.com/facebook/react/commit/82710097f )**: Add flow types in getNodeForCharacterOffset (#13908 ) //<Abdul Rauf>//
- **[b753f76a7](https://github.com/facebook/react/commit/b753f76a7 )**: Fix failing async tests in Node 10 //<Andrew Clark>//
- **[b5c0852fd](https://github.com/facebook/react/commit/b5c0852fd )**: Bump version to 16.6.0-beta.0 (#13906 ) //<Dan Abramov>//
- **[769b1f270](https://github.com/facebook/react/commit/769b1f270 )**: pure -> memo (#13905 ) //<Dan Abramov>//
- **[8ecd4bd4f](https://github.com/facebook/react/commit/8ecd4bd4f )**: Add support for React.pure in ReactDOMServer (#13855 ) //<Alex Taylor>//
- **[15b11d23f](https://github.com/facebook/react/commit/15b11d23f )**: Allow arbitrary types to be wrapped in pure (#13903 ) //<Sebastian Markbåge>//
- **[e770af7a3](https://github.com/facebook/react/commit/e770af7a3 )**: Add back accidentally deleted `break` to prevent fallthrough //<Andrew Clark>//
- **[95a313ec0](https://github.com/facebook/react/commit/95a313ec0 )**: Unfork Lazy Component Branches (#13902 ) //<Sebastian Markbåge>//
- **[e16cdd5b1](https://github.com/facebook/react/commit/e16cdd5b1 )**: Always bail out timed out children even if they receive an update (#13901 ) //<Andrew Clark>//
- **[7268d97d2](https://github.com/facebook/react/commit/7268d97d2 )**: Centralize props memoization (#13900 ) //<Sebastian Markbåge>//
- **[0fc044679](https://github.com/facebook/react/commit/0fc044679 )**: Class component can suspend without losing state outside concurrent mode (#13899 ) //<Andrew Clark>//
- **[36db53822](https://github.com/facebook/react/commit/36db53822 )**: Bugfix for #13886 (#13896 ) //<Andrew Clark>//
- **[6938dcaac](https://github.com/facebook/react/commit/6938dcaac )**: SSR support for class contextType (#13889 ) //<Sebastian Markbåge>//
- **[fa65c58e1](https://github.com/facebook/react/commit/fa65c58e1 )**: Add readContext to SSR (#13888 ) //<Sebastian Markbåge>//
- **[d9a3cc070](https://github.com/facebook/react/commit/d9a3cc070 )**: React.lazy constructor must return result of a dynamic import (#13886 ) //<Andrew Clark>//
- **[d9659e499](https://github.com/facebook/react/commit/d9659e499 )**: Lazy components must use React.lazy (#13885 ) //<Andrew Clark>//
- **[0648ca618](https://github.com/facebook/react/commit/0648ca618 )**: Revert "React.pure automatically forwards ref" (#13887 ) //<Sophie Alpert>//
- **[4dd772ac1](https://github.com/facebook/react/commit/4dd772ac1 )**: Prettier :( //<Andrew Clark>//
- **[98bab66c3](https://github.com/facebook/react/commit/98bab66c3 )**: Fix lint //<Andrew Clark>//
- **[8ced545e3](https://github.com/facebook/react/commit/8ced545e3 )**: Suspense component does not capture if `fallback` is not defined (#13879 ) //<Andrew Clark>//
- **[b738ced47](https://github.com/facebook/react/commit/b738ced47 )**: Remove render prop option from Suspense (#13880 ) //<Andrew Clark>//
- **[55b827942](https://github.com/facebook/react/commit/55b827942 )**: Strict mode and default mode should have same Suspense semantics (#13882 ) //<Andrew Clark>//
- **[dac9202a9](https://github.com/facebook/react/commit/dac9202a9 )**: Hide timed-out children instead of deleting them so their state ispreserved (#13823 ) //<Andrew Clark>//
- **[4f0bd4590](https://github.com/facebook/react/commit/4f0bd4590 )**: Replacement of old links, by the new ones of the documentation. (#13871 ) //<Pablo Javier D. A>//
- **[7685b55d2](https://github.com/facebook/react/commit/7685b55d2 )**: Remove unstable_read() in favor of direct dispatcher call (#13861 )//<Dan Abramov>//
- **[21a79a1d9](https://github.com/facebook/react/commit/21a79a1d9 )**: [schedule] Call ensureHostCallbackIsScheduled without args (#13852 ) //<Trivikram Kamat>//
- **[9ea4bc6ed](https://github.com/facebook/react/commit/9ea4bc6ed )**: Fix false positive context warning when using an old React (#13850 ) //<Dan Abramov>//
Release Notes:
[GENERAL] [FEATURE] [React] - React sync for revisions 4773fdf...bf9fadf
Reviewed By: arcanis
Differential Revision: D12850275
fbshipit-source-id: b6d5c61a044c970c04c2ff3370fa77222afd1eb1
2018-11-02 18:35:04 -07:00
Sam Goldman
adc8a33fcf
Deploy Flow v0.85 to xplat/js
...
Reviewed By: fishythefish
Differential Revision: D12898653
fbshipit-source-id: 2ed11ce569600fe4c12528939a350dd827c9a29a
2018-11-02 00:28:28 -07:00
Rubén Norte
66aba09251
jest: upgrade to 24.0.0-alpha.4
...
Summary: Upgrade Jest to 24.0.0-alpha.4
Reviewed By: mjesun
Differential Revision: D12822581
fbshipit-source-id: 6e547ffbd2c3c4f93b8aa540d22dd666582d3f1e
2018-10-31 22:31:32 -07:00
Juuso Heikkinen
cdbf719307
Bump fbjs-scripts to ^1.0.0 ( #21880 )
...
Summary:
This PR bumps also fbjs-scripts to latest version. Benefit is smaller node_modules and less deps to download as newer version doesn't depend on babel6 anymore.
Pull Request resolved: https://github.com/facebook/react-native/pull/21880
Differential Revision: D12832002
Pulled By: hramos
fbshipit-source-id: fa801aeb70a2f22be6f9c05cd6d981d0af0a0da9
2018-10-30 13:36:59 -07:00
Rafael Oleza
1b4fd64325
Upgrade jest to v24.0.0-alpha.2
...
Summary:
This diff updates all `xplat/js` to use the latest version of `jest`.
This version provides performance improvements and fixes to make some tests less flaky
Reviewed By: mjesun
Differential Revision: D10466639
fbshipit-source-id: faa769dac1475c61e00bcd76ed30760b176a2898
2018-10-26 06:26:13 -07:00
Avik Chaudhuri
11552a7a7a
@allow-large-files flow 0.84 xplat deploy
...
Reviewed By: samwgoldman
Differential Revision: D10851695
fbshipit-source-id: 951c628844bbbc7331d4e75f62485db88e5ba7c4
2018-10-25 18:16:30 -07:00
Eli White
ec6829087e
Upgrade eslint-plugin-react-native to handle false positives with no-inline-styles
...
Summary: https://github.com/Intellicode/eslint-plugin-react-native/pull/188 was merged which fixes some false positives with no-inline-styles.
Reviewed By: alex288ms
Differential Revision: D10500330
fbshipit-source-id: 9f3331416e99293770c3e2823e1e46ce556f4608
2018-10-22 17:36:51 -07:00
Eli White
0bf520a821
Remove react-timer-mixin
...
Summary:
This mixin is no longer used!
closes https://github.com/facebook/react-native/issues/21485
Reviewed By: RSNara
Differential Revision: D10451307
fbshipit-source-id: 2315244b2f292cfff71241f95a3afcd9788d74be
2018-10-19 17:59:50 -07:00
Ratchanan Srirattanamet
b9514995a2
Bump xcode@1.0.0 ( #21766 )
...
Summary:
(cordova-node-)xcode 1.0.0 includes a fix for #13160 plus a few more
fixes. This should increase robustness in Xcode project handling
overall.
Fixes #13160 .
-------------------------
Thank you for sending the PR! We appreciate you spending the time to work on these changes.
Help us understand your motivation by explaining why you decided to make this change.
If this PR fixes an issue, type "Fixes #issueNumber" to automatically close the issue when the PR is merged.
_Pull requests that expand test coverage are more likely to get reviewed. Add a test case whenever possible!_
Pull Request resolved: https://github.com/facebook/react-native/pull/21766
Reviewed By: codytwinton
Differential Revision: D10384245
Pulled By: hramos
fbshipit-source-id: 488156be67cfc2d99ca81d7cb82747bab35984a7
2018-10-17 12:13:32 -07:00
Marshall Roch
7b150690b6
@allow-large-files [flow] update to v0.83
...
Reviewed By: fishythefish
Differential Revision: D10362346
fbshipit-source-id: 0f4cc9977cfaa947e3b23112dd1cf482642e2319
2018-10-13 01:32:48 -07:00
Héctor Ramos
6b5b4758ff
Ensure React Native lockfile is up to date
...
Summary: Updates React Native yarn lockfile.
Reviewed By: zertosh, yungsters
Differential Revision: D10261430
fbshipit-source-id: a99266cf720641bb779fc264d9d4745bfe0b8599
2018-10-11 15:48:21 -07:00
Lorenzo Sciandra
15c05988e9
Update to Detox 9 ( #21570 )
...
Summary:
Updating to Detox 9 - this should help with better Xcode 10 support, and should fix https://github.com/facebook/react-native/issues/21539 .
I've updated to fixed `9.0.4` since it seems that each version is fairly different from the next, and I've followed the [migration guide](https://github.com/wix/detox/blob/master/docs/Guide.Migration.md#migrating-from-detox-8xx-to-9xx ) for the android native dependencies.
Release Notes:
[INTERNAL] [ENHANCEMENT] [DETOX] - Update to version 9.0.4
Pull Request resolved: https://github.com/facebook/react-native/pull/21570
Reviewed By: TheSavior
Differential Revision: D10242373
Pulled By: RSNara
fbshipit-source-id: bd29d554e0972f16d96b9b39b86c7143941d5b7c
2018-10-10 10:01:21 -07:00
empyrical
57041ee44f
Add tests for out-of-tree platform support ( #20932 )
...
Summary:
This PR is a WIP for adding tests for out-of-tree platform support. [I originally had issues](https://github.com/facebook/react-native/pull/20825#issuecomment-416433611 ) with this, so I want to give it a try in a separate pull request. None of these issues appear on my machine while running these tests as of this rebase - if everything seems okay on CircleCI after this rebase against `master`, I will ditch the [WIP] tag. Otherwise, I will see if I can find a way to make this work.
The bunch of JS files that will give this a "Large PR" tag are in `RNTester/js/OutOfTreeTestPlatform` - they are only used by the bundler and not executed at any point in time. So if another file needs to be added when React Native's module structure changes, you do not need to have a functional JS file in there as a stub. `module.exports` could be `null` if you wanted. I just had copied over stubs from `Libraries` because I wanted a non-trivial haste module map to be in the test.
Pull Request resolved: https://github.com/facebook/react-native/pull/20932
Reviewed By: axe-fb
Differential Revision: D9818112
Pulled By: hramos
fbshipit-source-id: 0b53359b84430fdefb972587c95d19f85773c5fa
2018-09-27 13:19:32 -07:00
gengjiawen
58fe324163
fix ci path problem on Windows ( #21203 )
...
Summary:
fix ci path problem on Windows
pass all current ci.
none
[GENERAL] [INTERNAL] [CI] - fix ci path problem on Windows
Pull Request resolved: https://github.com/facebook/react-native/pull/21203
Differential Revision: D9943608
Pulled By: hramos
fbshipit-source-id: 66e3e196a6c0015e0472851abeee32de9fef140c
2018-09-19 10:47:41 -07:00
Héctor Ramos
43cd6f7579
Update lock file for open source ( #20800 )
...
Summary:
Should fix CI failure.
Pull Request resolved: https://github.com/facebook/react-native/pull/20800
Differential Revision: D9470366
Pulled By: hramos
fbshipit-source-id: 7269876be14f9260cc984ab0737a2e32218f4715
2018-08-22 23:04:56 -07:00
Hector Ramos
06ab76a6b2
Add Yarn lockfile
2018-08-22 12:20:56 -07:00
Konstantin Raev
ebc8126ad2
removed leaked internal yarn.lock
2016-10-18 10:53:38 -07:00
Pieter De Baets
1df5c251ab
Fix website generation
...
Reviewed By: kentaromiura
Differential Revision: D4003655
fbshipit-source-id: c67a6d82bd4f8cbc28745489c3b6bcde1fd713ac
2016-10-12 08:28:50 -07:00
Konstantin Raev
47537183ec
Integrated generic install-node-modules for React Native
...
Reviewed By: yungsters
Differential Revision: D3996416
fbshipit-source-id: 078b2ca5c076c2c6e2e7209945e59aaa31ebc4aa
2016-10-12 04:43:57 -07:00