Skip to content

Releases: Totodore/socketioxide

Socketioxide v0.18.1

24 Jan 13:48
6f41d46

Choose a tag to compare

  • fix: issue #627. In case of namespace connect failure,
    the socket was not properly removed from the adapter and the namespace.

What's Changed

Full Changelog: socketioxide-v0.18.0...socketioxide-v0.18.1

Socketioxide Redis v0.4

24 Jan 13:38
acc5cb0

Choose a tag to compare

socketioxide-redis 0.4.0

feat(breaking): bump the redis peer dependency to 1.0.

What's Changed

Full Changelog: redis-v0.3...redis-v0.4

Engineioxide v0.17.2

24 Jan 13:36
12fed1b

Choose a tag to compare

Changelog

  • fix: Noop packet was emitted only one time during the upgrade mechanism, leading to an infinite upgrade loop when the client sent multiple http polling requests.
  • fix: the socket closing process was incorrect in some edge cases, leading to leaky sockets. This fix ensures that sockets are properly closed and resources are released.
  • feat: improve traces in the upgrade and closing mechanisms.

What's Changed

  • chore(deps): bump tokio from 1.46.1 to 1.47.0 by @dependabot[bot] in #552
  • chore(deps): bump tokio-util from 0.7.15 to 0.7.16 by @dependabot[bot] in #556
  • chore(deps): bump tokio from 1.47.0 to 1.47.1 by @dependabot[bot] in #557
  • fix(engineio): fix Noop packet emission when upgrading transport by @Totodore in #554
  • chore: backport #554 and bump engineioxide to v0.17.1 by @Totodore in #559
  • chore(deps): bump thiserror from 2.0.12 to 2.0.15 by @dependabot[bot] in #566
  • chore(deps): bump serde_json from 1.0.142 to 1.0.143 by @dependabot[bot] in #568
  • chore(deps): bump hyper from 1.6.0 to 1.7.0 by @dependabot[bot] in #567
  • chore(deps): bump mongodb from 3.2.4 to 3.2.5 by @dependabot[bot] in #570
  • feat(engineio): improve engineioxide::OpenPacket serde impl by @CaptainTux in #572
  • chore(deps): bump tracing-subscriber from 0.3.19 to 0.3.20 by @dependabot[bot] in #574
  • fix(engineio/v3): incorrect NOOP packet formating when upgrading by @Totodore in #560
  • chore(deps): bump tracing-subscriber from 0.3.19 to 0.3.20 in /examples by @dependabot[bot] in #601
  • chore(deps): bump memchr from 2.7.5 to 2.7.6 by @dependabot[bot] in #589

New Contributors

Full Changelog: engineioxide-v0.17.1...engineioxide-v0.17.2

Socketioxide v0.18.0

25 Oct 14:31
7f348a7

Choose a tag to compare

Changelog

  • feat(breaking): remove sync handlers to gain 50% of compilation speed.
  • feat: Socket rooms will be removed only after the disconnect handler execution,
    making them available in the disconnect handler (thanks @Mettwasser).

What's Changed

  • chore(deps): bump tokio from 1.44.2 to 1.45.0 by @dependabot[bot] in #512
  • feat(socketio): add utility methods by @Totodore in #514
  • feat(socketio): remove sync handlers by @Totodore in #516
  • chore(deps): bump hyper-util from 0.1.11 to 0.1.12 by @dependabot[bot] in #517
  • chore(deps): bump tokio from 1.45.0 to 1.45.1 by @dependabot[bot] in #521
  • chore(deps): bump hyper-util from 0.1.12 to 0.1.13 by @dependabot[bot] in #522
  • chore(deps): bump hyper-util from 0.1.13 to 0.1.14 by @dependabot[bot] in #524
  • chore(deps): bump smallvec from 1.15.0 to 1.15.1 by @dependabot[bot] in #526
  • fix(socketio): move tracing macro call from trait to impl by @Totodore in #529
  • docs: update changelog from latest release by @Totodore in #530
  • chore(deps): bump memchr from 2.7.4 to 2.7.5 by @dependabot[bot] in #532
  • chore(deps): bump tokio from 1.45.1 to 1.46.1 by @dependabot[bot] in #539
  • chore(deps): bump hyper-util from 0.1.14 to 0.1.15 by @dependabot[bot] in #540
  • fix(clippy): global clippy lints by @Totodore in #546
  • chore(deps): bump serde_json from 1.0.140 to 1.0.142 by @dependabot[bot] in #553
  • chore(deps): bump tokio from 1.46.1 to 1.47.0 by @dependabot[bot] in #552
  • chore(deps): bump tokio-util from 0.7.15 to 0.7.16 by @dependabot[bot] in #556
  • chore(deps): bump tokio from 1.47.0 to 1.47.1 by @dependabot[bot] in #557
  • chore(deps): bump arbitrary from 1.4.1 to 1.4.2 by @dependabot[bot] in #565
  • chore(deps): bump thiserror from 2.0.12 to 2.0.15 by @dependabot[bot] in #566
  • chore(deps): bump serde_json from 1.0.142 to 1.0.143 by @dependabot[bot] in #568
  • chore(deps): bump tracing-subscriber from 0.3.19 to 0.3.20 by @dependabot[bot] in #574
  • chore(deps): bump serde from 1.0.219 to 1.0.223 by @dependabot[bot] in #581
  • chore(deps): bump hyper-util from 0.1.15 to 0.1.17 by @dependabot[bot] in #583
  • chore(deps): bump serde from 1.0.223 to 1.0.225 by @dependabot[bot] in #585
  • chore(deps): bump serde_json from 1.0.143 to 1.0.145 by @dependabot[bot] in #584
  • examples(warp): add latest warp example by @Totodore in #586
  • fix(ci): rollback to 1.89 by @Totodore in #604
  • tests(socketio): graceful error if ws closed by @Totodore in #605
  • fix(ci): use redis bitnami legacy images by @Totodore in #607
  • chore(deps): bump tracing-subscriber from 0.3.19 to 0.3.20 in /examples by @dependabot[bot] in #601
  • chore(deps): bump axum from 0.8.4 to 0.8.6 by @dependabot[bot] in #594
  • chore(deps): bump memchr from 2.7.5 to 2.7.6 by @dependabot[bot] in #589
  • fix(ci): use all-green ci check by @Totodore in #608
  • feat(ci): codspeed benchmarking by @Totodore in #609
  • chore(deps): bump tokio-tungstenite from 0.26.2 to 0.28.0 by @dependabot[bot] in #610
  • deps(redis-adapter): release v0.3 by @Totodore in #612
  • chore(deps): bump tokio from 1.47.1 to 1.48.0 by @dependabot[bot] in #611
  • feat: make rooms available in disconnect handler by @Mettwasser in #613

New Contributors

Sponsors

Thanks to @dollannn and @AprilNEA for their sponsoring!

Full Changelog: socketioxide-v0.17.2...socketioxide-v0.18.0

Socketioxide Redis v0.3

20 Oct 08:21

Choose a tag to compare

socketioxide-redis 0.3.0

  • deps: bump redis to 0.32

v0.17.0

04 May 19:21

Choose a tag to compare

This new release introduce the socketioxide-mongodb adapter crate. This adapter enables horizontal scaling of your Socketioxide servers across distributed deployments by leveraging MongoDB as a message bus.

The Socket::on_fallback method will allow you to set a fallback event handler if you want to handle incoming event dynamically. Extract the associated dynamic event with the Event extractor.

Changelog

socketioxide 0.17.0

  • deps: bump socketioxide-core to 0.17
  • feat: add SocketIo::on_fallback
    and Event extractor to add a fallback event handler and
    dynamically extract the incoming event.
  • MSRV: rust-version is now 1.86 with edition 2024

socketioxide-core 0.17.0

  • feat(breaking): remote-adapter packets are now refactored in the core crate. Any adapter implementation can use
    it through the remote-adapter flag.
  • MSRV: rust-version is now 1.86 with edition 2024

socketioxide-mongodb 0.1.0

  • Initial release!

What's Changed

Full Changelog: v0.15.0...socketioxide-v0.17.0

v0.16.2

21 Mar 12:29

Choose a tag to compare

Changelog

engineioxide-core 0.1.0

  • New crate to share engineioxide core types.

engineioxide 0.16.2

  • fix: pause heartbeat when the socket is being upgraded to avoid the client
    from resending polling requests to respond to ping packets.
  • deps: use engineioxide-core 0.1 as a dependency

socketioxide-redis 0.2.1

  • doc: add an incompatibility warning with the @socket.io/redis-adapter package.

socketioxide-core 0.16.1

  • deps: use engineioxide-core 0.1 rather than engineioxide

socketioxide 0.16.2

  • deps: bump engineioxide to 0.16.2

What's Changed

Full Changelog: v0.16.1...v0.16.2

v0.16.1

29 Jan 11:11
105a2cc

Choose a tag to compare

Changelog

engineioxide 0.16.1

  • feat: add Config::ws_read_buffer_size to set the read buffer size for each websocket.
    It will default to 4KiB (previously 128KiB). You can increase it if you have high message throughput and less sockets.

socketioxide 0.16.1

  • feat: add Config::ws_read_buffer_size to set the read buffer size for each websocket.
  • deps: bump engineioxide to 0.16.1.

socketioxide-parser-common 0.16.1

  • fix: clone partial packets when keeping them to avoid holding a reference to the ws read buffer for too long. Otherwise it cause the ws read buffer to grows indefinitely in a many binary packets scenario.

socketioxide-redis 0.2

  • deps: bump redis to 0.28.2
  • feat(breaking): the redis cluster adapter constructor now takes a &redis::cluster::ClusterClient
    to match all other adapter constructors.

What's Changed

  • chore(ci): remove tagging from release ci by @Totodore in #443
  • test(engineio): mock http/ws connections and improve integration tests by @Totodore in #447
  • fix(engineio/ws): add read_buffer_size option and set default to 4KiB by @Totodore in #450
  • feat: improve memory usage by @Totodore in #451
  • feat(redis): use ClusterClient for redis cluster creation by @Totodore in #452

Full Changelog: v0.16.0...v0.16.1

v0.16.0

17 Jan 16:45
ff872c3

Choose a tag to compare

News

  • Socketioxide has a new logo!
  • Remote adapters are finally here! You can use them to scale your socket.io application easily.
    See this article for more info.
  • Thanks to @dollannn and @BrianWiz for their sponsoring!

Changelog

From now all crate versions are disjoined.

socketioxide 0.16.0

  • feat(breaking): remote adapters, see this article for more details.
  • deps: bump thiserror to 2.0
  • deps: bump axum to 0.8
  • deps: bump engineioxide to 0.16.0
  • docs: fix grammar/typos

socketioxide-parser-msgpack 0.16.0

  • feat(breaking): remote adapters

socketioxide-parser-common 0.16.0

  • feat(breaking): remote adapters

socketioxide-core 0.16.0

  • feat(breaking): remote adapters

socketioxide-redis 0.1.0

  • Initial release!

engineioxide 0.16.0

  • deps: bump thiserror to 2.0
  • deps: bump tokio-tungstenite to 0.26
  • docs: fix grammar/typos
  • fix(engineio): heartbeat start delay

What's Changed

Full Changelog: v0.15.1...v0.16.0

v0.15.1

02 Nov 18:55
dbeaa0b

Choose a tag to compare

Changelog

socketioxide

  • deps: remove smallvec deps
  • doc: fix some links

engineioxide

  • fix: issue #390. First ping was sent twice because of tokio interval behavior defaulting to bursting when interval tick is missed.

What's Changed

Full Changelog: v0.15.0...v0.15.1