Skip to content

Release v0.14.0

Latest
Compare
Choose a tag to compare
@mintlu8 mintlu8 released this 24 Apr 20:45
· 8 commits to main since this release

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 an EventStream and end up in an infinite loop that is difficult to debug. In 0.14 use AsyncWorld::next_event instead of AsyncWorld::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 an Entity intuitively in bevy_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 and Trigger.