Age | Commit message (Collapse) | Author |
|
BREAKING CHANGE: The blocking DI container is no longer inside of a Rc. This affects BindingBuilder, BindingScopeConfigurator, BindingWhenConfigurator & Injectable
|
|
BREAKING CHANGE: The async DI container prelude module have been removed as it is no longer necessary seeing as the async DI container interface have been removed
|
|
BREAKING CHANGE: IAsyncDIContainer have been removed and multiple structs no longer take a DI container generic parameter
|
|
This makes the async-factory example work again
|
|
BREAKING CHANGE: The blocking DI container prelude module have been removed as it is no longer necessary seeing as the blocking DI container interface have been removed
|
|
BREAKING CHANGE: IDIContainer have been removed and multiple structs no longer take a DI container generic parameter
|
|
This was not at all a useful example
|
|
|
|
BREAKING CHANGE: The factory macro's async flag has been removed
|
|
BREAKING CHANGE: The factory macro no longer
- Changes the return type to be inside of a TransientPtr
- Adds Send + Sync bounds when the threadsafe or the async flag is set
- Changes the return type be inside of a BoxFuture when the async flag is set
|
|
BREAKING CHANGE: The async_closure macro has been removed. This is because it is completely out of scope for this crate
|
|
|
|
BREAKING CHANGE: Binding builders & configurators now take dependency history type arguments, the DetectedCircular variant of InjectableError now contains a dependency history field & the injectable traits take dependency history instead of a Vec
|
|
BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods
|
|
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated
|
|
|
|
BREAKING CHANGE: The to_default_factory method of the blocking and async DI containers now expect a function returning another function
|
|
|
|
|
|
|
|
|
|
BREAKING CHANGE: The to_factory & to_default_factory methods of AsyncBindingBuilder now expects a function returning a factory function
|
|
BREAKING CHANGE: The async DI container is to be used inside of a Arc & it also no longer implements Default
|
|
BREAKING CHANGE: Factory types should now be written with the Fn trait instead of the IFactory trait and the to_factory & to_default_factory methods of BindingBuilder now expect a function returning a factory function
|
|
BREAKING CHANGE: The DI container is to be used inside of a Rc & it also no longer implements Default
|
|
BREAKING CHANGE: The injectable macro no longer expects braces around it's flags
|
|
|
|
|
|
|
|
BREAKING CHANGE: The DI container get_singleton & get_factory functions have been replaced by the get function now returning a enum
|
|
BREAKING CHANGE: Specifying the scope of a DI container binding is now done with a binding scope configurator
|
|
BREAKING CHANGE: Major improvements have been made to error types and the error_stack crate is no longer used
|
|
|
|
|
|
|
|
|
|
BREAKING CHANGE: The 'to' and 'to_factory' methods of BindingBuilder now return 'Result'
|
|
|
|
BREAKING CHANGE: InterfacePtr has been renamed to TransientPtr
|
|
|
|
|
|
|
|
|