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-04 | refactor: remove unused import warning in async DI container module | HampusM | |
2023-10-04 | refactor!: remove mutex in AsyncDIContainer | HampusM | |
BREAKING CHANGE: Multiple async DI container binding builder & binding configurator functions are no longer async | |||
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-18 | refactor!: make the async DI container not inside a Arc | HampusM | |
BREAKING CHANGE: The async DI container is no longer inside of a Arc. This affects AsyncBindingBuilder, AsyncBindingScopeConfigurator, AsyncBindingWhenConfigurator & AsyncInjectable | |||
2023-09-18 | refactor: replace threadsafe castable factory Fn impl with method | HampusM | |
2023-09-18 | refactor: make threadsafe castable factory take DI container param | 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-16 | refactor!: remove async DI container prelude module | HampusM | |
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 | |||
2023-09-16 | refactor!: remove async DI container interface | HampusM | |
BREAKING CHANGE: IAsyncDIContainer have been removed and multiple structs no longer take a DI container generic parameter | |||
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-12 | feat: make binding options name method const | HampusM | |
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-16 | chore: fix warnings when only the async feature enabled | HampusM | |
2023-08-16 | chore!: remove the factory macro async flag | HampusM | |
BREAKING CHANGE: The factory macro's async flag has been removed | |||
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-04 | refactor!: remove SomeThreadsafePtr & move variants to SomePtr | HampusM | |
BREAKING CHANGE: SomeThreadsafePtr has been removed and it's variants have been moved to SomePtr | |||
2023-08-04 | refactor!: remove async_closure macro from API | HampusM | |
BREAKING CHANGE: The async_closure macro has been removed. This is because it is completely out of scope for this crate | |||
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: remove unnecessary must_use attributes | 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-17 | refactor: use the async-lock crate instead of Tokio | 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-11-06 | refactor: improve cast error handling | 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 | test: add binding builder unit tests | 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 | test: add more unit tests | HampusM | |
2022-10-09 | refactor!: reorganize DI containers | HampusM | |
BREAKING CHANGE: DIContainer, AsyncDIContainer & the binding structs have been relocated |