Skip to content

Releases: EcsRx/SystemsRx

Added support for `IReactiveSystem`

01 May 16:18
Compare
Choose a tag to compare

This system allows you to provide an observable and trigger the Execute method directly from it, not a huge change or addition but a welcome one.

Simplified Dependency Injection + Separation

26 Mar 14:12
Compare
Choose a tag to compare

This release mainly focuses on separating the dependency injection into 2 separate parts, the IDependencyRegistry and the IDependencyResolver.

Historically the DI abstraction layer was based upon Ninject and Zenject which are both very similar and have a single Container object which handles both registration/binding of dependencies and resolution of dependencies, however this makes it trickier to use other DI frameworks which have a split paradigm such as AutoFac and the popular Microsoft.DependencyInjection.

As part of this change we have also simplified the interface to remove support for OnActivation, WhenInjectedInto and finally being able to manually add constructor args to injection points. These are mainly niche use cases and are not supported by some DI frameworks, and to some extent you can mimic this functionality using method based bindings.

We have already provided 2 new implementations out the box for AutoFac and Microsoft.DependencyInjection as well as some basic tests to verify functionality for DI wrappers going forward.

7.0.x1: Feature/di separation (#3)

26 Mar 13:42
386e186
Compare
Choose a tag to compare
* First step, everything builds and apis map over

Still need to do further work to split things out but this at least is a first step.

* Separated out the Ninject parts

Given Ninject is not actually a split container its easy enough to represent, the difficulty will come with MS style ones.

* Have basic tests in place and working

* Confirming exceptions

* Adding basic implementation for new DI

Also added some tests for testing common scenarios

* Adding build pack for new packages

* Updating build and api keys