From 6836efe346ccd929c47fa6244bdeece6b138882a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Rica=20Pais=20da=20Silva?= Date: Tue, 23 Jul 2024 17:29:02 +0200 Subject: [PATCH] chore: Update migration notes --- MIGRATIONS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MIGRATIONS.md b/MIGRATIONS.md index 9b2973a..d2705cc 100644 --- a/MIGRATIONS.md +++ b/MIGRATIONS.md @@ -23,3 +23,7 @@ This **will** change the type path and the serialization format for the PRNGs, b ## Migrating from v0.5 to v0.6 As the `wyrand` dependency has been updated and contains a breaking output change, users of `bevy_rand` making use of the `wyrand` feature will need to update their code in cases where deterministic output from the old version is expected. The new `WyRand` output is considered to provide better entropy than the old version, so it is recommended to adopt the new version. In reality, this is likely to affect tests and serialised output rather than game code. + +## Migrating from v0.7 to v0.8 + +`GlobalRngSeed` has been changed to make use of `SeedSource` trait, for things like instantiation: `new` is now `from_seed`. `get_seed` is now `clone_seed`. Most of these changes can be done easily by importing the `SeedSource` trait.