Change8

node-serve@0.2.0

📦 remixView on GitHub →
1 features🐛 1 fixes🔧 1 symbols

Summary

This release introduces the ability to register native WebSocket routes via a `setup` option in `serve()` and fixes an issue where lazy request facades were used instead of native Request objects.

Migration Steps

  1. If you use `serve()` in `remix/node-serve` and rely on custom WebSocket routes or connection filters, ensure your setup logic is placed within the new `setup(app)` callback.

✨ New Features

  • Added a `setup(app)` option to `serve()` in `remix/node-serve` to allow registering native uWebSockets.js WebSocket routes and connection filters before the Fetch fallback route starts listening.

🐛 Bug Fixes

  • Native `Request` objects are now passed to Fetch handlers instead of lazy request facades.

Affected Symbols