Skip to content

Upgrade glam, hexasphere, rand & uuid to latest versions#22928

Draft
Bluefinger wants to merge 6 commits intobevyengine:mainfrom
Bluefinger:glam-rand-v0.10-upgrade
Draft

Upgrade glam, hexasphere, rand & uuid to latest versions#22928
Bluefinger wants to merge 6 commits intobevyengine:mainfrom
Bluefinger:glam-rand-v0.10-upgrade

Conversation

@Bluefinger
Copy link
Contributor

Objective

  • glam, hexasphere & rand have released their latest versions, update Bevy to support them.

Solution

  • The above have been updated to their compatible versions. rand_distr updated as well to match rand v0.10 support.
  • rand_chacha is soft deprecated and no longer used by rand, so its usage has been changed to chacha20 to match rand dep tree.
  • uuid is in the process of updating to getrandom v0.4, which rand v0.10 supports. This PR remains in draft until a new uuid release hits crates.io.
  • RngCore is now Rng, and Rng is now RngExt, so this required updating across many files.
  • choose_multiple method is deprecated, changed to sample.

Testing

  • Chase all compiler errors, since this should not regress any already existing behaviour.
  • This must pass CI without regressions.

Additional Notes

getrandom v0.4 doesn't add anything new for Web WASM support, so the same wasm_js feature is used.

@alice-i-cecile alice-i-cecile added C-Dependencies A change to the crates that Bevy depends on A-Math Fundamental domain-agnostic mathematical operations S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged labels Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Math Fundamental domain-agnostic mathematical operations C-Dependencies A change to the crates that Bevy depends on S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants