Skip to content

Commit ecbc544

Browse files
committed
Release 0.11.0
1 parent 8348a6a commit ecbc544

File tree

4 files changed

+19
-18
lines changed

4 files changed

+19
-18
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Changelog
22

3-
## [unreleased]
3+
## [0.11.0] - 2023-07-18
44

55
### Changed
66
- Updated `bevy` to 0.11.
77
- Updated `pixels` to 0.12.
88
- Replaced `PixelsSet` with custom `Draw` and `Render` schedules defined in
9-
`bevy_pixels::schedule`.
9+
`bevy_pixels::schedule` and re-exported in `bevy_pixels::prelude`.
1010

1111
## [0.10.0] - 2023-05-01
1212

@@ -118,7 +118,8 @@
118118

119119
Initial release.
120120

121-
[unreleased]: https://github.com/dtcristo/bevy_pixels/compare/v0.10.0...HEAD
121+
[unreleased]: https://github.com/dtcristo/bevy_pixels/compare/v0.11.0...HEAD
122+
[0.11.0]: https://github.com/dtcristo/bevy_pixels/releases/tag/v0.11.0
122123
[0.10.0]: https://github.com/dtcristo/bevy_pixels/releases/tag/v0.10.0
123124
[0.9.0]: https://github.com/dtcristo/bevy_pixels/releases/tag/v0.9.0
124125
[0.8.0]: https://github.com/dtcristo/bevy_pixels/releases/tag/v0.8.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "bevy_pixels"
33
description = "Bevy plugin that uses Pixels (a tiny pixel buffer) for rendering"
4-
version = "0.10.0"
4+
version = "0.11.0"
55
authors = ["David Cristofaro <[email protected]>"]
66
edition = "2021"
77
license = "MIT OR Apache-2.0"

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Add `bevy` and `bevy_pixels` to `Cargo.toml`. Be sure to disable `bevy`'s `rende
2929

3030
```toml
3131
[dependencies]
32-
bevy = { version = "0.10", default_features = false }
33-
bevy_pixels = "0.10"
32+
bevy = { version = "0.11", default_features = false }
33+
bevy_pixels = "0.11"
3434
```
3535

3636
Add `PixelsPlugin` to your Bevy project.
@@ -41,11 +41,10 @@ use bevy_pixels::prelude::*;
4141

4242
fn main() {
4343
App::new()
44-
.add_plugins(DefaultPlugins)
45-
.add_plugin(PixelsPlugin::default())
46-
// Add systems that draw to the buffer in `PixelsSet::Draw` set (or before)
44+
.add_plugins((DefaultPlugins, PixelsPlugin::default()))
45+
// Add systems that draw to the buffer to `Draw` schedule
4746
// to ensure they are rendered in the current frame.
48-
.add_system(draw.in_set(PixelsSet::Draw))
47+
.add_systems(Draw, draw)
4948
.run();
5049
}
5150
```
@@ -69,14 +68,15 @@ fn draw(mut wrapper_query: Query<&mut PixelsWrapper>) {
6968

7069
| bevy_pixels | bevy | pixels |
7170
| ----------- | ----- | ------ |
72-
| 0.1 | 0.5 | 0.3 |
73-
| 0.2 | 0.5 | 0.8 |
74-
| 0.3-0.4 | 0.6 | 0.9 |
75-
| 0.5 | 0.7 | 0.9 |
76-
| 0.6 | 0.8 | 0.10 |
77-
| 0.7 | 0.9 | 0.10 |
78-
| 0.8 | 0.9 | 0.11 |
71+
| 0.11 | 0.11 | 0.13 |
7972
| 0.9-0.10 | 0.10 | 0.12 |
73+
| 0.8 | 0.9 | 0.11 |
74+
| 0.7 | 0.9 | 0.10 |
75+
| 0.6 | 0.8 | 0.10 |
76+
| 0.5 | 0.7 | 0.9 |
77+
| 0.3-0.4 | 0.6 | 0.9 |
78+
| 0.2 | 0.5 | 0.8 |
79+
| 0.1 | 0.5 | 0.3 |
8080

8181
## Examples
8282

examples/minimal/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fn main() {
55
App::new()
66
.add_plugins((DefaultPlugins, PixelsPlugin::default()))
77
.add_systems(Update, bevy::window::close_on_esc)
8-
// Add systems that draw to the buffer in `Draw` schedule
8+
// Add systems that draw to the buffer to `Draw` schedule
99
// to ensure they are rendered in the current frame.
1010
.add_systems(Draw, draw)
1111
.run();

0 commit comments

Comments
 (0)