bevy/crates
BD103 b298d25414
Fix bevy_picking plugin suffixes (#16082)
# Objective

- `MeshPickingBackend` and `SpritePickingBackend` do not have the
`Plugin` suffix
- `DefaultPickingPlugins` is masquerading as a `Plugin` when in reality
it should be a `PluginGroup`
- Fixes #16081.

## Solution

- Rename some structures:

|Original Name|New Name|
|-|-|
|`MeshPickingBackend`|`MeshPickingPlugin`|
|`MeshPickingBackendSettings`|`MeshPickingSettings`|
|`SpritePickingBackend`|`SpritePickingPlugin`|
|`UiPickingBackendPlugin`|`UiPickingPlugin`|

- Make `DefaultPickingPlugins` a `PluginGroup`.
- Because `DefaultPickingPlugins` is within the `DefaultPlugins` plugin
group, I also added support for nested plugin groups to the
`plugin_group!` macro.

## Testing

- I used ripgrep to ensure all references were properly renamed.
- For the `plugin_group!` macro, I used `cargo expand` to manually
inspect the expansion of `DefaultPlugins`.

---

## Migration Guide

> [!NOTE]
>
> All 3 of the changed structures were added after 0.14, so this does
not need to be included in the 0.14 to 0.15 migration guide.

- `MeshPickingBackend` is now named `MeshPickingPlugin`.
- `MeshPickingBackendSettings` is now named `MeshPickingSettings`.
- `SpritePickingBackend` is now named `SpritePickingPlugin`.
- `UiPickingBackendPlugin` is now named `UiPickingPlugin`.
- `DefaultPickingPlugins` is now a a `PluginGroup` instead of a
`Plugin`.
2024-10-27 21:17:18 +01:00
..
bevy_a11y Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_animation Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_app Fix bevy_picking plugin suffixes (#16082) 2024-10-27 21:17:18 +01:00
bevy_asset Add AsyncSeekForwardExt trait to allows a similar API to the previous Bevy version (#16027) 2024-10-27 21:17:18 +01:00
bevy_audio Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_color Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_core Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_core_pipeline Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_derive Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_dev_tools Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_diagnostic Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_dylib Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_ecs Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_encase_derive Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_gilrs Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_gizmos Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_gltf Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_hierarchy Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_image Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_input Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_internal Fix bevy_picking plugin suffixes (#16082) 2024-10-27 21:17:18 +01:00
bevy_log Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_macro_utils Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_math Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_mesh Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_mikktspace Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_pbr Place percentage-closer soft shadows behind a feature gate to save on samplers. (#16068) 2024-10-25 01:49:30 +02:00
bevy_picking Fix bevy_picking plugin suffixes (#16082) 2024-10-27 21:17:18 +01:00
bevy_ptr Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_reflect Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_remote Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_render Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_scene Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_sprite Fix bevy_picking plugin suffixes (#16082) 2024-10-27 21:17:18 +01:00
bevy_state Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_tasks Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_text Use CosmicFontSystem in public bevy_text APIs and remove cosmic_text re-export (#16063) 2024-10-24 23:33:23 +02:00
bevy_time Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_transform Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_ui Fix bevy_picking plugin suffixes (#16082) 2024-10-27 21:17:18 +01:00
bevy_utils Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_window Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_winit Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00