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

feat(rsc-streaming): Integrating RSC builds with Streaming and Client side hydration #10031

Merged
merged 106 commits into from
Mar 4, 2024

Commits on Feb 14, 2024

  1. Configuration menu
    Copy the full SHA
    e5f7606 View commit details
    Browse the repository at this point in the history
  2. Add some TODOS

    dac09 committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    b7870ee View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    a6809a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3147a63 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    391a145 View commit details
    Browse the repository at this point in the history
  4. WIP: getDefines

    dac09 committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    c43d08a View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Re-enable routes autoloader

    Make it import rsc "serve" for rsc client builds
    Clean up and make notes on rscBuild process
    dac09 committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    86a4e41 View commit details
    Browse the repository at this point in the history
  2. Build manifest log

    dac09 committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    979bdd8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a59b10c View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' of github.com:redwoodjs/redwood into feat/rsc-build

    * 'main' of github.com:redwoodjs/redwood: (22 commits)
      fix: Handle static assets on the `rw-serve-fe` (redwoodjs#10018)
      fix(server): fix env var loading in `createServer` (redwoodjs#10021)
      fix(deps): remove react types packages from `@redwoodjs/testing` dependencies (redwoodjs#10020)
      chore(release): add back `update-package-versions` task (redwoodjs#10017)
      chore(renovate): Disable for experimental apollo package (redwoodjs#10016)
      RSC: server cells lowercase data function (redwoodjs#10015)
      fix(RSC/SSR): pass CLI options through to apiServerHandler (redwoodjs#10012)
      7.0 RC: Remove hardcoded check for `session.id` (redwoodjs#10013)
      Spelling fix in what-is-redwood.md (redwoodjs#10011)
      Typos in realtime.md (redwoodjs#10010)
      RSC: Server cell smoke tests (redwoodjs#10008)
      RSC: test-project EmptyUser 'use client' cell (redwoodjs#10007)
      RSC: babel-plugin-redwood-cell remove redundant reset (redwoodjs#10006)
      chore(deps): Upgrade to yarn v4.1.0 (redwoodjs#10002)
      fix(docs): Spelling of `data-migrate` command (redwoodjs#10003)
      docs: add aliases fo `type-check` command (redwoodjs#10004)
      RSC: Insert 'use client' in scaffolded components (redwoodjs#9998)
      fix(telemetry): Fix 'destroy' spelling (redwoodjs#10000)
      chore(jsdocs): Fix jsdoc formatting for hover help (redwoodjs#9999)
      bug: Update setupHandler.ts firebase version (redwoodjs#9997)
      ...
    dac09 committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    fbc3384 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b283f05 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Merge branch 'main' of github.com:redwoodjs/redwood into feat/rsc-build

    * 'main' of github.com:redwoodjs/redwood:
      RSC: Add MultiCellPage to test fixture (redwoodjs#10029)
      RSC chore(tests): Add links to scaffolds in test fixture (redwoodjs#10028)
      docs(metadata): Fix spelling/typos (redwoodjs#10027)
      chore(release): link to previous releases and upgrade guides in the changelog (redwoodjs#10026)
      chore(ci): add changelog check to ci (redwoodjs#9989)
      fix(realtime): update logic for including sseLink (redwoodjs#10025)
      chore(k6 tests): update entry point (redwoodjs#10024)
      feat(server): add docs on the server file (redwoodjs#10019)
      fix(types): Fix TS type in createServer.test.ts (redwoodjs#10023)
    dac09 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    1a882dd View commit details
    Browse the repository at this point in the history
  2. Remove console logs

    dac09 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    93a3e68 View commit details
    Browse the repository at this point in the history
  3. Rename server -> renderFromRscServer

    Add tests for routes auto-loader
    dac09 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    ec3925b View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' of github.com:redwoodjs/redwood into feat/rsc-build

    * 'main' of github.com:redwoodjs/redwood:
      RSC: No basePath arg to serve() (redwoodjs#10030)
    dac09 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    fcd596f View commit details
    Browse the repository at this point in the history
  5. Remove index.html requirement

    Move webpack shims into streaming server (and remove vite plugin)
    dac09 committed Feb 19, 2024
    Configuration menu
    Copy the full SHA
    5e767b2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7ff0461 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Configuration menu
    Copy the full SHA
    310f8eb View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feat/rsc-build' of github.com:dac09/redwood into feat/r…

    …sc-build
    
    * 'feat/rsc-build' of github.com:dac09/redwood:
      docs: Removes warning within Mailer documentation about Studio being experimental (redwoodjs#10033)
      docs: Within describeScenario documentation, change optimisation to use American English (redwoodjs#10032)
    dac09 committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    68e6244 View commit details
    Browse the repository at this point in the history
  3. FIx entry lookup in fe server

    dac09 committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    dcade00 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29250e0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    238e2a5 View commit details
    Browse the repository at this point in the history
  6. Unhardcode new paths, add it to rwPaths package

    Stop passing around paths unnecessarily!
    dac09 committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    def1dd9 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'feat/rsc-build' of github.com:dac09/redwood into feat/r…

    …sc-build
    
    * 'feat/rsc-build' of github.com:dac09/redwood: (119 commits)
      chore(deps): update dependency @playwright/test to v1.41.2 (redwoodjs#10040)
      chore(crwa): update version in e2e test (redwoodjs#10037)
      chore(ci): update yarn.lock for changelog action (redwoodjs#10039)
      chore: bump TSTyche (redwoodjs#10036)
      chore(changelog): add v7 (redwoodjs#10038)
      v7.0.0
      Version docs to 7.0
      chore(docs): align v6 docs with the next branch (redwoodjs#10034)
      chore(docs): align v6 docs with the next branch (redwoodjs#10034)
      fix(server): prefix port/host with api, fix logging (redwoodjs#10035)
      fix(server): prefix port/host with api, fix logging (redwoodjs#10035)
      docs: Removes warning within Mailer documentation about Studio being experimental (redwoodjs#10033)
      docs: Within describeScenario documentation, change optimisation to use American English (redwoodjs#10032)
      docs(metadata): Fix spelling/typos (redwoodjs#10027)
      chore(release): link to previous releases and upgrade guides in the changelog (redwoodjs#10026)
      chore(ci): add changelog check to ci (redwoodjs#9989)
      fix(realtime): update logic for including sseLink (redwoodjs#10025)
      chore(k6 tests): update entry point (redwoodjs#10024)
      feat(server): add docs on the server file (redwoodjs#10019)
      fix(types): Fix TS type in createServer.test.ts (redwoodjs#10023)
      ...
    dac09 committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    ce81604 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Configuration menu
    Copy the full SHA
    43117fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46f9499 View commit details
    Browse the repository at this point in the history
  3. Tobbe review changes

    Tobbe committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    051decf View commit details
    Browse the repository at this point in the history
  4. Rename build functions

    dac09 committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    cc4024e View commit details
    Browse the repository at this point in the history
  5. Fix paths test with new paths

    dac09 committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    5a7c550 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9be7278 View commit details
    Browse the repository at this point in the history
  7. Lint

    dac09 committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    274955d View commit details
    Browse the repository at this point in the history
  8. Remove duplicated file

    dac09 committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    8cb6645 View commit details
    Browse the repository at this point in the history
  9. Update some more comments

    dac09 committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    81ddb6e View commit details
    Browse the repository at this point in the history
  10. Code comment tweaks/fixes

    Tobbe committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    ffca103 View commit details
    Browse the repository at this point in the history
  11. Remove serve from test fixture

    Tobbe committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    d624776 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    246e045 View commit details
    Browse the repository at this point in the history
  13. doc comment formatting

    Tobbe committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    c4b42ab View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2024

  1. innerText

    Tobbe committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    e81d557 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    924d771 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    229fe35 View commit details
    Browse the repository at this point in the history
  4. Revert startsWith change

    Tobbe committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    c4f59bc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a000c38 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. @tobbe.dev/rsc-test@0.0.4

    Tobbe committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    4e29a13 View commit details
    Browse the repository at this point in the history
  2. @tobbe.dev/rsc-test@0.0.5

    Tobbe committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    881edb6 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Configuration menu
    Copy the full SHA
    87d0daf View commit details
    Browse the repository at this point in the history
  2. Update setupRscExternal readme

    dac09 committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    142f0b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4bf3b03 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. emptyOutDir

    Tobbe committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    ec6497d View commit details
    Browse the repository at this point in the history
  2. Consolidate vite settings for rsc build (#262)

    Enables CSS and Tailwind support with RSC
    Fixes glaring bug in Vite plugin where we would override passed in settings
    dac09 authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    25b7ede View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    374ac5e View commit details
    Browse the repository at this point in the history
  4. Empty outdir for ssr build

    dac09 committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    f88424e View commit details
    Browse the repository at this point in the history
  5. Silence rscBuildAnalyze

    dac09 committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    bb05d58 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    92e13bf View commit details
    Browse the repository at this point in the history
  2. Ok

    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    e717397 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' of github.com:redwoodjs/redwood into feat/rsc-build

    * 'main' of github.com:redwoodjs/redwood:
      RSC: Fix server build root (redwoodjs#10076)
      chore(release): update changelog
      RSC: Add build step debug logs (redwoodjs#10078)
      fix(deploy): handle server file (redwoodjs#10061)
      RSC: Fix node-loader message typo (redwoodjs#10077)
      chore(release): update changelog
      chore(docs): Add link to SuperTokens auth (redwoodjs#10067)
      chore(release): update changelog
      RSC: chore - upgrade @tobbe.dev/rsc-test to v0.0.5 (redwoodjs#10073)
      chore(.vscode): Enable find inside root __fixtures__ (redwoodjs#10072)
      chore(deps): bump es5-ext from 0.10.62 to 0.10.64 (redwoodjs#10071)
      fix(coherence): update setup command to detect server file (redwoodjs#10060)
    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    a9c2f6b View commit details
    Browse the repository at this point in the history
  4. Also change SPA web build

    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    73961ba View commit details
    Browse the repository at this point in the history
  5. Lint

    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    afb02ce View commit details
    Browse the repository at this point in the history
  6. Revert "Ok"

    This reverts commit e717397.
    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    b4a7661 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    20488fb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e556b99 View commit details
    Browse the repository at this point in the history
  9. Consistent rsc build logging

    Tobbe committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    f22679d View commit details
    Browse the repository at this point in the history
  10. Merge branch 'feat/rsc-build' of github.com:dac09/redwood into feat/r…

    …sc-build
    
    * 'feat/rsc-build' of github.com:dac09/redwood:
      Consistent rsc build logging
      RSC: Make babel insert `renderFromRscServer` calls into Routes.tsx (redwoodjs#10074)
      RSC: Make babel insert `renderFromRscServer` calls into Routes.tsx (redwoodjs#10074)
    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    44a86bf View commit details
    Browse the repository at this point in the history
  11. Revert "Move react plugin into their individual files"

    This reverts commit 92e13bf.
    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    f9799ff View commit details
    Browse the repository at this point in the history
  12. Revert "Also change SPA web build"

    This reverts commit 73961ba.
    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    9e2c3f7 View commit details
    Browse the repository at this point in the history
  13. More bad merging

    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    8e435b4 View commit details
    Browse the repository at this point in the history
  14. MjsOrJs Resolution of paths

    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    6eb5ca9 View commit details
    Browse the repository at this point in the history
  15. Remove log

    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    91cf5af View commit details
    Browse the repository at this point in the history
  16. getMergedConfig

    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    350fadc View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    089daa9 View commit details
    Browse the repository at this point in the history
  18. Remove comment on entries

    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    8e05e7f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    8db7877 View commit details
    Browse the repository at this point in the history
  20. Remove TODO

    dac09 committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    69abdd8 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    df5b52f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    e19ed76 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    9e1f15b View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. Configuration menu
    Copy the full SHA
    b37a9c3 View commit details
    Browse the repository at this point in the history
  2. rscEnabled naming everywhere

    Tobbe committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    68f34ef View commit details
    Browse the repository at this point in the history
  3. getMergedConfig comment format

    Tobbe committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    0b3a49c View commit details
    Browse the repository at this point in the history
  4. More comment formatting

    Tobbe committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    18b6fd7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d5eb5d9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    91861fd View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2024

  1. Configuration menu
    Copy the full SHA
    49a788e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce0e708 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec443aa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    89040b4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    22d4065 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    14b1f47 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    df2ba4c View commit details
    Browse the repository at this point in the history
  8. Remove handled TODO

    Tobbe committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    e9beff0 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Configuration menu
    Copy the full SHA
    7941053 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e3f7b9 View commit details
    Browse the repository at this point in the history
  3. Remove redundant cwd check

    Tobbe committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    71851bb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    72f56a0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ba48fc3 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'feat/rsc-build' of github.com:dac09/redwood into feat/r…

    …sc-build
    
    * 'feat/rsc-build' of github.com:dac09/redwood: (32 commits)
      RSC: ensureProcessDirWeb() (redwoodjs#10108)
      Comment on ensureProcessDirWeb()
      Remove redundant cwd check
      RSC: Extract webpack shims into their own file (redwoodjs#10107)
      RSC: Remove completed TODO comment
      RSC: Babel react plugin not needed for analyze phase (redwoodjs#10106)
      Remove handled TODO
      RSC: runFeServer: wrap RSC code with `if (rscEnabled)` (redwoodjs#10105)
      Only comment about swc in one place
      Remove duplicated comment (exists further down)
      RSC: Update comments, naming etc based on Danny's input (redwoodjs#10104)
      RSC: Rename to buildRscClientAndServer (redwoodjs#10103)
      RSC: Rename to rscBuildForServer, and tweak some comments (redwoodjs#10102)
      SSR: Extract buildForStreamingServer function (redwoodjs#10099)
      chore(unit-tests): Silence middleware error logging (redwoodjs#10097)
      Iterate on `.env` files: make the behavior override (redwoodjs#10094)
      RSC: smoke-tests: Compare text, not html (redwoodjs#10098)
      paths.ts: Move helper to esm section
      More comment formatting
      getMergedConfig comment format
      ...
    dac09 committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    5ac8c2b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    99ca8dc View commit details
    Browse the repository at this point in the history
  8. Undo settings.json

    Undo path aliasing in Vite settings
    dac09 committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    ab9713e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f6f0b4d View commit details
    Browse the repository at this point in the history
  10. Update comments

    dac09 committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    ae5c998 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    76dda62 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c760de4 View commit details
    Browse the repository at this point in the history
  13. node:path

    Tobbe committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    f8ec673 View commit details
    Browse the repository at this point in the history
  14. streamingSsrEnabled rscEnabled

    Tobbe committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    7935477 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1be4ef1 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    394a23a View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    17b0374 View commit details
    Browse the repository at this point in the history