naia-lib / naia

a cross-platform (including Wasm!) networking library built in Rust. Intended to make multiplayer game development dead-simple & lightning-fast
Apache License 2.0
878 stars 58 forks source link

Update hecs requirement from 0.7 to 0.8 #73

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on hecs to permit the latest version.

Changelog

Sourced from hecs's changelog.

0.8.1

Fixed

  • 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

... (truncated)

Commits
  • c491b3f Bump version
  • 3975c10 Don't borrow-check empty archetypes
  • 2b18c27 Bump version
  • 9c08031 Add satisfies predicate on entities
  • c2774e4 Use queries rather than components for With/Without
  • b23ae28 Adjust Archetype::get for consistency with EntityRef::get
  • 86e1b99 Adjust EntityBuilder getters for consistency with EntityRef::get
  • 799d409 Fold component getters into a single method generic over references
  • 3c01a4e Bump macros version
  • f433164 Fix cippy lint in derive(Bundle)
  • Additional commits viewable in compare view


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)
dependabot[bot] commented 2 years ago

The following labels could not be found: dependencies.

dependabot[bot] commented 2 years ago

Superseded by #80.