Releases
v0.3.0
Compare
Sorry, something went wrong.
No results found
0.3.0 - 2024-05-09
Added
alluka.local is now directly exported on alluka.
alluka.Context implementation of alluka.abc.Context which is a basic DI context implementation with no callback dependency result caching.
alluka.CachingContext which extends alluka.Context to add callback dependency result caching.
alluka.OverridingContext shallow DI context implementation for adding context specific type dependencies to an existing context.
alluka.Client.set_make_context method for setting the callback used by the client to make DI contexts.
Changed
Callback dependency results are no-longer cached by default. To return this behaviour set alluka.CachingContext as the context maker.
Deprecated
alluka.BasicContext has been replaced by alluka.CachingContext.
Fixed
Injected callback results are now properly cached when alluka.CachingContext is set as the context.
You can’t perform that action at this time.