tmayoff / hexalon

A simple battle map for TTRPGs that integrates into Obsidian
MIT License
0 stars 0 forks source link

Bump bevy_mod_picking from 0.15.0 to 0.17.0 #44

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 12 months ago

Bumps bevy_mod_picking from 0.15.0 to 0.17.0.

Release notes

Sourced from bevy_mod_picking's releases.

v0.17.0

What's Changed

New Contributors

Full Changelog: https://github.com/aevyrie/bevy_mod_picking/compare/v0.16.0...v0.17.0

v0.16.0

What's Changed

New Contributors

... (truncated)

Changelog

Sourced from bevy_mod_picking's changelog.

0.17.0

  • Update for bevy 0.12
  • Fixed: rapier and raycast backends were not considering all cases when cameras or entities lacked the RenderLayers component.
  • Fixed: crate would not compile when the bevy ui backend feature was disabled.
  • Added: backends now re-export their dependency where applicable. bevy_picking_raycast re-exports bevy_mod_raycast, for example.
  • Added: Reflect implementations for all components and resources.

0.16.0

Highlights

  • Faster compile times.
  • Sprites now support atlases, scale, rotation, and anchors.
  • All egui widgets, including side panels, are now supported.
  • bevy_mod_raycast and bevy_rapier backends are now even simpler, no longer requiring any marker components to function.
  • More flexible picking behavior and bevy_ui compatibility with the updated Pickable component.
  • Better support for cameras settings such as is_active, RenderLayers, and show_ui.

Dependencies

  • Changed: Removed dependencies on bevy and instead depend on bevy subcrates (e.g. bevy_ecs) directly. This reduces total dependency count, but more importantly allows compilation of each picking crate to start before bevy finishes.
  • Changed: bevy_ui has been removed as a core dependency, and is now completely optional.

API Improvements

  • Changed: The plugin no longer respects bevy_ui's FocusPolicy because it was not flexible enough. This has been replaced with new fields on the Pickable component. You can use this to override the behavior of any entity in picking.
    • This allows you to decide if that entity will block lower entities (on by default), and if that entity should emit events and be hover-able (on by default).
    • To make objects non-pickable, instead of removing the Pickable entity, use the new const value Pickable::IGNORE.
  • Changed: The PointerInteraction component, which is added to pointers and tracks all entities being interacted with has changed internally from a hashmap of entities and their Interaction to a sorted list of entities and HitData, sorted by depth. This better reflects how pointer data would be expected to work, and makes it easier to find the topmost entity under each pointer.
  • Added: get_nearest_hit method added to PointerInteraction
  • Changed: Moved PointerInteraction from the focus module to pointer.

Backend Improvements

  • Fixed: all backends now correctly check if a camera is_active before attempting hit tests.
  • Changed: PickLayer, which is used to order hits from backends that targets the same render target, such as multiple render passes on the same window, has been changed from an isize to an

... (truncated)

Commits
  • 1471a9f Tweak changelog wording
  • b66dfd3 Impl and register reflect for all components and resources
  • 1391bb7 Add re-exports in backends
  • 8f78621 fix compile error in debug when bevy ui is disabled
  • c45b005 Fix bug with renderlayers in backends
  • 0ca48f7 Bevy 0.12 (#276)
  • 9e221f7 don't specify version for self dev dep
  • f8a8e0c fix deps for dev deps
  • 94e7144 Update rust.yml
  • 46ba7ad v0.16 prep
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] commented 4 months ago

Superseded by #59.