diff --git a/CHANGELOG.md b/CHANGELOG.md index c1e9b9a..a95493a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v0.10.0 - 18.02.2024 +- Update to Bevy 0.13 + ## v0.9.1 - 17.01.2024 - CsvAssetPlugin supports configuring the delimiter with `with_delimiter` diff --git a/Cargo.toml b/Cargo.toml index 691b8c7..02db4e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bevy_common_assets" -version = "0.9.1" +version = "0.10.0" authors = ["Niklas Eicker "] edition = "2021" license = "MIT OR Apache-2.0" @@ -22,7 +22,7 @@ xml = ["dep:quick-xml"] csv = ["dep:csv"] [dependencies] -bevy = { version = "0.12", default-features = false, features = ["bevy_asset"] } +bevy = { version = "0.13", default-features = false, features = ["bevy_asset"] } serde_toml = { version = "0.8", package = "toml", optional = true } serde_ron = { version = "0.8", package = "ron", optional = true } serde_yaml = { version = "0.9", optional = true } @@ -35,7 +35,7 @@ serde = { version = "1" } anyhow = { version = "1" } [dev-dependencies] -bevy = { version = "0.12" } +bevy = { version = "0.13" } serde = { version = "1" } [package.metadata.docs.rs] diff --git a/README.md b/README.md index 31c408d..1118b87 100644 --- a/README.md +++ b/README.md @@ -76,13 +76,14 @@ Compatibility of `bevy_common_assets` versions: | `bevy_common_assets` | `bevy` | |:---------------------|:-------| +| `0.10` | `0.13` | | `0.8` - `0.9` | `0.12` | | `0.7` | `0.11` | | `0.5` - `0.6` | `0.10` | | `0.4` | `0.9` | | `0.3` | `0.8` | | `0.1` - `0.2` | `0.7` | -| `main` | `0.12` | +| `main` | `0.13` | | `bevy_main` | `main` | ## License diff --git a/examples/csv.rs b/examples/csv.rs index ed9bec0..7f34c6b 100644 --- a/examples/csv.rs +++ b/examples/csv.rs @@ -10,7 +10,7 @@ fn main() { CsvAssetPlugin::::new(&["level.csv"]), )) .insert_resource(Msaa::Off) - .add_state::() + .init_state::() .add_systems(Startup, setup) .add_systems(Update, spawn_level.run_if(in_state(AppState::Loading))) .run() diff --git a/examples/json.rs b/examples/json.rs index ba38f20..d4a1fc9 100644 --- a/examples/json.rs +++ b/examples/json.rs @@ -9,7 +9,7 @@ fn main() { JsonAssetPlugin::::new(&["level.json"]), )) .insert_resource(Msaa::Off) - .add_state::() + .init_state::() .add_systems(Startup, setup) .add_systems(Update, spawn_level.run_if(in_state(AppState::Loading))) .run() diff --git a/examples/msgpack.rs b/examples/msgpack.rs index 297ec30..e788bc5 100644 --- a/examples/msgpack.rs +++ b/examples/msgpack.rs @@ -9,7 +9,7 @@ fn main() { MsgPackAssetPlugin::::new(&["level.msgpack"]), )) .insert_resource(Msaa::Off) - .add_state::() + .init_state::() .add_systems(Startup, setup) .add_systems(Update, spawn_level.run_if(in_state(AppState::Loading))) .run() diff --git a/examples/multiple_formats.rs b/examples/multiple_formats.rs index 6f7a6e4..827ea60 100644 --- a/examples/multiple_formats.rs +++ b/examples/multiple_formats.rs @@ -14,7 +14,7 @@ fn main() { JsonAssetPlugin::::new(&["level.json"]), )) .insert_resource(Msaa::Off) - .add_state::() + .init_state::() .add_systems(Startup, setup) .add_systems(Update, check_loading.run_if(in_state(AppState::Loading))) .add_systems(OnEnter(AppState::Level), spawn_level) diff --git a/examples/ron.rs b/examples/ron.rs index 502cf3e..35e1669 100644 --- a/examples/ron.rs +++ b/examples/ron.rs @@ -6,7 +6,7 @@ fn main() { App::new() .add_plugins((DefaultPlugins, RonAssetPlugin::::new(&["level.ron"]))) .insert_resource(Msaa::Off) - .add_state::() + .init_state::() .add_systems(Startup, setup) .add_systems(Update, spawn_level.run_if(in_state(AppState::Loading))) .run() diff --git a/examples/toml.rs b/examples/toml.rs index f08d88d..618d200 100644 --- a/examples/toml.rs +++ b/examples/toml.rs @@ -9,7 +9,7 @@ fn main() { TomlAssetPlugin::::new(&["level.toml"]), )) .insert_resource(Msaa::Off) - .add_state::() + .init_state::() .add_systems(Startup, setup) .add_systems(Update, spawn_level.run_if(in_state(AppState::Loading))) .run() diff --git a/examples/xml.rs b/examples/xml.rs index 821efef..6033f30 100644 --- a/examples/xml.rs +++ b/examples/xml.rs @@ -7,7 +7,7 @@ fn main() { App::new() .add_plugins((DefaultPlugins, XmlAssetPlugin::::new(&["level.xml"]))) .insert_resource(Msaa::Off) - .add_state::() + .init_state::() .add_systems(Startup, setup) .add_systems(Update, spawn_level.run_if(in_state(AppState::Loading))) .run() diff --git a/examples/yaml.rs b/examples/yaml.rs index 59f9f49..72866b1 100644 --- a/examples/yaml.rs +++ b/examples/yaml.rs @@ -9,7 +9,7 @@ fn main() { YamlAssetPlugin::::new(&["level.yaml"]), )) .insert_resource(Msaa::Off) - .add_state::() + .init_state::() .add_systems(Startup, setup) .add_systems(Update, spawn_level.run_if(in_state(AppState::Loading))) .run() diff --git a/src/lib.rs b/src/lib.rs index e4bdf68..a81644a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -40,7 +40,7 @@ //! struct LevelAsset(Handle); //! //! # fn stop(mut events: EventWriter) { -//! # events.send(AppExit) +//! # events.send(AppExit); //! # } //! ```