Skip to content

Rename bevy_platform_support to bevy_platform #18813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2025
Merged

Conversation

cart
Copy link
Member

@cart cart commented Apr 11, 2025

Objective

The goal of bevy_platform_support is to provide a set of platform agnostic APIs, alongside platform-specific functionality. This is a high traffic crate (providing things like HashMap and Instant). Especially in light of #18799, it deserves a friendlier / shorter name.

Given that it hasn't had a full release yet, getting this change in before Bevy 0.16 makes sense.

Solution

  • Rename bevy_platform_support to bevy_platform.

@cart cart added this to the 0.16 milestone Apr 11, 2025
@alice-i-cecile alice-i-cecile added A-Utils Utility functions and types X-Blessed Has a large architectural impact or tradeoffs, but the design has been endorsed by decision makers D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Apr 11, 2025
@alice-i-cecile
Copy link
Member

Remember the migration guide too :)

@cart
Copy link
Member Author

cart commented Apr 11, 2025

None needed. This has not landed for users yet

@cart
Copy link
Member Author

cart commented Apr 11, 2025

Ah but we do need to update the bevy_utils -> bevy_platform_support migration guide. Got it :)

Copy link
Contributor

@bushrat011899 bushrat011899 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A better name, and good to do this before it's big launch day!

@cart cart added this pull request to the merge queue Apr 11, 2025
Merged via the queue into bevyengine:main with commit e9a0ef4 Apr 11, 2025
44 checks passed
@urben1680
Copy link
Contributor

Should the published crate under the old name be updated in a way to express it is outdated?

mockersf pushed a commit that referenced this pull request Apr 14, 2025
The goal of `bevy_platform_support` is to provide a set of platform
agnostic APIs, alongside platform-specific functionality. This is a high
traffic crate (providing things like HashMap and Instant). Especially in
light of #18799, it
deserves a friendlier / shorter name.

Given that it hasn't had a full release yet, getting this change in
before Bevy 0.16 makes sense.

- Rename `bevy_platform_support` to `bevy_platform`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Utils Utility functions and types D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward X-Blessed Has a large architectural impact or tradeoffs, but the design has been endorsed by decision makers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants