From 757a1ed81f80de5a102dc17136774b012e404b58 Mon Sep 17 00:00:00 2001 From: Aevyrie Date: Tue, 11 Jun 2024 23:51:36 -0700 Subject: [PATCH] 0.19.0 release (#336) --- CHANGELOG.md | 11 ++++++++++- Cargo.toml | 22 +++++++++++----------- README.md | 2 +- backends/bevy_picking_egui/Cargo.toml | 6 +++--- backends/bevy_picking_rapier/Cargo.toml | 4 ++-- backends/bevy_picking_raycast/Cargo.toml | 4 ++-- backends/bevy_picking_sprite/Cargo.toml | 4 ++-- backends/bevy_picking_ui/Cargo.toml | 4 ++-- backends/bevy_picking_xpbd/Cargo.toml | 4 ++-- crates/bevy_picking_core/Cargo.toml | 2 +- crates/bevy_picking_highlight/Cargo.toml | 6 +++--- crates/bevy_picking_input/Cargo.toml | 6 +++--- crates/bevy_picking_selection/Cargo.toml | 4 ++-- 13 files changed, 44 insertions(+), 35 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a33d66c5..a1c34914 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,17 @@ -# UNRELEASED +# 0.19.0 ## Fixes: - `HighlightPluginSettings::is_enabled` made public. +- `bevy_ui` nodes with zero sized rects are ignored to fix a false positive. +- Fixed touch pointer inputs being missed. + +## Additions: + +- Created a new `render_to_texture` example to showcase how to render viewport textures that support + picking. +- Added support for a range of compatible versions of egui and rapier, instead of being tied to a + specific version of these crates. # 0.18.0 diff --git a/Cargo.toml b/Cargo.toml index bea72f47..61270b36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_mod_picking" -version = "0.18.2 " +version = "0.19.0" authors = ["Aevyrie "] edition = "2021" license = "MIT OR Apache-2.0" @@ -39,16 +39,16 @@ bevy_rapier3d = { optional = true, version = ">=0.25, <=0.26" } bevy_xpbd_3d = { optional = true, version = "0.4" } # Local -bevy_picking_core = { path = "crates/bevy_picking_core", version = "0.18" } -bevy_picking_input = { path = "crates/bevy_picking_input", version = "0.18" } -bevy_picking_selection = { optional = true, path = "crates/bevy_picking_selection", version = "0.18" } -bevy_picking_highlight = { optional = true, path = "crates/bevy_picking_highlight", version = "0.18" } -bevy_picking_raycast = { optional = true, path = "backends/bevy_picking_raycast", version = "0.18" } -bevy_picking_ui = { optional = true, path = "backends/bevy_picking_ui", version = "0.18" } -bevy_picking_rapier = { optional = true, path = "backends/bevy_picking_rapier", version = "0.18" } -bevy_picking_sprite = { optional = true, path = "backends/bevy_picking_sprite", version = "0.18" } -bevy_picking_egui = { optional = true, path = "backends/bevy_picking_egui", version = "0.18" } -bevy_picking_xpbd = { optional = true, path = "backends/bevy_picking_xpbd", version = "0.18" } +bevy_picking_core = { path = "crates/bevy_picking_core", version = "0.19" } +bevy_picking_input = { path = "crates/bevy_picking_input", version = "0.19" } +bevy_picking_selection = { optional = true, path = "crates/bevy_picking_selection", version = "0.19" } +bevy_picking_highlight = { optional = true, path = "crates/bevy_picking_highlight", version = "0.19" } +bevy_picking_raycast = { optional = true, path = "backends/bevy_picking_raycast", version = "0.19" } +bevy_picking_ui = { optional = true, path = "backends/bevy_picking_ui", version = "0.19" } +bevy_picking_rapier = { optional = true, path = "backends/bevy_picking_rapier", version = "0.19" } +bevy_picking_sprite = { optional = true, path = "backends/bevy_picking_sprite", version = "0.19" } +bevy_picking_egui = { optional = true, path = "backends/bevy_picking_egui", version = "0.19" } +bevy_picking_xpbd = { optional = true, path = "backends/bevy_picking_xpbd", version = "0.19" } [dev-dependencies] bevy = { version = "0.13", default-features = false, features = [ diff --git a/README.md b/README.md index 1e0156f0..eb63657b 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ To learn more, [read the docs](https://docs.rs/bevy_mod_picking/latest/bevy_mod_ | bevy | bevy_mod_picking | | ---- | ---------------- | -| 0.13 | 0.18 | +| 0.13 | 0.18, 0.19 | | 0.12 | 0.17 | | 0.11 | 0.15, 0.16 | | 0.10 | 0.12, 0.13, 0.14 | diff --git a/backends/bevy_picking_egui/Cargo.toml b/backends/bevy_picking_egui/Cargo.toml index ca1c3a6b..975d4cc3 100644 --- a/backends/bevy_picking_egui/Cargo.toml +++ b/backends/bevy_picking_egui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_picking_egui" -version = "0.18.0" +version = "0.19.0" edition = "2021" authors = ["Aevyrie "] license = "MIT OR Apache-2.0" @@ -20,8 +20,8 @@ bevy_render = { version = "0.13", default-features = false } bevy_egui = "0.25" # Local -bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.18" } -bevy_picking_selection = { path = "../../crates/bevy_picking_selection", optional = true, version = "0.18" } +bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.19" } +bevy_picking_selection = { path = "../../crates/bevy_picking_selection", optional = true, version = "0.19" } [features] selection = ["bevy_picking_selection"] diff --git a/backends/bevy_picking_rapier/Cargo.toml b/backends/bevy_picking_rapier/Cargo.toml index 2e7659c3..de6ad29b 100644 --- a/backends/bevy_picking_rapier/Cargo.toml +++ b/backends/bevy_picking_rapier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_picking_rapier" -version = "0.18.0" +version = "0.19.0" edition = "2021" authors = ["Aevyrie "] license = "MIT OR Apache-2.0" @@ -22,4 +22,4 @@ bevy_window = { version = "0.13", default-features = false } bevy_rapier3d = "0.25" # Local -bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.18" } +bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.19" } diff --git a/backends/bevy_picking_raycast/Cargo.toml b/backends/bevy_picking_raycast/Cargo.toml index 45033bb3..5e4234bb 100644 --- a/backends/bevy_picking_raycast/Cargo.toml +++ b/backends/bevy_picking_raycast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_picking_raycast" -version = "0.18.0" +version = "0.19.0" edition = "2021" authors = ["Aevyrie "] license = "MIT OR Apache-2.0" @@ -22,4 +22,4 @@ bevy_window = { version = "0.13", default-features = false } bevy_mod_raycast = { version = "0.17.0" } # Local -bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.18" } +bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.19" } diff --git a/backends/bevy_picking_sprite/Cargo.toml b/backends/bevy_picking_sprite/Cargo.toml index 70ca0a07..25ef24c0 100644 --- a/backends/bevy_picking_sprite/Cargo.toml +++ b/backends/bevy_picking_sprite/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_picking_sprite" -version = "0.18.0" +version = "0.19.0" edition = "2021" authors = ["Aevyrie "] license = "MIT OR Apache-2.0" @@ -22,4 +22,4 @@ bevy_sprite = { version = "0.13", default-features = false } bevy_transform = { version = "0.13", default-features = false } bevy_window = { version = "0.13", default-features = false } # Local -bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.18" } +bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.19" } diff --git a/backends/bevy_picking_ui/Cargo.toml b/backends/bevy_picking_ui/Cargo.toml index 5bc99bf3..ccd117a1 100644 --- a/backends/bevy_picking_ui/Cargo.toml +++ b/backends/bevy_picking_ui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_picking_ui" -version = "0.18.0" +version = "0.19.0" edition = "2021" authors = ["Aevyrie "] license = "MIT OR Apache-2.0" @@ -24,4 +24,4 @@ bevy_utils = { version = "0.13", default-features = false } bevy_math = { version = "0.13", default-features = false } # Local -bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.18" } +bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.19" } diff --git a/backends/bevy_picking_xpbd/Cargo.toml b/backends/bevy_picking_xpbd/Cargo.toml index 4dad9b33..b742e382 100644 --- a/backends/bevy_picking_xpbd/Cargo.toml +++ b/backends/bevy_picking_xpbd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_picking_xpbd" -version = "0.18.0" +version = "0.19.0" edition = "2021" authors = ["Aevyrie , Affinator"] license = "MIT OR Apache-2.0" @@ -24,4 +24,4 @@ bevy_window = { version = "0.13", default-features = false } bevy_xpbd_3d = "0.4" # Local -bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.18" } +bevy_picking_core = { path = "../../crates/bevy_picking_core", version = "0.19" } diff --git a/crates/bevy_picking_core/Cargo.toml b/crates/bevy_picking_core/Cargo.toml index 442e0efe..3cd92b9a 100644 --- a/crates/bevy_picking_core/Cargo.toml +++ b/crates/bevy_picking_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_picking_core" -version = "0.18.0" +version = "0.19.0" edition = "2021" authors = ["Aevyrie "] license = "MIT OR Apache-2.0" diff --git a/crates/bevy_picking_highlight/Cargo.toml b/crates/bevy_picking_highlight/Cargo.toml index a899e290..1658cfdd 100644 --- a/crates/bevy_picking_highlight/Cargo.toml +++ b/crates/bevy_picking_highlight/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_picking_highlight" -version = "0.18.0" +version = "0.19.0" edition = "2021" authors = ["Aevyrie "] license = "MIT OR Apache-2.0" @@ -21,8 +21,8 @@ bevy_render = { version = "0.13", optional = true, default-features = false } bevy_pbr = { version = "0.13", optional = true, default-features = false } bevy_sprite = { version = "0.13", optional = true, default-features = false } -bevy_picking_core = { path = "../bevy_picking_core", version = "0.18" } -bevy_picking_selection = { optional = true, path = "../bevy_picking_selection", version = "0.18" } +bevy_picking_core = { path = "../bevy_picking_core", version = "0.19" } +bevy_picking_selection = { optional = true, path = "../bevy_picking_selection", version = "0.19" } [features] selection = ["bevy_picking_selection"] diff --git a/crates/bevy_picking_input/Cargo.toml b/crates/bevy_picking_input/Cargo.toml index 427a5fad..c6dd81a0 100644 --- a/crates/bevy_picking_input/Cargo.toml +++ b/crates/bevy_picking_input/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_picking_input" -version = "0.18.0" +version = "0.19.0" edition = "2021" authors = ["Aevyrie "] license = "MIT OR Apache-2.0" @@ -23,8 +23,8 @@ bevy_render = { version = "0.13", default-features = false } bevy_utils = { version = "0.13", default-features = false } bevy_window = { version = "0.13", default-features = false } -bevy_picking_core = { path = "../bevy_picking_core", version = "0.18" } -bevy_picking_selection = { optional = true, path = "../bevy_picking_selection", version = "0.18" } +bevy_picking_core = { path = "../bevy_picking_core", version = "0.19" } +bevy_picking_selection = { optional = true, path = "../bevy_picking_selection", version = "0.19" } [features] selection = ["bevy_picking_selection"] diff --git a/crates/bevy_picking_selection/Cargo.toml b/crates/bevy_picking_selection/Cargo.toml index ce6f9f4b..1b34fe23 100644 --- a/crates/bevy_picking_selection/Cargo.toml +++ b/crates/bevy_picking_selection/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_picking_selection" -version = "0.18.0" +version = "0.19.0" edition = "2021" authors = ["Aevyrie "] license = "MIT OR Apache-2.0" @@ -21,4 +21,4 @@ bevy_utils = { version = "0.13", default-features = false } bevy_eventlistener = "0.7" -bevy_picking_core = { path = "../bevy_picking_core", version = "0.18" } +bevy_picking_core = { path = "../bevy_picking_core", version = "0.19" }