Roadmap
@nestbun/ws: a WebSocket gateway adapter onBun.serve({ websocket }), sharing the HTTP port, with Bun’s native pub/sub for rooms. Nest’s built-inwsand Socket.IO adapters attach to a Node server, so this has to be a separate package.- Multipart uploads:
@UploadedFile()/@UploadedFiles()backed byRequest.formData(), with size and count limits.
- Make
--adapter bunthe default in@nestbun/createonce@nestbun/wsand multipart land. - Backpressure on the streaming path (respect
ReadableStreamdesiredSize). @nestjs/serve-staticand@nestjs/graphqlcompatibility passes.- HTTP/2 when
Bun.serveexposes it.
Not planned
Section titled “Not planned”- Running on Node. The adapter is Bun-native on purpose.
- Full Express middleware emulation. Anything beyond the documented compatible subset is out of scope.
Track progress and vote on items in GitHub issues.