Skip to content

Refactor body handling to use ReadableStream - #32

Merged
conico974 merged 5 commits into
mainfrom
conico/stream
Aug 28, 2026
Merged

Refactor body handling to use ReadableStream#32
conico974 merged 5 commits into
mainfrom
conico/stream

Conversation

@conico974

Copy link
Copy Markdown
Contributor

Refactor the handling of request and response bodies to utilize ReadableStream across converters and middleware, improving consistency and performance in body processing.

@pkg-pr-new

pkg-pr-new Bot commented May 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/opennextjs/adapters-api/@opennextjs/aws@2a9feed
npm i https://pkg.pr.new/opennextjs/adapters-api/@opennextjs/cloudflare@2a9feed
npm i https://pkg.pr.new/opennextjs/adapters-api/@opennextjs/core@2a9feed

commit: 2a9feed

@conico974
conico974 marked this pull request as ready for review May 9, 2026 10:31
Copilot AI review requested due to automatic review settings May 9, 2026 10:31
devin-ai-integration[bot]

This comment was marked as resolved.

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

Comment thread packages/core/src/core/routing/middleware.ts
Comment thread packages/core/src/http/request.ts
Comment thread packages/core/src/http/request.ts
@conico974
conico974 changed the base branch from main to conico/core-rewrite June 28, 2026 10:50
@conico974
conico974 deleted the branch main August 1, 2026 09:06
@conico974 conico974 closed this Aug 1, 2026
@conico974 conico974 reopened this Aug 1, 2026
@conico974
conico974 changed the base branch from conico/core-rewrite to main August 1, 2026 09:15

@vicb vicb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Nico for the PR and James for the review.

I have added a commit to address the stream cancellation feedback

@conico974
conico974 merged commit d018dd1 into main Aug 28, 2026
8 checks passed
@conico974
conico974 deleted the conico/stream branch August 28, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants