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

chore(server): rewrite resolveHTTPResponse with Fetch #5684

Merged
merged 115 commits into from Apr 30, 2024

Commits on Apr 23, 2024

  1. Configuration menu
    Copy the full SHA
    d5eb98b View commit details
    Browse the repository at this point in the history
  2. add regression test

    KATT authored and Nick-Lucas committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    a19547d View commit details
    Browse the repository at this point in the history
  3. cool

    KATT authored and Nick-Lucas committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    d3e65c0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    38ebbdf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    55ee77f View commit details
    Browse the repository at this point in the history
  6. Add doc comment

    Nick-Lucas committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    93749da View commit details
    Browse the repository at this point in the history
  7. Remove reundant code

    Nick-Lucas committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    dbe9428 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    270b354 View commit details
    Browse the repository at this point in the history
  9. Simply impl

    Nick-Lucas committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    c1c2abd View commit details
    Browse the repository at this point in the history
  10. Fix linting

    Nick-Lucas committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    fd9ecc7 View commit details
    Browse the repository at this point in the history
  11. Fix express test

    Nick-Lucas committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    af57d9d View commit details
    Browse the repository at this point in the history
  12. Do next-prisma-starter

    Nick-Lucas committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    662baa8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    78a8a63 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2568a57 View commit details
    Browse the repository at this point in the history
  15. regenerate lock file

    Nick-Lucas committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    42a4b49 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Fix test types

    Nick-Lucas committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    564c5fa View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. wip

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    fb7e9a1 View commit details
    Browse the repository at this point in the history
  2. add memo fn

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    cfd3d2b View commit details
    Browse the repository at this point in the history
  3. mkay

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    cb6b609 View commit details
    Browse the repository at this point in the history
  4. simplify

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    3bd4afc View commit details
    Browse the repository at this point in the history
  5. cool

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    d95a527 View commit details
    Browse the repository at this point in the history
  6. cool

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    d928f17 View commit details
    Browse the repository at this point in the history
  7. wip

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    76c9ee7 View commit details
    Browse the repository at this point in the history
  8. wip

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    ae446d7 View commit details
    Browse the repository at this point in the history
  9. some fix

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    69c5c43 View commit details
    Browse the repository at this point in the history
  10. wip

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    d78071c View commit details
    Browse the repository at this point in the history
  11. fix some

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    80fbdd5 View commit details
    Browse the repository at this point in the history
  12. method override

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    73c8f4b View commit details
    Browse the repository at this point in the history
  13. locky

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    32d0f5a View commit details
    Browse the repository at this point in the history
  14. cool

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    9da6e69 View commit details
    Browse the repository at this point in the history
  15. fix

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    0b3e09e View commit details
    Browse the repository at this point in the history
  16. wat

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    c676a67 View commit details
    Browse the repository at this point in the history
  17. formData

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    0cd8a2d View commit details
    Browse the repository at this point in the history
  18. fix formdata

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    3ff7bf4 View commit details
    Browse the repository at this point in the history
  19. cool

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    0fa724d View commit details
    Browse the repository at this point in the history
  20. add regression test

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    d765e9d View commit details
    Browse the repository at this point in the history
  21. cool

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    5a7e82d View commit details
    Browse the repository at this point in the history
  22. a security fix aye

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    b041b53 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    ec0e087 View commit details
    Browse the repository at this point in the history
  24. fix stuff

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    739de29 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    003850d View commit details
    Browse the repository at this point in the history
  26. no .only()

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    a091d1b View commit details
    Browse the repository at this point in the history
  27. tweak

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    d368390 View commit details
    Browse the repository at this point in the history
  28. Upgrade vitest

    Nick-Lucas committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    6f7ca36 View commit details
    Browse the repository at this point in the history
  29. fix test

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    5f3f9c9 View commit details
    Browse the repository at this point in the history
  30. TextEncoderStream

    Sheraff committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    631e948 View commit details
    Browse the repository at this point in the history
  31. ugly but w/e

    KATT committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    cf12fa6 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    35c7cc1 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    895d845 View commit details
    Browse the repository at this point in the history
  34. Fix the bug

    Nick-Lucas committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    acaeb36 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    6e01f07 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    87e86fc View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. add more tests

    KATT committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    167bc20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    805bc74 View commit details
    Browse the repository at this point in the history
  3. payload too large

    KATT committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    31479c5 View commit details
    Browse the repository at this point in the history
  4. tweak

    KATT committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    624f6c6 View commit details
    Browse the repository at this point in the history
  5. release

    KATT committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    12c618a View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/next' into issues/5659-multi-bod…

    …y-read
    
    # Conflicts:
    #	examples/next-prisma-starter/package.json
    #	pnpm-lock.yaml
    KATT committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    19b54d8 View commit details
    Browse the repository at this point in the history
  7. tmp release

    KATT committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    9b02d70 View commit details
    Browse the repository at this point in the history
  8. fix test

    KATT committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    68f7b52 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'issues/5659-multi-body-read' into 04-26-resolveResponse…

    …+multi
    
    # Conflicts:
    #	.github/workflows/release-tmp.yml
    #	packages/server/src/adapters/aws-lambda/index.ts
    #	packages/server/src/adapters/fastify/fastifyRequestHandler.ts
    #	packages/server/src/adapters/fetch/fetchRequestHandler.ts
    #	packages/server/src/adapters/node-http/content-type/form-data/index.ts
    #	packages/server/src/adapters/node-http/content-type/json/getPostBody.ts
    #	packages/server/src/adapters/node-http/content-type/json/index.ts
    #	packages/server/src/adapters/node-http/content-type/types.ts
    #	packages/server/src/adapters/node-http/nodeHTTPRequestHandler.ts
    #	packages/server/src/adapters/node-http/types.ts
    #	packages/server/src/unstable-core-do-not-import/http/contentType.ts
    #	packages/server/src/unstable-core-do-not-import/http/index.ts
    #	packages/server/src/unstable-core-do-not-import/http/resolveResponse.ts
    #	packages/server/src/unstable-core-do-not-import/http/types.ts
    #	packages/tests/server/adapters/express.test.tsx
    #	packages/tests/server/adapters/fastify.test.ts
    #	packages/tests/server/adapters/next.test.ts
    #	packages/tests/server/adapters/standalone.test.ts
    #	packages/tests/server/react/formData.test.tsx
    KATT committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    b86279a View commit details
    Browse the repository at this point in the history
  10. wip

    KATT committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    1389e65 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2024

  1. colocate

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    b267fbc View commit details
    Browse the repository at this point in the history
  2. simplify

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    f4b3b80 View commit details
    Browse the repository at this point in the history
  3. add some tests

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    f62bc66 View commit details
    Browse the repository at this point in the history
  4. next

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    5c99bc7 View commit details
    Browse the repository at this point in the history
  5. fix

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    5dabae3 View commit details
    Browse the repository at this point in the history
  6. cool

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    cf91b5b View commit details
    Browse the repository at this point in the history
  7. hi

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    3a4c8ff View commit details
    Browse the repository at this point in the history
  8. mk

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    764407c View commit details
    Browse the repository at this point in the history
  9. fixes

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    4242604 View commit details
    Browse the repository at this point in the history
  10. rm

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    9586408 View commit details
    Browse the repository at this point in the history
  11. release

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    9eb99ea View commit details
    Browse the repository at this point in the history
  12. fix

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    23f42bf View commit details
    Browse the repository at this point in the history
  13. fix

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    5bcf80d View commit details
    Browse the repository at this point in the history
  14. fix

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    6e35200 View commit details
    Browse the repository at this point in the history
  15. rel

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    3d3cac7 View commit details
    Browse the repository at this point in the history
  16. cool

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    66509c6 View commit details
    Browse the repository at this point in the history
  17. cool

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    496fc8f View commit details
    Browse the repository at this point in the history
  18. cool

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    eaf88e6 View commit details
    Browse the repository at this point in the history
  19. chore: move more stuff to fetch api (#5685)

    * cool
    
    * cool
    
    * wip
    
    * simplify
    
    * clean
    
    * cool
    
    * cool
    
    * simplify
    
    * simplify
    
    * simplify
    
    * tweak
    
    * cool
    
    * cool
    
    * chore: apply lint and formatting fixes
    
    * tweak
    
    ---------
    
    Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
    KATT and autofix-ci[bot] committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    073e93b View commit details
    Browse the repository at this point in the history
  20. mv parseOctetInput to http

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    7521c05 View commit details
    Browse the repository at this point in the history
  21. revert some tests that work now

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    257bf55 View commit details
    Browse the repository at this point in the history
  22. tweak

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    84b43d2 View commit details
    Browse the repository at this point in the history
  23. tweak

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    3bb3659 View commit details
    Browse the repository at this point in the history
  24. cool

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    1dcdc61 View commit details
    Browse the repository at this point in the history
  25. sort

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    b11c387 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f9b794d View commit details
    Browse the repository at this point in the history
  27. 04 26 resolve response and multi align example (#5686)

    * align example
    
    * tweak
    
    * cool
    
    * cool
    
    * cool
    
    * cool
    
    * tweak
    
    * sort
    
    * tweak
    
    * cool
    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    be4bf90 View commit details
    Browse the repository at this point in the history
  28. 04 26 resolve response and multi happy ts (#5687)

    * cool
    
    * simplify
    
    * tweak
    
    * twaek more
    
    * cool
    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    e67ee92 View commit details
    Browse the repository at this point in the history
  29. cool

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    2f00300 View commit details
    Browse the repository at this point in the history
  30. Merge branch '04-26-resolveResponse-and-multi' of github.com:trpc/trp…

    …c into 04-26-resolveResponse-and-multi
    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    ffb40b1 View commit details
    Browse the repository at this point in the history
  31. cool

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    3095a21 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    e3feaae View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    d4fb197 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    1d98672 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    22d05ab View commit details
    Browse the repository at this point in the history
  36. fix

    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    67ca904 View commit details
    Browse the repository at this point in the history
  37. rewrite lambda adapter (#5690)

    * rewrite lambda
    
    * nuke
    
    * tweaks
    
    * tweak
    
    * cool
    
    * cool
    
    * fix
    
    * bump
    
    * buump
    KATT committed Apr 28, 2024
    Configuration menu
    Copy the full SHA
    3e85ff8 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    fb53a74 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    033dc62 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. parts

    KATT committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    33cf415 View commit details
    Browse the repository at this point in the history
  2. tweak

    KATT committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    328bcc4 View commit details
    Browse the repository at this point in the history
  3. cool

    KATT committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    ed9d992 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. tweak

    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c1585b6 View commit details
    Browse the repository at this point in the history
  2. Revert "tweak"

    This reverts commit c1585b6.
    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    699d7d0 View commit details
    Browse the repository at this point in the history
  3. chore: move complexity from resolveResponse (#5691)

    * shift complexity
    
    * cool
    
    * cool
    
    * cool
    
    * prob
    
    * cool
    
    * cool
    
    * tweak
    
    * mkay
    
    * tweak
    
    * tweak
    
    * cool
    
    * cool
    
    * cool
    
    * cool
    
    * cool
    
    * cool
    
    * cool
    
    * shift more
    
    * cool
    
    * cool
    
    * cool
    
    * cool
    
    * request info
    
    * wip
    
    * cool
    
    * cool
    
    * Update packages/server/src/unstable-core-do-not-import/http/types.ts
    
    * fix
    
    * tweak
    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    3d33679 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/next' into 04-26-resolveResponse…

    …-and-multi
    
    # Conflicts:
    #	.github/workflows/release-tmp.yml
    #	examples/.experimental/next-formdata/src/server/routers/room.ts
    #	examples/minimal-content-types/client/src/SendMultipartFormDataButton.tsx
    #	examples/minimal-content-types/server/index.ts
    #	examples/minimal-content-types/server/tsconfig.json
    #	packages/server/src/@trpc/server/http.ts
    #	packages/server/src/@trpc/server/index.ts
    #	packages/server/src/adapters/aws-lambda/index.ts
    #	packages/server/src/adapters/aws-lambda/utils.ts
    #	packages/server/src/adapters/express.ts
    #	packages/server/src/adapters/fastify/fastifyRequestHandler.ts
    #	packages/server/src/adapters/fetch/fetchRequestHandler.ts
    #	packages/server/src/adapters/fetch/types.ts
    #	packages/server/src/adapters/next.ts
    #	packages/server/src/adapters/node-http/content-type/form-data/index.ts
    #	packages/server/src/adapters/node-http/content-type/json/getPostBody.ts
    #	packages/server/src/adapters/node-http/content-type/json/index.ts
    #	packages/server/src/adapters/node-http/content-type/types.ts
    #	packages/server/src/adapters/node-http/nodeHTTPRequestHandler.ts
    #	packages/server/src/adapters/node-http/types.ts
    #	packages/server/src/adapters/standalone.ts
    #	packages/server/src/unstable-core-do-not-import/http/contentType.ts
    #	packages/server/src/unstable-core-do-not-import/http/index.ts
    #	packages/server/src/unstable-core-do-not-import/http/resolveHTTPResponse.ts
    #	packages/server/src/unstable-core-do-not-import/http/types.ts
    #	packages/server/src/unstable-core-do-not-import/rootConfig.ts
    #	packages/tests/server/adapters/express.test.tsx
    #	packages/tests/server/adapters/fastify.test.ts
    #	packages/tests/server/adapters/next.test.ts
    #	packages/tests/server/adapters/standalone.test.ts
    #	packages/tests/server/react/octetStreams.test.tsx
    #	www/docs/migration/migrate-from-v10-to-v11.mdx
    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    7edfea7 View commit details
    Browse the repository at this point in the history
  5. Revert "Merge remote-tracking branch 'origin/next' into 04-26-resolve…

    …Response-and-multi"
    
    This reverts commit 7edfea7, reversing
    changes made to 3d33679.
    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    d52febe View commit details
    Browse the repository at this point in the history
  6. more readable diff

    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    2462a0e View commit details
    Browse the repository at this point in the history
  7. mkay

    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    5ff0e7e View commit details
    Browse the repository at this point in the history
  8. fix

    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    26da399 View commit details
    Browse the repository at this point in the history
  9. tweak

    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    b321139 View commit details
    Browse the repository at this point in the history
  10. fix

    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    d207027 View commit details
    Browse the repository at this point in the history
  11. decode

    KATT committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    2c13b76 View commit details
    Browse the repository at this point in the history