- Added support for Bevy 0.15.
- Added support for Bevy 0.14.
- Added
WithoutAny
filter to check if an entity is not holding any component of a certain trait - Update
WithOne
to only implementQueryFilter
. This means it's not usable in the data position anymore. To migrate this change, useOne
instead, which is the intended way of doing that
- Added support for Bevy 0.11.
- Updated the
syn
crate to version 2.0. - Trait queries now use bevy's built-in
Mut<T>
type for change detection; this crate's reimplementation of this type has been removed.
- Fixed change detection reporting for trait queries.
- Added support for Bevy 0.10.
- 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.