Releases: simgine/bevy_replicon
Releases · simgine/bevy_replicon
Bevy Replicon 0.28.1
Fixed
- Client event buffering.
Bevy Replicon 0.28.0
Added
ServerEventAppExt::make_independentto let events be triggered without waiting for replication on the same tick.ConnectedClients(the same name as the old resource that was renamed intoReplicatedClients) with client IDs for all connected clients (but may not be replicated yet).ServerPlugin::replicate_after_connectto enable replication right after connection (enabled by default, same as old behavior).
Changed
- Rename
connected_clientsintoreplicated_clients. - Rename
ConnectedClientstoReplicatedClients. - Rename
ConnectedClienttoReplicatedClient.
Fixed
- Emit an error instead of panic on events deserialization on client.
- Buffering for events that have mapped entities.
Bevy Replicon 0.27.0
Changed
- Update to Bevy
0.14.0-rc.4. - Move
bevy_replicon_renetto a dedicated repository. ServerEventsPluginandClientEventsPlugincan be disabled on client-only and server-only apps respectively.- Put
ClientDiagnosticsPluginunderclient_diagnosticsfeature (disabled by default) and make it part of theRepliconPluginsgroup. - Put
scenemodule underscenefeature (enabled by default). - Put
parent_syncmodule underparent_syncfeature (enabled by default). - Put
clientmodule underclientfeature (enabled by default). - Put
servermodule underserverfeature (enabled by default). TestFnsEntityExt::serializenow acceptsRepliconTickfor server tick instead of usingServerTickresource internally.- Move
replicon_client,server_entity_map,replicon_server,connected_clientsundercoremodule. These modules are needed for both client and server. - Move
VisibilityPolicytoconnected_clientsmodule. - Move
server::events::event_datamodule tocore::event_registry::server_event. - Move
client::events::event_datamodule tocore::event_registry::client_event. - Move
ClientEventAppExt,client::events::SerializeFn,client::events::DeserializeFn,default_serialize,default_serialize_mapped,default_deserializeandFromClienttocore::event_registry::client_event. - Move
ServerEventAppExt,server::events::SerializeFn,server::events::DeserializeFn,default_serialize,default_serialize_mapped,default_deserialize,ToClientsandSendModetocore::event_registry::server_event. - Speedup removals caching.
Fixed
- Do not divide values per seconds by the number of messages for
ClientDiagnosticsPlugin.
Bevy Replicon 0.27.0-rc.3
Changed
- Update to Bevy
0.14.0-rc.4. - Move
bevy_replicon_renetto a dedicated repository. ServerEventsPluginandClientEventsPlugincan be disabled on client-only and server-only apps respectively.- Put
ClientDiagnosticsPluginunderclient_diagnosticsfeature (disabled by default) and make it part of theRepliconPluginsgroup. - Put
scenemodule underscenefeature (enabled by default). - Put
parent_syncmodule underparent_syncfeature (enabled by default). - Put
clientmodule underclientfeature (enabled by default). - Put
servermodule underserverfeature (enabled by default). TestFnsEntityExt::serializenow acceptsRepliconTickfor server tick instead of usingServerTickresource internally.- Move
replicon_client,server_entity_map,replicon_server,connected_clientsundercoremodule. These modules are needed for both client and server. - Move
VisibilityPolicytoconnected_clientsmodule. - Move
server::events::event_datamodule tocore::event_registry::server_event. - Move
client::events::event_datamodule tocore::event_registry::client_event. - Move
ClientEventAppExt,client::events::SerializeFn,client::events::DeserializeFn,default_serialize,default_serialize_mapped,default_deserializeandFromClienttocore::event_registry::client_event. - Move
ServerEventAppExt,server::events::SerializeFn,server::events::DeserializeFn,default_serialize,default_serialize_mapped,default_deserialize,ToClientsandSendModetocore::event_registry::server_event.
Fixed
- Do not divide values per seconds by the number of messages for
ClientDiagnosticsPlugin.
Bevy Replicon 0.27.0-rc.2
Changed
- Update to Bevy
0.14.0-rc.3.
Bevy Replicon 0.26.3
Added
- Logging for sending and receiving messages.
Changed
- Do not send empty ack messages from client.
Bevy Replicon 0.27.0-rc.1
Changed
- Update to Bevy
0.14.0-rc.2.
Bevy Replicon 0.26.2
Added
Debug/Clonederives toServerEvent.Debug/Copy/Clonederives toTickPolicy.ClientSet::SyncHierarchyforParentSyncupdates.
Bevy Replicon 0.26.1
Fixed
- Regression in server events reset logic.
Bevy Replicon 0.26.0
Added
ClientEventsPluginandServerEventsPluginthat are required for events (available from theRepliconPluginsgroup). Can be disabled if you don't use them.
Changed
- Custom events are now registered with serialization and deserialization functions instead of systems. This makes the API more convenient since the purpose of custom systems was to customize serialization.
- All events are processed in one system instead of a separate system for each event. Bevy does a similar optimization for event updates. It won't be that noticeable since users register much fewer replicon events.
- Rename
ConnectedClient::change_tickintoConnectedClient::init_tick. - Rename
ConnectedClient::get_change_limitintoConnectedClient::get_change_tick. - Rename
ConfirmedintoConfirmHistory. - Rename
replicon_channelsmodule intochannels. - Rename
replication_fnsandReplicationFnsintoreplication_registryandReplicationRegistry. - Rename "packets" into "messages" in client diagnostics.
Fixed
bevy_replicon_renetnow properly setsRepliconClientStatus::ConnectingwhenRenetClientis connecting.