-
Notifications
You must be signed in to change notification settings - Fork 1k
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
chore: Linting and disable some console logs #9635
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Josh-Walker-GM
added
the
release:chore
This PR is a chore (means nothing for users)
label
Dec 5, 2023
Tobbe
approved these changes
Dec 5, 2023
dac09
added a commit
to dac09/redwood
that referenced
this pull request
Dec 7, 2023
…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
added a commit
to dac09/redwood
that referenced
this pull request
Dec 20, 2023
…sr-updated-forward-cookies * 'main' of github.com:redwoodjs/redwood: (163 commits) chore(deps): update dependency @clerk/clerk-react to v4.28.3 (redwoodjs#9643) fix(deps): update prisma monorepo to v5.7.0 (redwoodjs#9642) 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) chore(release): add notes on redwoodjs#9624 chore(release): add release:notes scripts, fix docs chore(deps): update dependency @clerk/clerk-react to v4.28.2 (redwoodjs#9625) fix(deps): update dependency @vitejs/plugin-react to v4.2.1 (redwoodjs#9626) fix(deps): update dependency vite to v4.5.1 (redwoodjs#9627) fix(deps): update storybook monorepo to v7.6.3 (redwoodjs#9628) ...
dac09
added a commit
to dac09/redwood
that referenced
this pull request
Jan 24, 2024
commit d35207f Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 23 22:59:56 2024 +0700 Remove this.init from inside class, call them in the tests instead commit d4ce855 Merge: ed74729 fca8d7a Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Jan 22 22:23:24 2024 +0700 Merge branch 'main' into feat/dbauth-fetch-handler commit ed74729 Merge: 8fdbec0 b8a5e53 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Jan 22 16:04:02 2024 +0700 Merge branch 'main' into feat/dbauth-fetch-handler commit 8fdbec0 Merge: 61d4664 74a9b0a Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Jan 22 10:56:29 2024 +0700 Merge branch 'main' into feat/dbauth-fetch-handler commit 61d4664 Merge: b32eca7 7491bdf Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Sun Jan 21 17:53:18 2024 +0700 Merge branch 'feat/dbauth-fetch-handler' of github.com:dac09/redwood into feat/dbauth-fetch-handler * 'feat/dbauth-fetch-handler' of github.com:dac09/redwood: commit b32eca7 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Sun Jan 21 17:52:57 2024 +0700 Fix merge after vitest commit 5900629 Merge: bf2b589 41ac728 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Sun Jan 21 17:48:07 2024 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-fetch-handler * 'main' of github.com:redwoodjs/redwood: feat(server file): add `createServer` (redwoodjs#9845) chore(crwa): set `REDWOOD_CI` and `REDWOOD_DISABLE_TELEMETRY` (redwoodjs#9857) Fix(crwa): Exit 0 after Quit install (redwoodjs#9856) chore(crwa): switch to vitest (redwoodjs#9855) chore(api): Switch to use vitest over jest (redwoodjs#9853) fix(server): ensure consistency between CLI serve entrypoints regarding help and strict (redwoodjs#9809) Improve how the api-server watch command works (redwoodjs#9841) docs(typo): correct grammar in realtime docs (redwoodjs#9850) Add support for Prisma Bytes and GraphQL scalar Byte (redwoodjs#9847) packages/cli: Switch from substr (deprecated) to slice (redwoodjs#9849) commit 7491bdf Merge: abf3a95 41ac728 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Sun Jan 21 16:36:13 2024 +0700 Merge branch 'main' into feat/dbauth-fetch-handler commit abf3a95 Merge: bf2b589 b759ad1 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 16:20:01 2024 +0700 Merge branch 'main' into feat/dbauth-fetch-handler commit bf2b589 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 16:18:43 2024 +0700 Remove unused function commit 06c07dc Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 16:16:55 2024 +0700 Undo bearer token change commit 38b3584 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 16:14:17 2024 +0700 Remove old comment commit 2bdb5e0 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 16:03:11 2024 +0700 Cleanup, update shared.test commit 3cdb37d Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 01:48:47 2024 +0700 Update packages/auth-providers/dbAuth/api/src/decoder.ts commit 8750800 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 01:13:54 2024 +0700 FIX ALL THE TESTS! commit d773116 Merge: 6a31c00 6d74a22 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 00:57:31 2024 +0700 Merge main commit 6a31c00 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 16 14:33:21 2024 +0700 Just keep the dbAuth fetch-api related changes, revert everything else commit c3a2ebb Merge: be84ace d9892f4 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 16 13:51:39 2024 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-fetch-handler * 'main' of github.com:redwoodjs/redwood: Add missing cli-helpers test file (redwoodjs#9833) Add cli-helpers util to update redwood.toml (redwoodjs#9832) Tweak graphiql setup messages (redwoodjs#9831) exp setup sentry: Fix file extension (redwoodjs#9829) Fastify config: Use exact file extension in log message (redwoodjs#9828) Remove unused Fastify plugin (redwoodjs#9827) Add trusted-documents to fragments CI smoke-test (redwoodjs#9826) prerender: Enable Trusted Documents support (redwoodjs#9825) trustedDocuments.test.ts: Format source cli: add missing dep jscodeshift (redwoodjs#9823) graphql setup fragments: Move telemetry to main handler (redwoodjs#9819) feat: Adds Setup CLI Command to Configure GraphQL Trusted Documents (redwoodjs#9800) Update cli tsconfig to reference used packages (redwoodjs#9822) fragments setup: newline fix + refactor->rename (redwoodjs#9821) yarn rw setup graphql fragments (redwoodjs#9811) commit be84ace Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 16 13:51:10 2024 +0700 Restore unneeded changes commit 5ce1870 Merge: 0d62479 80e4a4f Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 9 11:51:41 2024 +0600 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-cookie+generic-handler * 'main' of github.com:redwoodjs/redwood: chore: Improved Possible Types DX and Framework integration for GraphQL Fragments with Union and Interface support (redwoodjs#9594) fix(server): error early on incompatible config (apiHost and apiUrl) (redwoodjs#9808) chore(esm): convert crwa to esm and bundle (redwoodjs#9786) chore(cli): More robust isAwaitable (redwoodjs#9806) chore(ci): Update task names to say "node 20" (redwoodjs#9805) Use TS for rebuild-test-project-fixture script (redwoodjs#9804) chore: bump TSTyche (redwoodjs#9803) docs(fragments): Typo, grammar and formatting fixes (redwoodjs#9802) Revert accidental changes to test-project chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.5.2 (redwoodjs#9716) fix(deps): update dependency react-helmet-async to v2 (redwoodjs#9697) fix(deps): update dependency sqlite to v5 (redwoodjs#9698) data migrate: Clean up upHandler test (redwoodjs#9796) chore(data-migration): Fix test exit code (redwoodjs#9795) Add routeParams to useMatch (redwoodjs#9793) fix(fastify): Prevent duplicate `@fastify/url-data` registration (redwoodjs#9794) useRoutePath(): Get the path for the current route by default (redwoodjs#9790) Router: Use a single RouterContext (redwoodjs#9792) commit 0d62479 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Thu Jan 4 14:39:48 2024 +0700 ServerAuthState types and stuff Inject initial server auth state on ssr commit d25ed51 Merge: 9b1affd 3e08e20 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Jan 3 13:18:27 2024 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-cookie+generic-handler * 'main' of github.com:redwoodjs/redwood: chore: yarn install to update `yarn.lock` (follow up to redwoodjs#9669) chore(deps): update dependency @envelop/core to v5 (redwoodjs#9669) Use regex to make test pass in VSCode (redwoodjs#9791) fix(dbAuth): Correct hardcoded DB column (redwoodjs#9788) fix(deps): update dependency graphql-yoga to v5 (redwoodjs#9688) commit 9b1affd Merge: e05a906 1075258 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 2 13:41:53 2024 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-cookie+generic-handler * 'main' of github.com:redwoodjs/redwood: (125 commits) chore(release-tooling): Reminder to update Algolia chore(release-tooling): Add note about generating release notes chore(release-tooling): Add more detailed instructions for after releasing chore(release-tooling): Fix PR count message fix(crwa): use `fs.renameSync` instead of `fs.rename` (redwoodjs#9787) chore(release-tooling): Update to node 20 in version check chore(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 in /__fixtures__/example-todo-main (redwoodjs#9785) chore(crwa): add e2e tests for create-redwood-app (redwoodjs#9783) chore(release-tooling): fetch -> pull (redwoodjs#9784) feat(scaffold/cell): Adds TypedDocument Support to Cell and Scaffold Generators (redwoodjs#9693) fix: Support Custom Id Field Names in when generating Cells (redwoodjs#9778) chore(framework-tools): .gitignore (redwoodjs#9782) Use build:pack for dbauth when rebuilding the test project (redwoodjs#9781) chore(test-project): Fix test-project generation script, and regenerate fixture (redwoodjs#9779) Fix dbAuth allowUserFields initialization syntax (redwoodjs#9780) chore(framework-tools): add `project:tarsync` script (redwoodjs#9766) fix(otel): Fix OTel sdk loading (redwoodjs#9777) fix: Fixes way OpenTelemetry setup template uses project-config for port setting (redwoodjs#9775) chore(router): Miniscule fixes chore(router): Move useMatch to its own file (redwoodjs#9770) ... commit e05a906 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Thu Dec 28 14:33:11 2023 +0700 Add nx to gitignore commit 4e268aa Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Dec 25 14:38:11 2023 +0700 Refactor and reuse getEventHeader Improve Fetch Request detection commit 5e0c1c2 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Dec 25 13:26:11 2023 +0700 Change detection of fetch event commit fe40f61 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 22 18:09:11 2023 +0700 Cleanup isFetchRequest commit 1a3cbd4 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 22 14:41:48 2023 +0700 Undo decoder type changes commit 0979725 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 22 14:36:20 2023 +0700 Get it working with middleware! commit 3f0a32b Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 22 13:28:51 2023 +0700 Fix more tests Normalize request differently to be more compatible commit 82badfd Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Dec 20 14:44:10 2023 +0700 Fix authContext tests and dbauth handler commit 67c4ace Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Dec 11 14:46:57 2023 +0700 I think I have it working with failing tests commit b275d9f Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 8 11:05:23 2023 +0700 Fix building! commit 0542ca7 Merge: 37adfa5 fb3f1fb Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 8 10:50:56 2023 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into try/dbauth-ssr-updated-forward-cookies * 'main' of github.com:redwoodjs/redwood: (163 commits) chore(deps): update dependency @clerk/clerk-react to v4.28.3 (redwoodjs#9643) fix(deps): update prisma monorepo to v5.7.0 (redwoodjs#9642) 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) chore(release): add notes on redwoodjs#9624 chore(release): add release:notes scripts, fix docs chore(deps): update dependency @clerk/clerk-react to v4.28.2 (redwoodjs#9625) fix(deps): update dependency @vitejs/plugin-react to v4.2.1 (redwoodjs#9626) fix(deps): update dependency vite to v4.5.1 (redwoodjs#9627) fix(deps): update storybook monorepo to v7.6.3 (redwoodjs#9628) ... commit 37adfa5 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Nov 20 16:05:31 2023 +0700 Make it forward cookies from authState commit a8f0e33 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Nov 15 22:52:00 2023 +0700 Fix some merged changes commit 4bb543a Merge: 2b66173 bbe2226 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Nov 15 22:51:44 2023 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into try/dbauth-ssr-updated * 'main' of github.com:redwoodjs/redwood: (80 commits) fix(deps): update dependency @fastify/http-proxy to v9.3.0 (redwoodjs#9451) fix(deps): update dependency @fastify/static to v6.12.0 (redwoodjs#9452) chore: migrate type tests to TSTyche (redwoodjs#9394) fix(deps): update dependency @testing-library/user-event to v14.5.1 (redwoodjs#9455) fix(deps): update dependency @vitejs/plugin-react to v4.1.1 (redwoodjs#9456) fix(deps): update dependency pino to v8.16.1 (redwoodjs#9459) fix(deps): update dependency firebase-admin to v11.11.0 (redwoodjs#9458) chore(deps): update dependency firebase to v10.6.0 (redwoodjs#9449) fix(deps): update dependency @fastify/url-data to v5.4.0 (redwoodjs#9453) fix(deps): update dependency @simplewebauthn/browser to v7.4.0 (redwoodjs#9454) chore(deps): update actions/setup-node action to v4 (redwoodjs#9461) chore(deps): update actions/checkout action to v4 (redwoodjs#9460) fix(deps): update dependency @graphql-yoga/plugin-graphql-sse to v2.0.5 (redwoodjs#9440) fix(deps): update prisma monorepo to v5.6.0 (redwoodjs#9447) fix(deps): update dependency nodemailer to v6.9.7 (redwoodjs#9444) chore(deps): update dependency esbuild to v0.19.5 (redwoodjs#9359) fix(deps): update dependency @envelop/on-resolve to v3.0.3 (redwoodjs#9436) fix(deps): update dependency semver to v7.5.4 (redwoodjs#9445) fix(deps): update dependency jsonwebtoken to v9.0.2 (redwoodjs#9443) fix(deps): update dependency systeminformation to v5.21.17 (redwoodjs#9446) ... commit 2b66173 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Nov 15 21:48:27 2023 +0700 Get it building again commit 9fafcf8 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Thu Nov 2 23:50:43 2023 +0700 SHIP IT commit bb0b36e Merge: 5f1deed 7ab07a2 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Thu Nov 2 22:23:40 2023 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into try/dbauth-ssr * 'main' of github.com:redwoodjs/redwood: (26 commits) fix(api-server): copy fallback fix from redwoodjs#9272 (redwoodjs#9369) fix(deps): update dependency concurrently to v8.2.2 (redwoodjs#9361) chore(k6): Fix function context test (redwoodjs#9368) feat(cli): Setup command for mailer (redwoodjs#9335) feature: Support defer and stream GraphQL Directives in RedwoodRealtime (redwoodjs#9235) chore(deps): update dependency rimraf to v5.0.5 (redwoodjs#9360) chore(k6): Fix function context test (redwoodjs#9358) chore(deps): bump undici from 5.22.1 to 5.26.3 (redwoodjs#9307) fix(babel): Fix opentelemetry api wrapping and allow it to be disabled (redwoodjs#9298) chore(api-server): remove server survey tests in CI (redwoodjs#9348) chore(deps): update babel monorepo to v7.23.2 (redwoodjs#9344) chore(deps): bump @babel/traverse from 7.18.9 to 7.23.2 in /docs (redwoodjs#9311) chore(deps): update dependency @tsconfig/docusaurus to v2 (redwoodjs#9347) fix(deps): update dependency react-player to v2.13.0 (redwoodjs#9346) fix(deps): update docusaurus monorepo to v2.4.3 (redwoodjs#9345) fix(deps): update dependency @babel/traverse to v7.23.2 [security] (redwoodjs#9322) chore: increase server test timeout, fix `yarn build:clean` (redwoodjs#9336) feature: Adds utility functions to add envars and update Redwood toml for plugin packages to cli helpers for use in simplifying CLI setup commands (redwoodjs#9324) fix(cli): Tailwind setup updates `scaffold.css` when needed (redwoodjs#9290) fix(cli): Exit with non-zero exit code when `yarn rw g types` has errors (redwoodjs#9280) ... commit 5f1deed Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Thu Oct 26 12:57:44 2023 +0700 NOT WORKING: try extracting session passed into a cookie commit 9e86135 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Oct 25 12:48:33 2023 +0700 Simple auth state parsing with middleware in entry server Squashed commit of the following: commit 616bd22 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 23 23:33:24 2024 +0700 Also convert fetch handler test to vitest commit 81b787f Merge: d35207f 352af62 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 23 23:33:09 2024 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-fetch-handler * 'main' of github.com:redwoodjs/redwood: chore(auth-providers): switch to vitest (mostly) (redwoodjs#9869) chore(esm): convert `@redwoodjs/project-config` to ESM (redwoodjs#9870) fix(createServer): use addHook instead of ready (redwoodjs#9871) commit d35207f Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 23 22:59:56 2024 +0700 Remove this.init from inside class, call them in the tests instead commit 352af62 Author: Josh GM Walker <56300765+Josh-Walker-GM@users.noreply.github.com> Date: Mon Jan 22 22:03:28 2024 +0000 chore(auth-providers): switch to vitest (mostly) (redwoodjs#9869) This PR updates the auth providers with the exception of two: 1. `@redwoodjs/auth-firebase-web` It contains jest specific code for specifically resolving uuid to CJS. I'm sure it's possible to switch it over but I have not yet tried. 3. `@redwoodjs/auth-dbauth-web` I encountered errors that WebAuthn was not supported within the test environment. Even with the `jsdom` environment set. commit 68ed27a Author: Dominic Saadi <dominiceliassaadi@gmail.com> Date: Mon Jan 22 13:22:38 2024 -0800 chore(esm): convert `@redwoodjs/project-config` to ESM (redwoodjs#9870) I'm still working through a few things. The motivation for tackling `@redwoodjs/project-config` first was 1) most of our other package's depend on it 2) it's small 3) it would make merging the PR that converts the CLI's Jest tests to Vitest easier because Vitest can't mock require (see redwoodjs#9863). I used [`arethetypeswrong/cli`](https://github.com/arethetypeswrong/arethetypeswrong.github.io) extensively. Right now I'm deeming the "Masquerading as ESM" error it emits acceptable. The code between the ESM and CJS files doesn't differ in functionality, only syntax; shipping two declaration copies of all the declaration files is shipping extra code. Mark Erikson did something similar at first at least here: > Unfortunately, no build tool that I knew of at that time did this by default, and the idea of shipping 99%-duplicate typedefs bothered me. So, I opted to not try to fix this "FalseCJS" issue for our packages (at least for the time being). (Source: https://blog.isquaredsoftware.com/2023/08/esm-modernization-lessons/#typescript-declarations.) Note that FalseCJS's fancier name is "Masquerading as CJS". We have "Masquerading as ESM", not CJS. I'm not sure if it's an issue that it's flipped yet. ``` $ attw ./redwoodjs-project-config.tgz @redwoodjs/project-config v6.0.7 Build tools: - typescript@5.3.3 - esbuild@0.19.9 👺 Import resolved to an ESM type declaration file, but a CommonJS JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseESM.md ┌───────────────────┬─────────────────────────────┐ │ │ "@redwoodjs/project-config" │ ├───────────────────┼─────────────────────────────┤ │ node10 │ 🟢 │ ├───────────────────┼─────────────────────────────┤ │ node16 (from CJS) │ 👺 Masquerading as ESM │ ├───────────────────┼─────────────────────────────┤ │ node16 (from ESM) │ 🟢 (ESM) │ ├───────────────────┼─────────────────────────────┤ │ bundler │ 🟢 │ └───────────────────┴─────────────────────────────┘ ``` Regarding the `.js` extensions (which are necessary for relative imports in ESM) in TS code, see redwoodjs#8456. commit 49347fd Author: Dominic Saadi <dominiceliassaadi@gmail.com> Date: Mon Jan 22 12:08:01 2024 -0800 fix(createServer): use addHook instead of ready (redwoodjs#9871) Fixes the issue @Tobbe and I were seeing in studio: ``` ~/redwood-project/node_modules/avvio/boot.js:244 throw new AVV_ERR_ROOT_PLG_BOOTED() ^ AvvioError [Error]: Root plugin has already booted ... ``` `fastify.ready` actually starts the server. All this is doing is logging. We want to use `addHook` instead. Follow up to redwoodjs#9845. commit d4ce855 Merge: ed74729 fca8d7a Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Jan 22 22:23:24 2024 +0700 Merge branch 'main' into feat/dbauth-fetch-handler commit ed74729 Merge: 8fdbec0 b8a5e53 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Jan 22 16:04:02 2024 +0700 Merge branch 'main' into feat/dbauth-fetch-handler commit 8fdbec0 Merge: 61d4664 74a9b0a Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Jan 22 10:56:29 2024 +0700 Merge branch 'main' into feat/dbauth-fetch-handler commit 61d4664 Merge: b32eca7 7491bdf Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Sun Jan 21 17:53:18 2024 +0700 Merge branch 'feat/dbauth-fetch-handler' of github.com:dac09/redwood into feat/dbauth-fetch-handler * 'feat/dbauth-fetch-handler' of github.com:dac09/redwood: commit b32eca7 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Sun Jan 21 17:52:57 2024 +0700 Fix merge after vitest commit 5900629 Merge: bf2b589 41ac728 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Sun Jan 21 17:48:07 2024 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-fetch-handler * 'main' of github.com:redwoodjs/redwood: feat(server file): add `createServer` (redwoodjs#9845) chore(crwa): set `REDWOOD_CI` and `REDWOOD_DISABLE_TELEMETRY` (redwoodjs#9857) Fix(crwa): Exit 0 after Quit install (redwoodjs#9856) chore(crwa): switch to vitest (redwoodjs#9855) chore(api): Switch to use vitest over jest (redwoodjs#9853) fix(server): ensure consistency between CLI serve entrypoints regarding help and strict (redwoodjs#9809) Improve how the api-server watch command works (redwoodjs#9841) docs(typo): correct grammar in realtime docs (redwoodjs#9850) Add support for Prisma Bytes and GraphQL scalar Byte (redwoodjs#9847) packages/cli: Switch from substr (deprecated) to slice (redwoodjs#9849) commit 7491bdf Merge: abf3a95 41ac728 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Sun Jan 21 16:36:13 2024 +0700 Merge branch 'main' into feat/dbauth-fetch-handler commit abf3a95 Merge: bf2b589 b759ad1 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 16:20:01 2024 +0700 Merge branch 'main' into feat/dbauth-fetch-handler commit bf2b589 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 16:18:43 2024 +0700 Remove unused function commit 06c07dc Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 16:16:55 2024 +0700 Undo bearer token change commit 38b3584 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 16:14:17 2024 +0700 Remove old comment commit 2bdb5e0 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 16:03:11 2024 +0700 Cleanup, update shared.test commit 3cdb37d Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 01:48:47 2024 +0700 Update packages/auth-providers/dbAuth/api/src/decoder.ts commit 8750800 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 01:13:54 2024 +0700 FIX ALL THE TESTS! commit d773116 Merge: 6a31c00 6d74a22 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Jan 19 00:57:31 2024 +0700 Merge main commit 6a31c00 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 16 14:33:21 2024 +0700 Just keep the dbAuth fetch-api related changes, revert everything else commit c3a2ebb Merge: be84ace d9892f4 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 16 13:51:39 2024 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-fetch-handler * 'main' of github.com:redwoodjs/redwood: Add missing cli-helpers test file (redwoodjs#9833) Add cli-helpers util to update redwood.toml (redwoodjs#9832) Tweak graphiql setup messages (redwoodjs#9831) exp setup sentry: Fix file extension (redwoodjs#9829) Fastify config: Use exact file extension in log message (redwoodjs#9828) Remove unused Fastify plugin (redwoodjs#9827) Add trusted-documents to fragments CI smoke-test (redwoodjs#9826) prerender: Enable Trusted Documents support (redwoodjs#9825) trustedDocuments.test.ts: Format source cli: add missing dep jscodeshift (redwoodjs#9823) graphql setup fragments: Move telemetry to main handler (redwoodjs#9819) feat: Adds Setup CLI Command to Configure GraphQL Trusted Documents (redwoodjs#9800) Update cli tsconfig to reference used packages (redwoodjs#9822) fragments setup: newline fix + refactor->rename (redwoodjs#9821) yarn rw setup graphql fragments (redwoodjs#9811) commit be84ace Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 16 13:51:10 2024 +0700 Restore unneeded changes commit 5ce1870 Merge: 0d62479 80e4a4f Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 9 11:51:41 2024 +0600 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-cookie+generic-handler * 'main' of github.com:redwoodjs/redwood: chore: Improved Possible Types DX and Framework integration for GraphQL Fragments with Union and Interface support (redwoodjs#9594) fix(server): error early on incompatible config (apiHost and apiUrl) (redwoodjs#9808) chore(esm): convert crwa to esm and bundle (redwoodjs#9786) chore(cli): More robust isAwaitable (redwoodjs#9806) chore(ci): Update task names to say "node 20" (redwoodjs#9805) Use TS for rebuild-test-project-fixture script (redwoodjs#9804) chore: bump TSTyche (redwoodjs#9803) docs(fragments): Typo, grammar and formatting fixes (redwoodjs#9802) Revert accidental changes to test-project chore(deps): update dependency @apollo/experimental-nextjs-app-support to v0.5.2 (redwoodjs#9716) fix(deps): update dependency react-helmet-async to v2 (redwoodjs#9697) fix(deps): update dependency sqlite to v5 (redwoodjs#9698) data migrate: Clean up upHandler test (redwoodjs#9796) chore(data-migration): Fix test exit code (redwoodjs#9795) Add routeParams to useMatch (redwoodjs#9793) fix(fastify): Prevent duplicate `@fastify/url-data` registration (redwoodjs#9794) useRoutePath(): Get the path for the current route by default (redwoodjs#9790) Router: Use a single RouterContext (redwoodjs#9792) commit 0d62479 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Thu Jan 4 14:39:48 2024 +0700 ServerAuthState types and stuff Inject initial server auth state on ssr commit d25ed51 Merge: 9b1affd 3e08e20 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Jan 3 13:18:27 2024 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-cookie+generic-handler * 'main' of github.com:redwoodjs/redwood: chore: yarn install to update `yarn.lock` (follow up to redwoodjs#9669) chore(deps): update dependency @envelop/core to v5 (redwoodjs#9669) Use regex to make test pass in VSCode (redwoodjs#9791) fix(dbAuth): Correct hardcoded DB column (redwoodjs#9788) fix(deps): update dependency graphql-yoga to v5 (redwoodjs#9688) commit 9b1affd Merge: e05a906 1075258 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Tue Jan 2 13:41:53 2024 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-cookie+generic-handler * 'main' of github.com:redwoodjs/redwood: (125 commits) chore(release-tooling): Reminder to update Algolia chore(release-tooling): Add note about generating release notes chore(release-tooling): Add more detailed instructions for after releasing chore(release-tooling): Fix PR count message fix(crwa): use `fs.renameSync` instead of `fs.rename` (redwoodjs#9787) chore(release-tooling): Update to node 20 in version check chore(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 in /__fixtures__/example-todo-main (redwoodjs#9785) chore(crwa): add e2e tests for create-redwood-app (redwoodjs#9783) chore(release-tooling): fetch -> pull (redwoodjs#9784) feat(scaffold/cell): Adds TypedDocument Support to Cell and Scaffold Generators (redwoodjs#9693) fix: Support Custom Id Field Names in when generating Cells (redwoodjs#9778) chore(framework-tools): .gitignore (redwoodjs#9782) Use build:pack for dbauth when rebuilding the test project (redwoodjs#9781) chore(test-project): Fix test-project generation script, and regenerate fixture (redwoodjs#9779) Fix dbAuth allowUserFields initialization syntax (redwoodjs#9780) chore(framework-tools): add `project:tarsync` script (redwoodjs#9766) fix(otel): Fix OTel sdk loading (redwoodjs#9777) fix: Fixes way OpenTelemetry setup template uses project-config for port setting (redwoodjs#9775) chore(router): Miniscule fixes chore(router): Move useMatch to its own file (redwoodjs#9770) ... commit e05a906 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Thu Dec 28 14:33:11 2023 +0700 Add nx to gitignore commit 4e268aa Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Dec 25 14:38:11 2023 +0700 Refactor and reuse getEventHeader Improve Fetch Request detection commit 5e0c1c2 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Dec 25 13:26:11 2023 +0700 Change detection of fetch event commit fe40f61 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 22 18:09:11 2023 +0700 Cleanup isFetchRequest commit 1a3cbd4 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 22 14:41:48 2023 +0700 Undo decoder type changes commit 0979725 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 22 14:36:20 2023 +0700 Get it working with middleware! commit 3f0a32b Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 22 13:28:51 2023 +0700 Fix more tests Normalize request differently to be more compatible commit 82badfd Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Dec 20 14:44:10 2023 +0700 Fix authContext tests and dbauth handler commit 67c4ace Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Dec 11 14:46:57 2023 +0700 I think I have it working with failing tests commit b275d9f Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 8 11:05:23 2023 +0700 Fix building! commit 0542ca7 Merge: 37adfa5 fb3f1fb Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Fri Dec 8 10:50:56 2023 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into try/dbauth-ssr-updated-forward-cookies * 'main' of github.com:redwoodjs/redwood: (163 commits) chore(deps): update dependency @clerk/clerk-react to v4.28.3 (redwoodjs#9643) fix(deps): update prisma monorepo to v5.7.0 (redwoodjs#9642) 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) chore(release): add notes on redwoodjs#9624 chore(release): add release:notes scripts, fix docs chore(deps): update dependency @clerk/clerk-react to v4.28.2 (redwoodjs#9625) fix(deps): update dependency @vitejs/plugin-react to v4.2.1 (redwoodjs#9626) fix(deps): update dependency vite to v4.5.1 (redwoodjs#9627) fix(deps): update storybook monorepo to v7.6.3 (redwoodjs#9628) ... commit 37adfa5 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Mon Nov 20 16:05:31 2023 +0700 Make it forward cookies from authState commit a8f0e33 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Nov 15 22:52:00 2023 +0700 Fix some merged changes commit 4bb543a Merge: 2b66173 bbe2226 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Nov 15 22:51:44 2023 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into try/dbauth-ssr-updated * 'main' of github.com:redwoodjs/redwood: (80 commits) fix(deps): update dependency @fastify/http-proxy to v9.3.0 (redwoodjs#9451) fix(deps): update dependency @fastify/static to v6.12.0 (redwoodjs#9452) chore: migrate type tests to TSTyche (redwoodjs#9394) fix(deps): update dependency @testing-library/user-event to v14.5.1 (redwoodjs#9455) fix(deps): update dependency @vitejs/plugin-react to v4.1.1 (redwoodjs#9456) fix(deps): update dependency pino to v8.16.1 (redwoodjs#9459) fix(deps): update dependency firebase-admin to v11.11.0 (redwoodjs#9458) chore(deps): update dependency firebase to v10.6.0 (redwoodjs#9449) fix(deps): update dependency @fastify/url-data to v5.4.0 (redwoodjs#9453) fix(deps): update dependency @simplewebauthn/browser to v7.4.0 (redwoodjs#9454) chore(deps): update actions/setup-node action to v4 (redwoodjs#9461) chore(deps): update actions/checkout action to v4 (redwoodjs#9460) fix(deps): update dependency @graphql-yoga/plugin-graphql-sse to v2.0.5 (redwoodjs#9440) fix(deps): update prisma monorepo to v5.6.0 (redwoodjs#9447) fix(deps): update dependency nodemailer to v6.9.7 (redwoodjs#9444) chore(deps): update dependency esbuild to v0.19.5 (redwoodjs#9359) fix(deps): update dependency @envelop/on-resolve to v3.0.3 (redwoodjs#9436) fix(deps): update dependency semver to v7.5.4 (redwoodjs#9445) fix(deps): update dependency jsonwebtoken to v9.0.2 (redwoodjs#9443) fix(deps): update dependency systeminformation to v5.21.17 (redwoodjs#9446) ... commit 2b66173 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Nov 15 21:48:27 2023 +0700 Get it building again commit 9fafcf8 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Thu Nov 2 23:50:43 2023 +0700 SHIP IT commit bb0b36e Merge: 5f1deed 7ab07a2 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Thu Nov 2 22:23:40 2023 +0700 Merge branch 'main' of github.com:redwoodjs/redwood into try/dbauth-ssr * 'main' of github.com:redwoodjs/redwood: (26 commits) fix(api-server): copy fallback fix from redwoodjs#9272 (redwoodjs#9369) fix(deps): update dependency concurrently to v8.2.2 (redwoodjs#9361) chore(k6): Fix function context test (redwoodjs#9368) feat(cli): Setup command for mailer (redwoodjs#9335) feature: Support defer and stream GraphQL Directives in RedwoodRealtime (redwoodjs#9235) chore(deps): update dependency rimraf to v5.0.5 (redwoodjs#9360) chore(k6): Fix function context test (redwoodjs#9358) chore(deps): bump undici from 5.22.1 to 5.26.3 (redwoodjs#9307) fix(babel): Fix opentelemetry api wrapping and allow it to be disabled (redwoodjs#9298) chore(api-server): remove server survey tests in CI (redwoodjs#9348) chore(deps): update babel monorepo to v7.23.2 (redwoodjs#9344) chore(deps): bump @babel/traverse from 7.18.9 to 7.23.2 in /docs (redwoodjs#9311) chore(deps): update dependency @tsconfig/docusaurus to v2 (redwoodjs#9347) fix(deps): update dependency react-player to v2.13.0 (redwoodjs#9346) fix(deps): update docusaurus monorepo to v2.4.3 (redwoodjs#9345) fix(deps): update dependency @babel/traverse to v7.23.2 [security] (redwoodjs#9322) chore: increase server test timeout, fix `yarn build:clean` (redwoodjs#9336) feature: Adds utility functions to add envars and update Redwood toml for plugin packages to cli helpers for use in simplifying CLI setup commands (redwoodjs#9324) fix(cli): Tailwind setup updates `scaffold.css` when needed (redwoodjs#9290) fix(cli): Exit with non-zero exit code when `yarn rw g types` has errors (redwoodjs#9280) ... commit 5f1deed Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Thu Oct 26 12:57:44 2023 +0700 NOT WORKING: try extracting session passed into a cookie commit 9e86135 Author: Daniel Choudhury <dannychoudhury@gmail.com> Date: Wed Oct 25 12:48:33 2023 +0700 Simple auth state parsing with middleware in entry server
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#9622 added some logs which are useful for debugging during RSC development. They log on every project even those not using RSC so I'll comment them out here for just now.
Also fixes a minor lint issue.