Releases: TGRCdev/bevy-butler
Releases · TGRCdev/bevy-butler
bevy-butler 0.5.6
bevy-butler 0.5.5
bevy-butler 0.5.4
Work is a little slow because classes are biting back at me right now.
Changes
- Enums can now be annotated with
#[butler_plugin]
,#[event]
,#[register_type]
and#[resource]
. [#18]
bevy-butler 0.5.3
bevy-butler 0.5.2
Additions
#[resource]
can be used to automatically initialize resources upon your plugin being added [#7]#[derive(Resource)] #[resource(plugin = MyPlugin, init = Message("Hello, world!".to_string())] struct Message(String);
#[event]
automatically registers events withapp.add_event::<MyEvent>()
[#9]#[derive(Event)] #[event(plugin = MyPlugin)] struct UserJoined(String);
#[system]
now works withuse
statements [#11]mod my_mod { pub(super) fn hello_world() { info!("Hello, world!"); } } #[system(plugin = MyPlugin, schedule = Startup)] use my_mod::hello_world;
Bug fixes
schedule
now accepts expressions instead of just type paths, for schedules likeOnEnter(MyState::MyVariant)
[#12]
bevy-butler 0.5.1
bevy-butler 0.5.0
This release includes a complete rewrite to improve performance and diagnostic information! It should also be much less buggy, and supports new features!
Changes
- Generic systems can now be declared with the
generics = <...>
argument in#[system]
- Multiple
#[system]
invocations can be applied to the same system, as long as the attribute arguments are unique- i.e. One system can be registered to multiple plugins, multiple schedules, different generic arguments, etc.
config_systems!
andsystem_set!
now support nested invocations- Experimental WASM support was added, which can be tested with the
wasm-experimental
feature flag. inventory
is available as an alternative backend behind theinventory
feature flag.
Breaking changes
- Experimental syntax like
#[config_systems_block]
has been removed. - The
nightly
feature flag is no longer required, and has been removed.