Dishka

Latest version: v1.4.1

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.4.1

What's Changed
Bugfixes
* use fallback type[T] only if not overridden by Tishka17 in https://github.com/reagento/dishka/pull/297
* Fix ForwardRef used in AnyOf by Tishka17 in https://github.com/reagento/dishka/pull/291
* unpack provide multiple source by Tishka17 in https://github.com/reagento/dishka/pull/299
* fix typhint in aiogram dialog integration by IvanKirpichnikov in https://github.com/reagento/dishka/pull/303

Internal changes
* Optimize context entrance by using const container key by Tishka17 in https://github.com/reagento/dishka/pull/298

Doc and examples
* Fix typos in README and quickstart by Eclips4 in https://github.com/reagento/dishka/pull/286
* [docs] fix typos by chirizxc in https://github.com/reagento/dishka/pull/288
* Fix docs typos by Nnenty in https://github.com/reagento/dishka/pull/302
* Run code from README in tests by Eclips4 in https://github.com/reagento/dishka/pull/300
* Rename from uow to commiter by PlzTrustMe in https://github.com/reagento/dishka/pull/301
* fix documentation "setup_dishka" by iNerV in https://github.com/reagento/dishka/pull/306
* fix documentation typo by iNerV in https://github.com/reagento/dishka/pull/307
* Improve language clarity and fix typos in README by ivan-borovets in https://github.com/reagento/dishka/pull/305 https://github.com/reagento/dishka/pull/309
* Align documentation text with README, fixing errors along the way by ivan-borovets in https://github.com/reagento/dishka/pull/308

New Contributors
* Eclips4 made their first contribution in https://github.com/reagento/dishka/pull/286
* chirizxc made their first contribution in https://github.com/reagento/dishka/pull/288
* Nnenty made their first contribution in https://github.com/reagento/dishka/pull/302
* PlzTrustMe made their first contribution in https://github.com/reagento/dishka/pull/301
* iNerV made their first contribution in https://github.com/reagento/dishka/pull/306
* ivan-borovets made their first contribution in https://github.com/reagento/dishka/pull/305

**Full Changelog**: https://github.com/reagento/dishka/compare/1.4.0...1.4.1

1.4.0

What's Changed

General cahnges
* Provide recursive by Tishka17 in https://github.com/reagento/dishka/pull/222
* unpack AnyOf in generators by Tishka17 in https://github.com/reagento/dishka/pull/224
* add providers for integrations 178 by IvanKirpichnikov in https://github.com/reagento/dishka/pull/217
* Suggestions in errors by Tishka17 in https://github.com/reagento/dishka/pull/247
* Support type[T] in factory params by Tishka17 in https://github.com/reagento/dishka/pull/249
* add explicit factory override 16 by IvanKirpichnikov in https://github.com/reagento/dishka/pull/232 https://github.com/reagento/dishka/pull/277
* add valiation settings by Tishka17 in https://github.com/reagento/dishka/pull/252 https://github.com/reagento/dishka/pull/273
* Generic decorator by Tishka17 in https://github.com/reagento/dishka/pull/254
* Interface for lock factory by lubaskinc0de in https://github.com/reagento/dishka/pull/263
* Dependency graph plotter by Tishka17 in https://github.com/reagento/dishka/pull/262 https://github.com/reagento/dishka/pull/264 https://github.com/reagento/dishka/pull/268
* overload get method by Tishka17 in https://github.com/reagento/dishka/pull/271
* Positional source for alias and optional scope for context data by IvanKirpichnikov in https://github.com/reagento/dishka/pull/278

General fixes
* Fix ordering dependency sources and add decorator test by Tishka17 in https://github.com/reagento/dishka/pull/274
* Fix rendering NoFactoryError without path by Tishka17 in https://github.com/reagento/dishka/pull/253
* fix PyCharm error to FromComponent by IvanKirpichnikov in https://github.com/reagento/dishka/pull/233
* fix WithParents hint by IvanKirpichnikov in https://github.com/reagento/dishka/pull/282

Integrations
* fixed duplicate container parameter in aiogram by IvanKirpichnikov in https://github.com/reagento/dishka/pull/216
* websocket request is SESSION scoped in aiohttp by Tishka17 in https://github.com/reagento/dishka/pull/250
* add recv/send to starlette request by Tishka17 in https://github.com/reagento/dishka/pull/269

Development process and internal changes:
* fix fake token in telebot tests by Tishka17 in https://github.com/reagento/dishka/pull/211
* use name for unknown scope str by Tishka17 in https://github.com/reagento/dishka/pull/266
* CI updates by Tishka17 in https://github.com/reagento/dishka/pull/270

Docs and examples
* Add a link to `examples/` dir from the docs by sobolevn in https://github.com/reagento/dishka/pull/281
* Fix typo in the docs by sobolevn in https://github.com/reagento/dishka/pull/279
* fix spelling in readme by Tishka17 in https://github.com/reagento/dishka/pull/284
* More real quickstart by Tishka17 in https://github.com/reagento/dishka/pull/283
* Integrations docs by Tishka17 in https://github.com/reagento/dishka/pull/256



**Full Changelog**: https://github.com/reagento/dishka/compare/1.3.0...1.4.0

1.3.0

What's Changed
General
* join providers using + by IvanKirpichnikov in https://github.com/reagento/dishka/pull/163
* 98 Add 'WithParents' by IvanKirpichnikov in https://github.com/reagento/dishka/pull/195 https://github.com/reagento/dishka/pull/201 https://github.com/reagento/dishka/pull/199
* Skip not DI-related annotations by Olegt0rr in https://github.com/reagento/dishka/pull/169
* the argument `provides` has become free by IvanKirpichnikov in https://github.com/reagento/dishka/pull/175
* Pass typehint to `NoContextValueError` by Tishka17 in https://github.com/reagento/dishka/pull/188
* Check if provides same is dependency for factory by Tishka17 in https://github.com/reagento/dishka/pull/189
* Validate decorator really decorates by Tishka17 in https://github.com/reagento/dishka/pull/197
* Fix decoration with complex hints by Tishka17 in https://github.com/reagento/dishka/pull/205

Integrations:
* **aiogram-dialog** integrantion added by IvanKirpichnikov in https://github.com/reagento/dishka/pull/160
* **click**: added by vashcheulov in https://github.com/reagento/dishka/pull/194
* **grpcio**: added by Dark04072006 in https://github.com/reagento/dishka/pull/172 https://github.com/reagento/dishka/pull/196
* **grpcio.aio**: supported, added generators support in wrap_injection by Tishka17 in https://github.com/reagento/dishka/pull/208
* **aiogram**: Added `CONTAINER_NAME` to `__all__` by ilya-nikolaev in https://github.com/reagento/dishka/pull/158
* **aiogram**: update example by Olegt0rr in https://github.com/reagento/dishka/pull/166
* **sanic**: fixed typehint by ilya-nikolaev in https://github.com/reagento/dishka/pull/180

Development process:
* use tox-uv, fix skipping tests by Tishka17 in https://github.com/reagento/dishka/pull/200
* check code using `mypy --strict` by IvanKirpichnikov in https://github.com/reagento/dishka/pull/202
* fixed old annotations in tests by IvanKirpichnikov in https://github.com/reagento/dishka/pull/161


Docs and readme:

* Fixed small typo inside integrations docs by r-chulkevich in https://github.com/reagento/dishka/pull/167
* doc: add imports from dishka to example context by ApostolFet in https://github.com/reagento/dishka/pull/170
* Fix a typo in `di_intro.rst` by wojcikstefan in https://github.com/reagento/dishka/pull/206
* fix typos in docs by newonlynew in https://github.com/reagento/dishka/pull/183
* typo "ar" in README by evgene-sh in https://github.com/reagento/dishka/pull/176

New Contributors
* r-chulkevich made their first contribution in https://github.com/reagento/dishka/pull/167
* Olegt0rr made their first contribution in https://github.com/reagento/dishka/pull/166
* ApostolFet made their first contribution in https://github.com/reagento/dishka/pull/170
* evgene-sh made their first contribution in https://github.com/reagento/dishka/pull/176
* newonlynew made their first contribution in https://github.com/reagento/dishka/pull/183
* vashcheulov made their first contribution in https://github.com/reagento/dishka/pull/194
* wojcikstefan made their first contribution in https://github.com/reagento/dishka/pull/206

**Full Changelog**: https://github.com/reagento/dishka/compare/1.2.0...1.3.0

1.2.0

What's Changed
* fastapi and starlette websockets support by Dark04072006 in https://github.com/reagento/dishka/pull/140
* fix typos in README.md by hilorioze in https://github.com/reagento/dishka/pull/146
* Make FastAPI inject decorator be typed to make mypy happy in strict mode by Skorpyon in https://github.com/reagento/dishka/pull/148
* aiohttp auto_inject and websockets support by Dark04072006 in https://github.com/reagento/dishka/pull/147
* fix: FastStream middleware injection to already created subsc… by Lancetnik in https://github.com/reagento/dishka/pull/152
* fix type hints by IvanKirpichnikov in https://github.com/reagento/dishka/pull/153
* Pass kwargs to factories by Tishka17 in https://github.com/reagento/dishka/pull/155
* Reuse container after close by Tishka17 in https://github.com/reagento/dishka/pull/156

**Full Changelog**: https://github.com/reagento/dishka/compare/1.1.1...1.2.0

1.1.1

What's Changed
* fix validation of generic classes by Tishka17 in https://github.com/reagento/dishka/pull/142
* fix analyzing builtin methods by Tishka17 in https://github.com/reagento/dishka/pull/143



**Full Changelog**: https://github.com/reagento/dishka/compare/1.1.0...1.1.1

1.1.0

What's Changed
* Pass exception to generators 113 by lubaskinc0de in https://github.com/reagento/dishka/pull/115
* Add FastStream integration auto_inject option by Lancetnik in https://github.com/reagento/dishka/pull/128
* `provide_all` function by Tishka17 in https://github.com/reagento/dishka/pull/132
* Allow to use FromComponent as a factory result by Tishka17 in https://github.com/reagento/dishka/pull/134
* Check if decorator applied to context data by Tishka17 in https://github.com/reagento/dishka/pull/135
* Sanic integration by Dark04072006 in https://github.com/reagento/dishka/pull/125
* Update adaptix to 3.0.0b5 by Tishka17 in https://github.com/reagento/dishka/pull/137
* Docs / fix typos by maxzhenzhera, wrongnull, sobolevn


**Full Changelog**: https://github.com/reagento/dishka/compare/1.0.0...1.1.0

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.