Skip to content
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

Linter: Support Bevy 0.15 #191

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Linter: Support Bevy 0.15 #191

wants to merge 5 commits into from

Conversation

BD103
Copy link
Member

@BD103 BD103 commented Dec 4, 2024

This updates the linter to support Bevy 0.15. As #138 has not yet been implemented, Bevy 0.14 support is being dropped.1

Overall, it was surprisingly simple. I bumped the version of Bevy we use in testing, then fixed any errors. The UI tests are so rigid that even the slightest quiver could cause them to fail, which in this case is a good thing!

The one thing of note is that I'm keeping support for World::many_entities() and many_entities_mut() in bevy::panicking_world_methods even though they are deprecated. Since panicking_methods is likely a lint that would be denied in projects, I don't want panicking methods to slip by just because someone added #[allow(deprecated)] while migration their project. Once these methods are completely removed from Bevy, we'll remove them from the linter.

Footnotes

  1. I hope this won't be permanent, though. If all goes to plan, support for 0.14 will be re-added before the next release of bevy_lint!

@BD103 BD103 added A-Linter Related to the linter and custom lints C-Dependencies A change related to dependencies C-Breaking-Change A breaking change of the public API labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Related to the linter and custom lints C-Breaking-Change A breaking change of the public API C-Dependencies A change related to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant