0.0.14 - Some goodies
This release has some small quality changes:
- Use
ClientId
instead of a u64 for client ids, more type safety. - Add
is_connecting
andis_connected
toRenetClient
, 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
toRenetClient
, this should make it easier to write code more transport agnostic. Also addedset_connected
,set_connecting
so the transport layer can keep the connection status updated for theRenetClient
(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
andchannel_available_memory
forRenetClient
andRenetServer
. (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 fromRenetClient
instead of the transport layer. (PR) by OleStrohm
Removed 🔥
- Removed
is_connecting
,is_connected
,is_disconnected
fromNetcodeClientTransport
, use the methods fromRenetClient
instead. (PR) by OleStrohm