v0.6.0
Contributions
Thanks to @sleeyax for the support of the socket.io v4 protocol.
Thanks to @tausifcreates for minor fixes.
socketioxide
- New API for creating the socket.io layer/service. A cheaply clonable
SocketIo
struct is now returned with the layer/service and allows to access namespaces/rooms/sockets everywhere in the application. Moreover, it is now possible to add and remove namespaces dynamically through theSocketIo
struct. - The socket.io
v4
protocol is now available under the feature flagv4
, it matches every socket.io js version from 1.0.3 to current . Thev5
protocol is still the default and is more performant, it matches every socket.io js version from v3.0.0 to current.
engineioxide
- The socket parameter for the handler is now an
Arc<Socket>
. - The
max_payload
option is now applied when encoding a packet. Before, it was only applied when decoding a packet. - With
websocket
transport, packets are now bufferred before being flushed. Before, they were flushed one by one.
What's Changed
- chore(deps): Release 0.5.1 by @Totodore in #95
- refactor: Minor optimization and fixes by @tausifcreates in #96
- fix: move
tx_map_fn
&close_fn
declaration to Engine impl by @tausifcreates in #98 - docs: add changelog for v0.5.1 by @Totodore in #100
- feat: cheaply clonable io struct by @Totodore in #93
- fix(clippy): issue #104 by @Totodore in #105
- chore(ci): migrating from official e2e to custom by @Totodore in #109
- refactor(engineio/engine): transport module by @Totodore in #106
- feat(socketioxide/v4): implement SocketIO V4 (closes #51) by @sleeyax in #52
- docs(readme.md): fix badges by @Totodore in #110
- Update README.md by @Totodore in #111
- Update README.md by @Totodore in #112
- fix: apply max payload option when encoding (fix #113) by @Totodore in #114
New Contributors
- @tausifcreates made their first contribution in #96
Full Changelog: v0.5.1...v0.6.0