diff --git a/content/learn/migration-guides/0.10-0.11/_index.md b/content/learn/migration-guides/0.10-0.11/_index.md index c02aee1be4..8a105e83a3 100644 --- a/content/learn/migration-guides/0.10-0.11/_index.md +++ b/content/learn/migration-guides/0.10-0.11/_index.md @@ -727,6 +727,60 @@ use bevy::ecs::reflect::AppTypeRegistry In `bevy_ecs`, `ReflectMapEntities::map_entites` now requires an additional `entities` parameter to specify which entities it applies to. To keep the old behavior, use the new `ReflectMapEntities::map_all_entities`, but consider if passing the entities in specifically might be better for your use case to avoid bugs. +### [Require `#[derive(Event)]` on all Events](https://github.com/bevyengine/bevy/pull/7086) + +
+ +Add the `#[derive(Event)]` macro for events. Third-party types used as events should be wrapped in a newtype. + +### [Fix boxed labels](https://github.com/bevyengine/bevy/pull/8436) + + + +The `ScheduleLabel` trait has been refactored to no longer depend on the traits `std::any::Any`, `bevy_utils::DynEq`, and `bevy_utils::DynHash`. +Any manual implementations will need to implement new trait methods instead. + +```rust +impl ScheduleLabel for MyType { + // 0.10 + fn dyn_clone(&self) -> Box