Rename init_component & friends#15454
Conversation
|
Welcome, new contributor! Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨ |
|
@MichalGniadek can I get your review here? Do you like the rename? |
|
It looks like your PR is a breaking change, but you didn't provide a migration guide. Could you add some context on what users should update when this change get released in a new version of Bevy? |
|
Thanks @hooded-shrimp :D This change looks good, but needs a simple Migration Guide still. Let me know if you'd like a hand writing one :) |
|
All the breaking changes should be recorded now. |
|
This should probably also rename |
I could do that.
|
|
Searched through
|
alice-i-cecile
left a comment
There was a problem hiding this comment.
Lovely, thank you both so much.
Objective
init_componentandinit_component_with_desciptor#15451Migration Guide
World::init_componenthas been renamed toregister_component.World::init_component_with_descriptorhas been renamed toregister_component_with_descriptor.World::init_bundlehas been renamed toregister_bundle.Components::init_componenthas been renamed toregister_component.Components::init_component_with_descriptorhas been renamed toregister_component_with_descriptor.Components::init_resourcehas been renamed toregister_resource.Components::init_non_sendhad been renamed toregister_non_send.