-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Beef up migration guide for getrand effects on web
#21162
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
Beef up migration guide for getrand effects on web
#21162
Conversation
|
@Bluefinger can I get your review here? |
|
|
||
| You may encounter an error like: | ||
|
|
||
| ```toml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ```toml | |
| ```sh |
(Nit) I think setting the syntax highlighting to TOML is misleading, as this is a message you would see in the shell and not in a TOML file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that it's misleading, but sh makes the formatting worse, because it's formatted as "shell input". The TOML formatting at least gets the quote right, and I can't leave it untagged or the linter complains.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, makes sense!
Co-authored-by: Gonçalo Rica Pais da Silva <[email protected]> Co-authored-by: BD103 <[email protected]>
Co-authored-by: DAA <[email protected]>
|
Ugh, changing branch has done very bad things to the diff here. I'm going to have to remake this. |
|
Remade the PR targeting the 0.17 branch. |
# Objective We still need to improve these migration guides, but we cut them from `main`. Fixes #21039. ## Solution Adopt #21162 targeting the 0.17 release branch. Cherrypick the same commits to a new branch targeting the new branch rather than main. --------- Co-authored-by: Gonçalo Rica Pais da Silva <[email protected]> Co-authored-by: BD103 <[email protected]> Co-authored-by: DAA <[email protected]>
Objective
getrandpulled in by Updaterand,glamandencaseto latest versions #18047 are both challenging to fix and very disruptive.rand/getrandommigration guide is slightly misleading #21039, which did a great job pointing out potential improvements.Solution
bevy_clihas an easy fix for this and tell people to upgrade