Skip to content

Commit

Permalink
docs: update to 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Henauxg committed Nov 7, 2024
1 parent 7bc0893 commit bfc3846
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
27 changes: 26 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
# Changelog

## Version 0.3.0 (2024-011-07)

### All crates

- Updated ghx_grid from 0.2.0 to 0.3.2: the generator is now generic over the grid trait
- Thanks to @c6p for the PR https://github.com/Henauxg/ghx_proc_gen/pull/2
- See the ghx_grid changelog here https://github.com/Henauxg/ghx_grid/blob/main/CHANGELOG.md

### `ghx_proc_gen` crate:

- Expose `ghx_grid` as public
- Enable `ghx_grid` `bevy` and `reflect` features when these features are enabled in `ghx_proc_gen`

### `bevy_ghx_proc_gen` crate:

- The bevy plugins are only implemented for `CartesianCoordinates`
- Enable `bevy/bevy_ui` when enabling the `debug-plugin` feature
- Enable `bevy_ghx_grid/reflect` when enabling the `reflect` feature

### Examples

- Update to use bevy_ghx_grid bundled within bevy_ghx_proc_gen

## Version 0.2.0 (2024-05-17)

- All crates updated to bevy 0.13
### All crates

- Updated to bevy 0.13

### `ghx_proc_gen` crate:

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Let's build a chessboard pattern:
2) Create a `GridDefinition`:
```rust
// Like a chessboard, let's do an 8x8 2d grid
let grid = GridDefinition::new_cartesian_2d(8, 8, false, false);
let grid = CartesianGrid::new_cartesian_2d(8, 8, false, false);
```

3) Create a `Generator` :
Expand All @@ -69,7 +69,7 @@ Let's build a chessboard pattern:
.with_rules(rules)
.with_grid(grid)
// Let's ensure that we make a chessboard, with a black square bottom-left
.with_initial_nodes(vec![(GridPosition::new_xy(0, 0), black_model)]).unwrap()
.with_initial_nodes(vec![(0, black_model)]).unwrap()
.build()
.unwrap();
```
Expand Down
2 changes: 1 addition & 1 deletion bevy_ghx_proc_gen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Compatibility with Bevy versions:

| ghx_proc_gen | bevy_ghx_proc_gen | bevy |
| :----------- | :---------------- | :--- |
| 0.2 | 0.2 | 0.13 |
| 0.2-0.3 | 0.2-0.3 | 0.13 |
| 0.1 | 0.1 | 0.12 |

# License
Expand Down

0 comments on commit bfc3846

Please sign in to comment.