Releases: reagento/dishka
Releases · reagento/dishka
1.4.0
What's Changed
General cahnges
- Provide recursive by @Tishka17 in #222
- unpack AnyOf in generators by @Tishka17 in #224
- add providers for integrations #178 by @IvanKirpichnikov in #217
- Suggestions in errors by @Tishka17 in #247
- Support type[T] in factory params by @Tishka17 in #249
- add explicit factory override #16 by @IvanKirpichnikov in #232 #277
- add valiation settings by @Tishka17 in #252 #273
- Generic decorator by @Tishka17 in #254
- Interface for lock factory by @lubaskinc0de in #263
- Dependency graph plotter by @Tishka17 in #262 #264 #268
- overload get method by @Tishka17 in #271
- Positional source for alias and optional scope for context data by @IvanKirpichnikov in #278
General fixes
- Fix ordering dependency sources and add decorator test by @Tishka17 in #274
- Fix rendering NoFactoryError without path by @Tishka17 in #253
- fix PyCharm error to FromComponent by @IvanKirpichnikov in #233
- fix WithParents hint by @IvanKirpichnikov in #282
Integrations
- fixed duplicate container parameter in aiogram by @IvanKirpichnikov in #216
- websocket request is SESSION scoped in aiohttp by @Tishka17 in #250
- add recv/send to starlette request by @Tishka17 in #269
Development process and internal changes:
- fix fake token in telebot tests by @Tishka17 in #211
- use name for unknown scope str by @Tishka17 in #266
- CI updates by @Tishka17 in #270
Docs and examples
- Add a link to
examples/
dir from the docs by @sobolevn in #281 - Fix typo in the docs by @sobolevn in #279
- fix spelling in readme by @Tishka17 in #284
- More real quickstart by @Tishka17 in #283
- Integrations docs by @Tishka17 in #256
Full Changelog: 1.3.0...1.4.0
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