v0.12.0
MSRV: Minimum supported Rust version is now 1.75.
Changelog
- (Breaking): Introduction of connect middlewares. It allows to execute code before the connection to the namespace is established. It is useful to check the request, to authenticate the user, to log the connection etc. It is possible to add multiple middlewares and to chain them.
- The
SocketRef
extractor is nowClone
. Be careful to drop clones when the socket is disconnected to avoid any memory leak.
What's Changed
- Implement Clone for SocketRef by @AkiraMiyakoda in #260
- Add middlewares/multiple fns to namespace by @Totodore in #280
- fix(engineio/socket): atomically adjacent packet requirement for binary payloads by @Totodore in #287
- chore(ci): trigger release manually by @Totodore in #288
Full Changelog: v0.11.1...v0.12.0