Releases: naia-lib/naia
Releases · naia-lib/naia
Release 0.17.0 !
- This release is mostly an internal refactor although some APIs have changed.
- Tick/Time synchronization has been completely re-written, and now the Server & Client clocks should be within 1 milliseconds of eachother.
- Another major change is that the synchronization will be resilient to the Server app is running slower than intended. Client time should slow down and speed up seamlessly with the Server.
- Now the Client/Server has a new step in the handshake process which allows them to collect network stats and get in sync before returning a Connect Event and giving control to your app.
-Sending and receiving messages on a TickBufferedChannel now requires a new API so that the app can specify with which Tick the message should be associated. Now useClient.send_tick_buffered_message(tick, message)
andServer.receive_tick_buffered_messages(tick)
for TickBuffered channels. - The API now recognizes that there are two moments in time the Client must be aware of: the authoritative time of the Server, and the time of the Client which is predicted forward into the future. Therefore now there are
Client.client_tick()
,Client.client_interpolation()
,Client.server_tick()
, andClient.server_interpolation()
methods for use. - In the Bevy adapter crates now, instead of the strange conditional
Tick
stage, there is a Tick event which is triggered from an EventReader like the other Bevy events.
Release 0.16.0 !
- Protocol is no longer a huge enum that aggregates all Replicated types, the Protocol is configured at runtime before the Client/Server starts
- Events are now read in the app via Bevy-inspired generic query methods
- Component derived type (Replicate) is now separate from Message derived type
- Added additional config options for the Client Tick synchronization system
- Fixes/implements: #121
- Fixes/implements: #120
- Includes Serde, Derive, and TickConfig refactors from #136, thank you @cBournhonesque !
Release 0.15.0 !
-
Write overflow and server-lock-up protection
(related to #67) -
Sequenced Message Channels thanks to @cBournhonesque !
(from #112 and myself) -
FAQ thanks to @cBournhonesque
(#114) -
Unit and Tuple Replicate Components / Messages thanks to @cBournhonesque
(#115 & #117) -
New
Server.broadcast_message()
function thanks to @cBournhonesque
(#126) -
New
UserScope.reset()
functions, thanks to @cBournhonesque
(#127 and myself) (#122) -
Non-blocking packet sending in
naia_client_socket
, thanks to @mvlabat !
(#116) -
Fix #94
-
Fix #123
-
More helpful error messages for #131
-
More helpful error messages for #128
-
Multiple dependency versions updated
Release v0.14.0 !
- Can now use IPv6 addresses (thanks AntiK!)
- Bevy dependencies updated to 0.9.0
Release v0.13.0 !
A lot of bug fixes from #89
Release 0.12.0 !
Both Wasm and native Clients can now connect to a single Server!
Release v0.10.0 !
naia Release 0.10.0 !