Skip to content

Release v0.8.0

Choose a tag to compare

@mintlu8 mintlu8 released this 26 Mar 23:00
· 272 commits to main since this release

What's Changed

  • Better plugin modularity.

We can now add schedule and system sets via the new AsyncPlugin.

  • Non-Send internals

Most of this crate now runs on Rc and RefCell, this means we can drop some lifetimes around
not cloning Arcs, you would find chaining methods much easier!

  • Thread locals!

    • We can push &World, Resource and NonSend to thread local storage, enabling more non-deferred access.

    • AssetServer, NamedSignals, CommandQueue are accessible via thread locals by default.

    • With the optional &World thread local access, all get access are immediate, at the cost of some parallelization.

  • AsyncEventReader, AsyncAsset and better named signal support

    • AsyncEventReader is now a persistent event reader that behaves properly.

    • AsyncAsset, or rather Handle can be accessed by AssetPath without deferring.

    • NamedSignals can be accessed by name without deferring.

  • apply_command and apply_command_queue

apply_command uses a thread local CommandQueue and is no longer async.

  • Tweening

We can run cancellable and awaitable tweening functions on FixedUpdate.

  • bevy_mod_picking integration

We now have a reactor for bevy_mod_picking.

  • Signals rewrite

Signals is no longer type erased, therefore Object is no longer a part of this crate (see dyn_object). Internals of signals are more encapsulated.

  • spawn rename

spawn is now the unbounded spawn method, since dropping futures can cause unexpected behaviors and should be opt-in.