Skip to content

Commit

Permalink
Merge pull request #209 from lgrossi/lucas/bump-0.20.1
Browse files Browse the repository at this point in the history
feat: bump minor version 0.20.1
  • Loading branch information
NiklasEi committed Apr 13, 2024
2 parents fce89e2 + 1d1fb0d commit 2bdc536
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

- new map key type `AssetLabel` that creates an asset map using the label as the key

## v0.20.1 - 08.04.2024
- introduces the ability to load and build collections of dynamic assets (resolves [#186](https://github.com/NiklasEi/bevy_asset_loader/issues/186))

## v0.20.0 - 18.02.2024
- update to Bevy 0.13
- support any type implementing the new trait `MapKey` as keys for mapped assets (resolves [#153](https://github.com/NiklasEi/bevy_asset_loader/issues/153))
Expand Down
4 changes: 2 additions & 2 deletions bevy_asset_loader/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_asset_loader"
version = "0.20.0"
version = "0.20.1"
authors = ["Niklas Eicker <git@nikl.me>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand All @@ -23,7 +23,7 @@ progress_tracking = ["dep:iyes_progress"]

[dependencies]
bevy = { version = "0.13", default-features = false, features = ["bevy_asset"] }
bevy_asset_loader_derive = { version = "=0.20.0", path = "../bevy_asset_loader_derive" }
bevy_asset_loader_derive = { version = "=0.20.1", path = "../bevy_asset_loader_derive" }
anyhow = "1"
path-slash = "0.2"

Expand Down
8 changes: 6 additions & 2 deletions bevy_asset_loader/examples/configure_loading_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,15 @@ struct ImageAssets {
}

#[derive(Resource)]
struct ExampleResource(&'static str);
struct ExampleResource {
_resource: &'static str,
}

impl FromWorld for ExampleResource {
fn from_world(_world: &mut World) -> Self {
ExampleResource("You could use the ECS World here!")
ExampleResource {
_resource: "You could use the ECS World here!",
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion bevy_asset_loader/tests/ui/no_default.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0277]: the trait bound `NoDefault: std::default::Default` is not satisfie
--> tests/ui/no_default.rs:8:5
|
8 | no_default: NoDefault,
| ^^^^^^^^^^ the trait `std::default::Default` is not implemented for `NoDefault`
| ^^^^^^^^^^ the trait `std::default::Default` is not implemented for `NoDefault`, which is required by `NoDefault: FromWorld`
|
= help: the following other types implement trait `FromWorld`:
CASNode
Expand Down
2 changes: 1 addition & 1 deletion bevy_asset_loader_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_asset_loader_derive"
version = "0.20.0"
version = "0.20.1"
authors = ["Niklas Eicker <git@nikl.me>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down

0 comments on commit 2bdc536

Please sign in to comment.