- Fixed hygiene for the
#[queryable]
macro.
- Added the
#[queryable]
macro, which lets you add query support to a trait declaration. - Added support for generic traits.
- Added
&dyn Trait
and&mut dyn Trait
as queries, which use theAll<>
behavior. - Added iterator methods to
All<>
query items.
- Instead of panicking, a warning is now emitted when no trait impls are registered.
- Bevy's default features are no longer required.
- Removed the
impl_trait_query
declarative macro.
- Duplicate trait impl registrations are now ignored (soundness issue).
- Added the
One<>
adapter for trait queries.
&dyn Trait
and&mut dyn Trait
can no longer be used as aWorldQuery
directly -- you must explicitly choose betweenOne<>
andAll<>
.
- Initial release.