Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-11 | refactor: rename castable factory to castable function | HampusM | |
2023-10-04 | refactor!: remove factory & declare_default_factory macros | HampusM | |
BREAKING CHANGE: The factory and the declare_default_factory macros have been removed. They are no longer needed to use factories | |||
2023-10-03 | refactor: remove inner mutability of blocking DI container | HampusM | |
2023-09-26 | test: make unit tests not return Result | HampusM | |
2023-09-19 | docs: add examples to DI container & related functions | HampusM | |
2023-09-17 | refactor: move castable factory to directory module | HampusM | |
2023-09-17 | refactor!: make the blocking DI container not inside a Rc | HampusM | |
BREAKING CHANGE: The blocking DI container is no longer inside of a Rc. This affects BindingBuilder, BindingScopeConfigurator, BindingWhenConfigurator & Injectable | |||
2023-09-17 | refactor: replace castable factory Fn impl with method | HampusM | |
2023-09-16 | refactor: make castable factory take DI container param | HampusM | |
2023-09-16 | refactor: move DI container get_binding_providable to other impl | HampusM | |
The get_binding_providable method doesn't need to be mocked so it should be moved to a non mocked impl | |||
2023-09-14 | refactor!: remove blocking DI container prelude module | HampusM | |
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 | |||
2023-09-14 | refactor!: remove blocking DI container interface | HampusM | |
BREAKING CHANGE: IDIContainer have been removed and multiple structs no longer take a DI container generic parameter | |||
2023-09-09 | refactor: remove unnecessary block in the BindingBuilder::to method | HampusM | |
2023-08-31 | refactor: pass around BindingOptions instead of name | HampusM | |
2023-08-20 | feat: expose DI container get_bound methods to public API | HampusM | |
2023-08-18 | refactor: replace use_dependency_history with a more generic macro | HampusM | |
2023-08-15 | fix!: make the factory macro not change its input | HampusM | |
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 | |||
2023-08-05 | refactor!: remove IDependencyHistory | HampusM | |
BREAKING CHANGE: IDependencyHistory has been removed as part of an effort to simplify the API. This affects IDIContainer, DIContainer, IAsyncDIContainer, AsyncDIContainer, Injectable, AsyncInjectable, BindingBuilder, AsyncBindingBuilder, BindingScopeConfigurator, BindingWhenConfigurator, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator and DependencyHistory | |||
2023-08-02 | docs: fix wrong quotes in binding configurators | HampusM | |
2023-08-01 | test: clean up binding configurator unit tests | HampusM | |
2023-01-19 | refactor!: make binding builder & configurator methods take self ownership | HampusM | |
BREAKING CHANGE: The methods of BindingBuilder, AsyncBuilder, BindingScopeConfigurator, AsyncBindingScopeConfigurator, BindingWhenConfigurator, AsyncBindingWhenConfigurator now take ownership of self | |||
2022-11-19 | refactor: reorganize non-public API items | HampusM | |
2022-11-07 | fix: make factories work again after Rust nightly-2022-11-07 | HampusM | |
2022-11-06 | refactor: fix unused self clippy lint in blocking DI container | HampusM | |
2022-10-30 | docs: add sealed notices to DI container interfaces | HampusM | |
2022-10-29 | refactor!: add dependency history type | HampusM | |
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 | |||
2022-10-24 | test: add binding configurator unit tests | HampusM | |
2022-10-24 | refactor: rename DI container binding map to DI container storage | HampusM | |
2022-10-23 | refactor!: reduce DI container coupling | HampusM | |
BREAKING CHANGE: You now have to import the DI containers's interfaces to use the DI containers's methods | |||
2022-10-09 | refactor!: reorganize DI containers | HampusM | |
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated |