bevy_auto_plugin::auto_plugin::*->use bevy_auto_plugin::flat_file::prelude::*bevy_auto_plugin::auto_plugin_module::*->use bevy_auto_plugin::module::prelude::*
#[auto_*(*<*>)] -> #[auto_*(generics(*))]
- enable
legacy_path_paramuntil you have replaced all usages - find replace regex:
/(auto_\w+)\(\w+<(.*?)>\)/\1(generics(\2))/- for some attributes you can now specify multiple sets
#[auto_(generics(u8, bool), generics(u8, u32))]
- by default flat_file and module modes are not enabled, if you use them enable their respective features:
features = ["mode_flat_file", "mode_module"]orfeatures = ["all_modes"] - if you were using the flat_file mode, you might also need to enable
flat_file_lang_server_noopfeature as it's no longer enabled by default
use bevy_auto_plugin::flat_file::prelude::*->use bevy_auto_plugin::modes::flat_file::prelude::*use bevy_auto_plugin::module::prelude::*->use bevy_auto_plugin::modes::module::prelude::*
- see feedback issue if you are using these modes or use
global - enable
ignore_flat_file_or_module_deprecationto disable deprecation warnings if you commented and provided a use case for keeping the modes
- no longer supports buffered events (use
auto_message) - now requires specifying if it's an
target(global)ortarget(entity)basedEventandEntityEventrespectively.
- no longer depending on
bevy_reflect- if applicable, you can remove the hotfix from yourCargo.toml:[build-dependencies] bevy_reflect = { version = "0.17", features = ["documentation"] }
use bevy_auto_plugin::modes::global::prelude::*->use bevy_auto_plugin::prelude::*
- Deprecated
#[auto_plugin]paramsimpl_generic_plugin_trait, useimpl_plugin_traitinstead.Send + Sync + 'staticare automatically constrained for all generics whenimpl_plugin_traitis set.
- Deprecated params
impl_generic_auto_plugin_trait. Remove.AutoPluginis now always implemented when derivingAutoPlugin
- Removed
genericsfromauto_init_stateandauto_state- There should be no valid use cases for this but if you have one and were using it please open an issue.
- Deprecated (compiler error)
resourcein favor ofinsertinauto_insert_resource