Empty archetypes no longer participate in dynamic query borrow-checking
0.8.0
Added
World::satisfies and EntityRef::satisfies to check if an entity would match a query
Changed
Many generic methods that previously took a Component now instead take either a
ComponentRef<'a> or a Query to improve consistency with queries and address a common footgun:
World::get, EntityRef::get, and Archetype::get now take shared or unique references to
component types
EntityBuilder and EntityBuilderClone's get and get_mut refactored along the same lines
for consistency
The With/Without query transformers now take a query that entities must/mustn't match rather
than a component type. Additionally, the order of their generic arguments was reversed to place
the query whose results will be yielded first.
SerializeContext traits now take their serializer arguments by value, and must call end()
themselves.
0.7.7
Added
Entity::DANGLING convenience constant
Fixed
Various bad behavior when dangling Entity handles are used
Inconsistent component counts in column serialization
0.7.6
Added
World::take for moving complete entities between worlds
CommandBuffer::remove and CommandBuffer::despawn
Fixed
Panics on use of cloned BuiltEntityClones
0.7.5
Changed
Bump hashbrown version
0.7.4
Added
get_unchecked and get_mut_n methods on View and PreparedView for overlapping borrows
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on hecs to permit the latest version.
Changelog
Sourced from hecs's changelog.
... (truncated)
Commits
c491b3f
Bump version3975c10
Don't borrow-check empty archetypes2b18c27
Bump version9c08031
Addsatisfies
predicate on entitiesc2774e4
Use queries rather than components for With/Withoutb23ae28
Adjust Archetype::get for consistency with EntityRef::get86e1b99
Adjust EntityBuilder getters for consistency with EntityRef::get799d409
Fold component getters into a single method generic over references3c01a4e
Bump macros versionf433164
Fix cippy lint in derive(Bundle)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)