Skip to content

Releases: Lancetnik/FastDepends

2.4.12

16 Oct 17:44
f398803
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.4.11...2.4.12

2.4.11

27 Aug 12:02
14bf052
Compare
Choose a tag to compare

What's Changed

  • fix: Allow to use */** arguments with non-standard names by @Zhenay in #127

Full Changelog: 2.4.10...2.4.11

2.4.10

24 Aug 16:42
abb0e1e
Compare
Choose a tag to compare

What's Changed

  • fix: Allow to inject async functions into functions wrapped with asynccontextmanager by @Zhenay in #125

Full Changelog: 2.4.9...2.4.10

2.4.9

22 Aug 11:51
f9146d3
Compare
Choose a tag to compare

What's Changed

  • fix: Allow to inject async functions into async generators by @Zhenay in #124

New Contributors

Full Changelog: 2.4.8...2.4.9

2.4.8

11 Aug 15:22
bca8970
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.4.7...2.4.8

2.4.7

24 Jul 18:11
3d7e6f8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.4.6...2.4.7

2.4.6

12 Jul 12:59
eebb26d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.4.5...2.4.6

2.4.5

11 Jul 10:47
c190b28
Compare
Choose a tag to compare

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

06 Jun 17:36
d325108
Compare
Choose a tag to compare

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

25 May 21:46
a936df9
Compare
Choose a tag to compare

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