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(og-gen): Implement middleware and hooks #10469

Merged
merged 58 commits into from
Apr 26, 2024
Merged

Commits on Apr 10, 2024

  1. WIP

    dac09 committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    ec98e53 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Get tests working for og plugin

    dac09 committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    7dcce32 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Merge branch 'main' of github.com:redwoodjs/redwood into feat/dc-rc-o…

    …g-gen-mw-p2
    
    * 'main' of github.com:redwoodjs/redwood:
      feat(og-gen): Adds package and vite plugin for dynamic og generation (#10439)
      chore(deps): bump browserify-sign from 4.2.1 to 4.2.3 (#10446)
      chore(deps): bump tar from 6.1.11 to 6.2.1 in /docs (#10438)
      chore(deps): update dependency firebase to v10.11.0 (#10366)
      fix(auth): Handle when authorization header is lowercased (#10442)
      Update rbac.md - code match (#10405)
      chore: make crwa e2e test work across branches (#10437)
      feat: [Auth] Common AuthProvider & use* changes for middleware auth (#10420)
    dac09 committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    d901f65 View commit details
    Browse the repository at this point in the history
  2. Move stuff to new package

    dac09 committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    422e36a View commit details
    Browse the repository at this point in the history
  3. Update packagejson

    dac09 committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    ab12cc4 View commit details
    Browse the repository at this point in the history
  4. Get around esm issue

    dac09 committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    751b5c5 View commit details
    Browse the repository at this point in the history
  5. Fix TS errors errywhere

    dac09 committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    6e297e9 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'main' of github.com:redwoodjs/redwood into feat/dc-rc-o…

    …g-gen-mw-p2
    
    * 'main' of github.com:redwoodjs/redwood:
      feat(og-gen): Update implementation of useLocation | Update App template (#10441)
    dac09 committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    bf03f82 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e7eecd8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3d807f5 View commit details
    Browse the repository at this point in the history
  9. Export middleware types

    dac09 committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    fd747ac View commit details
    Browse the repository at this point in the history
  10. Rename file for middleware

    dac09 committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    a308c12 View commit details
    Browse the repository at this point in the history
  11. Tweaks to get it further

    dac09 committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    1226f55 View commit details
    Browse the repository at this point in the history
  12. Get it working for serve!

    dac09 committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    f7ac767 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    348ea7f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    8fe05b2 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Update comments

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

Commits on Apr 16, 2024

  1. Merge branch 'main' of github.com:redwoodjs/redwood into feat/dc-rc-o…

    …g-gen-mw-p2
    
    * 'main' of github.com:redwoodjs/redwood:
      chore(dbauth-mw): Refactor web side dbAuth creation (#10460)
      chore(router): Prevent circular dependency for namedRoutes (#10463)
      chore(router): route-validators: Better types and clean up comments (#10462)
      feat(server-auth): dbAuth 3/3 -  handle login, logout, signup, etc. requests if forwarded from middleware (#10457)
      docs(router): Document new NavLink className replacement behavior (#10401)
      chore(refactor): Split the router out into smaller logical units (#10434)
      feat(server-auth): Part 1/3: dbAuth middleware support (web side changes) (#10444)
      chore(auth): Build: Put ESM at the root, and CJS in /cjs (#10458)
      fix(ssr): Successfully serve static assets like `favicon.png` (#10455)
      chore(deps): update chore (#10367)
      (docs) Fix useCache headers and links (#10451)
      chore: remove aws-lambda (#10450)
      chore(deps): update dependency typescript to v5.4.5 (#10452)
    dac09 committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    0f5e872 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d3adb8 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feat/dc-rc-og-gen-mw-p2' of github.com:redwoodjs/redwoo…

    …d into feat/dc-rc-og-gen-mw-p2
    
    * 'feat/dc-rc-og-gen-mw-p2' of github.com:redwoodjs/redwood:
      set type=module and build for both esm and cjs
    dac09 committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    3d95f45 View commit details
    Browse the repository at this point in the history
  4. Revert "set type=module and build for both esm and cjs"

    This reverts commit 7d3adb8.
    dac09 committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    90d504d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4e466a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Update test

    dac09 committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    f2ee7c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    928e203 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7a3e09c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d400fb4 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    871d04f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e79e6ac View commit details
    Browse the repository at this point in the history
  3. Initial tests for middleware

    dac09 committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    99b6054 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    971607c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e015b8a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ea17832 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Merge branch 'main' of github.com:redwoodjs/redwood into feat/dc-rc-o…

    …g-gen-mw-p2
    
    * 'main' of github.com:redwoodjs/redwood:
      chore(tests): add use location typetests to prevent regressions (#10474)
      feat: Remove `--performance` option from `yarn rw build` (#10453)
      fix(cli): await async prettier functions (#10478)
      chore(crwa): Fix `ts-to-js` script (#10476)
    dac09 committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    885134a View commit details
    Browse the repository at this point in the history
  2. Update JS Template

    dac09 committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    0ed26f7 View commit details
    Browse the repository at this point in the history
  3. That was hard!

    Add full flow tests in various cases
    dac09 committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    9679058 View commit details
    Browse the repository at this point in the history
  4. LINT

    dac09 committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    95edfbd View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Lint fixes

    dac09 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    e40e08b View commit details
    Browse the repository at this point in the history
  2. Fix types

    dac09 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    3bcb47b View commit details
    Browse the repository at this point in the history
  3. Update dependency list

    dac09 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    bcc7dae View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bae0489 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'main' of github.com:redwoodjs/redwood into feat/dc-rc-o…

    …g-gen-mw-p2
    
    * 'main' of github.com:redwoodjs/redwood:
      fix(deps): update React to latest canary 19.x (#10496)
      fix(upgrade): Download yarn patches (#10497)
      Revert React 19 upgrade (#10482 and #10491) (#10495)
      Modified type for describeScenario (#10468)
      fix(upgrade): Download yarn patches (#10491)
      fix(deps): update React to latest canary 19.x (#10482)
      chore(dataMigrate): Fix package.json directory value (#10490)
      RSC: css preinit: Add required option precedence (#10481)
      chore(renovate): Remove config for unused package (#10489)
      RSC: Update test projects to use new @apollo/client-react-streaming (#10488)
      RSC: Remove unused vite patch from test-project-rsa (#10487)
      chore(ssr): Switch to use `@apollo/client-react-streaming` package (#10484)
      chore(docs): Move .mdx import into separate file (#10486)
      fix(cli): avoid `npx` during upgrade command (#10479)
      fix: Fixes Unknown Fragment issues due to GraphQL Tag type mismatch in web (#10357)
      RSC: Clean up some comments and logs (#10480)
      feat: redwoodjs/auth-dbauth-middleware - Part 2/3 - Auth Middleware for dbAuth to authenticate users via cookie (#10447)
    dac09 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    4cf78fb View commit details
    Browse the repository at this point in the history
  6. Reorder index and scaffold css

    dac09 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    e03e399 View commit details
    Browse the repository at this point in the history
  7. Try posix paths

    dac09 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    e16eca4 View commit details
    Browse the repository at this point in the history
  8. Add changesets

    dac09 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    c7e707d View commit details
    Browse the repository at this point in the history
  9. Ensure posix path again

    dac09 committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    2e1d061 View commit details
    Browse the repository at this point in the history
  10. Adds hooks test file

    cannikin committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    f534c6a View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Merge branch 'main' of github.com:redwoodjs/redwood into feat/dc-rc-o…

    …g-gen-mw-p2
    
    * 'main' of github.com:redwoodjs/redwood:
      feat(server-auth): WebAuthN support during SSR (#10498)
      Removes old HTML comments from CLI commands doc
      feat(cookieJar): Change cookie.get to directly return value (#10493)
    dac09 committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    b857fe3 View commit details
    Browse the repository at this point in the history
  2. Update webpack entry too

    dac09 committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    fb4b091 View commit details
    Browse the repository at this point in the history
  3. Update changeset

    dac09 committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    60a4fc3 View commit details
    Browse the repository at this point in the history
  4. Add tests for screenshot size

    dac09 committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    beb4053 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b8625ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3c72c01 View commit details
    Browse the repository at this point in the history
  7. Update prerender too

    dac09 committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    78dd721 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    496d90f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba007f1 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Configuration menu
    Copy the full SHA
    e05590d View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Apply suggestions from code review

    Co-authored-by: Tobbe Lundberg <tobbe@tlundberg.com>
    dac09 and Tobbe committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    8f2de47 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' of github.com:redwoodjs/redwood into feat/dc-rc-o…

    …g-gen-mw-p2
    
    * 'main' of github.com:redwoodjs/redwood:
      RSC: Add RSC+SSR smoke test to CI (#10477)
      fix(dbauth-mw): Use response passed in to middleware (#10516)
      Add redwood.toml to `yarn rw info` (#10518)
      chore(tests): Fix packages/web tests (#10517)
      fix(dbauth-mw): Unset cookie instead of clearing (#10502)
      chore(deps): Upgrade to React canary 20240424 (#10513)
      chore(deps): Upgrade to React Testing Library 14.3.1 (#10514)
      feat(upgrade): Use GitHub token if available when downloading patches (#10515)
    dac09 committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    b9dd681 View commit details
    Browse the repository at this point in the history