Update Rust crate bevy_renet to 0.0.12 #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.0.5
->0.0.12
Release Notes
lucaspoffo/renet (bevy_renet)
v0.0.12
Compare Source
This release comes with 3 major changes:
Renet
Added ⭐
NetcodeServer
andNetcodeClient
all the network transport logic has been moved to these structs.Changed 🛠️
RenetConnectionConfig
withConnectionConfig
, this new configuration has been greatly simplified. You only need to specify how many bytes you can use per update tick and the channels configuration (ChannelConfiguration
).ChannelConfiguration
, only 3 fields now:channel_id
,max_memory_usage_bytes
, andsend_type
.RenetServer::new
andRenetClient::new
now only hasConnectionConfig
as argument.RenetServer::is_client_connected
tois_connected
.NetworkInfo
hasbytes_sent_per_second
andbytes_received_per_second
instead ofsent_kbps
andreceived_kbps
.Removed 🔥
send_packets
fromRenetServer
andRenetClient
, this is now done by the transport layer.can_send_message
, this could cause some bad practices of checking before sending messages. If you cannot send a message you should change the channels configurations.Rechannel
Rechannel has been deprecrated, all its logic has been moved inside renet.
Bevy Renet
Added ⭐
NetcodeServerPlugin
andNetcodeClientPlugin
.Changed 🛠️
clear_events
options, you can achieve the same functionality by adding the Events yourself before the Plugin.v0.0.11
Compare Source
Added ⭐
Changed 🛠️
Contributors 🙏
v0.0.10
Compare Source
Added ⭐
client_addr
,user_data
,is_client_connected
,max_clients
,connected_clients
forRenetServer
, some utilities fromNetcodeServer
. (commit) (commit)DefaultChannel
enum, usefull when using the default channel configuration. (commit)Changed 🛠️
client_id
argument when creating an RenetClient. (commit)Fixed 🐛
Contributors 🙏
v0.0.9
Added ⭐
it was possible to send a SliceMessage with a high value of number of slices, this would cause the channel to allocate a lot of memory causing out of memories errors. (commit)
Changed 🛠️
Into<u8>
for channel id andInto<Bytes>
for messages (#28)Fixed 🐛
Removed 🔥
renet::ChannelNetworkInfo
(commit)Contributors 🙏
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.