Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Bevy 0.13 #27

Merged
merged 5 commits into from Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,12 @@

Notable user-facing changes with each release version will be described in this file.


## [0.11.0]: 2023-02-18

### Changed
- Bevy 0.13 compatibility

## [0.10.0]: 2023-11-7

### Changed
Expand Down
14 changes: 7 additions & 7 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "iyes_progress"
version = "0.10.0"
version = "0.11.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -10,11 +10,11 @@ categories = ["game-engines"]
description = "Bevy plugin to help implement loading states"

[dependencies]
bevy_ecs = { version = "0.12" }
bevy_app = { version = "0.12" }
bevy_asset = { version = "0.12", optional = true }
bevy_log = { version = "0.12", optional = true }
bevy_utils = { version = "0.12" }
bevy_ecs = { version = "0.13" }
bevy_app = { version = "0.13" }
bevy_asset = { version = "0.13", optional = true }
bevy_log = { version = "0.13", optional = true }
bevy_utils = { version = "0.13" }

[features]
# Support for simple tracking of asset loading
Expand All @@ -23,7 +23,7 @@ assets = ["bevy_asset"]
debug = ["bevy_log"]

[dev-dependencies]
bevy = { version = "0.12" }
bevy = { version = "0.13" }

[[example]]
name = "full"
Expand Down
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -11,7 +11,8 @@ Bevy Compatibility:
| Bevy Version | Plugin Version |
|--------------|----------------------|
| `main` | `bevy_main` |
| `0.12` | `main` |
| `0.13` | `main` |
| `0.13` | `0.11` |
| `0.12` | `0.10` |
| `0.11` | `0.9` |
| `0.10` | `0.8` |
Expand Down
2 changes: 1 addition & 1 deletion examples/dummy.rs
Expand Up @@ -15,7 +15,7 @@ fn main() {
// Init bevy
.add_plugins(DefaultPlugins)
// Add our state type
.add_state::<AppState>()
.init_state::<AppState>()
.add_plugins(
ProgressPlugin::new(AppState::Loading)
.continue_to(AppState::MainMenu)
Expand Down
2 changes: 1 addition & 1 deletion examples/full.rs
Expand Up @@ -17,7 +17,7 @@ fn main() {
// Init bevy
.add_plugins(DefaultPlugins)
// Add our state type
.add_state::<AppState>()
.init_state::<AppState>()
// Add plugin for the splash screen
.add_plugins(
ProgressPlugin::new(AppState::Splash)
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -164,7 +164,7 @@ pub struct HiddenProgress(pub Progress);
/// # use bevy::prelude::*;
/// # use iyes_progress::ProgressPlugin;
/// # let mut app = App::default();
/// # app.add_state::<MyState>();
/// # app.init_state::<MyState>();
/// app.add_plugins((
/// ProgressPlugin::new(MyState::GameLoading)
/// .continue_to(MyState::InGame),
Expand Down