Skip to content

Releases: Henauxg/bevy_quinnet

v0.17.0

27 Apr 10:43
Compare
Choose a tag to compare

Version 0.17.0 (2025-04-27)

  • Updated bevy to 0.16
  • Reworked error handling in the sync client & server.
    • Multi-target methods (send_group_..., broadcast_..., ...) now properly try to do the specified task for each target before returning. If any, errors will be collected and all returned.
    • Removed QuinnetError type
    • Added new error types :
      • in the client:error module:
        • ClientSendError
        • ClientPayloadSendError
        • ClientMessageSendError
        • ClientMessageReceiveError
        • ConnectionClosed
        • ClientConnectionCloseError
        • InvalidHostFile
        • CertificateInteractionError
      • in the server::error module:
        • ServerSendError
        • ServerPayloadSendError
        • ServerMessageSendError
        • ServerGroupSendError
        • ServerGroupPayloadSendError
        • ServerGroupMessageSendError
        • ServerMessageReceiveError
        • ServerReceiveError
        • ServerDisconnectError
        • EndpointAlreadyClosed
        • EndpointStartError
        • EndpointCertificateError
        • EndpointConnectionAlreadyClosed
      • in the shared::error module:
        • AsyncChannelError
        • ChannelCloseError
        • ChannelCreationError
        • ChannelConfigError
  • Added new method variants to Endpoint:
    • send_group_payload
    • try_send_group_payload
    • send_group_payload_on
    • try_send_group_payload_on

v0.16.0

24 Mar 11:59
Compare
Choose a tag to compare

Version 0.16.0 (2025-03-24)

  • Renamed ChannelType to ChannelKind
  • Added max_frame_size configuration value to ChannelKind::OrderedReliable and ChannelKind::UnorderedReliable

v0.15.0

13 Mar 22:41
Compare
Choose a tag to compare

Version 0.15.0 (2025-03-13)

  • Added max_datagram_size method to ServerSideConnection and ClientSideConnection

v0.14.0

16 Jan 11:35
Compare
Choose a tag to compare

Version 0.14.0 (2025-01-16)

  • Updated rustls-platform-verifier from 0.4 to 0.5
  • Client:
    • Added Debug, Clone and Copy derives to client events by @florianfelix
  • Server:
    • Changed start_endpoint to return an error (instead of a panic in the async task) if the socket binding fails (thanks to @NonbinaryCoder)

v0.13.0

02 Dec 17:47
Compare
Choose a tag to compare

Version 0.13.0 (2024-12-02)

  • Renamed client Connection to ClientSideConnection and server ClientConnection to ServerSideConnection
  • Added get_connection and get_connection_mut on Endpoint to retrieve a ServerSideConnection
  • Added connection_stats to ServerSideConnection
  • Renamed connection_stats on Endpoint to get_connection_stats
  • Added received_bytes_count, clear_received_bytes_count, sent_bytes_count and clear_sent_bytes_count to both ClientSideConnection and ServerSideConnection
  • Changed try_send_payload, try_send_payload_on, send_payload_on, send_payload, send_message, send_message_on, try_send_message, try_send_message_on on ClientSideConnection to take &mut self
  • Changed ..._send_message_..., ..._send_group_message_..., ..._broadcast_... methods on Endpoint to take &mut self

v0.12.0

01 Dec 10:16
Compare
Choose a tag to compare

Version 0.12.0 (2024-12-01)

v0.11.0

30 Nov 22:45
Compare
Choose a tag to compare

Version 0.11.0 (2024-11-30)

  • Updated rustls to 0.23 and quinn to 0.11 (thanks to Cyannide, PR #28)
  • Changed doc & examples to use IPv6 by default (thanks to MyZeD, PR #29)
  • Changed some errors logs to be warnnings
  • Fixed: channels send tasks won't try to flush anymore if we know that the peer connection is closed/lost: less warnings logs emitted.

v0.10.0

09 Sep 09:32
Compare
Choose a tag to compare

Version 0.10.0 (2024-09-09)

  • Add client & server features.

v0.9.0

05 Jul 15:04
Compare
Choose a tag to compare

Version 0.9.0 (2024-07-05)

  • Update to use Bevy 0.14

v0.8.0

12 May 21:42
Compare
Choose a tag to compare

Version 0.8.0 (2024-05-12)

  • Added a new crate bevy_replicon_quinnet with tests and examples, providing an integration of bevy_quinnet as a replicon back-end.
  • Added a shared-client-id cargo feature: server sends the client id to the client, client wait for it before being “connected”
  • Added #![warn(missing_docs)]
  • Channels:
    • Changed ChannelId to be a u8
    • Some channels can be preconfigured to be opened on a client or server connection by using ChannelsConfiguration
    • Channels payloads now contain the channel_id
    • When receiving a message, the message's channel_id is now available
    • You can now have only up to 256 channels opened simultaneously
    • You can now have more than 1 Unreliable or UnorderedReliable channel
  • Client:
    • Renamed Client to QuinnetClient
    • In QuinnetClient::Connection
      • Changed disconnect function to be pub (was previously only accessible through Client::close_connection)
      • Added reconnect function
      • Added a new bevy event ConnectionFailedEvent raised when a connection fails
        • Added a QuinnetConnectionError type
      • Renamed ConnectionId to ConnectionLocalId
      • State:
        • Removed is_connected
        • Renamed internal ConnectionState to InternalConnectionState
        • Added a new ConnectionState
        • Added state function
    • Changed update_sync_client system to be pub
    • Added client_connecting, client_connected, client_just_connected and client_just_disconnected ergonomic system conditions
  • Server:
    • Renamed Server to QuinnetServer
    • Added Debug, Copy, Clone traits to the server's bevy events
    • Changed update_sync_server system to be pub
    • Added server_listening, server_just_opened and server_just_closed ergonomic system conditions
    • Removed unnecessary Clone requirement from broadcast methods
  • Tests:
    • Updated to use the new channel API
    • Added a reconnection test
  • Moved QuinnetError to shared::error