Skip to content

v0.6.0

Compare
Choose a tag to compare
@johanhelsing johanhelsing released this 31 Mar 13:28
· 303 commits to main since this release

What's Changed

New crates

  • matchbox_signaling: highlevel API for building a custom signaling server
  • matchbox_protocol: Shared signaling protocol between matchbox_server, matchbox_signaling and matchbox_socket
  • bevy_matchbox: For simplified usage with Bevy

New features in matchbox_socket

  • Multiple data channels can now be added
  • Support for reliable channels and custom reliability
  • Builder API for creating a new socket
  • Peer disconnections now reported through update_peers
  • Configurable signaling server reconnection attempts (defaults to 2)
  • Signaling server keep alive interval can now be configured or disabled (only needed if the signaling server or its proxy is aggressively killing idle websocket connections)

Bug fixes

  • Development builds no longer panic after ~10 minutes #72
  • Socket no longer panics when connecting to the signaling server fails #93
  • Fixed some panics that could happen on incorrect API usage (dropping a socket future before the socket)

Breaking/Migration

  • WebRtcSocket::new renamed to WebRtcSocket::new_unreliable
  • WebRtcSocket::accept_new_connections replaced with WebRtcSocket::update_peers
  • WebRtcSocketConfig replaced with WebRtcSocketBuilder
  • ggrs-socket feature renamed to ggrs
  • Peer ids are no longer strings, but their own PeerId type, wrapping a Uuid

Merged PRs

New Contributors

Full Changelog: v0.5.0...v0.6.0