Skip to content

Commit

Permalink
0.12: TypePath (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
cart authored Nov 3, 2023
1 parent c1d161a commit 77bd283
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions content/news/2023-10-21-bevy-0.12/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1602,6 +1602,17 @@ The bevymark example needed to be improved to enable benchmarking the batching /

This allows benchmarking of different situations for batching / instancing in the next section.

## TypePath Migration

<div class="release-feature-authors">authors: @soqb</div>

As a followup to the introduction of [Stable TypePath](/news/bevy-0-11/#stable-typepath) in **Bevy 0.11**, Bevy Reflect now uses [`TypePath`] instead of [`type_name`]. A reflected type's [`TypePath`] is now accessible via [`TypeInfo`] and [`DynamicTypePath`] and [`type_name`] methods have been removed.

[`TypeInfo`]: https://dev-docs.bevyengine.org/bevy/reflect/enum.TypeInfo.html
[`TypePath`]: https://dev-docs.bevyengine.org/bevy/reflect/trait.TypePath.html
[`DynamicTypePath`]: https://dev-docs.bevyengine.org/bevy/reflect/trait.DynamicTypePath.html
[`type_name`]: https://doc.rust-lang.org/std/any/fn.type_name.html

## <a name="what-s-next"></a>What's Next?

We have plenty of work in progress! Some of this will likely land in **Bevy 0.13**.
Expand Down

0 comments on commit 77bd283

Please sign in to comment.