Skip to content

Releases: ThirVondukr/aioinject

0.35.2

21 Nov 23:22
Compare
Choose a tag to compare

This release fixes an issue with litestar integration not closing context manager dependencies when exception happens inside a route.

0.35.1

24 Sep 06:39
Compare
Choose a tag to compare

Tests were packaged with previous builds.

0.35.0

17 Sep 07:59
Compare
Choose a tag to compare

Injected annotation

It's now possible to use Injected[T] instead of Annotated[Inject, T] to mark functions parameters for injection (by @nrbnlulu):

@inject
def function(
    parameter: Injected[Class],
) -> None:
    ...

0.34.0

13 May 18:55
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.33.0...0.34.0

0.33.0

25 Apr 08:31
Compare
Choose a tag to compare

This release adds integrations with aiogram library.
Docs: https://thirvondukr.github.io/aioinject/integrations/aiogram/

0.32.0

09 Apr 15:40
Compare
Choose a tag to compare

Support batch register by @nrbnlulu in #11

Full Changelog: 0.31.0...0.32.0

0.31.0

05 Apr 07:27
Compare
Choose a tag to compare

This release fixes type inference for functions with multiple decorators

0.30.0

28 Mar 10:42
Compare
Choose a tag to compare

This release adds extensions system and and InjectionContext.register method to register dependencies on context level.