Changelog
This page mirrors the repository changelog at the time the book was updated.
For the newest release history, see
CHANGELOG.md.
Unreleased
Breaking Changes
spawn_static_entityremoved. Useserver.spawn_entity(world).as_static()before the first component insert.insert_static_resourceremoved. Useserver.insert_resource(world, value, true)for static resources andserver.insert_resource(world, value, false)for dynamic resources.- Client
WorldEvents<E>renamed toEvents<E>. make_roomrenamed tocreate_room.resource_count()renamed toresources_count().room_count()onUserRefrenamed torooms_count().- Client-side
ReplicationConfigwas replaced byPublicity. server.send_messagenow returnsResult<(), NaiaServerError>.- Server
EntityMut::insert_componentsbatch variant removed.
Added
entity_is_delegatedpredicate onServer<E>.EntityMut::as_static()builder method.- Server-initiated authority APIs:
give_authorityandtake_authority. - Reconnect handling that re-delivers all in-scope entities and replicated resources after reconnect.
Changed
- Internal test/tool crate names were kebab-cased.
- Local-transport hub debug output now uses
log::debug!.
Fixed
- Removed UB-prone lifetime transmute in local transport receivers.
- Bounded pending handshake maps to mitigate spoofed source-address floods.
- Fixed orphaned pending-handshake entries on early disconnect.
- Removed dead migration-response stub.
- Added stale-key-safe
user_opt/user_mut_optaccessors. - Added pending-auth timeout auto-rejection.
- Changed unknown-entity receive handling from panic to warn-and-discard.
- Improved URL parsing panic context.
- Added safety comments to all remaining
unsafeblocks.