Skip to content

Commit

Permalink
0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ManevilleF committed Jul 12, 2023
1 parent 9f51687 commit a4d60ca
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# Changelog

## Unreleased
## [Unreleased]

## 0.8.0

* Added automatic `CellMap` update on `Cell` component removal
* Native `CellState` code cleanup
* (**BREAKING**) `CellMap` insertion and dynamic update is now optional and disabled
by default
* Performance improvements
* (**BREAKING**) `CellState::new_cell_state` now takes an iterator instead of a slice
* Bump `bevy` to 0.11

## 0.7.0

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_life"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
authors = ["Felix de Maneville <[email protected]>"]
license-file = "./LICENSE"
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)
[![Crates.io](https://img.shields.io/crates/v/bevy_life.svg)](https://crates.io/crates/bevy_life)
[![Docs.rs](https://docs.rs/bevy_life/badge.svg)](https://docs.rs/bevy_life)
[![dependency status](https://deps.rs/crate/bevy_life/0.7.0/status.svg)](https://deps.rs/crate/bevy_life)
[![dependency status](https://deps.rs/crate/bevy_life/0.8.0/status.svg)](https://deps.rs/crate/bevy_life)

<!-- cargo-sync-readme start -->

Expand All @@ -28,7 +28,8 @@
| 0.4.x | 0.7.x |
| 0.5.x | 0.8.x |
| 0.6.x | 0.9.x |
| 0.7.x | 0.10.x |
| 0.7.x | 0.10.x |
| 0.8.x | 0.11.x |

## How to use

Expand Down
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
//! | 0.4.x | 0.7.x |
//! | 0.5.x | 0.8.x |
//! | 0.6.x | 0.9.x |
//! | 0.7.x | 0.10.x |
//! | 0.7.x | 0.10.x |
//! | 0.8.x | 0.11.x |
//!
//! ## How to use
//!
Expand Down Expand Up @@ -177,7 +178,7 @@ impl<C: Cell, S: CellState> Plugin for CellularAutomatonPlugin<C, S> {
}
if let Some(time_step) = self.tick_time_step {
let duration = Duration::from_secs_f64(time_step);
app.add_systems(FixedUpdate, handle_cells::<C, S>.run_if(on_timer(duration)));
app.add_systems(Update, handle_cells::<C, S>.run_if(on_timer(duration)));
} else {
app.add_systems(Update, handle_cells::<C, S>);
}
Expand Down

0 comments on commit a4d60ca

Please sign in to comment.