diff --git a/content/news/2024-02-17-bevy-0.13/index.md b/content/news/2024-02-17-bevy-0.13/index.md index e71abf0075..4ebb5a7232 100644 --- a/content/news/2024-02-17-bevy-0.13/index.md +++ b/content/news/2024-02-17-bevy-0.13/index.md @@ -1851,7 +1851,7 @@ For a complete list of changes, check out the PRs listed below. * [derive asset for enums][10410] * [Ensure consistency between Un/Typed `AssetId` and `Handle`][10628] * [Fix Asset Loading Bug][10698] -* [remove double-hasing of typeid for handle][10699] +* [remove double-hashing of typeid for handle][10699] * [AssetMetaMode][10623] * [Fix GLTF scene dependencies and make full scene renders predictable][10745] * [Print precise and correct watch warnings (and only when necessary)][10787] @@ -2280,7 +2280,7 @@ For a complete list of changes, check out the PRs listed below. * [Minimize small allocations by dropping the tick Vecs from Resources][11226] * [Change Entity::generation from u32 to NonZeroU32 for niche optimization][9907] * [fix B0003 example and update logs][11162] -* [Unified identifer for entities & relations][9797] +* [Unified identifier for entities & relations][9797] * [Simplify conditions][11316] * [Add example using `State` in docs][11319] * [Skip rehashing TypeIds][11268] @@ -2428,7 +2428,7 @@ For a complete list of changes, check out the PRs listed below. ### A-Core * [Derive `Debug` for `Framecount`][11573] -* [Don't unconditionally enable bevy_render or bevy_assets if mutli-threaded feature is enabled][11726] +* [Don't unconditionally enable bevy_render or bevy_assets if multi-threaded feature is enabled][11726] ### A-Windowing @@ -2539,7 +2539,7 @@ For a complete list of changes, check out the PRs listed below. * [Remove unnecessary parentheses][10990] * [Replace deprecated elements][10999] * [Simplify equality assertions][10988] -* [Add Solus package requrements to linux_dependencies.md][10996] +* [Add Solus package requirements to linux_dependencies.md][10996] * [Update base64 requirement from 0.13.0 to 0.21.5][10336] * [Update sysinfo version to 0.30.0][11071] * [Remove unnecessary parens][11075] diff --git a/content/news/2024-11-29-bevy-0.15/index.md b/content/news/2024-11-29-bevy-0.15/index.md index c5765d2e0a..fa04361ead 100644 --- a/content/news/2024-11-29-bevy-0.15/index.md +++ b/content/news/2024-11-29-bevy-0.15/index.md @@ -52,4 +52,4 @@ Peering deep into the mists of time (predictions are _extra_ hard when your team {{ support_bevy() }} {{ contributors(version="0.15") }} -{{ changelog(version="0.15")}} \ No newline at end of file +{{ changelog(version="0.15")}} diff --git a/release-content/0.15/migration-guides/13859_Change_SceneInstanceReady_to_trigger_an_observer.md b/release-content/0.15/migration-guides/13859_Change_SceneInstanceReady_to_trigger_an_observer.md index 7fa679058c..56ea158d2b 100644 --- a/release-content/0.15/migration-guides/13859_Change_SceneInstanceReady_to_trigger_an_observer.md +++ b/release-content/0.15/migration-guides/13859_Change_SceneInstanceReady_to_trigger_an_observer.md @@ -1,16 +1,16 @@ -If you have a system which read `SceneInstanceReady` events: +If you have a system which reads `SceneInstanceReady` events, it must be rewritten as an observer or entity observer. -> -`fn ready_system(ready_events: EventReader<'_, '_, SceneInstanceReady>) {` +```rust +// 0.14 +fn ready_system(ready_events: EventReader<'_, '_, SceneInstanceReady>) { + // ... +} - -It must be rewritten as an observer: - -> -`commands.observe(|trigger: Trigger| {` - - -Or, if you were expecting the event in relation to a specific entity or entities, as an entity observer: - -> -`commands.entity(entity).observe(|trigger: Trigger| {` +// 0.15 +commands.observe(|trigger: Trigger| { + // ... +}); +commands.entity(entity).observe(|trigger: Trigger| { + // ... +}); +``` diff --git a/release-content/0.15/migration-guides/14416_feat_Add_Worldget_reflect_and_Worldget_reflect_mut.md b/release-content/0.15/migration-guides/14416_feat_Add_Worldget_reflect_and_Worldget_reflect_mut.md deleted file mode 100644 index 6e9af6949c..0000000000 --- a/release-content/0.15/migration-guides/14416_feat_Add_Worldget_reflect_and_Worldget_reflect_mut.md +++ /dev/null @@ -1 +0,0 @@ -No breaking changes, but users can use the new methods if they did it manually before. diff --git a/release-content/0.15/migration-guides/14842_Replace_the_wgpu_trace_feature_with_a_field_in_bevy_render.md b/release-content/0.15/migration-guides/14842_Replace_the_wgpu_trace_feature_with_a_field_in_bevy_render.md index c20fc509f6..8cfa9cde86 100644 --- a/release-content/0.15/migration-guides/14842_Replace_the_wgpu_trace_feature_with_a_field_in_bevy_render.md +++ b/release-content/0.15/migration-guides/14842_Replace_the_wgpu_trace_feature_with_a_field_in_bevy_render.md @@ -1,10 +1,8 @@ The `bevy/wgpu_trace` and `bevy_render/wgpu_trace` features have been removed, as WGPU tracing is now enabled during the creation of `bevy_render::RenderPlugin`. -{% callout(type="info") %} -At the time of writing, WGPU has not reimplemented tracing support, so WGPU tracing will not currently work. However, once WGPU has reimplemented tracing support, the steps below should be sufficient to continue generating WGPU traces. +Note: At the time of writing, WGPU has not reimplemented tracing support, so WGPU tracing will not currently work. However, once WGPU has reimplemented tracing support, the steps below should be sufficient to continue generating WGPU traces. You can track the progress of WGPU tracing being reimplemented at [gfx-rs/wgpu#5974](https://github.com/gfx-rs/wgpu/issues/5974). -{% end %} To continue generating WGPU traces: diff --git a/release-content/0.15/migration-guides/15281_Add_core_and_alloc_over_std_Lints.md b/release-content/0.15/migration-guides/15281_Add_core_and_alloc_over_std_Lints.md deleted file mode 100644 index a5b0f873a2..0000000000 --- a/release-content/0.15/migration-guides/15281_Add_core_and_alloc_over_std_Lints.md +++ /dev/null @@ -1 +0,0 @@ -The MSRV is now 1.81. Please update to this version or higher. diff --git a/release-content/0.15/migration-guides/15666_Split_out_bevy_mesh_from_bevy_render.md b/release-content/0.15/migration-guides/15666_Split_out_bevy_mesh_from_bevy_render.md index 43f3cc8047..186b2a08f9 100644 --- a/release-content/0.15/migration-guides/15666_Split_out_bevy_mesh_from_bevy_render.md +++ b/release-content/0.15/migration-guides/15666_Split_out_bevy_mesh_from_bevy_render.md @@ -1,3 +1,7 @@ -`bevy_render::mesh::morph::inherit_weights` is now `bevy_render::mesh::inherit_weights` +`bevy_render::mesh::morph::inherit_weights` has been moved to `bevy_render::mesh::inherit_weights`. -if you were using `Mesh::compute_aabb`, you will need to `use bevy_render::mesh::MeshAabb;` now +`Mesh::compute_aabb` has been moved to the new `MeshAabb` trait. You may need to import it. + +```rust +use bevy::render::mesh::MeshAabb; +``` diff --git a/release-content/0.15/migration-guides/_guides.toml b/release-content/0.15/migration-guides/_guides.toml index 88b02a7ace..eec5fd713f 100644 --- a/release-content/0.15/migration-guides/_guides.toml +++ b/release-content/0.15/migration-guides/_guides.toml @@ -208,12 +208,6 @@ prs = [14211] areas = ["Core", "Editor"] file_name = "14211_Rename_bevy_corenameDebugName_to_bevy_corenameNameOrEntity.md" -[[guides]] -title = "Add `core` and `alloc` over `std` Lints" -prs = [15281] -areas = ["Cross-Cutting"] -file_name = "15281_Add_core_and_alloc_over_std_Lints.md" - [[guides]] title = "Remove the `Component` trait implementation from `Handle`" prs = [15796] @@ -490,12 +484,6 @@ prs = [16139] areas = ["ECS", "Reflection"] file_name = "16139_ReflectBundleremove_improvement.md" -[[guides]] -title = "feat: Add `World::get_reflect()` and `World::get_reflect_mut()`" -prs = [14416] -areas = ["ECS", "Reflection"] -file_name = "14416_feat_Add_Worldget_reflect_and_Worldget_reflect_mut.md" - [[guides]] title = "Use crate: `disqualified`" prs = [15372]