Repository navigation
1.8.0
What's Changed
Highlights
- Contitional activation
- Collecting objects from multiple factories of a same type
Core
- Fix generator factory result hint by @stkrp in #598
- Support optionally overriding scope set in Provider class when instantiating a Provider object by @filipemir in #613
- Use
complied_asyncinstead ofcompiledinget_compiled_asyncmethod by @AlexPetul in #630 - Conditional sources activation by @Tishka17 in #632
- feat: add when= parameter to Provider class by @fadedDexofan in #645
- Render missing variants by @Tishka17 in #647
- Fix decorators, plot and various corner cases by @Tishka17 in #648
- Check override works after decoration by @Tishka17 in #650
- feat: add dependency source info to activation errors by @fadedDexofan in #653
- Collect multiple factories by @Tishka17 in #652
- fix: resolve
__init__introspection whenProtocolis first in bases by @fadedDexofan in #658
Integrations
- Handle FromDishka for fastapi websockets by @chessenjoyer17 in #592
- strawberry integration by @aryadovoy in #619
- Fix Taskiq integration crashing
Context.requeueby @ACherryJam in #618 - Adding reference to integration with Flet by @C3EQUALZz in #631
- docs(integrations): using with fastapi.Depends by @ApostolFet in #638
- Added link to integration with jobify framework by @C3EQUALZz in #640
- Added a warning and docs about moving the integration with FastStream by @ApostolFet in #593
- add warn for starlette integration by @chirizxc in #558
Docs and examples
- add note data actual as of March 8, 2024 by @chirizxc in #566
- added missing imports in docs by @borisalekseev in #567
- lint
examples/by @chirizxc in #600 - fix typos by @chirizxc in #595
- fix typo by @chirizxc in #611
- Correct punctuation in concepts documentation by @sbobryshev in #620
- Update documentation on dishka dependency management by @spacemanspiff2007 in #639
Internal changes
- add zizmor by @chirizxc in #564
- bump zizmor by @chirizxc in #570
- fix yanked anyio version by @chirizxc in #568
- bump test dependencies and clean up
noxfileby @chirizxc in #571 - add pytest-rerunfailures for aiogram-dialog tests due to flaky tests by @chirizxc in #572
- ci: bump telegram-notifier v1.2.3 -> v1.3.0 by @Sehat1137 in #578
- ci: fix permissions for opened pull requests by @Sehat1137 in #579
- ci: only issues trigger by @Sehat1137 in #580
- ci: add trigger for pull_request_target by @Sehat1137 in #583
- ci: bump telegram-notifier by @Sehat1137 in #585
- Update test requirements after 3.14 release by @chirizxc in #586
- bump
ruff(0.13.* -> 0.14.*) by @chirizxc in #587 - update python version in workflow (3.14.0-rc.2 -> 3.14) by @chirizxc in #590
- bump dev dependencies by @chirizxc in #591
- chore(deps): bump py-cov-action/python-coverage-comment-action from 3.37 to 3.38 by @dependabot[bot] in #577
- chore(deps): bump astral-sh/setup-uv from 6.7.0 to 6.8.0 by @dependabot[bot] in #576
- chore: update reagento/relator by @Sehat1137 in #597
- bump zizmor by @chirizxc in #596
- bump nox by @chirizxc in #599
- update
licenseand addlicense-filesto pyproject by @chirizxc in #601 - Update factory_compiler.py: typo fix by @albertedwardson in #602
- remove dead code by @chirizxc in #594
- add new build-backend for get lib version from git by @chirizxc in #573
- add auto pypi publishing by @chirizxc in #562
- simplify ruff config by @chirizxc in #604
- override default
_version.pyusingversion_file_templateby @chirizxc in #605 - chore(deps): bump py-cov-action/python-coverage-comment-action from 3.38 to 3.39 by @dependabot[bot] in #607
- chore(deps): bump actions/download-artifact from 5.0.0 to 6.0.0 by @dependabot[bot] in #606
- chore(deps): bump astral-sh/setup-uv from 6.7.0 to 7.1.2 by @dependabot[bot] in #608
- chore(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 by @dependabot[bot] in #609
- chore(deps): bump reagento/relator from 1.5.0 to 1.5.1 by @dependabot[bot] in #610
- Fix some errors related to typing. by @ApostolFet in #612
- bump
pytestandpytestplugins, use.tomlconfig by @chirizxc in #617 - add spell check by @chirizxc in #615
- add auto bump dev dependencies via dependabot by @chirizxc in #616
- bump dev dependencies by @chirizxc in #623
- chore(deps): bump reagento/relator from 1.5.1 to 1.6.0 by @dependabot[bot] in #624
- chore(deps): bump astral-sh/setup-uv from 7.1.2 to 7.1.4 by @dependabot[bot] in #625
- chore(deps): bump actions/setup-python from 6.0.0 to 6.1.0 by @dependabot[bot] in #626
- chore(deps): bump actions/checkout from 5.0.0 to 6.0.0 by @dependabot[bot] in #627
- bump aiogram (python 3.14 support) by @chirizxc in #629
- chore(deps): bump actions/upload-artifact from 5.0.0 to 6.0.0 by @dependabot[bot] in #633
- chore(deps): bump actions/download-artifact from 6.0.0 to 7.0.0 by @dependabot[bot] in #634
- chore(deps): bump astral-sh/setup-uv from 7.1.4 to 7.1.6 by @dependabot[bot] in #635
- Store factories as a list in registry, decorate context vars by @Tishka17 in #637
- chore(deps): bump actions/checkout from 6.0.0 to 6.0.1 by @dependabot[bot] in #636
- chore(deps): bump py-cov-action/python-coverage-comment-action from 3.39 to 3.40 by @dependabot[bot] in #654
- chore(deps): bump actions/setup-python from 6.1.0 to 6.2.0 by @dependabot[bot] in #655
- chore(deps): bump actions/checkout from 6.0.1 to 6.0.2 by @dependabot[bot] in #656
- bump dependencies by @chirizxc in #657
New Contributors
- @borisalekseev made their first contribution in #567
- @albertedwardson made their first contribution in #602
- @stkrp made their first contribution in #598
- @filipemir made their first contribution in #613
- @aryadovoy made their first contribution in #619
- @sbobryshev made their first contribution in #620
- @ACherryJam made their first contribution in #618
- @AlexPetul made their first contribution in #630
- @C3EQUALZz made their first contribution in #631
- @fadedDexofan made their first contribution in #645
Full Changelog: 1.7.2...1.8.0