docs: changelog for app.fetch + provider memoization, runtimes body-size note
Record the app.fetch Web-Standards handler and the app-scope provider memoization behaviour change in the changelog, and note on the runtimes guide that app.fetch reads oversized bodies fully before rejecting them (unlike Node's mid-stream abort) so non-Node deployments should also bound request size at the platform layer. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
2 files changed
+12
-1
No files matched your search
@@ -28,3 +28,7 @@ and body for the same request (enforced by a parity test suite).
|
||||
**Not yet on non-Node runtimes:** WebSocket (`@Ws`) and mesh — Node-only for now; cross-runtime
|
||||
WebSocket is on the roadmap. `app.listen()` and TLS are Node-only; on Deno/Bun/edge you get
|
||||
`app.fetch`.
|
||||
|
||||
**Body-size enforcement differs slightly:** on `app.fetch`, an oversized body is read in full
|
||||
before the `413` is returned, whereas Node aborts mid-stream once the limit is hit — so on
|
||||
non-Node runtimes, also bound request size at the platform/runtime layer.
|
||||
Reference in new issue
Block a user