Skip to content

0.0.14 - Some goodies

Compare
Choose a tag to compare
@lucaspoffo lucaspoffo released this 12 Nov 21:28

This release has some small quality changes:

  • Use ClientId instead of a u64 for client ids, more type safety.
  • Add is_connecting and is_connected to RenetClient, this should make it a bit easier to write code transport agnostic.

In the main branch we have the unreleased transport layer for steam if you want to test. The steam transport is also available in the bevy_renet crate under the feature steam (only available in the main branch).

Full changelog is available below. Thanks for all the contributors, and for all my sponsors 🙏

FULL CHANGELOG

Added ⭐

  • Added is_connecting, is_connected to RenetClient, this should make it easier to write code more transport agnostic. Also added set_connected, set_connecting so the transport layer can keep the connection status updated for the RenetClient (if you are using the default transport layer you will not need call it, but if you have a custom transport layer you will need to call them). (PR) by OleStrohm
  • Added methods can_send_message and channel_available_memory for RenetClient and RenetServer. (commit)
  • Renetcode: make fields for ConnectToken public. (PR) by UkoeHB

Fixed 🐛

  • Fixed RenetServer.connected_clients not returning the correct numbers of connected clients. (commit)

Changed 🛠️

  • Use ClientId struct instead of u64 for clients ids, better type safety for users. (PR) by roboteng
  • NetcodeServer: now accepts multiple server addresses when being created. (PR)
  • NetcodeServer: change arguments when creating it, now accepts only a configuration struct ServerConfig, that has all previous arguments. (PR)
  • RenetVisualizer: updated to egui 0.23. (PR) by Zajozor
  • BevyRenet: updated to bevy 0.12 (commit)
  • BevyRenet: client_disconnected, client_connecting, client_just_connected, client_just_disconnected has been moved out of the transport module. Now they use the methods from RenetClient instead of the transport layer. (PR) by OleStrohm

Removed 🔥

  • Removed is_connecting, is_connected, is_disconnected from NetcodeClientTransport, use the methods from RenetClient instead. (PR) by OleStrohm

Contributors 🙏