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

fix(apollo): Enhance error differently for Suspense Cells #9640

Merged
merged 8 commits into from
Dec 27, 2023

Conversation

dac09
Copy link
Collaborator

@dac09 dac09 commented Dec 7, 2023

What does this PR do?

  • cleans up unused code related to enhancing errors, which used to be shown in the DevFatalErrorPage
  • implements the error enhancement in a different way

NOTE: we won't display the response to the user in the DevErrorPage anymore. This is because without Suspense, the errors (regardless whether gql or syntax) used to come from the Cell component itself. i.e. if you access data.IMNOTINHERE.SOMETHING in the success block, the error would still come from the same component which had access to request and response. With Suspense, this is no longer the case.

Recording a little video to explain - I don't think this is a big deal but it does change the behaviour we had before
Video walk through: https://s.tape.sh/4Bp0uWT3

…error-apollo-suspense

* 'main' of github.com:redwoodjs/redwood:
  fix(CLI): merge NODE_OPTIONS in `yarn rw dev` (redwoodjs#9585)
  chore(release): configure aloglia to index docs
  chore(release): handle OTP for lerna publish
  RSC: No need to patch Vite anymore (redwoodjs#9636)
  RSC: Remove unused code. Improve code organization (redwoodjs#9631)
  chore(release): improve tooling
  chore: Linting and disable some console logs (redwoodjs#9635)
  chore: Update Testing documentation to link to How to Test Email/Mailer (redwoodjs#9634)
  chore(release): fix open answer
  Add vscode web debugger and compound (redwoodjs#9567)
  RSC: Use Routes.tsx for (client-side) routing (redwoodjs#9630)
  RSC: Add RW env var definitions to Vite config and include FatalErrorBoundary (redwoodjs#9622)
@dac09 dac09 requested a review from dthyresson December 7, 2023 08:25
@dac09 dac09 added the release:fix This PR is a fix label Dec 7, 2023
@dac09 dac09 added this to the v7.0.0 milestone Dec 7, 2023
@Tobbe Tobbe self-assigned this Dec 18, 2023
@dac09 dac09 removed the request for review from dthyresson December 22, 2023 10:39
@dac09
Copy link
Collaborator Author

dac09 commented Dec 26, 2023

@Tobbe realised the video has very poor sound - do you want me to record another one?

@Tobbe
Copy link
Member

Tobbe commented Dec 26, 2023

Thanks for recording the video Danny
image
image
To me, that is the biggest problem with the new error page

And, lower prio, I think a stack trace would be nice to see here
image
But at least you get the filename with the error, so if it's too much work to get the stacktrace we can leave this one as-is

Copy link
Collaborator Author

dac09 commented Dec 26, 2023

Yeah that behaviour hasn’t really changed. Just the request/response. I think for even better errors you need to configure Apollo as of 3.8+

Copy link
Member

Tobbe commented Dec 26, 2023

I don’t want this to hold us up. The behavior is good enough to merge the PR. Just get CI passing and I’ll merge ✅

@Tobbe
Copy link
Member

Tobbe commented Dec 26, 2023

Also don't forget to update docs (including new screenshots if needed) https://redwoodjs.com/docs/canary/router#fatalerrorpage

…redwood into fix/enhance-error-apollo-suspense

* 'fix/enhance-error-apollo-suspense' of github.com:dac09/redwood: (92 commits)
  chore(deps): update dependency @types/yargs to v17.0.32 (redwoodjs#9759)
  Make it easier to find useMatch docs (redwoodjs#9756)
  chore(unit tests): Use side-effect import to fix TS errors (redwoodjs#9754)
  fix(context): Refactor context (redwoodjs#9371)
  docs: Replaced deprecated <Set private> with PrivateSet within router.md (redwoodjs#9749)
  add TS support for storybook preview tsx config extension (redwoodjs#9309)
  fix(studio): Fix windows path issues (redwoodjs#9752)
  redwoodjs#9620: Update studio to support variable components (Mailer) (redwoodjs#9639)
  chore(tasks): Add comparison view to nmHoisting visualisation (redwoodjs#9751)
  chore(cli): make fs modules used in the CLI consistent (redwoodjs#9746)
  chore(tooling): Make sure console boxen print on a new line
  chore(CI): fix publish release candidate
  feat(CLI): add check node version middleware, rm `.nvmrc`, yarn engines (redwoodjs#9728)
  docs: added some clarification on serverless functions getting executed in a non-serverless environment (redwoodjs#9742)
  Fix sshExec() errors not displaying (redwoodjs#9743)
  chore(tooling): Add missing word in release tooling output
  Update Metadata docs (redwoodjs#9744)
  chore(CI): update test project fixture and CRWA for deploy target CI repo (redwoodjs#9730)
  chore(tooling): add script for getting nested dependency data (redwoodjs#9734)
  Trusted Documents docs: Proofreading corrections (redwoodjs#9737)
  ...
@dac09
Copy link
Collaborator Author

dac09 commented Dec 27, 2023

@Tobbe done - but something has gone wrong with our publishing process I think... the CI failures don't seem related to this at all. I can't find the version of RW canary in the RSC tests. The SSR ones should go away, as I've cleared the caches.

@Tobbe Tobbe enabled auto-merge (squash) December 27, 2023 11:43
@Tobbe Tobbe merged commit 7870ce4 into redwoodjs:main Dec 27, 2023
32 checks passed
dac09 added a commit to dac09/redwood that referenced this pull request Dec 28, 2023
…p-prebuild

* 'main' of github.com:redwoodjs/redwood: (1608 commits)
  Docker: Update to work with corepack and yarn v4 (redwoodjs#9764)
  [RFC]: useRoutePaths (redwoodjs#9755)
  Adds a note about the two commands you will use with your schema to the top of the schema file (redwoodjs#8589)
  docs: Supertokens.md: Fix typo (redwoodjs#9765)
  Fix supertokens docs & integration issues (redwoodjs#9757)
  fix(apollo): Enhance error differently for Suspense Cells (redwoodjs#9640)
  SSR smoke-test: Use <Metadata /> (redwoodjs#9763)
  chore(deps): update dependency @types/qs to v6.9.11 (redwoodjs#9761)
  chore(ci): Better error handling in detectChanges.mjs (redwoodjs#9762)
  fix(path-alias): Fix aliasing of paths using ts/jsconfig (redwoodjs#9574)
  chore(deps): update dependency @types/yargs to v17.0.32 (redwoodjs#9759)
  Make it easier to find useMatch docs (redwoodjs#9756)
  chore(unit tests): Use side-effect import to fix TS errors (redwoodjs#9754)
  fix(context): Refactor context (redwoodjs#9371)
  docs: Replaced deprecated <Set private> with PrivateSet within router.md (redwoodjs#9749)
  add TS support for storybook preview tsx config extension (redwoodjs#9309)
  fix(studio): Fix windows path issues (redwoodjs#9752)
  chore(tasks): Add comparison view to nmHoisting visualisation (redwoodjs#9751)
  chore(cli): make fs modules used in the CLI consistent (redwoodjs#9746)
  ...
jtoar added a commit that referenced this pull request Jan 26, 2024
This commit reverts all the RSC and SSR PRs to date so that v7.0.0 can
go out with clean changes.

Revert "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.5.2 (#9716)"

This reverts commit 9d9d373.

Revert "fix(apollo): Enhance error differently for Suspense Cells (#9640)"

This reverts commit 7870ce4.

Revert "SSR smoke-test: Use <Metadata /> (#9763)"

This reverts commit 3d1179a.

Revert "Use TS 5.3 import attributes (#9591)"

This reverts commit cb4aba6.

Revert "chore(RSC): update RSC test projects to latest canary (#9717)"

This reverts commit 209add6.

Revert "RSC: Fix the RSA test project fixture (#9704)"

This reverts commit f7c7613.

Revert "chore(CI): add RSC fixtures to detect changes list (#9703)"

This reverts commit b7115dd.

Revert "RSC: Update rsc test project fixtures (#9666)"

This reverts commit cc69243.

Revert "RSC: Use `pages` directory (#9660)"

This reverts commit 809e3ff.

Revert "RSC: Default entry.server and more standard App.tsx (#9655)"

This reverts commit 33a3b0b.

Revert "RSC: Use the default entry.client file (#9654)"

This reverts commit 3f6e7c1.

Revert "RSC: No need to patch Vite anymore (#9636)"

This reverts commit 2fdb496.

Revert "RSC: Remove unused code. Improve code organization (#9631)"

This reverts commit 4937929.

Revert "chore: Linting and disable some console logs (#9635)"

This reverts commit b1adcc7.

Revert "RSC: Use Routes.tsx for (client-side) routing (#9630)"

This reverts commit e9f5f01.

Revert "RSC: Add RW env var definitions to Vite config and include FatalErrorBoundary (#9622)"

This reverts commit 69a1770.

Revert "RSC: Refactor to share buildRouteManifest function with SSR process (#9618)"

This reverts commit 00462e5.

Revert "RSC: Fake server-side routing (#9593)"

This reverts commit 2c638c3.

Revert "RSC: Include routing in initial RSC example app (#9611)"

This reverts commit a7ea8cd.

Revert "fix(deps): update dependency @whatwg-node/server to v0.9.18 (#9602)"

This reverts commit 1e1c8d1.

Revert "RSC: Generate a route manifest (#9592)"

This reverts commit 99685ee.

Revert "RSC: Refactor build process (#9588)"

This reverts commit 1f66831.

Revert "fix(streaming-ssr): Fixes running the streaming server using rw serve (#9558)"

This reverts commit 6459562.

Revert "fix(streaming): Fix css loading on dev server on Windows (#9557)"

This reverts commit 205e0f4.

Revert "RSC: Combine RSC server with StreamingSSR server (#9553)"

This reverts commit 4afccbc.

Revert "Prerender smoke-test: await helper function (#9546)"

This reverts commit fe70a36.

Revert "fix(deps): update dependency isbot to v3.7.1 (#9506)"

This reverts commit e330be7.

Revert "fix(deps): update dependency @whatwg-node/server to v0.9.16 (#9475)"

This reverts commit 886e28a.

Revert "chore(deps): update dependency rollup to v3.29.4 (#9464)"

This reverts commit c5eca98.

Revert "RSC: Support client-only package and include @tobbe.dev/rsc-test in smoke test (#9367)"

This reverts commit e04e48e.

Revert "RSC: Check for rw-rsc header (#9410)"

This reverts commit cb0b035.

Revert "RSC GH action: Move build to after copy (#9413)"

This reverts commit 114a2b0.

Revert "RSC: Move loaders to worker thread (#9412)"

This reverts commit df88574.

Revert "RSC: smoke tests: install and build after project:copy (#9411)"

This reverts commit e2a90f8.

Revert "feat(ssr-streaming): Allow building without index.html during streaming-ssr (#9387)"

This reverts commit 76e1672.

Revert "chore(ssr): Move LocationProvider inside framework for SSR (#9383)"

This reverts commit c4dedc6.

Revert "feat(ssr): Collect CSS links during dev (#9382)"

This reverts commit 1e42b43.

Revert "fix(stream-ssr): Move wait for all ready to fix bot rendering (#9389)"

This reverts commit bdf885a.

Revert "chore(e2e): Setup e2e test for streaming SSR (#9349)"

This reverts commit 656a2c8.

Revert "RSC: vite externalConditions (#9333)"

This reverts commit c8c8a3b.

Revert "RSC: test-project-rsa: Fix TS type error in onSend (#9332)"

This reverts commit 45065da.

Revert "RSC: Implement RSC worker (#9331)"

This reverts commit 18c5d96.

Revert "RSC: createRscRequestHandler (#9330)"

This reverts commit 433d8ef.

Revert "fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)"

This reverts commit daaa199.

Revert "fix(ssr-build): Generate document in ssr build too! (#9310)"

This reverts commit e2cf25d.

Revert "feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)"

This reverts commit 1ed2b5b.

Revert "RSC: Smoke test (#9194)"

This reverts commit 18555d0.

Revert "RSC: Handle Windows paths in clientEntries (#9233)"

This reverts commit 27d33d3.

Revert "RSC: Check if index.html has already been updated during setup (#9197)"

This reverts commit 83d180f.

Revert "RSC: Use react/experimental types (#9196)"

This reverts commit e2c14eb.

Revert "RSC: Patch vite when running setup command (#9192)"

This reverts commit a7bab85.

Revert "RSC: Support 'use client' in 3pp packages (#9191)"

This reverts commit a436b1c.

Revert "RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)"

This reverts commit 9d63d08.

Revert "RSC: Decode RSF args from request (#9157)"

This reverts commit 9257e39.

Revert "RSC: RSF aka Server Actions (#9155)"

This reverts commit c46bb67.

Revert "RSC: Make code and execution easier to follow. Improve error handling. (#9154)"

This reverts commit d3475cd.

Revert "RSC: Work around an issue in Rollup (#9153)"

This reverts commit ee334bc.

Revert "Streaming: meta charSet=utf-8 (#9142)"

This reverts commit 050a169.

Revert "Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)"

This reverts commit ae11f69.

Revert "RSC: Don't set the react-server condition for client builds (#9132)"

This reverts commit 7ee6153.

Revert "Streaming fe server: bind to 0.0.0.0 in prod (#9115)"

This reverts commit 0c23f67.

Revert "fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)"

This reverts commit 8d0ab16.

Revert "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)"

This reverts commit d7560ec.

Revert "feat(Cell Suspense): Allow Cells to not Suspend (#9106)"

This reverts commit 2b8a555.

Revert "feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)"

This reverts commit 069101b.

Revert "feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)"

This reverts commit c5ba488.

Revert "exp(streaming): Allow SSR with experimental apollo client (#9038)"

This reverts commit c89e136.

Revert "feat(streaming-ssr): Fix build and server html injection (#8978)"

This reverts commit 58a2421.

Revert "RSC: Use experimental node loader (#8979)"

This reverts commit 2add568.

Revert "RSC: Fix noExternal rule for server build (#8961)"

This reverts commit 9ac5ab2.

Revert "Refactor cli serve command (#8958)"

This reverts commit f24016a.

Revert "@rwjs/vite: Pin acorn-loose version (#8944)"

This reverts commit 6f33914.

Revert "RSC: react-server condition. Poisoned imports (#8948)"

This reverts commit e941365.

Revert "RSC fix typo in example code (#8949)"

This reverts commit 3588ec0.

Revert "fix(ssr): Get experimental ssr setup working properly (#8922)"

This reverts commit abf229b.

Revert "RSC fix: setup description (#8906)"

This reverts commit b11bd72.

Revert "RSC: Add css files to the example (#8905)"

This reverts commit fcd7c39.

Revert "RSC build without user config (#8896)"

This reverts commit 37692a4.

Revert "RSC: Use rw serve (#8897)"

This reverts commit 921c9cb.

Revert "RSC: Build using rw build (#8893)"

This reverts commit f1d0dcb.

Revert "RSC: Fix experimental setup (#8894)"

This reverts commit c44a260.

Revert "RSC: Include entries.ts in paths (#8888)"

This reverts commit db271db.

Revert "RSC: Initial css support (#8887)"

This reverts commit 8610d58.

Revert "RSC: Use exported defineEntries() (#8886)"

This reverts commit f5fc2e2.

Revert "Include standard vite config in RSC build (#8882)"

This reverts commit c1e62c2.

Revert "Update entry.client and disable vite legacy mode (#8851)"

This reverts commit 8917ad6.

Revert "experimental feature flag for rsc (#8837)"

This reverts commit c7a5b13.

Revert "React Server Components (RSC) (#8451)"

This reverts commit f22dfbe.

Revert "Use "import type" for all types (#8827)"

This reverts commit 7a6aea7.

Revert "React 18.3.0-canary-035a41c4e-20230704 (#8826)"

This reverts commit d261819.

Revert "ViteBuildManifest and note about import-attributes (#8818)"

This reverts commit 8b85ad6.

Revert "Streaming SSR: Fix build, serve and dev (#8811)"

This reverts commit 4c51cae.

Revert "Add files needed for React Streaming SSR (#8810)"

This reverts commit 6da5aae.

Revert "entry.server and entry.client (#8808)"

This reverts commit 7cc5564.

Revert "Use existing rw-vite-build bin for SSR as well (#8806)"

This reverts commit 8b2a566.

Revert "Disable prerender when streamingSsr is enabled (#8775)"

This reverts commit e7d5361.

Revert "vite utils.ts: fix source format (#8796)"

This reverts commit e191071.

Revert "Server Rendering & Streaming (#8561)"

This reverts commit 2557bf8.

Revert "React Streaming and SSR feature flag (#8764)"

This reverts commit 565f620.
jtoar added a commit that referenced this pull request Jan 26, 2024
This commit reverts all the RSC and SSR PRs to date so that v7.0.0 can
go out with clean changes.

Revert "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.5.2 (#9716)"

This reverts commit 9d9d373.

Revert "fix(apollo): Enhance error differently for Suspense Cells (#9640)"

This reverts commit 7870ce4.

Revert "SSR smoke-test: Use <Metadata /> (#9763)"

This reverts commit 3d1179a.

Revert "Use TS 5.3 import attributes (#9591)"

This reverts commit cb4aba6.

Revert "chore(RSC): update RSC test projects to latest canary (#9717)"

This reverts commit 209add6.

Revert "RSC: Fix the RSA test project fixture (#9704)"

This reverts commit f7c7613.

Revert "chore(CI): add RSC fixtures to detect changes list (#9703)"

This reverts commit b7115dd.

Revert "RSC: Update rsc test project fixtures (#9666)"

This reverts commit cc69243.

Revert "RSC: Use `pages` directory (#9660)"

This reverts commit 809e3ff.

Revert "RSC: Default entry.server and more standard App.tsx (#9655)"

This reverts commit 33a3b0b.

Revert "RSC: Use the default entry.client file (#9654)"

This reverts commit 3f6e7c1.

Revert "RSC: No need to patch Vite anymore (#9636)"

This reverts commit 2fdb496.

Revert "RSC: Remove unused code. Improve code organization (#9631)"

This reverts commit 4937929.

Revert "chore: Linting and disable some console logs (#9635)"

This reverts commit b1adcc7.

Revert "RSC: Use Routes.tsx for (client-side) routing (#9630)"

This reverts commit e9f5f01.

Revert "RSC: Add RW env var definitions to Vite config and include FatalErrorBoundary (#9622)"

This reverts commit 69a1770.

Revert "RSC: Refactor to share buildRouteManifest function with SSR process (#9618)"

This reverts commit 00462e5.

Revert "RSC: Fake server-side routing (#9593)"

This reverts commit 2c638c3.

Revert "RSC: Include routing in initial RSC example app (#9611)"

This reverts commit a7ea8cd.

Revert "fix(deps): update dependency @whatwg-node/server to v0.9.18 (#9602)"

This reverts commit 1e1c8d1.

Revert "RSC: Generate a route manifest (#9592)"

This reverts commit 99685ee.

Revert "RSC: Refactor build process (#9588)"

This reverts commit 1f66831.

Revert "fix(streaming-ssr): Fixes running the streaming server using rw serve (#9558)"

This reverts commit 6459562.

Revert "fix(streaming): Fix css loading on dev server on Windows (#9557)"

This reverts commit 205e0f4.

Revert "RSC: Combine RSC server with StreamingSSR server (#9553)"

This reverts commit 4afccbc.

Revert "Prerender smoke-test: await helper function (#9546)"

This reverts commit fe70a36.

Revert "fix(deps): update dependency isbot to v3.7.1 (#9506)"

This reverts commit e330be7.

Revert "fix(deps): update dependency @whatwg-node/server to v0.9.16 (#9475)"

This reverts commit 886e28a.

Revert "chore(deps): update dependency rollup to v3.29.4 (#9464)"

This reverts commit c5eca98.

Revert "RSC: Support client-only package and include @tobbe.dev/rsc-test in smoke test (#9367)"

This reverts commit e04e48e.

Revert "RSC: Check for rw-rsc header (#9410)"

This reverts commit cb0b035.

Revert "RSC GH action: Move build to after copy (#9413)"

This reverts commit 114a2b0.

Revert "RSC: Move loaders to worker thread (#9412)"

This reverts commit df88574.

Revert "RSC: smoke tests: install and build after project:copy (#9411)"

This reverts commit e2a90f8.

Revert "feat(ssr-streaming): Allow building without index.html during streaming-ssr (#9387)"

This reverts commit 76e1672.

Revert "chore(ssr): Move LocationProvider inside framework for SSR (#9383)"

This reverts commit c4dedc6.

Revert "feat(ssr): Collect CSS links during dev (#9382)"

This reverts commit 1e42b43.

Revert "fix(stream-ssr): Move wait for all ready to fix bot rendering (#9389)"

This reverts commit bdf885a.

Revert "chore(e2e): Setup e2e test for streaming SSR (#9349)"

This reverts commit 656a2c8.

Revert "RSC: vite externalConditions (#9333)"

This reverts commit c8c8a3b.

Revert "RSC: test-project-rsa: Fix TS type error in onSend (#9332)"

This reverts commit 45065da.

Revert "RSC: Implement RSC worker (#9331)"

This reverts commit 18c5d96.

Revert "RSC: createRscRequestHandler (#9330)"

This reverts commit 433d8ef.

Revert "fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)"

This reverts commit daaa199.

Revert "fix(ssr-build): Generate document in ssr build too! (#9310)"

This reverts commit e2cf25d.

Revert "feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)"

This reverts commit 1ed2b5b.

Revert "RSC: Smoke test (#9194)"

This reverts commit 18555d0.

Revert "RSC: Handle Windows paths in clientEntries (#9233)"

This reverts commit 27d33d3.

Revert "RSC: Check if index.html has already been updated during setup (#9197)"

This reverts commit 83d180f.

Revert "RSC: Use react/experimental types (#9196)"

This reverts commit e2c14eb.

Revert "RSC: Patch vite when running setup command (#9192)"

This reverts commit a7bab85.

Revert "RSC: Support 'use client' in 3pp packages (#9191)"

This reverts commit a436b1c.

Revert "RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)"

This reverts commit 9d63d08.

Revert "RSC: Decode RSF args from request (#9157)"

This reverts commit 9257e39.

Revert "RSC: RSF aka Server Actions (#9155)"

This reverts commit c46bb67.

Revert "RSC: Make code and execution easier to follow. Improve error handling. (#9154)"

This reverts commit d3475cd.

Revert "RSC: Work around an issue in Rollup (#9153)"

This reverts commit ee334bc.

Revert "Streaming: meta charSet=utf-8 (#9142)"

This reverts commit 050a169.

Revert "Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)"

This reverts commit ae11f69.

Revert "RSC: Don't set the react-server condition for client builds (#9132)"

This reverts commit 7ee6153.

Revert "Streaming fe server: bind to 0.0.0.0 in prod (#9115)"

This reverts commit 0c23f67.

Revert "fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)"

This reverts commit 8d0ab16.

Revert "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)"

This reverts commit d7560ec.

Revert "feat(Cell Suspense): Allow Cells to not Suspend (#9106)"

This reverts commit 2b8a555.

Revert "feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)"

This reverts commit 069101b.

Revert "feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)"

This reverts commit c5ba488.

Revert "exp(streaming): Allow SSR with experimental apollo client (#9038)"

This reverts commit c89e136.

Revert "feat(streaming-ssr): Fix build and server html injection (#8978)"

This reverts commit 58a2421.

Revert "RSC: Use experimental node loader (#8979)"

This reverts commit 2add568.

Revert "RSC: Fix noExternal rule for server build (#8961)"

This reverts commit 9ac5ab2.

Revert "Refactor cli serve command (#8958)"

This reverts commit f24016a.

Revert "@rwjs/vite: Pin acorn-loose version (#8944)"

This reverts commit 6f33914.

Revert "RSC: react-server condition. Poisoned imports (#8948)"

This reverts commit e941365.

Revert "RSC fix typo in example code (#8949)"

This reverts commit 3588ec0.

Revert "fix(ssr): Get experimental ssr setup working properly (#8922)"

This reverts commit abf229b.

Revert "RSC fix: setup description (#8906)"

This reverts commit b11bd72.

Revert "RSC: Add css files to the example (#8905)"

This reverts commit fcd7c39.

Revert "RSC build without user config (#8896)"

This reverts commit 37692a4.

Revert "RSC: Use rw serve (#8897)"

This reverts commit 921c9cb.

Revert "RSC: Build using rw build (#8893)"

This reverts commit f1d0dcb.

Revert "RSC: Fix experimental setup (#8894)"

This reverts commit c44a260.

Revert "RSC: Include entries.ts in paths (#8888)"

This reverts commit db271db.

Revert "RSC: Initial css support (#8887)"

This reverts commit 8610d58.

Revert "RSC: Use exported defineEntries() (#8886)"

This reverts commit f5fc2e2.

Revert "Include standard vite config in RSC build (#8882)"

This reverts commit c1e62c2.

Revert "Update entry.client and disable vite legacy mode (#8851)"

This reverts commit 8917ad6.

Revert "experimental feature flag for rsc (#8837)"

This reverts commit c7a5b13.

Revert "React Server Components (RSC) (#8451)"

This reverts commit f22dfbe.

Revert "Use "import type" for all types (#8827)"

This reverts commit 7a6aea7.

Revert "React 18.3.0-canary-035a41c4e-20230704 (#8826)"

This reverts commit d261819.

Revert "ViteBuildManifest and note about import-attributes (#8818)"

This reverts commit 8b85ad6.

Revert "Streaming SSR: Fix build, serve and dev (#8811)"

This reverts commit 4c51cae.

Revert "Add files needed for React Streaming SSR (#8810)"

This reverts commit 6da5aae.

Revert "entry.server and entry.client (#8808)"

This reverts commit 7cc5564.

Revert "Use existing rw-vite-build bin for SSR as well (#8806)"

This reverts commit 8b2a566.

Revert "Disable prerender when streamingSsr is enabled (#8775)"

This reverts commit e7d5361.

Revert "vite utils.ts: fix source format (#8796)"

This reverts commit e191071.

Revert "Server Rendering & Streaming (#8561)"

This reverts commit 2557bf8.

Revert "React Streaming and SSR feature flag (#8764)"

This reverts commit 565f620.
jtoar added a commit that referenced this pull request Jan 26, 2024
This commit reverts all the RSC and SSR PRs to date so that v7.0.0 can
go out with clean changes.

Revert "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.5.2 (#9716)"

This reverts commit 9d9d373.

Revert "fix(apollo): Enhance error differently for Suspense Cells (#9640)"

This reverts commit 7870ce4.

Revert "SSR smoke-test: Use <Metadata /> (#9763)"

This reverts commit 3d1179a.

Revert "Use TS 5.3 import attributes (#9591)"

This reverts commit cb4aba6.

Revert "chore(RSC): update RSC test projects to latest canary (#9717)"

This reverts commit 209add6.

Revert "RSC: Fix the RSA test project fixture (#9704)"

This reverts commit f7c7613.

Revert "chore(CI): add RSC fixtures to detect changes list (#9703)"

This reverts commit b7115dd.

Revert "RSC: Update rsc test project fixtures (#9666)"

This reverts commit cc69243.

Revert "RSC: Use `pages` directory (#9660)"

This reverts commit 809e3ff.

Revert "RSC: Default entry.server and more standard App.tsx (#9655)"

This reverts commit 33a3b0b.

Revert "RSC: Use the default entry.client file (#9654)"

This reverts commit 3f6e7c1.

Revert "RSC: No need to patch Vite anymore (#9636)"

This reverts commit 2fdb496.

Revert "RSC: Remove unused code. Improve code organization (#9631)"

This reverts commit 4937929.

Revert "chore: Linting and disable some console logs (#9635)"

This reverts commit b1adcc7.

Revert "RSC: Use Routes.tsx for (client-side) routing (#9630)"

This reverts commit e9f5f01.

Revert "RSC: Add RW env var definitions to Vite config and include FatalErrorBoundary (#9622)"

This reverts commit 69a1770.

Revert "RSC: Refactor to share buildRouteManifest function with SSR process (#9618)"

This reverts commit 00462e5.

Revert "RSC: Fake server-side routing (#9593)"

This reverts commit 2c638c3.

Revert "RSC: Include routing in initial RSC example app (#9611)"

This reverts commit a7ea8cd.

Revert "fix(deps): update dependency @whatwg-node/server to v0.9.18 (#9602)"

This reverts commit 1e1c8d1.

Revert "RSC: Generate a route manifest (#9592)"

This reverts commit 99685ee.

Revert "RSC: Refactor build process (#9588)"

This reverts commit 1f66831.

Revert "fix(streaming-ssr): Fixes running the streaming server using rw serve (#9558)"

This reverts commit 6459562.

Revert "fix(streaming): Fix css loading on dev server on Windows (#9557)"

This reverts commit 205e0f4.

Revert "RSC: Combine RSC server with StreamingSSR server (#9553)"

This reverts commit 4afccbc.

Revert "Prerender smoke-test: await helper function (#9546)"

This reverts commit fe70a36.

Revert "fix(deps): update dependency isbot to v3.7.1 (#9506)"

This reverts commit e330be7.

Revert "fix(deps): update dependency @whatwg-node/server to v0.9.16 (#9475)"

This reverts commit 886e28a.

Revert "chore(deps): update dependency rollup to v3.29.4 (#9464)"

This reverts commit c5eca98.

Revert "RSC: Support client-only package and include @tobbe.dev/rsc-test in smoke test (#9367)"

This reverts commit e04e48e.

Revert "RSC: Check for rw-rsc header (#9410)"

This reverts commit cb0b035.

Revert "RSC GH action: Move build to after copy (#9413)"

This reverts commit 114a2b0.

Revert "RSC: Move loaders to worker thread (#9412)"

This reverts commit df88574.

Revert "RSC: smoke tests: install and build after project:copy (#9411)"

This reverts commit e2a90f8.

Revert "feat(ssr-streaming): Allow building without index.html during streaming-ssr (#9387)"

This reverts commit 76e1672.

Revert "chore(ssr): Move LocationProvider inside framework for SSR (#9383)"

This reverts commit c4dedc6.

Revert "feat(ssr): Collect CSS links during dev (#9382)"

This reverts commit 1e42b43.

Revert "fix(stream-ssr): Move wait for all ready to fix bot rendering (#9389)"

This reverts commit bdf885a.

Revert "chore(e2e): Setup e2e test for streaming SSR (#9349)"

This reverts commit 656a2c8.

Revert "RSC: vite externalConditions (#9333)"

This reverts commit c8c8a3b.

Revert "RSC: test-project-rsa: Fix TS type error in onSend (#9332)"

This reverts commit 45065da.

Revert "RSC: Implement RSC worker (#9331)"

This reverts commit 18c5d96.

Revert "RSC: createRscRequestHandler (#9330)"

This reverts commit 433d8ef.

Revert "fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)"

This reverts commit daaa199.

Revert "fix(ssr-build): Generate document in ssr build too! (#9310)"

This reverts commit e2cf25d.

Revert "feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)"

This reverts commit 1ed2b5b.

Revert "RSC: Smoke test (#9194)"

This reverts commit 18555d0.

Revert "RSC: Handle Windows paths in clientEntries (#9233)"

This reverts commit 27d33d3.

Revert "RSC: Check if index.html has already been updated during setup (#9197)"

This reverts commit 83d180f.

Revert "RSC: Use react/experimental types (#9196)"

This reverts commit e2c14eb.

Revert "RSC: Patch vite when running setup command (#9192)"

This reverts commit a7bab85.

Revert "RSC: Support 'use client' in 3pp packages (#9191)"

This reverts commit a436b1c.

Revert "RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)"

This reverts commit 9d63d08.

Revert "RSC: Decode RSF args from request (#9157)"

This reverts commit 9257e39.

Revert "RSC: RSF aka Server Actions (#9155)"

This reverts commit c46bb67.

Revert "RSC: Make code and execution easier to follow. Improve error handling. (#9154)"

This reverts commit d3475cd.

Revert "RSC: Work around an issue in Rollup (#9153)"

This reverts commit ee334bc.

Revert "Streaming: meta charSet=utf-8 (#9142)"

This reverts commit 050a169.

Revert "Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)"

This reverts commit ae11f69.

Revert "RSC: Don't set the react-server condition for client builds (#9132)"

This reverts commit 7ee6153.

Revert "Streaming fe server: bind to 0.0.0.0 in prod (#9115)"

This reverts commit 0c23f67.

Revert "fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)"

This reverts commit 8d0ab16.

Revert "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)"

This reverts commit d7560ec.

Revert "feat(Cell Suspense): Allow Cells to not Suspend (#9106)"

This reverts commit 2b8a555.

Revert "feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)"

This reverts commit 069101b.

Revert "feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)"

This reverts commit c5ba488.

Revert "exp(streaming): Allow SSR with experimental apollo client (#9038)"

This reverts commit c89e136.

Revert "feat(streaming-ssr): Fix build and server html injection (#8978)"

This reverts commit 58a2421.

Revert "RSC: Use experimental node loader (#8979)"

This reverts commit 2add568.

Revert "RSC: Fix noExternal rule for server build (#8961)"

This reverts commit 9ac5ab2.

Revert "Refactor cli serve command (#8958)"

This reverts commit f24016a.

Revert "@rwjs/vite: Pin acorn-loose version (#8944)"

This reverts commit 6f33914.

Revert "RSC: react-server condition. Poisoned imports (#8948)"

This reverts commit e941365.

Revert "RSC fix typo in example code (#8949)"

This reverts commit 3588ec0.

Revert "fix(ssr): Get experimental ssr setup working properly (#8922)"

This reverts commit abf229b.

Revert "RSC fix: setup description (#8906)"

This reverts commit b11bd72.

Revert "RSC: Add css files to the example (#8905)"

This reverts commit fcd7c39.

Revert "RSC build without user config (#8896)"

This reverts commit 37692a4.

Revert "RSC: Use rw serve (#8897)"

This reverts commit 921c9cb.

Revert "RSC: Build using rw build (#8893)"

This reverts commit f1d0dcb.

Revert "RSC: Fix experimental setup (#8894)"

This reverts commit c44a260.

Revert "RSC: Include entries.ts in paths (#8888)"

This reverts commit db271db.

Revert "RSC: Initial css support (#8887)"

This reverts commit 8610d58.

Revert "RSC: Use exported defineEntries() (#8886)"

This reverts commit f5fc2e2.

Revert "Include standard vite config in RSC build (#8882)"

This reverts commit c1e62c2.

Revert "Update entry.client and disable vite legacy mode (#8851)"

This reverts commit 8917ad6.

Revert "experimental feature flag for rsc (#8837)"

This reverts commit c7a5b13.

Revert "React Server Components (RSC) (#8451)"

This reverts commit f22dfbe.

Revert "Use "import type" for all types (#8827)"

This reverts commit 7a6aea7.

Revert "React 18.3.0-canary-035a41c4e-20230704 (#8826)"

This reverts commit d261819.

Revert "ViteBuildManifest and note about import-attributes (#8818)"

This reverts commit 8b85ad6.

Revert "Streaming SSR: Fix build, serve and dev (#8811)"

This reverts commit 4c51cae.

Revert "Add files needed for React Streaming SSR (#8810)"

This reverts commit 6da5aae.

Revert "entry.server and entry.client (#8808)"

This reverts commit 7cc5564.

Revert "Use existing rw-vite-build bin for SSR as well (#8806)"

This reverts commit 8b2a566.

Revert "Disable prerender when streamingSsr is enabled (#8775)"

This reverts commit e7d5361.

Revert "vite utils.ts: fix source format (#8796)"

This reverts commit e191071.

Revert "Server Rendering & Streaming (#8561)"

This reverts commit 2557bf8.

Revert "React Streaming and SSR feature flag (#8764)"

This reverts commit 565f620.
jtoar added a commit that referenced this pull request Jan 26, 2024
This commit reverts all the RSC and SSR PRs to date so that v7.0.0 can
go out with clean changes.

Revert "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.5.2 (#9716)"

This reverts commit 9d9d373.

Revert "fix(apollo): Enhance error differently for Suspense Cells (#9640)"

This reverts commit 7870ce4.

Revert "SSR smoke-test: Use <Metadata /> (#9763)"

This reverts commit 3d1179a.

Revert "Use TS 5.3 import attributes (#9591)"

This reverts commit cb4aba6.

Revert "chore(RSC): update RSC test projects to latest canary (#9717)"

This reverts commit 209add6.

Revert "RSC: Fix the RSA test project fixture (#9704)"

This reverts commit f7c7613.

Revert "chore(CI): add RSC fixtures to detect changes list (#9703)"

This reverts commit b7115dd.

Revert "RSC: Update rsc test project fixtures (#9666)"

This reverts commit cc69243.

Revert "RSC: Use `pages` directory (#9660)"

This reverts commit 809e3ff.

Revert "RSC: Default entry.server and more standard App.tsx (#9655)"

This reverts commit 33a3b0b.

Revert "RSC: Use the default entry.client file (#9654)"

This reverts commit 3f6e7c1.

Revert "RSC: No need to patch Vite anymore (#9636)"

This reverts commit 2fdb496.

Revert "RSC: Remove unused code. Improve code organization (#9631)"

This reverts commit 4937929.

Revert "chore: Linting and disable some console logs (#9635)"

This reverts commit b1adcc7.

Revert "RSC: Use Routes.tsx for (client-side) routing (#9630)"

This reverts commit e9f5f01.

Revert "RSC: Add RW env var definitions to Vite config and include FatalErrorBoundary (#9622)"

This reverts commit 69a1770.

Revert "RSC: Refactor to share buildRouteManifest function with SSR process (#9618)"

This reverts commit 00462e5.

Revert "RSC: Fake server-side routing (#9593)"

This reverts commit 2c638c3.

Revert "RSC: Include routing in initial RSC example app (#9611)"

This reverts commit a7ea8cd.

Revert "fix(deps): update dependency @whatwg-node/server to v0.9.18 (#9602)"

This reverts commit 1e1c8d1.

Revert "RSC: Generate a route manifest (#9592)"

This reverts commit 99685ee.

Revert "RSC: Refactor build process (#9588)"

This reverts commit 1f66831.

Revert "fix(streaming-ssr): Fixes running the streaming server using rw serve (#9558)"

This reverts commit 6459562.

Revert "fix(streaming): Fix css loading on dev server on Windows (#9557)"

This reverts commit 205e0f4.

Revert "RSC: Combine RSC server with StreamingSSR server (#9553)"

This reverts commit 4afccbc.

Revert "Prerender smoke-test: await helper function (#9546)"

This reverts commit fe70a36.

Revert "fix(deps): update dependency isbot to v3.7.1 (#9506)"

This reverts commit e330be7.

Revert "fix(deps): update dependency @whatwg-node/server to v0.9.16 (#9475)"

This reverts commit 886e28a.

Revert "chore(deps): update dependency rollup to v3.29.4 (#9464)"

This reverts commit c5eca98.

Revert "RSC: Support client-only package and include @tobbe.dev/rsc-test in smoke test (#9367)"

This reverts commit e04e48e.

Revert "RSC: Check for rw-rsc header (#9410)"

This reverts commit cb0b035.

Revert "RSC GH action: Move build to after copy (#9413)"

This reverts commit 114a2b0.

Revert "RSC: Move loaders to worker thread (#9412)"

This reverts commit df88574.

Revert "RSC: smoke tests: install and build after project:copy (#9411)"

This reverts commit e2a90f8.

Revert "feat(ssr-streaming): Allow building without index.html during streaming-ssr (#9387)"

This reverts commit 76e1672.

Revert "chore(ssr): Move LocationProvider inside framework for SSR (#9383)"

This reverts commit c4dedc6.

Revert "feat(ssr): Collect CSS links during dev (#9382)"

This reverts commit 1e42b43.

Revert "fix(stream-ssr): Move wait for all ready to fix bot rendering (#9389)"

This reverts commit bdf885a.

Revert "chore(e2e): Setup e2e test for streaming SSR (#9349)"

This reverts commit 656a2c8.

Revert "RSC: vite externalConditions (#9333)"

This reverts commit c8c8a3b.

Revert "RSC: test-project-rsa: Fix TS type error in onSend (#9332)"

This reverts commit 45065da.

Revert "RSC: Implement RSC worker (#9331)"

This reverts commit 18c5d96.

Revert "RSC: createRscRequestHandler (#9330)"

This reverts commit 433d8ef.

Revert "fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)"

This reverts commit daaa199.

Revert "fix(ssr-build): Generate document in ssr build too! (#9310)"

This reverts commit e2cf25d.

Revert "feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)"

This reverts commit 1ed2b5b.

Revert "RSC: Smoke test (#9194)"

This reverts commit 18555d0.

Revert "RSC: Handle Windows paths in clientEntries (#9233)"

This reverts commit 27d33d3.

Revert "RSC: Check if index.html has already been updated during setup (#9197)"

This reverts commit 83d180f.

Revert "RSC: Use react/experimental types (#9196)"

This reverts commit e2c14eb.

Revert "RSC: Patch vite when running setup command (#9192)"

This reverts commit a7bab85.

Revert "RSC: Support 'use client' in 3pp packages (#9191)"

This reverts commit a436b1c.

Revert "RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)"

This reverts commit 9d63d08.

Revert "RSC: Decode RSF args from request (#9157)"

This reverts commit 9257e39.

Revert "RSC: RSF aka Server Actions (#9155)"

This reverts commit c46bb67.

Revert "RSC: Make code and execution easier to follow. Improve error handling. (#9154)"

This reverts commit d3475cd.

Revert "RSC: Work around an issue in Rollup (#9153)"

This reverts commit ee334bc.

Revert "Streaming: meta charSet=utf-8 (#9142)"

This reverts commit 050a169.

Revert "Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)"

This reverts commit ae11f69.

Revert "RSC: Don't set the react-server condition for client builds (#9132)"

This reverts commit 7ee6153.

Revert "Streaming fe server: bind to 0.0.0.0 in prod (#9115)"

This reverts commit 0c23f67.

Revert "fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)"

This reverts commit 8d0ab16.

Revert "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)"

This reverts commit d7560ec.

Revert "feat(Cell Suspense): Allow Cells to not Suspend (#9106)"

This reverts commit 2b8a555.

Revert "feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)"

This reverts commit 069101b.

Revert "feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)"

This reverts commit c5ba488.

Revert "exp(streaming): Allow SSR with experimental apollo client (#9038)"

This reverts commit c89e136.

Revert "feat(streaming-ssr): Fix build and server html injection (#8978)"

This reverts commit 58a2421.

Revert "RSC: Use experimental node loader (#8979)"

This reverts commit 2add568.

Revert "RSC: Fix noExternal rule for server build (#8961)"

This reverts commit 9ac5ab2.

Revert "Refactor cli serve command (#8958)"

This reverts commit f24016a.

Revert "@rwjs/vite: Pin acorn-loose version (#8944)"

This reverts commit 6f33914.

Revert "RSC: react-server condition. Poisoned imports (#8948)"

This reverts commit e941365.

Revert "RSC fix typo in example code (#8949)"

This reverts commit 3588ec0.

Revert "fix(ssr): Get experimental ssr setup working properly (#8922)"

This reverts commit abf229b.

Revert "RSC fix: setup description (#8906)"

This reverts commit b11bd72.

Revert "RSC: Add css files to the example (#8905)"

This reverts commit fcd7c39.

Revert "RSC build without user config (#8896)"

This reverts commit 37692a4.

Revert "RSC: Use rw serve (#8897)"

This reverts commit 921c9cb.

Revert "RSC: Build using rw build (#8893)"

This reverts commit f1d0dcb.

Revert "RSC: Fix experimental setup (#8894)"

This reverts commit c44a260.

Revert "RSC: Include entries.ts in paths (#8888)"

This reverts commit db271db.

Revert "RSC: Initial css support (#8887)"

This reverts commit 8610d58.

Revert "RSC: Use exported defineEntries() (#8886)"

This reverts commit f5fc2e2.

Revert "Include standard vite config in RSC build (#8882)"

This reverts commit c1e62c2.

Revert "Update entry.client and disable vite legacy mode (#8851)"

This reverts commit 8917ad6.

Revert "experimental feature flag for rsc (#8837)"

This reverts commit c7a5b13.

Revert "React Server Components (RSC) (#8451)"

This reverts commit f22dfbe.

Revert "Use "import type" for all types (#8827)"

This reverts commit 7a6aea7.

Revert "React 18.3.0-canary-035a41c4e-20230704 (#8826)"

This reverts commit d261819.

Revert "ViteBuildManifest and note about import-attributes (#8818)"

This reverts commit 8b85ad6.

Revert "Streaming SSR: Fix build, serve and dev (#8811)"

This reverts commit 4c51cae.

Revert "Add files needed for React Streaming SSR (#8810)"

This reverts commit 6da5aae.

Revert "entry.server and entry.client (#8808)"

This reverts commit 7cc5564.

Revert "Use existing rw-vite-build bin for SSR as well (#8806)"

This reverts commit 8b2a566.

Revert "Disable prerender when streamingSsr is enabled (#8775)"

This reverts commit e7d5361.

Revert "vite utils.ts: fix source format (#8796)"

This reverts commit e191071.

Revert "Server Rendering & Streaming (#8561)"

This reverts commit 2557bf8.

Revert "React Streaming and SSR feature flag (#8764)"

This reverts commit 565f620.
jtoar added a commit that referenced this pull request Jan 26, 2024
This commit reverts all the RSC and SSR PRs to date so that v7.0.0 can
go out with clean changes.

Revert "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.5.2 (#9716)"

This reverts commit 9d9d373.

Revert "fix(apollo): Enhance error differently for Suspense Cells (#9640)"

This reverts commit 7870ce4.

Revert "SSR smoke-test: Use <Metadata /> (#9763)"

This reverts commit 3d1179a.

Revert "Use TS 5.3 import attributes (#9591)"

This reverts commit cb4aba6.

Revert "chore(RSC): update RSC test projects to latest canary (#9717)"

This reverts commit 209add6.

Revert "RSC: Fix the RSA test project fixture (#9704)"

This reverts commit f7c7613.

Revert "chore(CI): add RSC fixtures to detect changes list (#9703)"

This reverts commit b7115dd.

Revert "RSC: Update rsc test project fixtures (#9666)"

This reverts commit cc69243.

Revert "RSC: Use `pages` directory (#9660)"

This reverts commit 809e3ff.

Revert "RSC: Default entry.server and more standard App.tsx (#9655)"

This reverts commit 33a3b0b.

Revert "RSC: Use the default entry.client file (#9654)"

This reverts commit 3f6e7c1.

Revert "RSC: No need to patch Vite anymore (#9636)"

This reverts commit 2fdb496.

Revert "RSC: Remove unused code. Improve code organization (#9631)"

This reverts commit 4937929.

Revert "chore: Linting and disable some console logs (#9635)"

This reverts commit b1adcc7.

Revert "RSC: Use Routes.tsx for (client-side) routing (#9630)"

This reverts commit e9f5f01.

Revert "RSC: Add RW env var definitions to Vite config and include FatalErrorBoundary (#9622)"

This reverts commit 69a1770.

Revert "RSC: Refactor to share buildRouteManifest function with SSR process (#9618)"

This reverts commit 00462e5.

Revert "RSC: Fake server-side routing (#9593)"

This reverts commit 2c638c3.

Revert "RSC: Include routing in initial RSC example app (#9611)"

This reverts commit a7ea8cd.

Revert "fix(deps): update dependency @whatwg-node/server to v0.9.18 (#9602)"

This reverts commit 1e1c8d1.

Revert "RSC: Generate a route manifest (#9592)"

This reverts commit 99685ee.

Revert "RSC: Refactor build process (#9588)"

This reverts commit 1f66831.

Revert "fix(streaming-ssr): Fixes running the streaming server using rw serve (#9558)"

This reverts commit 6459562.

Revert "fix(streaming): Fix css loading on dev server on Windows (#9557)"

This reverts commit 205e0f4.

Revert "RSC: Combine RSC server with StreamingSSR server (#9553)"

This reverts commit 4afccbc.

Revert "Prerender smoke-test: await helper function (#9546)"

This reverts commit fe70a36.

Revert "fix(deps): update dependency isbot to v3.7.1 (#9506)"

This reverts commit e330be7.

Revert "fix(deps): update dependency @whatwg-node/server to v0.9.16 (#9475)"

This reverts commit 886e28a.

Revert "chore(deps): update dependency rollup to v3.29.4 (#9464)"

This reverts commit c5eca98.

Revert "RSC: Support client-only package and include @tobbe.dev/rsc-test in smoke test (#9367)"

This reverts commit e04e48e.

Revert "RSC: Check for rw-rsc header (#9410)"

This reverts commit cb0b035.

Revert "RSC GH action: Move build to after copy (#9413)"

This reverts commit 114a2b0.

Revert "RSC: Move loaders to worker thread (#9412)"

This reverts commit df88574.

Revert "RSC: smoke tests: install and build after project:copy (#9411)"

This reverts commit e2a90f8.

Revert "feat(ssr-streaming): Allow building without index.html during streaming-ssr (#9387)"

This reverts commit 76e1672.

Revert "chore(ssr): Move LocationProvider inside framework for SSR (#9383)"

This reverts commit c4dedc6.

Revert "feat(ssr): Collect CSS links during dev (#9382)"

This reverts commit 1e42b43.

Revert "fix(stream-ssr): Move wait for all ready to fix bot rendering (#9389)"

This reverts commit bdf885a.

Revert "chore(e2e): Setup e2e test for streaming SSR (#9349)"

This reverts commit 656a2c8.

Revert "RSC: vite externalConditions (#9333)"

This reverts commit c8c8a3b.

Revert "RSC: test-project-rsa: Fix TS type error in onSend (#9332)"

This reverts commit 45065da.

Revert "RSC: Implement RSC worker (#9331)"

This reverts commit 18c5d96.

Revert "RSC: createRscRequestHandler (#9330)"

This reverts commit 433d8ef.

Revert "fix(stream-ssr): Cancel the timeout when the react stream has finished (#9317)"

This reverts commit daaa199.

Revert "fix(ssr-build): Generate document in ssr build too! (#9310)"

This reverts commit e2cf25d.

Revert "feat(streaming-ssr): Various bug fixes and migrate to FetchAPI/Web streams (#9295)"

This reverts commit 1ed2b5b.

Revert "RSC: Smoke test (#9194)"

This reverts commit 18555d0.

Revert "RSC: Handle Windows paths in clientEntries (#9233)"

This reverts commit 27d33d3.

Revert "RSC: Check if index.html has already been updated during setup (#9197)"

This reverts commit 83d180f.

Revert "RSC: Use react/experimental types (#9196)"

This reverts commit e2c14eb.

Revert "RSC: Patch vite when running setup command (#9192)"

This reverts commit a7bab85.

Revert "RSC: Support 'use client' in 3pp packages (#9191)"

This reverts commit a436b1c.

Revert "RSC: react-18.3.0-canary-bbc8530ed-20230912 (#9164)"

This reverts commit 9d63d08.

Revert "RSC: Decode RSF args from request (#9157)"

This reverts commit 9257e39.

Revert "RSC: RSF aka Server Actions (#9155)"

This reverts commit c46bb67.

Revert "RSC: Make code and execution easier to follow. Improve error handling. (#9154)"

This reverts commit d3475cd.

Revert "RSC: Work around an issue in Rollup (#9153)"

This reverts commit ee334bc.

Revert "Streaming: meta charSet=utf-8 (#9142)"

This reverts commit 050a169.

Revert "Streaming SSR: Fix RWJS_EXP_SSR_GRAPHQL_ENDPOINT logic (#9134)"

This reverts commit ae11f69.

Revert "RSC: Don't set the react-server condition for client builds (#9132)"

This reverts commit 7ee6153.

Revert "Streaming fe server: bind to 0.0.0.0 in prod (#9115)"

This reverts commit 0c23f67.

Revert "fix(meta): Remove duplicated title and meta attributes (possible edge cases) (#9113)"

This reverts commit 8d0ab16.

Revert "chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.4.2 (#9021)"

This reverts commit d7560ec.

Revert "feat(Cell Suspense): Allow Cells to not Suspend (#9106)"

This reverts commit 2b8a555.

Revert "feat(streaming): Make Cells render on the server with useBackgroundQuery and useReadQuery (#9074)"

This reverts commit 069101b.

Revert "feat(streaming): Cleanup/Unify streaming dev and prod server (#9047)"

This reverts commit c5ba488.

Revert "exp(streaming): Allow SSR with experimental apollo client (#9038)"

This reverts commit c89e136.

Revert "feat(streaming-ssr): Fix build and server html injection (#8978)"

This reverts commit 58a2421.

Revert "RSC: Use experimental node loader (#8979)"

This reverts commit 2add568.

Revert "RSC: Fix noExternal rule for server build (#8961)"

This reverts commit 9ac5ab2.

Revert "Refactor cli serve command (#8958)"

This reverts commit f24016a.

Revert "@rwjs/vite: Pin acorn-loose version (#8944)"

This reverts commit 6f33914.

Revert "RSC: react-server condition. Poisoned imports (#8948)"

This reverts commit e941365.

Revert "RSC fix typo in example code (#8949)"

This reverts commit 3588ec0.

Revert "fix(ssr): Get experimental ssr setup working properly (#8922)"

This reverts commit abf229b.

Revert "RSC fix: setup description (#8906)"

This reverts commit b11bd72.

Revert "RSC: Add css files to the example (#8905)"

This reverts commit fcd7c39.

Revert "RSC build without user config (#8896)"

This reverts commit 37692a4.

Revert "RSC: Use rw serve (#8897)"

This reverts commit 921c9cb.

Revert "RSC: Build using rw build (#8893)"

This reverts commit f1d0dcb.

Revert "RSC: Fix experimental setup (#8894)"

This reverts commit c44a260.

Revert "RSC: Include entries.ts in paths (#8888)"

This reverts commit db271db.

Revert "RSC: Initial css support (#8887)"

This reverts commit 8610d58.

Revert "RSC: Use exported defineEntries() (#8886)"

This reverts commit f5fc2e2.

Revert "Include standard vite config in RSC build (#8882)"

This reverts commit c1e62c2.

Revert "Update entry.client and disable vite legacy mode (#8851)"

This reverts commit 8917ad6.

Revert "experimental feature flag for rsc (#8837)"

This reverts commit c7a5b13.

Revert "React Server Components (RSC) (#8451)"

This reverts commit f22dfbe.

Revert "Use "import type" for all types (#8827)"

This reverts commit 7a6aea7.

Revert "React 18.3.0-canary-035a41c4e-20230704 (#8826)"

This reverts commit d261819.

Revert "ViteBuildManifest and note about import-attributes (#8818)"

This reverts commit 8b85ad6.

Revert "Streaming SSR: Fix build, serve and dev (#8811)"

This reverts commit 4c51cae.

Revert "Add files needed for React Streaming SSR (#8810)"

This reverts commit 6da5aae.

Revert "entry.server and entry.client (#8808)"

This reverts commit 7cc5564.

Revert "Use existing rw-vite-build bin for SSR as well (#8806)"

This reverts commit 8b2a566.

Revert "Disable prerender when streamingSsr is enabled (#8775)"

This reverts commit e7d5361.

Revert "vite utils.ts: fix source format (#8796)"

This reverts commit e191071.

Revert "Server Rendering & Streaming (#8561)"

This reverts commit 2557bf8.

Revert "React Streaming and SSR feature flag (#8764)"

This reverts commit 565f620.
@Josh-Walker-GM Josh-Walker-GM modified the milestones: SSR, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix This PR is a fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants