Skip to content

Releases: naia-lib/naia

Release 0.17.0 !

01 Mar 03:31
ec5bf55
Compare
Choose a tag to compare
  • 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 use Client.send_tick_buffered_message(tick, message) and Server.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(), and Client.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 !

14 Feb 02:02
Compare
Choose a tag to compare
  • 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 !

29 Jan 01:08
Compare
Choose a tag to compare
  • 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 !

20 Nov 00:32
f5b0dfd
Compare
Choose a tag to compare
  • Can now use IPv6 addresses (thanks AntiK!)
  • Bevy dependencies updated to 0.9.0

Release v0.13.0 !

19 Sep 00:02
Compare
Choose a tag to compare

A lot of bug fixes from #89

Release 0.12.0 !

27 Aug 20:56
Compare
Choose a tag to compare

Both Wasm and native Clients can now connect to a single Server!

Release v0.10.0 !

18 Apr 04:38
Compare
Choose a tag to compare
naia Release 0.10.0 !