v0.8.0
socketioxide
- Add
transport_type
andprotocol
fn on theSocket
struct. It allows to know the transport type and the protocol used by the socket. - Dynamic
DisconnectHandler
. Now theon_disconnect
handler take a dynamic handler that maybe async and contain any type that implementsFromDisconnectParts
. It allows to extract data from the disconnection, like the socket, the reason of the disconnection, the state etc. - New
state
feature flag. It enables global state management. It is useful to share data between handlers. It is disabled by default.
engineioxide
- Packet encoding/decoding optimizations.
What's Changed
- fix(clippy): fix clippy lints by @Totodore in #174
- chore(deps): bump salvo from 0.58.3 to 0.58.5 by @dependabot in #176
- Optimize
engineio
packets processing by @Totodore in #162 - Improve adapter configuration by @Totodore in #179
- Transport type and Protocol Version info for
Socket
by @Totodore in #180 - doc(socketio): fix
tower
links by @Totodore in #181 - meta: add discussions q&a link by @Totodore in #183
- fix: use right example link by @caojen in #185
- Disconnect dynamic handlers by @Totodore in #188
- chore(deps): bump tokio from 1.34.0 to 1.35.0 by @dependabot in #193
- chore(deps): bump itoa from 1.0.9 to 1.0.10 by @dependabot in #192
- feat(socketio/state): global state implementation backed by a
state::TypeMap
by @Totodore in #194
New Contributors
Full Changelog: v0.7.3...v0.8.0