Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
a63893f
Warn about undefined return value for memo and forwardRef (#19550)
Aug 6, 2020
3367298
Nesting Fixture (#19531)
gaearon Aug 7, 2020
db2f229
Fix command
gaearon Aug 7, 2020
2d9ec91
Indent a command
gaearon Aug 7, 2020
0cd9a6d
Parallelize Jest in CI (#19552)
acdlite Aug 7, 2020
7c30fb3
Update outdated lockfile (#19568)
eps1lon Aug 10, 2020
7f696bd
fix: onFocus/onBlur/onBeforeInput have a matching event type (#19561)
eps1lon Aug 10, 2020
aa99b0b
Rename test files
gaearon Aug 10, 2020
94c0244
Fix double-firing mouseenter (#19571)
gaearon Aug 10, 2020
0c52e24
Support inner component _debugOwner in memo (#19556)
Aug 10, 2020
2704bb5
Add ReactVersion to SchedulingProfiler render scheduled marks (#19553)
kartikcho Aug 10, 2020
ce37bfa
Remove resolutions from test renderer package.json (#19577)
gaearon Aug 10, 2020
c8d9b88
Speed up yarn cache in circle (#19566)
rickhanlonii Aug 11, 2020
b8ed6a1
[Scheduler] Call postTask directly (#19551)
acdlite Aug 12, 2020
b6e1d08
DevTools bug fix: Proxied methods should be safely dehydrated for dis…
pfongkye Aug 12, 2020
6291255
[Scheduler] Re-throw unhandled errors (#19595)
acdlite Aug 13, 2020
ccb6c39
Remove unused argument (#19600)
inottn Aug 13, 2020
c3ee973
Fix emoji character displayed in Chrome extension (#19603)
Aug 13, 2020
dab0854
Move commit passive unmount/mount to CommitWork (#19599)
sebmarkbage Aug 13, 2020
1d5e10f
[eslint-plugin-react-hooks] Report constant constructions (#19590)
captbaritone Aug 13, 2020
fe6d052
fix event.relatedTarget fallback logic for firefox (#19607)
Aug 14, 2020
9abc278
Remove wasteful checks from `shouldYield`
acdlite Aug 13, 2020
3f8115c
Remove `didTimeout` check from work loop
acdlite Aug 13, 2020
9b35dd2
Permanently removed component stacks from scheduling profiler data (#…
Aug 14, 2020
ffb749c
Improve error boundary handling for unmounted subtrees (#19542)
Aug 14, 2020
49cd77d
fix: leak strict mode with UMD builds (#19614)
koba04 Aug 15, 2020
702fad4
refactor fb.me redirect link to reactjs.org/link (#19598)
cylim Aug 17, 2020
ced05c4
Update CHANGELOG.md
gaearon Aug 17, 2020
e4afb2f
eslint-plugin-react-hooks@4.1.0
gaearon Aug 17, 2020
1287670
Fix: React cannot render in ShadowRoot (#15894)
Jack-Works Aug 17, 2020
1a41a19
Append text string to <Text> error message (#19581)
yungsters Aug 17, 2020
bcca5a6
Always skip unmounted/unmounting error boundaries (#19627)
Aug 17, 2020
ee409ea
change destroy to safelyCallDestroy (#19605)
lunaruan Aug 18, 2020
24f1923
fix: open two same tabs on firefox (#19632)
unbyte Aug 18, 2020
23595ff
Add missing param to safelyCallDestroy() (#19638)
Aug 18, 2020
c45a195
fix: property list values should show whitespace (#19640)
sammarks Aug 19, 2020
32ca313
refactor: remove unnecessary return statements (#19625)
koba04 Aug 19, 2020
b8fa09e
provide profiling bundle for react-reconciler (#19559)
misterdjules Aug 19, 2020
87b3e2d
Add flow to SyntheticEvent (#19564)
eps1lon Aug 19, 2020
dd651df
Keep onTouchStart, onTouchMove, and onWheel passive (#19654)
gaearon Aug 19, 2020
64ddef4
Revert "Remove onScroll bubbling flag (#19535)" (#19655)
gaearon Aug 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 72 additions & 72 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@ aliases:
- &environment
TZ: /usr/share/zoneinfo/America/Los_Angeles

- &restore_yarn_cache
- &restore_node_modules
restore_cache:
name: Restore node_modules cache
keys:
- v2-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
- v2-node-{{ arch }}-{{ .Branch }}-
- v2-node-{{ arch }}-
- &run_yarn
run:
name: Install Packages
command: yarn --frozen-lockfile
- v2-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}-node-modules

- &TEST_PARALLELISM 20

- &attach_workspace
at: build
Expand All @@ -28,8 +24,7 @@ aliases:
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: node ./scripts/rollup/consolidateBundleSizes.js
- run: ./scripts/circleci/pack_and_store_artifact.sh
- store_artifacts:
Expand Down Expand Up @@ -57,22 +52,37 @@ jobs:
- run:
name: Nodejs Version
command: node --version
- *restore_yarn_cache
- *run_yarn
- restore_cache:
name: Restore yarn cache
key: v2-node-{{ arch }}-{{ checksum "yarn.lock" }}-yarn
- run:
name: Install Packages
command: yarn --frozen-lockfile --cache-folder ~/.cache/yarn
- save_cache:
name: Save node_modules cache
key: v2-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
# Store the yarn cache globally for all lock files with this same
# checksum. This will speed up the setup job for all PRs where the
# lockfile is the same.
name: Save yarn cache for future installs
key: v2-node-{{ arch }}-{{ checksum "yarn.lock" }}-yarn
paths:
- ~/.cache/yarn
- save_cache:
# Store node_modules for all jobs in this workflow so that they don't
# need to each run a yarn install for each job. This will speed up
# all jobs run on this branch with the same lockfile.
name: Save node_modules cache
# This cache key is per branch, a yarn install in setup is required.
key: v2-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}-node-modules
paths:
- node_modules

yarn_lint:
docker: *docker
environment: *environment

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: node ./scripts/prettier/index
- run: node ./scripts/tasks/eslint
- run: ./scripts/circleci/check_license.sh
Expand All @@ -85,138 +95,136 @@ jobs:

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: node ./scripts/tasks/flow-ci

RELEASE_CHANNEL_stable_yarn_test:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=stable --ci

yarn_test:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --ci

RELEASE_CHANNEL_stable_yarn_test_www:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=www-classic --ci

RELEASE_CHANNEL_stable_yarn_test_www_variant:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=www-classic --variant --ci

RELEASE_CHANNEL_stable_yarn_test_prod_www:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=www-classic --prod --ci

RELEASE_CHANNEL_stable_yarn_test_prod_www_variant:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=www-classic --prod --variant --ci

yarn_test_www:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=www-modern --ci

yarn_test_www_variant:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=www-modern --variant --ci

yarn_test_prod_www:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=www-modern --prod --ci

yarn_test_prod_www_variant:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=www-modern --prod --variant --ci

RELEASE_CHANNEL_stable_yarn_test_persistent:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=stable --persistent --ci

RELEASE_CHANNEL_stable_yarn_test_prod:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM

steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=stable --prod --ci

yarn_test_prod:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=experimental --prod --ci

RELEASE_CHANNEL_stable_yarn_build:
docker: *docker
environment: *environment
parallelism: 20
parallelism: *TEST_PARALLELISM
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run:
environment:
RELEASE_CHANNEL: stable
Expand All @@ -242,8 +250,7 @@ jobs:
parallelism: 20
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run:
environment:
RELEASE_CHANNEL: experimental
Expand All @@ -270,8 +277,7 @@ jobs:
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run:
environment:
RELEASE_CHANNEL: experimental
Expand All @@ -290,8 +296,7 @@ jobs:
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
# This runs in the process_artifacts job, too, but it's faster to run
# this step in both jobs instead of running the jobs sequentially
- run: node ./scripts/rollup/consolidateBundleSizes.js
Expand All @@ -306,8 +311,7 @@ jobs:
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
# This runs in the process_artifacts job, too, but it's faster to run
# this step in both jobs instead of running the jobs sequentially
- run: node ./scripts/rollup/consolidateBundleSizes.js
Expand All @@ -322,8 +326,7 @@ jobs:
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn lint-build
- run: scripts/circleci/check_minified_errors.sh

Expand All @@ -333,8 +336,7 @@ jobs:
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run:
environment:
RELEASE_CHANNEL: stable
Expand All @@ -344,21 +346,21 @@ jobs:
RELEASE_CHANNEL_stable_yarn_test_build:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=stable --build --ci

yarn_test_build:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=experimental --build --ci

yarn_test_build_devtools:
Expand All @@ -367,8 +369,7 @@ jobs:
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --project=devtools --build --ci

RELEASE_CHANNEL_stable_yarn_test_dom_fixtures:
Expand All @@ -377,7 +378,7 @@ jobs:
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *restore_node_modules
- run:
name: Run DOM fixture tests
environment:
Expand All @@ -393,8 +394,7 @@ jobs:
environment: *environment
steps:
- checkout
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run:
name: Run fuzz tests
command: |
Expand All @@ -404,21 +404,21 @@ jobs:
RELEASE_CHANNEL_stable_yarn_test_build_prod:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=stable --build --prod --ci

yarn_test_build_prod:
docker: *docker
environment: *environment
parallelism: *TEST_PARALLELISM
steps:
- checkout
- attach_workspace: *attach_workspace
- *restore_yarn_cache
- *run_yarn
- *restore_node_modules
- run: yarn test --release-channel=experimental --build --prod --ci

workflows:
Expand Down
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ module.exports = {
__webpack_require__: true,
},
},
{
files: ['packages/scheduler/**/*.js'],
globals: {
TaskController: true,
},
},
],

globals: {
Expand Down
Loading