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

Add support for static Response.json method #272

Closed
Cherry opened this issue May 27, 2022 · 1 comment
Closed

Add support for static Response.json method #272

Cherry opened this issue May 27, 2022 · 1 comment

Comments

@Cherry
Copy link
Contributor

Cherry commented May 27, 2022

This was recently added to the Workers runtime: https://community.cloudflare.com/t/2022-5-26-workers-runtime-release-notes/386584

Other references:

undici 5.3.0 added support for this, so updating to the newer version of undici may resolve this. I briefly attempted this but was met with about ~40 test failures that were a little beyond my scope of understanding for this repo. 😅

@mrbbot mrbbot closed this as completed in 0d68e83 May 27, 2022
@mrbbot
Copy link
Contributor

mrbbot commented May 27, 2022

Hey! I've just released version 2.5.0 with support for this method.

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

No branches or pull requests

2 participants