Skip to content

Releases: gustavopsantos/Reflex

14.3.0

17 Mar 14:37

Choose a tag to compare

  • Added factories auto injection, solves #135
  • Fixed ConstructorInjectorException being lost
  • Fixed unintended exception rethrow in ConstructorInjector

14.2.0

24 Feb 02:22

Choose a tag to compare

  • Add typeless RegisterFactory API to ContainerBuilder

14.1.0

25 Jan 01:54

Choose a tag to compare

  • Adds Constructor and Method injection fallback to default parameter values (if avaliable), when encountered parameter types are unresolvable from the given container, see #131.
  • Fixes "Reflex.Generator.Injector.pdb has no meta file, but it's in an immutable folder" error message, see #130.

14.0.0

10 Jan 22:22

Choose a tag to compare

  • Add eager object resolution
  • Replaces AddSingleton, AddScoped and AddTransient by RegisterValue, RegisterType and RegisterFactory, which accepts Resolution (Lazy, Eager) and Lifetime (Singleton, Scoped, Transient) as arguments
  • OnRootContainerBuilding and OnSceneContainerBuilding events got moved to ContainerScope class
  • SceneScope.ExecutionOrder got moved to ContainerScope.SceneContainerScopeExecutionOrder
  • Fixes reflex debugger console exception spam, see #129

Full Changelog: 13.1.0...14.0.0

13.1.0

31 Dec 14:48

Choose a tag to compare

13.0.3

17 Oct 13:45

Choose a tag to compare

  • Fix missing inner exception on Field/Property/Method InjectorException
  • Exposes UnknownContractException.UnknownContract getter

13.0.2

10 Oct 13:46

Choose a tag to compare

  • Fixes ReflexDebugger text hint not wrapping when window was too small, see Fixes #113
  • Add dedicated SceneHasMultipleSceneScopesException when a scene has more than one active SceneScope, see Fixes #111

13.0.1

03 Oct 12:20

Choose a tag to compare

  • Adjusts the execution order of UnityInjector to ensure that ProjectScope.OnRootContainerBuilding and SceneScope.OnSceneContainerBuilding events can be subscribed to when using [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)] method attribute.

13.0.0

29 Sep 15:44

Choose a tag to compare

  • Adjust SceneScope execution order from -2,147,483,648 to -1,000,000,000, this keeps it executing very early while still allowing other components to be scheduled before it if needed
  • Initialize the root container lazily instead of eagerly and exposes ProjectScope.OnRootContainerBuilding event

12.0.2

11 Sep 14:49

Choose a tag to compare

  • Improve GetSceneContainer KeyNotFoundException message