From bb71d8843d1897c3a6ae8040260b0f844a1d6251 Mon Sep 17 00:00:00 2001 From: Nilirad Date: Tue, 29 Oct 2024 16:48:08 +0100 Subject: [PATCH] Adapt changes to `bevy v0.15.0-rc.2` --- CHANGELOG.md | 5 +++++ Cargo.toml | 8 ++++---- examples/dynamic_shape.rs | 11 +++++------ examples/path.rs | 9 +++------ examples/readme.rs | 3 +-- examples/rounded_polygon.rs | 3 +-- examples/svg.rs | 22 ++++++++-------------- src/entity.rs | 14 ++++++++------ src/plugin.rs | 3 +-- 9 files changed, 36 insertions(+), 42 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ce313b..33700b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # Changelog + +## 0.13.0-rc.1 +- Support for Bevy 0.15.0-rc.2. +- Removed deprecated `SpatialBundle` from `ShapeBundle`: `Transform` and `Visibility` are now added separately. + ## 0.12.0 - Support for Bevy 0.14. diff --git a/Cargo.toml b/Cargo.toml index 173d2f0..41f6139 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,12 +8,12 @@ license = "MIT OR Apache-2.0" name = "bevy_prototype_lyon" readme = "README.md" repository = "https://github.com/Nilirad/bevy_prototype_lyon/" -version = "0.12.0" +version = "0.13.0-rc.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bevy = { version = "0.14", default-features = false, features = [ +bevy = { version = "0.15.0-rc.2", default-features = false, features = [ "bevy_sprite", "bevy_render", "bevy_core_pipeline", @@ -21,10 +21,10 @@ bevy = { version = "0.14", default-features = false, features = [ ] } lyon_tessellation = "1" lyon_algorithms = "1" -svgtypes = "0.12" +svgtypes = "0.15" [dev-dependencies] -bevy = { version = "0.14", default-features = false, features = [ +bevy = { version = "0.15.0-rc.2", default-features = false, features = [ "x11", "bevy_asset", ] } diff --git a/examples/dynamic_shape.rs b/examples/dynamic_shape.rs index 3e9b741..a272f62 100644 --- a/examples/dynamic_shape.rs +++ b/examples/dynamic_shape.rs @@ -5,7 +5,6 @@ use bevy_prototype_lyon::prelude::*; fn main() { App::new() - .insert_resource(Msaa::Sample4) .add_plugins((DefaultPlugins, ShapePlugin)) .add_systems(Startup, setup_system) .add_systems(Update, change_draw_mode_system) @@ -18,7 +17,7 @@ fn main() { struct ExampleShape; fn rotate_shape_system(mut query: Query<&mut Transform, With>, time: Res