From e517928d1922e5345b3a788dcfa9b019056468be Mon Sep 17 00:00:00 2001 From: AlephCubed Date: Thu, 25 Sep 2025 13:16:30 -0700 Subject: [PATCH 1/4] Fixed error in README. If compiled, it would complain about `Speed` not implementing `Default`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4953c3a..ab93b23 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ struct MyPlugin; // `StatContainer` derive hooks into the existing `auto_component` and `auto_resource` macros. #[derive(StatContainer, Component, Resource)] #[auto_component(plugin = MyPlugin)] // Adds `reset_component_modifiers` system. -#[auto_init_resource(plugin = MyPlugin)] // Adds `reset_resource_modifiers` system. +#[auto_resource(plugin = MyPlugin)] // Adds `reset_resource_modifiers` system. struct Speed(Stat); ``` From 217419aa911b42be93390944b24a624b41f4d448 Mon Sep 17 00:00:00 2001 From: AlephCubed Date: Thu, 25 Sep 2025 13:26:04 -0700 Subject: [PATCH 2/4] Updated Bevy compatibility table. --- README.md | 2 +- immediate_stats/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ab93b23..14bad67 100644 --- a/README.md +++ b/README.md @@ -72,4 +72,4 @@ struct Speed(Stat); ### Version Compatibility | Bevy | Immediate Stats | |--------|-----------------| -| `0.16` | `0.1` | \ No newline at end of file +| `0.16` | `0.1` - `0.2` | \ No newline at end of file diff --git a/immediate_stats/src/lib.rs b/immediate_stats/src/lib.rs index 2fcb2b4..a97146a 100644 --- a/immediate_stats/src/lib.rs +++ b/immediate_stats/src/lib.rs @@ -78,7 +78,7 @@ //! ### Version Compatibility //! | Bevy | Immediate Stats | //! |--------|-----------------| -//! | `0.16` | `0.1` | +//! | `0.16` | `0.1` - `0.2` | #[cfg(feature = "bevy")] mod bevy; From f92c6a51ba225d96c33d4a531a7ba048af053819 Mon Sep 17 00:00:00 2001 From: AlephCubed Date: Thu, 25 Sep 2025 14:16:03 -0700 Subject: [PATCH 3/4] Change example to reference Auto Plugin instead of Butler. --- immediate_stats/examples/simple_bevy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/immediate_stats/examples/simple_bevy.rs b/immediate_stats/examples/simple_bevy.rs index df4d63a..a46c92f 100644 --- a/immediate_stats/examples/simple_bevy.rs +++ b/immediate_stats/examples/simple_bevy.rs @@ -1,5 +1,5 @@ //! A very simple example using Bevy. Requires the `bevy` feature flag. -//! There are two other versions of this example, one using a simple main loop and the other using Bevy Butler. +//! There are two other versions of this example, one using a simple main loop and the other using Bevy Auto Plugin. use bevy::prelude::*; use immediate_stats::*; From f2c084a6fc6b89b0f7763d13299275d16f9dc467 Mon Sep 17 00:00:00 2001 From: AlephCubed Date: Thu, 25 Sep 2025 14:18:23 -0700 Subject: [PATCH 4/4] Updated version number. --- Cargo.lock | 4 ++-- immediate_stats/Cargo.toml | 4 ++-- immediate_stats_macros/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7498b4d..9658933 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1003,7 +1003,7 @@ checksum = "cd62e6b5e86ea8eeeb8db1de02880a6abc01a397b2ebb64b5d74ac255318f5cb" [[package]] name = "immediate_stats" -version = "0.2.0-beta.1" +version = "0.2.0" dependencies = [ "bevy", "bevy-butler", @@ -1016,7 +1016,7 @@ dependencies = [ [[package]] name = "immediate_stats_macros" -version = "0.2.0-beta.1" +version = "0.2.0" dependencies = [ "darling", "proc-macro-error", diff --git a/immediate_stats/Cargo.toml b/immediate_stats/Cargo.toml index 85e39f3..3c2f268 100644 --- a/immediate_stats/Cargo.toml +++ b/immediate_stats/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "immediate_stats" -version = "0.2.0-beta.1" +version = "0.2.0" edition = "2024" description = "Game stats that reset every frame, inspired by immediate mode GUI." categories = ["game-development", "data-structures"] @@ -37,7 +37,7 @@ bevy_ecs = { version = "0.16.0", default-features = false, optional = true, feat "bevy_reflect", ] } bevy_reflect = { version = "0.16.0", default-features = false, optional = true } -immediate_stats_macros = { path = "../immediate_stats_macros", version = "0.2.0-beta.1", default-features = false } +immediate_stats_macros = { path = "../immediate_stats_macros", version = "0.2.0", default-features = false } [dev-dependencies] bevy = { version = "0.16.0", default-features = false } diff --git a/immediate_stats_macros/Cargo.toml b/immediate_stats_macros/Cargo.toml index b0dce81..e74b423 100644 --- a/immediate_stats_macros/Cargo.toml +++ b/immediate_stats_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "immediate_stats_macros" -version = "0.2.0-beta.1" +version = "0.2.0" edition = "2024" description = "Game stats that reset every frame, inspired by immediate mode GUI." categories = ["game-development", "data-structures"]