Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge experimental 8d7535e54 #35

Open
wants to merge 394 commits into
base: lightyear
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
394 commits
Select commit Hold shift + click to select a range
39dbb14
[Flight] Move Flight DOM to a Webpack Specific Package (#17372)
sebmarkbage Nov 15, 2019
8e74a31
Add Webpack as devDependency (#17379)
sebmarkbage Nov 15, 2019
2586303
[Bugfix] Pending state is always user-blocking (#17382)
acdlite Nov 15, 2019
a807c30
[eslint] Check forwardRef callbacks (#17255)
dprgarner Nov 17, 2019
1f2da0b
Forgot to mark test as experimental (#17391)
acdlite Nov 17, 2019
3ad0764
Update Fixtures to use new APIs (#17380)
sebmarkbage Nov 17, 2019
a7d07ff
[react-interactions] Rename Flare listeners prop to DEPRECATED_flareL…
trueadm Nov 18, 2019
3fdfa23
[react-interactions] Refine virtual click detection for FF+JAWS/NVDA …
trueadm Nov 21, 2019
007a276
[react-interactions] Fix memory leak in event responder system (#17421)
trueadm Nov 21, 2019
237a966
[Fresh] Fix an infinite loop in an edge case (#17414)
gaearon Nov 21, 2019
54f6673
Update release script URL (#17428)
acdlite Nov 21, 2019
6470e0f
[Fresh] Make all errors recoverable (#17438)
gaearon Nov 25, 2019
5fc9742
Remove dependency on local git checkout from build process (#17475)
Nov 27, 2019
3816ae7
DevTools version bump 4.2.0 -> 4.2.1
Nov 27, 2019
969f4b5
Change DevTools hook warning message (#17478)
gaearon Nov 28, 2019
b64938e
Fixed changelog formatting #17481 (#17487)
dance2die Nov 29, 2019
79572e3
Adjust SuspenseList CPU bound heuristic (#17455)
sebmarkbage Dec 3, 2019
d75323f
Remove case that only exists for createBatch (#17506)
sebmarkbage Dec 3, 2019
f523b2e
Use fewer global variables in Hooks (#17480)
sebmarkbage Dec 3, 2019
dc18b8b
Don't group Idle/Offscreen work with other work (#17456)
sebmarkbage Dec 3, 2019
6d105ad
[react-interactions] Move Flare event registration to commit phase (#…
trueadm Dec 4, 2019
5064c7f
Revert Rerender Error Check (#17519)
sebmarkbage Dec 4, 2019
5235d19
fix: make serializable data in react-devtools (#17233)
nutboltu Dec 4, 2019
acfe4b2
[react-interactions] Upgrade passive event listeners to active listen…
trueadm Dec 4, 2019
b43eec7
Replace `wrap-warning-with-env-check` with an eslint plugin (#17540)
Dec 6, 2019
9e937e7
[react-interactions] fix Press/Tap behavior for virtual middle clicks…
necolas Dec 9, 2019
3c1efa0
[react-interactions] Remove Focus/FocusWithin root event types (#17555)
trueadm Dec 9, 2019
b617db3
Refactor Update Queues to Fix Rebasing Bug
acdlite Dec 9, 2019
e039e69
Revert Update Queue Refactor
acdlite Dec 9, 2019
031a5aa
Show component location for selected element in bottom/right of props…
Dec 10, 2019
7bf40e1
Initialize update queue object on mount (#17560)
acdlite Dec 11, 2019
9ac42dd
Remove the condition argument from warning() (#17568)
walaura Dec 11, 2019
2afeebd
[react-interactions] Remove responder root event types + revert commi…
trueadm Dec 11, 2019
12c0004
Improved inspected element props with inline previews (#17579)
Dec 12, 2019
612a768
[react-interactions] Mock touchend events should use empty array for …
necolas Dec 12, 2019
b15bf36
Add component stacks to (almost) all warnings (#17586)
gaearon Dec 12, 2019
be603f5
[react-events] Remove lastNativeEvent in favor of SystemFlags (#17585)
trueadm Dec 13, 2019
8a347ed
Remove renderPhaseUpdates Map (#17484)
sebmarkbage Dec 14, 2019
b6c423d
Use matching test command for equivalence tests (#17604)
gaearon Dec 14, 2019
0cf22a5
Use console directly instead of warning() modules (#17599)
gaearon Dec 14, 2019
0b5a26a
Rename toWarnDev -> toErrorDev, toLowPriorityWarnDev -> toWarnDev (#1…
gaearon Dec 16, 2019
f42431a
Revert "Remove renderPhaseUpdates Map (#17484)" (#17623)
gaearon Dec 16, 2019
7c21bf7
Fix release script to ignore empty package folders
gaearon Dec 16, 2019
36a6e29
Fix test_build_devtools CI job to run test-build-devtools (#17631)
gaearon Dec 17, 2019
0253ee9
Additional test infra changes for toErrorDev rename (#17632)
gaearon Dec 17, 2019
c2d1561
[Fast Refresh] Support injecting runtime after renderer executes (#17…
gaearon Dec 17, 2019
b66e86d
react-refresh@0.7.1
gaearon Dec 17, 2019
3c54df0
Fix missing stacks in WWW warnings (#17638)
gaearon Dec 17, 2019
9bb3fbe
Move DevTools CI job to experimental workflow (#17640)
gaearon Dec 17, 2019
7309c5f
Use zero-fill right shift instead of Math.floor (#17616)
yisar Dec 17, 2019
bb75a4f
Improved selection and toggling for props/hooks/state (#17588)
Dec 17, 2019
24dbe85
fix(dev-tools): fix show correct displayName with forwardRef in Dev T…
zthxxx Dec 17, 2019
4b0cdf2
Build FB RN targets only in experimental mode (#17641)
gaearon Dec 17, 2019
e84327b
Added more forwardRef test cases for DevTools (#17642)
Dec 17, 2019
9fe1031
[react-interactions] Rename Flare APIs to deprecated and remove from …
trueadm Dec 18, 2019
6fef7c4
Add a regression test for switching from Fragment to a component (#17…
gaearon Dec 18, 2019
4c27037
Favor fallthrough switch instead of case statements for work tags (#1…
sebmarkbage Dec 18, 2019
9354dd2
Make HostComponent inexact (#17412)
elicwhite Dec 18, 2019
7dc9745
[Flight] Chunks API (#17398)
sebmarkbage Dec 18, 2019
933f6a0
DevTools context menu (#17608)
Dec 18, 2019
fd2a3ae
Updated DevTools changelog
Dec 18, 2019
95056b6
DevTools build script enhancements (#17653)
Dec 18, 2019
a5e951d
[react-interactions] Event testing library improvements (#17614)
necolas Dec 18, 2019
e7494c8
[react-interactions] Remove batchedUpdates from responder lifecycles …
trueadm Dec 19, 2019
7259231
Create packages/dom-event-testing-library (#17660)
necolas Dec 19, 2019
8979766
[ESLint] Allow partial matches for custom Effect Hooks (#17663)
gaearon Dec 19, 2019
1b9328c
Null stateNode after unmount (#17666)
Dec 19, 2019
dbc46ac
[react-interactions] Rename test + fix master (#17679)
trueadm Dec 20, 2019
7973477
Disable "copy to clipboard" and "go to definition" context menu optio…
Dec 20, 2019
3135023
Add unit tests to dom-event-testing-library (#17680)
necolas Dec 20, 2019
3e09677
DevTools v4.2.1 -> 4.3.0
Dec 20, 2019
85d9655
[react-dom] Refactor event priority handling to its own module (#17678)
trueadm Dec 20, 2019
6215e1c
Add Shift+Enter to go to previous search result (#17005)
Bo-Duke Dec 22, 2019
ccc6100
Fix comments typos (#17550)
nicksp Dec 22, 2019
1959671
Add tooltip to interaction name in DevTools Profiler sidebar (#17689)
Dec 22, 2019
f887d1a
[DevTools] Display RegExp values in props/state (#17690)
Dec 22, 2019
0eac01a
Added missing Flow type coverage to DevTools context menu (#17733)
Dec 29, 2019
2b903da
Make DevTools check document.contentType before injecting (#17739)
Dec 29, 2019
22ef96a
Devtools renable copy attr context menu for firefox (#17740)
Dec 29, 2019
9357a48
Fix for the standalone devtools not responding to clicks. (#17584)
cwatson88 Dec 29, 2019
d259f45
Fix various typos (#17724)
at-karan-sharma Dec 29, 2019
4d463fc
Bump handlebars from 4.1.2 to 4.5.3 (#17732)
dependabot[bot] Dec 30, 2019
ee38c00
Bump handlebars from 4.0.6 to 4.5.3 in /fixtures/fiber-debugger (#17727)
dependabot[bot] Dec 30, 2019
3bec713
Bump handlebars from 4.0.10 to 4.5.3 in /fixtures/attribute-behavior …
dependabot[bot] Dec 30, 2019
e6226e6
Bump handlebars from 4.0.6 to 4.5.3 in /fixtures/dom (#17730)
dependabot[bot] Dec 30, 2019
b4e2fac
Bump handlebars from 4.0.11 to 4.5.3 in /fixtures/expiration (#17729)
dependabot[bot] Dec 30, 2019
86883d7
Updated DevTools pending CHANGELOG
Dec 30, 2019
2c1e5d2
Build and store DevTools artifacts in Circle CI (#17746)
Jan 1, 2020
195b3db
Added missing guard to DevTools for Objects with null proto (#17757)
Jan 2, 2020
b05cd61
Fixed CircleCI DevTools build artifact tar internal structure (#17758)
Jan 2, 2020
cca994c
DevTools Profiler commit selector wraps around (#17760)
Jan 2, 2020
5d3d71b
Partial fix DevTools Profiler ''Could not find node…'' error (#17759)
Jan 3, 2020
7e2ab87
DevTools: Replaced unsafe hasOwnProperty() calls (#17768)
Jan 3, 2020
59f21f1
HostText needs to copy over from current if it is unchanged in persis…
sebmarkbage Jan 3, 2020
f749045
DevTools 4.3.0 -> 4.4.0
Jan 3, 2020
9cc094a
Scope dev tools wildcard styles within DevTools CSS class
GasimGasimzada Jan 4, 2020
edeea07
Remove toString of dangerouslySetInnerHTML (#17773)
sebmarkbage Jan 4, 2020
24f8242
DevTools Profiler: Improve how empty commits are filtered (#17771)
Jan 5, 2020
2bb227e
DevTools: Improve function props display for inspected elements (#17789)
Jan 6, 2020
1c63b2e
Renamed "backend.js" to "react_devtools_backend.js" (#17790)
Jan 6, 2020
fc921a1
Updated DevTools CHANGELOG to add pending release details
Jan 6, 2020
c1b573b
Merge branch 'scope-devtools-styles' of https://github.com/GasimGasim…
Jan 6, 2020
80e3248
Fixed box-sizing problem in test shell
Jan 6, 2020
7580d67
Fixed padding problem in standalone shell
Jan 6, 2020
5586b30
Merge branch 'GasimGasimzada-scope-devtools-styles'
Jan 6, 2020
40568e9
Updated DevTools CHANGELOG to add pending release details
Jan 6, 2020
5e21157
[react-interactions] Fix Hover issues with portals (#17765)
trueadm Jan 7, 2020
6250462
Renamed "ReactDOM-fb" imports to "ReactDOM" in www shims (#17797)
Jan 7, 2020
19f6fe1
Revert "Revert "Dispatch commands to both UIManagers from both render…
elicwhite Jan 8, 2020
18875b2
Remove special casing of toString values when enableTrustedTypesInteg…
sebmarkbage Jan 8, 2020
b979db4
Bump Prettier (#17811)
gaearon Jan 9, 2020
e706721
Update Flow to 0.84 (#17805)
gaearon Jan 9, 2020
2e4948a
Add configuration for the "Stale" GitHub App (#17806)
necolas Jan 9, 2020
435259f
Add better test coverage for hooks in DevTools Profiler's change-dete…
Jan 9, 2020
3ac81a5
Update create-react-app note for eslint-plugin-react-hooks (#16982)
t73liu Jan 9, 2020
1b6e269
Create SECURITY.md (#15784)
AlicanC Jan 9, 2020
ff90009
Fix message typo in printOperationsArray function (#17039)
dloranc Jan 9, 2020
5d6129b
Update ReactSuspenseList-test.internal.js (#17034)
ganapativs Jan 9, 2020
05e487a
Add GitHub issue templates (#17815)
necolas Jan 10, 2020
d8570ec
Create ReactFabric.stopSurface and use that for bridgeless mode bindi…
ejanzer Jan 10, 2020
64aae7b
Fix issue template for questions (#17817)
necolas Jan 10, 2020
255d9ac
[Fresh] Fix edge case with early function call (#17824)
gaearon Jan 12, 2020
f4ca909
react-refresh@0.7.2
gaearon Jan 12, 2020
4f480d0
Fix typo in TestCase description (#17077)
andreWibbeke Jan 12, 2020
50eafef
Update babel-eslint and eslint packages (#17829)
necolas Jan 14, 2020
3bd6adc
Update typescript package and jest preprocessor (#17839)
necolas Jan 14, 2020
1e1a989
Re-enabled DevTools context menu option in Firefox to inspect functio…
Jan 14, 2020
643dcb5
Add support for Node v13 for development (#17837)
jasonwilliams Jan 14, 2020
8aefb19
Removed 'reactInternal' reference in DevTools overlay highlighter (#1…
Jan 14, 2020
b6173e6
[react-interactions] Add DO_NOT_USE to Scope methods (#17835)
trueadm Jan 15, 2020
bc1f3e1
Fix DevTools Flow error for key-sort function (#17849)
Jan 15, 2020
9e075d1
[react-interactions] Remove deprecated Scope APIs + update Focus comp…
trueadm Jan 17, 2020
b43b36d
Remove ReactInstanceMap_DO_NOT_USE shim (#17861)
trueadm Jan 17, 2020
29b4d07
Allow debug-test commands to run on Windows (#17122)
BogdanDor Jan 17, 2020
95bd7aa
Remove renderPhaseUpdates Map (#17625)
acdlite Jan 17, 2020
a209a97
Add feature flag around React.createFactory (#17873)
trueadm Jan 20, 2020
9fd760c
Add disable <textarea/> children flag (#17874)
trueadm Jan 20, 2020
0c04aca
Remove FB specific build (#17875)
sebmarkbage Jan 21, 2020
f2fd484
Add React.createFactory() deprecation warning (#17878)
trueadm Jan 21, 2020
c322f59
Add unstable_renderSubtreeIntoContainer and unstable_createPortal fea…
trueadm Jan 21, 2020
cf7a0c2
Remove dynamic GKs for selective/train (#17888)
sebmarkbage Jan 22, 2020
6c00c5b
Update to flow-bin@0.89 (#17842)
necolas Jan 22, 2020
3b3decf
add warning when owner and self are different for string refs (#17864)
lunaruan Jan 22, 2020
3c713d5
chore: update to latest release of babel (#17897)
SimenB Jan 24, 2020
9d09052
Update various monorepo dependencies (#17901)
necolas Jan 24, 2020
81e30c7
Remove unused modules from legacy event responders (#17907)
necolas Jan 24, 2020
6faf6f5
Update to flow 0.97 (#17892)
necolas Jan 24, 2020
cf00812
Upgrade to jest 25 (#17896)
SimenB Jan 25, 2020
e26682a
Removed Root API callback params and added warnings (#17916)
Jan 27, 2020
b7f217d
[Concurrent Mode] Add missing event plugin priorities (#17914)
trueadm Jan 28, 2020
29a1559
Add semver dependency explicitly to DevTools (#17919)
gaearon Jan 29, 2020
a8fce06
Fix Jest diff call (#17921)
gaearon Jan 29, 2020
57333ca
Show first component stack in context warning (#17922)
gaearon Jan 29, 2020
faabe22
Use next tag for canary releases in the doc (#17923)
gaearon Jan 29, 2020
241c446
Add a note about expiring OTP codes
gaearon Jan 29, 2020
01974a8
Bugfix: Expiring a partially completed tree (#17926)
acdlite Jan 29, 2020
b2382a7
Add ReactDOM.unstable_renderSubtreeIntoContainer warning flag (#17936)
trueadm Jan 30, 2020
1662035
Ensure createRoot warning parity with ReactDOM.render (#17937)
trueadm Jan 30, 2020
e98797f
Fix Event Replaying in Flare by Eagerly Adding Active Listeners (#17…
sebmarkbage Jan 30, 2020
d2ae77d
Remove root.unmount() callback from DevTools code (#17939)
Jan 30, 2020
9dbe1c5
Revert "Bugfix: Expiring a partially completed tree (#17926)" (#17941)
acdlite Jan 30, 2020
6ae2c33
StrictMode should call sCU twice in DEV (#17942)
Jan 30, 2020
38cd758
Update google-closure-compiler (#17902)
necolas Jan 31, 2020
d9a5170
fix: check bigint in serializeToString and change it to string (#17931)
nutboltu Jan 31, 2020
00745b0
Typo fix (#17946)
DenrizSusam Jan 31, 2020
9ad3590
Add DevTools tests for copying complex values (#17948)
Jan 31, 2020
08c1f79
Fix Cannot read property 'sub' of undefined when navigating to plain-…
wfnuser Feb 2, 2020
434770c
Add beforeRemoveInstance method to ReactNoop (#17959)
trueadm Feb 3, 2020
9944bf2
Add version property to ReactDOM (#15780)
ealush Feb 3, 2020
7df32c4
Flush `useEffect` clean up functions in the passive effects phase (#1…
Feb 3, 2020
ace9e81
Simplify Continuous Hydration Targets (#17952)
sebmarkbage Feb 3, 2020
3e9251d
make testing builds for React/ReactDOM (#17915)
threepointone Feb 3, 2020
2078aa9
Add dom fixture for autofilled form state (#17951)
hassan-alam Feb 4, 2020
812277d
Fix onMouseEnter is fired on disabled buttons (#17675)
AlfredoGJ Feb 4, 2020
d6e08fe
Remove Suspense priority warning (#17971)
gaearon Feb 4, 2020
cddde45
apply changes on editablevalue on blur feature implemented (#17062)
muratcatal Feb 4, 2020
9dba218
[Mock Scheduler] Mimic browser's advanceTime (#17967)
acdlite Feb 4, 2020
562d2fb
Fix release scripts (#17972)
Feb 4, 2020
613cbd3
Formatting fix (Prettier) to build script
Feb 4, 2020
d84c539
fix sizebot - point correctly to circleci artifact (#17975)
threepointone Feb 4, 2020
9e158c0
Updated release script documentation and command names (#17929)
Feb 5, 2020
df134d3
Use babel parser rather than Babylon in extract errors (#17988)
trueadm Feb 6, 2020
256d78d
Add feature flag for removing children Map support (#17990)
trueadm Feb 6, 2020
3f814e7
Fix Flow type for React Native (#17992)
gaearon Feb 6, 2020
901d76b
dataForRoots.set duplicate removal (#17993)
cutjavascript Feb 6, 2020
c55c34e
Move React Map child check to behind flags or __DEV__ (#17995)
trueadm Feb 7, 2020
d1bfdfb
Ignore react-native-web in Flow checks (#17999)
gaearon Feb 7, 2020
e05dedc
Added $FlowFixMe to DevTools shell for module we Flow-ignore (#18001)
Feb 7, 2020
4f71f25
Re-enable shorthand CSS property collision warning (#18002)
sophiebits Feb 10, 2020
89c6042
fix: typo in test (#18005)
Naturalclar Feb 10, 2020
b63cb6f
Update ReactFiberExpirationTime.js (#17825)
haseebdaone Feb 10, 2020
517de74
Tweak comment wording (#18007)
gaearon Feb 10, 2020
ab7b83a
Stop exposing some internals on FB build (#18011)
gaearon Feb 10, 2020
df5fadd
Refactor commitPlacement to recursively insert nodes (#17996)
trueadm Feb 10, 2020
42918f4
Change build from babylon to babel (#18015)
trueadm Feb 11, 2020
529e58a
Remove legacy www config from Rollup build (#18016)
trueadm Feb 11, 2020
f727803
Flush all passive destroy fns before calling create fns (#17947)
Feb 11, 2020
988f4b1
Do not export passiveBrowserEventsSupported from Focus responder (#18…
trueadm Feb 11, 2020
a607ea4
Remove getIsHydrating (#18019)
gaearon Feb 12, 2020
58b8797
remove "Unreleased" section from CHANGELOG (#18027)
threepointone Feb 12, 2020
8777b44
Add Modern WWW build (#18028)
gaearon Feb 13, 2020
d4f2b03
Add Auto Import to Babel Plugin (#16626)
lunaruan Feb 13, 2020
2d6be75
[Native] Delete NativeComponent and NativeMethodsMixin (#18036)
elicwhite Feb 13, 2020
9def56e
Refactor DOM plugin system to single module (#18025)
trueadm Feb 14, 2020
93a229b
Update eslint rule exhaustive deps to use new suggestions feature (#1…
wdoug Feb 17, 2020
56a8c35
eslint-plugin-react-hooks@2.4.0
gaearon Feb 17, 2020
d533229
Fix Prettier
gaearon Feb 17, 2020
f48a5e6
Further cleanup of plugin event system (#18056)
trueadm Feb 18, 2020
d5ddc16
React developer tools extension for Microsoft Edge (#18041)
hmohamme Feb 18, 2020
90be006
Updated Yarn lockfile
Feb 18, 2020
48c4867
Update issue templates to directly link to relevant sources (#18039)
ryota-murakami Feb 18, 2020
1a6d817
[react-interactions] Ensure onBeforeBlur fires for hideInstance (#18064)
trueadm Feb 18, 2020
56d8a73
[www] Disable Scheduler `timeout` w/ dynamic flag (#18069)
acdlite Feb 18, 2020
691096c
Split recent passive effects changes into 2 flags (#18030)
Feb 18, 2020
14afeb1
Added missing feature flag
Feb 18, 2020
4d9f850
Re-throw errors thrown by the renderer at the root in the complete ph…
acdlite Feb 18, 2020
4912ba3
Add modern event system flag + rename legacy plugin module (#18073)
trueadm Feb 19, 2020
a8643e9
add no-restricted-globals to eslint config (#18076)
threepointone Feb 19, 2020
2512c30
Remove Flare bundles from build (#18077)
trueadm Feb 19, 2020
44e5f5e
Add fiber summary tooltip to devtools profiling (#18048)
M-Izadmehr Feb 19, 2020
a12dd52
Don't build some packages for WWW (#18078)
gaearon Feb 19, 2020
1000f61
Add container to event listener signature (#18075)
trueadm Feb 19, 2020
b6c94d6
Add guard around FocusWithin responder root events (#18080)
trueadm Feb 19, 2020
7e770da
Profiler tooltip tweaks (#18082)
Feb 19, 2020
085d021
[Native] Migrate focus/blur to call TextInputState with the host comp…
elicwhite Feb 19, 2020
ea6ed3d
Warn for update on different component in render (#17099)
acdlite Feb 19, 2020
3f85d53
Further pre-requisite changes to plugin event system (#18083)
trueadm Feb 20, 2020
b789060
Feature Flag for React.jsx` "spreading a key to jsx" warning (#18074)
threepointone Feb 20, 2020
abfbae0
Update Rollup version to 1.19.4 and fix breaking changes (#15037)
kunukn Feb 20, 2020
5de5b61
Bugfix: `memo` drops lower pri updates on bail out (#18091)
acdlite Feb 21, 2020
8b596e0
Remove unused arguments in the reconciler (#18092)
gaearon Feb 21, 2020
65bbda7
Rename Chunks API to Blocks (#18086)
sebmarkbage Feb 21, 2020
2c4221c
Change string refs in function component message (#18031)
sebmarkbage Feb 21, 2020
78e8160
Don't warn about unmounted updates if pending passive unmount (#18096)
Feb 21, 2020
0934879
Codemod to import * as React from "react"; (#18102)
sebmarkbage Feb 22, 2020
be76966
Code mod import * as React from 'react' in react-window (#18105)
sebmarkbage Feb 22, 2020
501a788
runAllPassiveEffectDestroysBeforeCreates's feature flag description t…
adasq Feb 24, 2020
ccab494
Move type DOMContainer to HostConfig (#18112)
sebmarkbage Feb 24, 2020
0e49074
Cross platform support to run yarn test:edge for Microsoft Edge dev t…
hmohamme Feb 25, 2020
bf13d3e
[eslint-plugin-react-hooks] Fix cyclic caching for loops containing a…
M-Izadmehr Feb 25, 2020
a29a273
[react-interactions] Ensure blur to window disengages press (#18125)
trueadm Feb 25, 2020
8d7535e
Add @nolint to FB bundle headers (#18126)
trueadm Feb 25, 2020
c59a94e
Merge commit '8d7535e540c036a40754acb53d51f1fdcc8dc6d8' into merge-ex…
Ephem Feb 26, 2020
7559d18
Fix linting
Ephem Feb 26, 2020
014e953
Restore Lightyear circleci-config
Ephem Feb 26, 2020
a9cf90a
Trigger
Ephem Feb 26, 2020
a319753
Trigger
Ephem Mar 4, 2020
6d065bb
Trigger
Ephem Mar 4, 2020
1a98688
Try latest jdk-image
Ephem Mar 4, 2020
9590658
Remove workflow version from CI-config
Ephem Mar 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
executors:
my-executor:
docker:
- image: circleci/openjdk:8-jdk-node-browsers
- image: circleci/openjdk:jdk-node-browsers
working_directory: /tmp

jobs:
Expand Down Expand Up @@ -76,8 +76,6 @@ jobs:
command: cd workspace && yarn lightyear:build

workflows:
version: 2

validate:
jobs:
- install
Expand Down
10 changes: 10 additions & 0 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"packages": ["packages/react", "packages/react-dom", "packages/scheduler"],
"buildCommand": "build --type=NODE react/index,react-dom/index,scheduler/index,scheduler/tracing",
"publishDirectory": {
"react": "build/node_modules/react",
"react-dom": "build/node_modules/react-dom",
"scheduler": "build/node_modules/scheduler"
},
"sandboxes": ["new"]
}
27 changes: 23 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ const {
esNextPaths,
} = require('./scripts/shared/pathsByLanguageVersion');

const restrictedGlobals = require('confusing-browser-globals');

const OFF = 0;
const ERROR = 2;

module.exports = {
extends: 'fbjs',
extends: ['fbjs', 'prettier'],

// Stop ESLint from looking for a configuration file in parent folders
root: true,
Expand All @@ -30,10 +32,10 @@ module.exports = {
rules: {
'accessor-pairs': OFF,
'brace-style': [ERROR, '1tbs'],
'comma-dangle': [ERROR, 'always-multiline'],
'consistent-return': OFF,
'dot-location': [ERROR, 'property'],
'dot-notation': ERROR,
// We use console['error']() as a signal to not transform it:
'dot-notation': [ERROR, {allowPattern: '^(error|warn)$'}],
'eol-last': ERROR,
eqeqeq: [ERROR, 'allow-null'],
indent: OFF,
Expand All @@ -42,6 +44,7 @@ module.exports = {
'no-bitwise': OFF,
'no-inner-declarations': [ERROR, 'functions'],
'no-multi-spaces': ERROR,
'no-restricted-globals': [ERROR].concat(restrictedGlobals),
'no-restricted-syntax': [ERROR, 'WithStatement'],
'no-shadow': ERROR,
'no-unused-expressions': ERROR,
Expand Down Expand Up @@ -92,7 +95,9 @@ module.exports = {
// the second argument of warning/invariant should be a literal string
'react-internal/no-primitive-constructors': ERROR,
'react-internal/no-to-warn-dev-within-to-throw': ERROR,
'react-internal/warning-and-invariant-args': ERROR,
'react-internal/invariant-args': ERROR,
'react-internal/warning-args': ERROR,
'react-internal/no-production-logging': OFF,
},

overrides: [
Expand Down Expand Up @@ -133,6 +138,19 @@ module.exports = {
'jest/valid-expect-in-promise': ERROR,
},
},
{
files: [
'**/__tests__/**/*.js',
'scripts/**/*.js',
'packages/*/npm/**/*.js',
'packages/dom-event-testing-library/**/*.js',
'packages/react-devtools*/**/*.js',
],
rules: {
'react-internal/no-production-logging': OFF,
'react-internal/warning-args': OFF,
},
},
{
files: ['packages/react-native-renderer/**/*.js'],
globals: {
Expand All @@ -149,6 +167,7 @@ module.exports = {
spyOnProd: true,
__PROFILE__: true,
__UMD__: true,
__EXPERIMENTAL__: true,
trustedTypes: true,
},
};
41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
name: "🐛 Bug Report"
about: Report a reproducible bug or regression.
title: 'Bug: '
labels: 'Status: Unconfirmed'

---

<!--
Please provide a clear and concise description of what the bug is. Include
screenshots if needed. Please test using the latest version of the relevant
React packages to make sure your issue has not already been fixed.
-->

React version:

## Steps To Reproduce

1.
2.

<!--
Your bug will get fixed much faster if we can run your code and it doesn't
have dependencies other than React. Issues without reproduction steps or
code examples may be immediately closed as not actionable.
-->

Link to code example:

<!--
Please provide a CodeSandbox (https://codesandbox.io/s/new), a link to a
repository on GitHub, or provide a minimal code example that reproduces the
problem. You may provide a screenshot of the application if you think it is
relevant to your bug report. Here are some tips for providing a minimal
example: https://stackoverflow.com/help/mcve.
-->

## The current behavior


## The expected behavior
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
contact_links:
- name: 📃 Documentation Issue
url: https://github.com/reactjs/reactjs.org/issues/new
about: This issue tracker is not for documentation issues. Please file documentation issues here.
- name: 🤔 Questions and Help
url: https://reactjs.org/community/support.html
about: This issue tracker is not for support questions. Please refer to the React community's help and discussion forums.
31 changes: 31 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Configuration for probot-stale - https://github.com/probot/stale
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- "Partner"
- "React Core Team"
- "Resolution: Backlog"
- "Type: Bug"
- "Type: Discussion"
- "Type: Regression"
# Label to use when marking an issue as stale
staleLabel: "Resolution: Stale"
issues:
# Comment to post when marking an issue as stale.
markComment: >
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Thank you for your contribution.
# Comment to post when closing a stale issue.
closeComment: >
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
pulls:
# Comment to post when marking a pull request as stale.
markComment: >
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Thank you for your contribution.
# Comment to post when closing a stale pull request.
closeComment: >
Closing this pull request after a prolonged period of inactivity. If this issue is still present in the latest release, please ask for this pull request to be reopened. Thank you!
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Kevin Coughlin <kevintcoughlin@gmail.com> <kevincoughlin@tumblr.com>
Krystian Karczewski <karcz.k@gmail.com>
Kunal Mehta <k.mehta@berkeley.edu> <kunalm@fb.com>
Laurence Rowe <l@lrowe.co.uk> <laurence@lrowe.co.uk>
Lea Rosema <terabaud@gmail.com>
Marcin K. <katzoo@github.mail>
Mark Anderson <undernewmanagement@users.noreply.github.com>
Mark Funk <mfunk86@gmail.com> <mark@boomtownroi.com>
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
jsxBracketSameLine: true,
trailingComma: 'es5',
printWidth: 80,
parser: 'babylon',
parser: 'babel',

overrides: [
{
Expand Down
7 changes: 7 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Reporting Security Issues

If you believe you have found a security vulnerability in React, we encourage you to let us know right away. We will investigate all legitimate reports and do our best to quickly fix the problem.

Please refer to the following page for our responsible disclosure policy, reward guidelines, and those things that should not be reported:

https://www.facebook.com/whitehat
15 changes: 12 additions & 3 deletions dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ const {generateResultsArray} = require('./scripts/rollup/stats');
const {existsSync, readFileSync} = require('fs');
const {exec} = require('child_process');

// This must match the name of the CI job that creates the build artifacts
const RELEASE_CHANNEL =
process.env.RELEASE_CHANNEL === 'experimental' ? 'experimental' : 'stable';
const artifactsJobName =
process.env.RELEASE_CHANNEL === 'experimental'
? 'process_artifacts_experimental'
: 'process_artifacts';

if (!existsSync('./build/bundle-sizes.json')) {
// This indicates the build failed previously.
// In that case, there's nothing for the Dangerfile to do.
Expand Down Expand Up @@ -117,6 +125,8 @@ function git(args) {
return;
}

markdown(`## Size changes (${RELEASE_CHANNEL})`);

const upstreamRef = danger.github.pr.base.ref;
await git(`remote add upstream https://github.com/facebook/react.git`);
await git('fetch upstream');
Expand All @@ -135,8 +145,7 @@ function git(args) {
}
for (let i = 0; i < statuses.length; i++) {
const status = statuses[i];
// This must match the name of the CI job that creates the build artifacts
if (status.context === 'ci/circleci: process_artifacts') {
if (status.context === `ci/circleci: ${artifactsJobName}`) {
if (status.state === 'success') {
baseCIBuildId = /\/facebook\/react\/([0-9]+)/.exec(
status.target_url
Expand All @@ -162,7 +171,7 @@ function git(args) {

for (let i = 0; i < baseArtifactsInfo.length; i++) {
const info = baseArtifactsInfo[i];
if (info.path === 'home/circleci/project/build/bundle-sizes.json') {
if (info.path.endsWith('bundle-sizes.json')) {
const resultsResponse = await fetch(info.url);
previousBuildResults = await resultsResponse.json();
break;
Expand Down
2 changes: 1 addition & 1 deletion examples/react-apollo-hooks/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (module.hot) {
server.on('request', app);
currentApp = app;
} catch (error) {
console.error(error);
console.error('Error starting example: %s', error);
}
});
}
2 changes: 1 addition & 1 deletion examples/redux/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (module.hot) {
server.on('request', app);
currentApp = app;
} catch (error) {
console.error(error);
console.error('Error starting example: %s', error);
}
});
}
2 changes: 1 addition & 1 deletion examples/urql/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (module.hot) {
server.on('request', app);
currentApp = app;
} catch (error) {
console.error(error);
console.error('Error starting example: %s', error);
}
});
}
14 changes: 5 additions & 9 deletions fixtures/attribute-behavior/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -461,9 +461,7 @@ function prepareState(initGlobals) {
hasSameBehaviorForAll,
rowPatternHash,
// "Good enough" id that we can store in localStorage
rowIdHash: `${attribute.name} ${attribute.tagName} ${
attribute.overrideStringValue
}`,
rowIdHash: `${attribute.name} ${attribute.tagName} ${attribute.overrideStringValue}`,
};
const rowGroup = rowPatternHashes.get(rowPatternHash) || new Set();
rowGroup.add(row);
Expand Down Expand Up @@ -866,14 +864,12 @@ class App extends React.Component {
// Sort
switch (sortOrder) {
case ALPHABETICAL:
return filteredAttributes.sort(
(attr1, attr2) =>
attr1.name.toLowerCase() < attr2.name.toLowerCase() ? -1 : 1
return filteredAttributes.sort((attr1, attr2) =>
attr1.name.toLowerCase() < attr2.name.toLowerCase() ? -1 : 1
);
case REV_ALPHABETICAL:
return filteredAttributes.sort(
(attr1, attr2) =>
attr1.name.toLowerCase() < attr2.name.toLowerCase() ? 1 : -1
return filteredAttributes.sort((attr1, attr2) =>
attr1.name.toLowerCase() < attr2.name.toLowerCase() ? 1 : -1
);
case GROUPED_BY_ROW_PATTERN: {
return filteredAttributes.sort((attr1, attr2) => {
Expand Down
37 changes: 25 additions & 12 deletions fixtures/attribute-behavior/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ async-each@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d"

async@^1.4.0, async@^1.5.2:
async@^1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"

Expand Down Expand Up @@ -1448,6 +1448,10 @@ commander@2.11.x, commander@~2.11.0:
version "2.11.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563"

commander@~2.20.3:
version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"

commondir@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
Expand Down Expand Up @@ -2838,14 +2842,14 @@ handle-thing@^1.2.5:
resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-1.2.5.tgz#fd7aad726bf1a5fd16dfc29b2f7a6601d27139c4"

handlebars@^4.0.3:
version "4.0.10"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.10.tgz#3d30c718b09a3d96f23ea4cc1f403c4d3ba9ff4f"
version "4.5.3"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.5.3.tgz#5cf75bd8714f7605713511a56be7c349becb0482"
dependencies:
async "^1.4.0"
neo-async "^2.6.0"
optimist "^0.6.1"
source-map "^0.4.4"
source-map "^0.6.1"
optionalDependencies:
uglify-js "^2.6"
uglify-js "^3.1.4"

har-schema@^1.0.5:
version "1.0.5"
Expand Down Expand Up @@ -4180,6 +4184,10 @@ negotiator@0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"

neo-async@^2.6.0:
version "2.6.1"
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"

no-case@^2.2.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.1.tgz#7aeba1c73a52184265554b7dc03baf720df80081"
Expand Down Expand Up @@ -5696,11 +5704,9 @@ source-map@0.5.x, source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, sourc
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"

source-map@^0.4.4:
version "0.4.4"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b"
dependencies:
amdefine ">=0.0.4"
source-map@^0.6.1, source-map@~0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"

source-map@~0.2.0:
version "0.2.0"
Expand Down Expand Up @@ -6090,7 +6096,7 @@ uglify-js@3.0.x, uglify-js@^3.0.13:
commander "~2.11.0"
source-map "~0.5.1"

uglify-js@^2.6, uglify-js@^2.8.29:
uglify-js@^2.8.29:
version "2.8.29"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd"
dependencies:
Expand All @@ -6099,6 +6105,13 @@ uglify-js@^2.6, uglify-js@^2.8.29:
optionalDependencies:
uglify-to-browserify "~1.0.0"

uglify-js@^3.1.4:
version "3.7.3"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.7.3.tgz#f918fce9182f466d5140f24bb0ff35c2d32dcc6a"
dependencies:
commander "~2.20.3"
source-map "~0.6.1"

uglify-to-browserify@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7"
Expand Down
Loading