Releases: gustavopsantos/Reflex
Releases · gustavopsantos/Reflex
12.0.1
12.0.0
- Replaces
ParentOverrideScope
andExtraInstallerScope
bySceneScope.OnSceneContainerBuilding
event, its simpler and more user friendly API (Check getting started step 19 on readme for an example) - Update Reflex debugger window to support multiple root containers (any container that does not have a parent)
11.0.1
- Improve TypeAttributeInfo generation
- Improve FieldInjectorException and PropertyInjectorException message to contain
// Sample FieldInjectorException on 11.0.0
Reflex.Exceptions.FieldInjectorException : Cannot resolve contract 'PlayerManager'.
// Sample FieldInjectorException on 11.0.1
Reflex.Exceptions.FieldInjectorException : Could not inject field 'GameManager._playerManager', exception: Reflex.Exceptions.UnknownContractException: Cannot resolve contract 'PlayerManager'.
11.0.0
- Replaces ReflexSceneManager.PreInstallScene and ReflexSceneManager.OverrideSceneParentContainer by ExtraInstallerScope and ParentOverrideScope. Note that PreInstallScene was a pre installer while ExtraInstallerScope is a post installer.
See https://github.com/gustavopsantos/Reflex?tab=readme-ov-file#extra-installer-scope and https://github.com/gustavopsantos/Reflex?tab=readme-ov-file#parent-override-scope for more info
10.1.0
- Exposes Container.Parent instance getter
- Exposes Container.ProjectContainer static getter
10.0.3
- Null check before dispose
ProjectContainer
by @Antoshidza in #90
10.0.2
- Fix Singleton_ShouldBeFinalized_WhenOwnerIsDisposed unit test not passing on Unity 6
10.0.1
- Move ProjectContainer creation logic into UnityInjector, this change ensures that ProjectContainer instantiation is handled internally. The original intention was not to expose
CreateProjectContainer.Create()
to consumers, so this change helps maintain proper encapsulation and improves the overall design.
10.0.0
- The ReflexSettings asset is now mandatory. Previously, it was optional.
- Introduced an explicit list of ProjectScopes within ReflexSettings. (Remember to add your ProjectScopes to this list when upgrading to version 10)
- Removed LoadAllProjectScopes boolean from ReflexSettings, as it has been replaced by the new ProjectScopes list.
These changes provide a clearer definition of ProjectScopes usage while improving performance. By using an explicit list, Reflex no longer needs to call Resources.LoadAll(), reducing unnecessary resource loading.