New Features
-
EventStream
has been replaced with one-shot events that can only be read once. This makes async code less error prone, as it was easy to accidentally recreate anEventStream
and end up in an infinite loop that is difficult to debug. In0.14
useAsyncWorld::next_event
instead ofAsyncWorld::event_stream
to read events. This should fit most use cases, but if you need multiple independent readers like the original behavior, custom code would be required. -
ChildQuery
provides an easy way to iterate through an entity's children that is normally either unsafe or requires allocation. -
Added
InspectEntity
for printing anEntity
intuitively inbevy_defer
scope.
Updates
-
Added functions related to observers.
-
Renamed or changed multiple functions to match bevy's behavior.
Deprecations
AsyncSystems
and various signals are deprecated and should be replaced by observers andTrigger
.