Releases: Lancetnik/FastDepends
Releases · Lancetnik/FastDepends
2.4.12
2.4.11
2.4.10
2.4.9
2.4.8
What's Changed
- feat: annotated_types with CustomField support by @Lancetnik in #120
- build(deps-dev): bump ruff from 0.5.1 to 0.5.6 by @dependabot in #119
Full Changelog: 2.4.7...2.4.8
2.4.7
2.4.6
What's Changed
- fix (#112): correct CustomFields mapping to positional args by @Lancetnik in #113
Full Changelog: 2.4.5...2.4.6
2.4.5
What's Changed
Now CustomField
respects function default value at required=False
case
from typing_extensions import Annotated
from fast_depends import inject
from fast_depends.library import CustomField
@inject
def func(
a: Annotated[int, CustomField(cast=False, required=False)] = 1
):
assert a == 1 # `a` was `None` before
func()
- build(deps): bump dawidd6/action-download-artifact from 3.1.4 to 5 by @dependabot in #101
- fix: respect default with custom by @Lancetnik in #111
Full Changelog: 2.4.4...2.4.5
2.4.4
What's Changed
- Use globals of original(wrapped) function by @yuyupopo in #97
- fix: correct
Annotated[..., CustomField()]
reusage - chore: bump dependencies by @Lancetnik in #100
New Contributors
- @yuyupopo made their first contribution in #97
Full Changelog: 2.4.3...2.4.4
2.4.3
What's Changed
- fix: fix 4.12.0 typing extensions error with pydantic by @Lancetnik in #93
Full Changelog: 2.4.2...2.4.3