diff --git a/CHANGELOG.md b/CHANGELOG.md index 71eafdd..61d84f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,14 @@ green-tea uses calendar versioning: `YY.MM.PATCH`. ## [Unreleased] -_Nothing yet._ +### Added +- **`app.fetch(request): Promise`** — a Web-Standards handler so the + same app runs HTTP and SSE on Deno/Bun/edge runtimes via the Fetch API + (WebSocket and mesh remain Node-only). + +### Changed +- App-scope providers now boot exactly once (memoized): a second `app.listen()` + call no longer re-runs provider factories or their side effects. ## [26.7.0-beta.0] - 2026-07-07 diff --git a/website/src/content/docs/guides/runtimes.md b/website/src/content/docs/guides/runtimes.md index fae3a81..0136f73 100644 --- a/website/src/content/docs/guides/runtimes.md +++ b/website/src/content/docs/guides/runtimes.md @@ -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.