Releases: reagento/dishka
Releases · reagento/dishka
1.3.0
What's Changed
General
- join providers using + by @IvanKirpichnikov in #163
- #98 Add 'WithParents' by @IvanKirpichnikov in #195 #201 #199
- Skip not DI-related annotations by @Olegt0rr in #169
- the argument
provides
has become free by @IvanKirpichnikov in #175 - Pass typehint to
NoContextValueError
by @Tishka17 in #188 - Check if provides same is dependency for factory by @Tishka17 in #189
- Validate decorator really decorates by @Tishka17 in #197
- Fix decoration with complex hints by @Tishka17 in #205
Integrations:
- aiogram-dialog integrantion added by @IvanKirpichnikov in #160
- click: added by @vashcheulov in #194
- grpcio: added by @Dark04072006 in #172 #196
- grpcio.aio: supported, added generators support in wrap_injection by @Tishka17 in #208
- aiogram: Added
CONTAINER_NAME
to__all__
by @ilya-nikolaev in #158 - aiogram: update example by @Olegt0rr in #166
- sanic: fixed typehint by @ilya-nikolaev in #180
Development process:
- use tox-uv, fix skipping tests by @Tishka17 in #200
- check code using
mypy --strict
by @IvanKirpichnikov in #202 - fixed old annotations in tests by @IvanKirpichnikov in #161
Docs and readme:
- Fixed small typo inside integrations docs by @r-chulkevich in #167
- doc: add imports from dishka to example context by @ApostolFet in #170
- Fix a typo in
di_intro.rst
by @wojcikstefan in #206 - fix typos in docs by @newonlynew in #183
- typo "ar" in README by @evgene-sh in #176
New Contributors
- @r-chulkevich made their first contribution in #167
- @Olegt0rr made their first contribution in #166
- @ApostolFet made their first contribution in #170
- @evgene-sh made their first contribution in #176
- @newonlynew made their first contribution in #183
- @vashcheulov made their first contribution in #194
- @wojcikstefan made their first contribution in #206
Full Changelog: 1.2.0...1.3.0
1.2.0
What's Changed
- fastapi and starlette websockets support by @Dark04072006 in #140
- fix typos in README.md by @hilorioze in #146
- Make FastAPI inject decorator be typed to make mypy happy in strict mode by @Skorpyon in #148
- aiohttp auto_inject and websockets support by @Dark04072006 in #147
- fix: FastStream middleware injection to already created subsc… by @Lancetnik in #152
- fix type hints by @IvanKirpichnikov in #153
- Pass kwargs to factories by @Tishka17 in #155
- Reuse container after close by @Tishka17 in #156
Full Changelog: 1.1.1...1.2.0
1.1.1
1.1.0
What's Changed
- Pass exception to generators #113 by @lubaskinc0de in #115
- Add FastStream integration auto_inject option by @Lancetnik in #128
provide_all
function by @Tishka17 in #132- Allow to use FromComponent as a factory result by @Tishka17 in #134
- Check if decorator applied to context data by @Tishka17 in #135
- Sanic integration by @Dark04072006 in #125
- Update adaptix to 3.0.0b5 by @Tishka17 in #137
- Docs / fix typos by @maxzhenzhera, @wrongnull, @sobolevn
Full Changelog: 1.0.0...1.1.0
1.0.0
0.9.0
0.8.0
0.7.0
What's Changed
- fix ContainerMiddleware type in aiogram integration by @ilya-nikolaev in #95
- Separate class for
provider.to_component
by @Tishka17 in #100 - Support multiple decorators on same factory by @Tishka17 in #104
AnyOf
typehint for implicit aliases by @Tishka17- taskiq integration by @IvanKirpichnikov in #103
- autoinject for flask and fastapi by @Tishka17 in #101
Full Changelog: 0.6.0...0.7.0