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

[pull] main from facebook:main #856

Open
wants to merge 724 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
724 commits
Select commit Hold shift + click to select a range
fce4606
chore[react-devtools]: extract some utils into separate modules to un…
hoxyq Sep 18, 2024
e33acfd
refactor[react-devtools]: propagate settings from global hook object …
hoxyq Sep 18, 2024
f37c7bc
feat[react-devtools/extension]: use chrome.storage to persist setting…
hoxyq Sep 18, 2024
f2c57a3
chore: remove settings manager from react-devtools-core (#30986)
hoxyq Sep 18, 2024
09d8283
[ez] Rewrite optional chaining and nullish coalescing syntax (#30982)
mofeiZ Sep 18, 2024
e72127a
Build `react-dom` in `builds/facebook-fbsource` (#30711)
yungsters Sep 18, 2024
a86afe8
feat: expose installHook with settings argument from react-devtools-c…
hoxyq Sep 19, 2024
d5e955d
[compiler] Pass through unmodified props spread when inlining jsx (#3…
jackpope Sep 19, 2024
632f88d
[compiler] Allow ReactElement symbol to be configured when inlining j…
jackpope Sep 19, 2024
c21ce4a
feat: display message if user ended up opening hook script (#31000)
hoxyq Sep 19, 2024
e740d4b
chore: remove using local storage for persisting console settings on …
hoxyq Sep 19, 2024
babde5d
[lint] Add no-optional-chaining (#31003)
rickhanlonii Sep 19, 2024
e495392
Update react-native/react-dom build directory (#31006)
jackpope Sep 19, 2024
ae75d5a
[Fizz] Include componentStack at the root when aborting (#31011)
gnoff Sep 20, 2024
d4688df
[Fiber] Track Event Time, startTransition Time and setState Time (#31…
sebmarkbage Sep 20, 2024
5d19e1c
Fix: profiling crashes #30661 #28838 (#31024)
EdmondChuiHW Sep 23, 2024
4e9540e
[Fiber] Log the Render/Commit phases and the gaps in between (#31016)
sebmarkbage Sep 23, 2024
79bcf6e
Fix missing trailing / in commit artifacts workflow
poteto Sep 23, 2024
5b19dc0
Allow forcing a build in artifacts workflow dispatch
poteto Sep 23, 2024
4708fb9
Fix runtime_commit_artifacts workflow
poteto Sep 23, 2024
04bd67a
Resolve references to deduped owner objects (#30549)
unstubbable Sep 24, 2024
fc4a33e
fix: consider alternate as a key for componentLogsEntry when inspecti…
hoxyq Sep 24, 2024
a15bbe1
refactor: data source for errors and warnings tracking is now in Stor…
hoxyq Sep 24, 2024
d2e9b9b
React DevTools 5.3.1 -> 6.0.0 (#31058)
hoxyq Sep 25, 2024
f9ebd85
Increase nested update limit to 100 (#31061)
jackpope Sep 25, 2024
3c7667a
Unify perform{Sync,Concurrent}WorkOnRoot implementation (#31029)
acdlite Sep 25, 2024
0f1856c
Make prerendering always non-blocking (#31056)
acdlite Sep 25, 2024
778e1ed
[Fiber] Fix missing render times when we cancel a pending commit (#31…
eps1lon Sep 25, 2024
d66fa02
fix: use public instance in Fiber renderer and expose it from getInsp…
hoxyq Sep 26, 2024
f8024b0
refactor: allow custom impl of backend realod-to-profile support chec…
EdmondChuiHW Sep 26, 2024
9927ab2
Bump rollup from 4.13.2 to 4.22.4 in /compiler (#31039)
dependabot[bot] Sep 26, 2024
d0772d5
Bump axios from 1.7.1 to 1.7.4 in /compiler (#30694)
dependabot[bot] Sep 26, 2024
f04b8fc
Bump ws from 6.2.2 to 6.2.3 in /scripts/release (#30463)
dependabot[bot] Sep 26, 2024
f7aff7f
Bump express from 4.18.2 to 4.21.0 (#30980)
dependabot[bot] Sep 26, 2024
db320ea
Bump rollup from 3.20.0 to 3.29.5 (#31072)
dependabot[bot] Sep 26, 2024
64be7b4
[ci] Fix missing values during manual workflow dispatch
poteto Sep 26, 2024
c900ee0
[ez] Make commit sha clickable for fbsource
poteto Sep 26, 2024
b7f74f3
[ez] Update deprecated action
poteto Sep 26, 2024
0e9ccde
[dependabot] Remove stale directories from config
poteto Sep 26, 2024
b90e440
[dependabot] Ignore all fixture directories
poteto Sep 26, 2024
b091ef7
fix: update release scripts for react devtools (#31069)
hoxyq Sep 26, 2024
204a551
Add: reload to profile for Fusebox (#31021)
EdmondChuiHW Sep 26, 2024
60b1420
Turn on lazy context propagation for RN and RTR (#31076)
jackpope Sep 26, 2024
76aee6f
Revert "Make prerendering always non-blocking" (#31080)
rickhanlonii Sep 26, 2024
67fee58
[Fizz] Start initial work immediately (#31079)
gnoff Sep 26, 2024
d34da5c
[ci] Fix incorrect sha / commit messages in manual Meta builds
poteto Sep 26, 2024
3edc000
[compiler] Fix broken tests
poteto Sep 26, 2024
db24098
[playground] Decouple playground from compiler
poteto Sep 27, 2024
2d16326
fix[scripts/devtools/publish-release]: parse version list instead of …
hoxyq Sep 30, 2024
943e45e
[compiler][test fixtures] Fork more fixtures for hir-rewrite
mofeiZ Sep 30, 2024
1a77920
[compiler][test fixtures] Add enablePropagateDepsInHIR to forked tests
mofeiZ Sep 30, 2024
8c89fa7
[compiler][hir-rewrite] Infer non-null props, destructure source
mofeiZ Sep 30, 2024
58a3ca3
[compiler][hir-rewrite] Cleanup Identifier -> IdentifierId
mofeiZ Sep 30, 2024
5d12e9e
[compiler] repro for dep merging edge case (non-hir)
mofeiZ Sep 30, 2024
2cbea24
[compiler][fixtures] Patch error-handling edge case in snap evaluator
mofeiZ Sep 30, 2024
c67e241
[compiler] Renames and no-op refactor for next PR
mofeiZ Sep 30, 2024
326832a
[Flight] Serialize Error Values (#31104)
sebmarkbage Sep 30, 2024
654e387
[Flight] Serialize Server Components Props in DEV (#31105)
sebmarkbage Oct 1, 2024
40357fe
fix[react-devtools]: request hook initialization inside http server r…
hoxyq Oct 1, 2024
9ea5ffa
chore[react-devtools]: add legacy mode error message to the ignore li…
hoxyq Oct 1, 2024
6e61258
chore[react-devtools]: drop legacy context tests (#31059)
hoxyq Oct 1, 2024
d8c90fa
Disable infinite render loop detection (#31088)
jackpope Oct 1, 2024
99c056a
[Flight] Allow aborting encodeReply (#31106)
sebmarkbage Oct 1, 2024
459fd41
Define `HostInstance` type for React Native (#31101)
yungsters Oct 2, 2024
0751fac
[compiler] Optional chaining for dependencies (HIR rewrite)
mofeiZ Oct 2, 2024
edacbde
[compiler][hir-rewrite] Check mutability of base identifier when hois…
mofeiZ Oct 3, 2024
1460d67
[compiler][hir] Only hoist always-accessed PropertyLoads from functio…
mofeiZ Oct 3, 2024
91c42a1
[rcr][ez] Clean up unused $read from rcr (#31136)
poteto Oct 7, 2024
68d59d4
[compiler][ez] Fix reanimated custom type defs for imports (#31137)
mofeiZ Oct 7, 2024
b78a7f2
[rcr] Re-export useMemoCache in top level React namespace (#31139)
poteto Oct 7, 2024
d2367f1
[rcr] Reexport React.__COMPILER_RUNTIME.c or fallback to polyfill (#3…
poteto Oct 7, 2024
0e43aa7
[snap] Remove unnecessary React.c override (#31141)
poteto Oct 7, 2024
68d5288
[snap] Add react-compiler-runtime as a dependency (#31142)
poteto Oct 7, 2024
8dd4cda
[rcr] Add target flag to compiler (#31143)
poteto Oct 7, 2024
3fd3364
[rcr] Update default runtimeModule to react-compiler-runtime (#31144)
poteto Oct 7, 2024
23cd3ac
[rcr] Remove runtimeModule compiler option (#31145)
poteto Oct 7, 2024
f74f6cd
[rcr] Publish react-compiler-runtime to npm (#31146)
poteto Oct 7, 2024
ed966da
[compiler] Fix busted postinstall script (#31147)
poteto Oct 8, 2024
bf0c054
fix[react-devtools]: wrap key string in preformatted text html elemen…
hoxyq Oct 9, 2024
dbf80c8
fix[react-devtools]: update profiling status before receiving respons…
hoxyq Oct 9, 2024
389a2de
refactor[react-devtools/fiber/renderer]: optimize durations resolutio…
hoxyq Oct 9, 2024
4a86ec5
fix[react-devtools]: removed redundant startProfiling call (#31131)
hoxyq Oct 9, 2024
1d8d120
fix[react-devtools]: remove all listeners when Agent is shutdown (#31…
hoxyq Oct 9, 2024
bfe91fb
refactor[react-devtools]: flatten reload and profile config (#31132)
hoxyq Oct 9, 2024
d5bba18
fix[react-devtools]: record timeline data only when supported (#31154)
hoxyq Oct 9, 2024
de43d56
[cleanup] remove flag enableAddPropertiesFastPath (#31062)
kassens Oct 9, 2024
f5b8d93
[Flight] Serialize top-level Date (#31163)
gnoff Oct 10, 2024
131ae81
[compiler][ez] Include phi identifier in AssertValidMutableRanges
mvitousek Oct 10, 2024
566b0b0
[Flight] Don't limit objects that are children of special types (#31160)
sebmarkbage Oct 10, 2024
38af456
[Flight] don't emit chunks for rejected thenables after abort (#31169)
gnoff Oct 10, 2024
0f1127b
[prettier] Ignore compiler/target (#31168)
poteto Oct 10, 2024
b781c9f
[compiler] Scaffold fixture library (#31148)
poteto Oct 10, 2024
16ac71a
Fix prepare-prerelease script (#31159)
eps1lon Oct 10, 2024
2ef4079
[compiler] Scaffold fixture apps (#31164)
poteto Oct 10, 2024
eb0e265
[compiler] Compile lib (#31165)
poteto Oct 10, 2024
0a1fdee
[compiler] Consume compiled lib in react 18 app (#31166)
poteto Oct 10, 2024
77f4389
[compiler] Consume compiled lib in react 19 app (#31167)
poteto Oct 10, 2024
fbfe37e
[compiler] Test fixture: non-reactive phi creates 'dangling ref' scop…
mofeiZ Oct 10, 2024
70fb136
Fix limit without owner stacks (#31179)
sebmarkbage Oct 10, 2024
7b7fac0
[compiler] Represent phis with places rather than identifiers
mvitousek Oct 10, 2024
5636fad
[string-refs] log string ref from prod (#31161)
kassens Oct 10, 2024
0911120
eslint-plugin-react-hooks: Release 5.0.0 (#31176)
eps1lon Oct 11, 2024
2011074
Bump json5 from 2.2.1 to 2.2.3 in /compiler (#31185)
dependabot[bot] Oct 11, 2024
9c525ea
Bump micromatch from 4.0.5 to 4.0.8 in /compiler (#31186)
dependabot[bot] Oct 11, 2024
6cf5bd9
[compiler] Allow refs to be lazily initialized during render
mvitousek Oct 11, 2024
147374d
[compiler] Kill markReactiveIdentifier and friends
mvitousek Oct 11, 2024
cd22717
[Flight] Also don't cut off type and key (#31209)
sebmarkbage Oct 13, 2024
75dd053
[string-refs] make disableStringRefs a dynamic www flag (#31175)
kassens Oct 14, 2024
b60286b
[compiler] Use consistent version hash for npm (#31177)
poteto Oct 14, 2024
cbcc1d2
[ci] Consistent cache names (#31239)
poteto Oct 14, 2024
6cf8518
[ci] Specify limited concurrency for PR jobs (#31240)
poteto Oct 14, 2024
13411e4
[Re-land] Make prerendering always non-blocking: Add missing feature …
jackpope Oct 14, 2024
ec2bf02
fix[react-devtools]: fixed timeline profiler tests (#31261)
hoxyq Oct 15, 2024
9806a4b
[DevTools] Fix React Compiler badging (#31196)
poteto Oct 15, 2024
c7c68ef
React DevTools 6.0.0 -> 6.0.1 (#31263)
hoxyq Oct 15, 2024
8382581
[ESLint] Add test for rejected `useId` in async Components (#31208)
eps1lon Oct 15, 2024
6c4bbc7
[Re-land] Make prerendering always non-blocking (#31268)
jackpope Oct 15, 2024
be94b10
[Flight] Enable sync stack traces for errors and console replay (#31270)
sebmarkbage Oct 16, 2024
77b637d
Add Bridge types for Fusebox (#31274)
EdmondChuiHW Oct 16, 2024
a3d9ea0
Delete `__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED` from Reac…
yungsters Oct 16, 2024
3ed64f8
[ez] Update references to 'forget' in react-compiler-runtime (#31277)
poteto Oct 16, 2024
bf7e210
tests[react-devtools]: added tests for Compiler integration (#31241)
hoxyq Oct 17, 2024
c91b3b0
JSX Outlining (#30956)
gsathya Oct 17, 2024
9c60cbe
[compiler] Clean up publish script (#31278)
poteto Oct 17, 2024
25cac22
[ci] Allow passing various params to compiler publish script (#31283)
poteto Oct 17, 2024
1ce58dd
[ci] Don't auto push to latest tag (#31284)
poteto Oct 18, 2024
b8ae38f
Audit try/finally around console patching (#31286)
sebmarkbage Oct 18, 2024
35b63ca
[ci:compiler] Only add latest tag to non-experimental (#31288)
poteto Oct 18, 2024
d572175
[fixture] Update compiler to use latest package (#31289)
poteto Oct 18, 2024
ee6ca23
[playground] Upgrade to Next 15 (#31291)
poteto Oct 18, 2024
6138330
[playground] Remove unnecessary fs package (#31292)
poteto Oct 18, 2024
915be0e
[playground] Upgrade various packages (#31293)
poteto Oct 18, 2024
cdde15e
[compiler] InlineJSXTransform transforms jsx inside function expressi…
josephsavona Oct 18, 2024
9deb367
[ci] Publish compiler weekly prereleases (#31294)
poteto Oct 18, 2024
54c0edc
[ci] Don't use branch name for concurrency (#31296)
poteto Oct 18, 2024
1839e14
[ez] Update compiler issue template (#31297)
poteto Oct 18, 2024
39a7730
Rename SSRManifest to ServerConsumerManifest (#31299)
sebmarkbage Oct 20, 2024
22b2b1a
[Flight] Add serverModuleMap option for mapping ServerReferences (#31…
sebmarkbage Oct 20, 2024
d49123f
Expose prerender() for SSG in stable (#31298)
sebmarkbage Oct 20, 2024
c1e1358
[Flight] Align turbopack option name with webpack name (#31301)
sebmarkbage Oct 20, 2024
251b666
[Flight] Handle bound arguments for loaded server references (#31302)
sebmarkbage Oct 20, 2024
f11bd34
Fix types (#31303)
sebmarkbage Oct 20, 2024
65a56d0
Fix timing issue with fake promise resolving sync (#31304)
sebmarkbage Oct 20, 2024
69d4b80
[Flight] Support Async Modules in Server References (#31313)
sebmarkbage Oct 21, 2024
45804af
[flow] Eliminate usage of more than 1-arg `React.AbstractComponent` i…
SamChou19815 Oct 21, 2024
ae90522
chore: remove unsued deps from React Compiler Babel plugin (#31315)
SimenB Oct 22, 2024
9daabc0
`react-hooks/rules-of-hooks`: Add support for `do/while` loops (#28714)
tyxla Oct 22, 2024
b4cbdc5
remove terser from react-compiler-runtime build (#31326)
henryqdineen Oct 22, 2024
2dc5beb
Fix error handling in `resolveClientReference` (#31332)
unstubbable Oct 23, 2024
b3e0a11
[Flight] Allow <anonymous> stack frames to be serialized if opt-in (#…
sebmarkbage Oct 23, 2024
28668d3
[playground] Upgrade to Next 15 stable (#31333)
poteto Oct 23, 2024
1631855
[Flight] encodeURI filenames parsed from stack traces (#31340)
sebmarkbage Oct 23, 2024
d19ba8e
[react-compiler-runtime] Support React 17 peer dependency (#31336)
swissspidy Oct 24, 2024
cae764c
Revert "[Re-land] Make prerendering always non-blocking (#31268)" (#3…
jackpope Oct 25, 2024
fe04dbc
[compiler] Fix to ref access check to ban ref?.current
mvitousek Oct 25, 2024
aded0ef
[compiler] Handle member expr as computed property (#31344)
gsathya Oct 28, 2024
02c0e82
[compiler][ez] Remove unused param (#31376)
gsathya Oct 28, 2024
0bc3074
Capture the source and not just the stack on first seen error (#31367)
sebmarkbage Oct 28, 2024
3928cb0
[compiler] Ref validation repro for ImportSpecifier with renamed loca…
poteto Oct 30, 2024
4abe4b5
[compiler] Check if local identifier is a hook when resolving globals…
poteto Oct 30, 2024
603e610
[compiler] Update react deps to experimental instead of beta (#31385)
poteto Oct 30, 2024
ea3ac58
Fix Ref Lifecycles in Hidden Subtrees (#31379)
yungsters Oct 31, 2024
b7e2157
[Flight] Handle errors during JSON stringify of console values (#31391)
sebmarkbage Oct 31, 2024
16409d0
temporarily disable lazy context propagation (#31403)
gnoff Nov 1, 2024
7c8e5e7
Reenable lazy context propagation (#31405)
gnoff Nov 1, 2024
4d577fd
More Unit Tests for Refs in Hidden Subtrees (#31404)
yungsters Nov 4, 2024
543eb09
[compiler] Wrap inline jsx transform codegen in conditional (#31267)
jackpope Nov 4, 2024
07aa494
Remove enableRefAsProp feature flag (#30346)
kassens Nov 4, 2024
33c7bd9
Remove trim_trailing_whitespace from editorconfig (#31413)
rickhanlonii Nov 4, 2024
b81e6dd
[cleanup] Remove compiler runtime-compat fixture library (#31430)
poteto Nov 5, 2024
156eab2
Fork the "empty" prepareStackTrace case for Server builds (#31427)
sebmarkbage Nov 5, 2024
dd1a021
[compiler][ez] Patch hoistability for ObjectMethods (#31197)
mofeiZ Nov 5, 2024
e7e269b
[compiler] bugfix for hoistable deps for nested functions (#31345)
mofeiZ Nov 5, 2024
527bcaa
[compiler] patch: rewrite scope dep/decl in inlineJsxTransform (#31431)
mofeiZ Nov 5, 2024
6c0f37f
[bundles] stop building legacy Paper renderer (#31429)
kassens Nov 5, 2024
f8f6e1a
[bundles] update GitHub actions for commit build branch (#31432)
kassens Nov 5, 2024
bddb7c9
[compiler] Add fixture for objectexpr computed key bug (#31348)
mofeiZ Nov 5, 2024
5ca2bc6
[compiler][ez] Fixture repro for function hoisting bug (#31349)
mofeiZ Nov 5, 2024
3319560
[compiler][ez] tsconfig: treat all snap fixtures as modules (#31350)
mofeiZ Nov 5, 2024
792fa06
[compiler][ez] Clean up pragma parsing for tests + playground (#31347)
mofeiZ Nov 5, 2024
f2f002c
[compiler][be] Stabilize compiler output: sort deps and decls by name…
mofeiZ Nov 5, 2024
fd018af
[compiler] Delete propagateScopeDeps (non-hir) (#31199)
mofeiZ Nov 6, 2024
c3570b1
[compiler] Collect temporaries and optional chains from inner functio…
mofeiZ Nov 6, 2024
3dc1e48
Followup: remove dead test code from #30346 (#31415)
kassens Nov 6, 2024
d1f0472
[string-refs] remove enableLogStringRefsProd flag (#31414)
kassens Nov 6, 2024
3149685
Back out "[bundles] stop building legacy Paper renderer (#31429)" (#3…
kassens Nov 6, 2024
66855b9
Remove unused lastFullyObservedContext (#31435)
sophiebits Nov 6, 2024
a7b83e7
[www] set disableStringRefs to true (#31438)
kassens Nov 6, 2024
2df8f61
[compiler] Store original and new prop names (#31440)
gsathya Nov 6, 2024
09197bb
[compiler] Outline jsx with duplicate attributes (#31441)
gsathya Nov 6, 2024
a88b9e5
[compiler] Outline JSX with non-jsx children (#31442)
gsathya Nov 6, 2024
e137890
[string-refs] cleanup string ref code (#31443)
kassens Nov 6, 2024
682a103
[www] set disableLegacyMode to true (#31439)
kassens Nov 7, 2024
5c56b87
Update React Native shims to use export syntax (#31426)
huntie Nov 7, 2024
989af12
Make prerendering always non-blocking with fix (#31452)
jackpope Nov 8, 2024
ff595de
[Flight] Add initial readme to react-server package (#31464)
gnoff Nov 9, 2024
6e29479
[devtools] allow non-coercible objects in formatConsoleArgumentsToSin…
henryqdineen Nov 10, 2024
ed15d50
update flight readme wording (#31466)
gnoff Nov 10, 2024
b836de6
Fix continuation bug (#31434)
rickhanlonii Nov 11, 2024
2ec26bc
[compiler] Repro for mutable range edge case (#31479)
mofeiZ Nov 11, 2024
d9b3841
Revert "Performance tracks are sorted by start time" hack (#31518)
sebmarkbage Nov 12, 2024
3770c11
[compiler] repro for reactive ref.current accesses (#31519)
mofeiZ Nov 12, 2024
7ac8e61
Only log component level profiling for components that actually perfo…
sebmarkbage Nov 13, 2024
380f5d6
Fix sizebot (#31535)
poteto Nov 13, 2024
988e217
Turn on enableSiblingPrerendering in canary (#31541)
acdlite Nov 14, 2024
7aa5dda
Bump RC version to 19.0.0-rc.1 (#31542)
acdlite Nov 14, 2024
b15135b
[ez] Update useMemoCache return type (#31539)
poteto Nov 14, 2024
8657869
Separate Tracks for Components and Phases (#31525)
sebmarkbage Nov 14, 2024
3644f0b
Use completedRenderEndTime as the start of the commit phase if it's a…
sebmarkbage Nov 14, 2024
3c15d21
[compiler] Disable emit of .tsbuildinfo (#31459)
nikeee Nov 14, 2024
5d89471
Export __COMPILER_RUNTIME in stable (#31540)
poteto Nov 14, 2024
4686872
Log passive commit phase when it wasn't delayed (#31526)
sebmarkbage Nov 14, 2024
c13986d
Fix Overlapping "message" Bug in Performance Track (#31528)
sebmarkbage Nov 14, 2024
b01722d
Format event with "warning" yellow and prefix with "Event: " (#31536)
sebmarkbage Nov 14, 2024
63cde68
(chore): copy fix in <style> precedence error (#31524)
ztanner Nov 14, 2024
8a41d6c
Unify RootDidNotComplete and RootSuspendedWithDelay exit path (#31547)
sebmarkbage Nov 15, 2024
e1ef8c9
Don't dist-tag canaries with `rc` (#31546)
acdlite Nov 15, 2024
3720870
Log Render Phases that Never Committed (#31548)
sebmarkbage Nov 15, 2024
4972718
[compiler] Fix: ref.current now correctly reactive (#31521)
mofeiZ Nov 15, 2024
c09402a
[compiler] Stop using function `dependencies` in propagateScopeDeps (…
mofeiZ Nov 15, 2024
858633f
[compiler] Lower JSXMemberExpression with LoadLocal (#31201)
mofeiZ Nov 15, 2024
0f3c62b
[compiler][be] Patch test fixtures for evaluator (#31203)
mofeiZ Nov 15, 2024
0480cdb
[compiler][be] Clean up nested function context in DCE (#31202)
mofeiZ Nov 15, 2024
d8afd1c
[crud] Scaffold initial types (#31555)
poteto Nov 15, 2024
7dd6b9e
[crud] Add enableUseResourceEffectHook flag (#31556)
poteto Nov 15, 2024
053b3cb
[crud] Rename Effect type (#31557)
poteto Nov 15, 2024
92c0f5f
Track separate SuspendedOnAction flag by rethrowing a separate Suspen…
sebmarkbage Nov 15, 2024
047d95e
[crud] Basic implementation (#31523)
poteto Nov 18, 2024
4beb1fd
[compiler] Support enableRefAsProp in jsx transform (#31558)
jackpope Nov 18, 2024
e33b137
[compiler] repro for type inference + control flow bug (#31570)
mofeiZ Nov 18, 2024
579cc2a
[playground] Add support for "use no memo" (#31561)
subbu963 Nov 18, 2024
2a4f250
[playground] Always upload test results in ci (#31571)
poteto Nov 18, 2024
ee10c74
[playground] Fix incorrect ci path and change reporter (#31572)
poteto Nov 19, 2024
c866d75
[playground] Fix broken tests (#31573)
poteto Nov 19, 2024
eaf2d5c
fix[eslint-plugin-react-hooks]: Fix error when callback argument is a…
mskelton Nov 19, 2024
d2e8954
[compiler] Update react deps (#31585)
poteto Nov 19, 2024
6f0dc29
[compiler] Update hermes deps (#31586)
poteto Nov 19, 2024
6177b18
Track suspended time when the render doesn't commit because it suspen…
sebmarkbage Nov 19, 2024
7c254b6
Log yielded time in the Component Track (#31563)
sebmarkbage Nov 19, 2024
7558ffe
[crud] Fix copy paste typo (#31588)
poteto Nov 19, 2024
64f8951
[crud] Enable on RTR FB builds (#31590)
poteto Nov 19, 2024
c11c951
[crud] Fix deps comparison bug (#31599)
poteto Nov 20, 2024
a9f14cb
Fix Logging of Immediately Resolved Promises (#31610)
sebmarkbage Nov 21, 2024
9106107
Mark ping time as update (#31611)
sebmarkbage Nov 22, 2024
e697386
[compiler] First cut at dep inference (#31386)
jbrown215 Nov 22, 2024
1345c37
Mark all lanes in order on every new render (#31615)
sebmarkbage Nov 22, 2024
aba370f
Add moveBefore Experiment (#31596)
sebmarkbage Nov 22, 2024
eee5ca2
[compiler] Prune all unused array destructure items during DCE (#31619)
josephsavona Nov 22, 2024
e3b7ef3
[crud] Only export uRC when flag is enabled (#31617)
poteto Nov 22, 2024
2a9f4c0
[compiler] Infer deps configuration (#31616)
jbrown215 Nov 22, 2024
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
591 changes: 0 additions & 591 deletions .circleci/config.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.md]
max_line_length = 0
trim_trailing_whitespace = false

[COMMIT_EDITMSG]
max_line_length = 0
7 changes: 6 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module.exports = {
'babel',
'ft-flow',
'jest',
'es',
'no-for-of-loops',
'no-function-declare-after-return',
'react',
Expand All @@ -47,7 +48,7 @@ module.exports = {
'ft-flow/no-unused-expressions': ERROR,
// 'ft-flow/no-weak-types': WARNING,
// 'ft-flow/require-valid-file-annotation': ERROR,

'es/no-optional-chaining': ERROR,
'no-cond-assign': OFF,
'no-constant-condition': OFF,
'no-control-regex': OFF,
Expand Down Expand Up @@ -435,6 +436,7 @@ module.exports = {
'packages/react-dom/src/test-utils/*.js',
],
rules: {
'es/no-optional-chaining': OFF,
'react-internal/no-production-logging': OFF,
'react-internal/warning-args': OFF,
'react-internal/safe-string-coercion': [
Expand Down Expand Up @@ -490,11 +492,13 @@ module.exports = {
'packages/react-devtools-extensions/**/*.js',
'packages/react-devtools-shared/src/hook.js',
'packages/react-devtools-shared/src/backend/console.js',
'packages/react-devtools-shared/src/backend/shared/DevToolsComponentStackFrame.js',
],
globals: {
__IS_CHROME__: 'readonly',
__IS_FIREFOX__: 'readonly',
__IS_EDGE__: 'readonly',
__IS_NATIVE__: 'readonly',
__IS_INTERNAL_VERSION__: 'readonly',
},
},
Expand Down Expand Up @@ -565,6 +569,7 @@ module.exports = {
React$Node: 'readonly',
React$Portal: 'readonly',
React$Ref: 'readonly',
React$RefSetter: 'readonly',
ReadableStreamController: 'readonly',
ReadableStreamReader: 'readonly',
RequestInfo: 'readonly',
Expand Down
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
c998bb1ed4b3285398c9c7797135d3f060243c6a
fd2b3e13d330a4559f5aa21462e1cb2cbbcf144b
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/compiler_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,10 @@ body:
Please provide your React version in the app where this issue occurred.
validations:
required: true
- type: input
attributes:
label: What version of React Compiler are you using?
description: |
Please provide the exact React Compiler version in the app where this issue occurred.
validations:
required: true
107 changes: 5 additions & 102 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,107 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/fixtures/art"
directories:
- "/fixtures/*"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/attribute-behavior"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/concurrent"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/devtools"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/dom"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/eslint"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/expiration"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/fiber-debugger"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/fiber-triangle"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/fizz"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/fizz-ssr-browser"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/flight"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/flight-browser"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/flight-esm"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/legacy-jsx-runtimes"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/nesting"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/packaging"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/scheduler"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/ssr"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/ssr-2"
schedule:
interval: "weekly"
open-pull-requests-limit: 0
- package-ecosystem: "npm"
directory: "/fixtures/stacks"
schedule:
interval: "weekly"
interval: "monthly"
open-pull-requests-limit: 0
ignore:
- dependency-name: "*"
39 changes: 30 additions & 9 deletions .github/workflows/compiler_playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,21 @@ on:
branches: [main]
pull_request:
paths:
- "compiler/**"
- .github/workflows/compiler-playground.yml
- compiler/**
- .github/workflows/compiler_playground.yml

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

env:
TZ: /usr/share/zoneinfo/America/Los_Angeles
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1

defaults:
run:
working-directory: compiler
working-directory: compiler/apps/playground

jobs:
playground:
Expand All @@ -20,15 +29,27 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: "yarn"
cache-dependency-path: compiler/yarn.lock
node-version-file: '.nvmrc'
cache: yarn
cache-dependency-path: compiler/**/yarn.lock
- name: Restore cached node_modules
uses: actions/cache@v4
id: node_modules
with:
path: "**/node_modules"
key: ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('compiler/**/yarn.lock') }}
- run: yarn install --frozen-lockfile
key: compiler-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
- name: yarn install compiler
run: yarn install --frozen-lockfile
working-directory: compiler
- name: yarn install playground
run: yarn install --frozen-lockfile
- run: npx playwright install --with-deps chromium
- run: yarn workspace playground test
- run: CI=true yarn test
- run: ls -R test-results
if: '!cancelled()'
- name: Archive test results
if: '!cancelled()'
uses: actions/upload-artifact@v4
with:
name: test-results
path: compiler/apps/playground/test-results
55 changes: 55 additions & 0 deletions .github/workflows/compiler_prereleases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: (Compiler) Publish Prereleases

on:
workflow_call:
inputs:
commit_sha:
required: true
default: ''
type: string
release_channel:
required: true
type: string
dist_tag:
required: true
type: string
version_name:
required: true
type: string
secrets:
NPM_TOKEN:
required: true

env:
TZ: /usr/share/zoneinfo/America/Los_Angeles
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
GH_TOKEN: ${{ github.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

defaults:
run:
working-directory: compiler

jobs:
publish_prerelease:
name: Publish prelease (${{ inputs.release_channel }}) ${{ inputs.commit_sha }} @${{ inputs.dist_tag }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
cache-dependency-path: compiler/yarn.lock
- name: Restore cached node_modules
uses: actions/cache@v4
id: node_modules
with:
path: "**/node_modules"
key: compiler-node_modules-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('compiler/**/yarn.lock') }}
- run: yarn install --frozen-lockfile
- name: Publish packages to npm
run: |
cp ./scripts/release/ci-npmrc ~/.npmrc
scripts/release/publish.js --frfr --ci --versionName=${{ inputs.version_name }} --tag ${{ inputs.dist_tag }}
31 changes: 31 additions & 0 deletions .github/workflows/compiler_prereleases_manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: (Compiler) Publish Prereleases Manual

on:
workflow_dispatch:
inputs:
prerelease_commit_sha:
required: false
release_channel:
required: true
type: string
dist_tag:
required: true
type: string
version_name:
required: true
type: string

env:
TZ: /usr/share/zoneinfo/America/Los_Angeles

jobs:
publish_prerelease_experimental:
name: Publish to Experimental channel
uses: facebook/react/.github/workflows/compiler_prereleases.yml@main
with:
commit_sha: ${{ inputs.prerelease_commit_sha || github.sha }}
release_channel: ${{ inputs.release_channel }}
dist_tag: ${{ inputs.dist_tag }}
version_name: ${{ inputs.version_name }}
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/compiler_prereleases_nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: (Compiler) Publish Prereleases Nightly

on:
schedule:
# At 10 minutes past 16:00 on Mon, Tue, Wed, Thu, and Fri
- cron: 10 16 * * 1,2,3,4,5

env:
TZ: /usr/share/zoneinfo/America/Los_Angeles

jobs:
publish_prerelease_experimental:
name: Publish to Experimental channel
uses: facebook/react/.github/workflows/compiler_prereleases.yml@main
with:
commit_sha: ${{ github.sha }}
release_channel: experimental
dist_tag: experimental
version_name: '0.0.0'
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/compiler_prereleases_weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: (Compiler) Publish Prereleases Weekly

on:
schedule:
# At 10 minutes past 9:00 on Mon
- cron: 10 9 * * 1

env:
TZ: /usr/share/zoneinfo/America/Los_Angeles

jobs:
publish_prerelease_beta:
name: Publish to beta channel
uses: facebook/react/.github/workflows/compiler_prereleases.yml@main
with:
commit_sha: ${{ github.sha }}
release_channel: beta
dist_tag: beta
version_name: '19.0.0'
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 5 additions & 0 deletions .github/workflows/compiler_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ on:
- compiler/Cargo.*
- compiler/*.toml

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
TZ: /usr/share/zoneinfo/America/Los_Angeles

defaults:
run:
Expand Down
Loading