Skip to content

Releases: Lancetnik/FastDepends

3.0.8

02 Mar 19:54
5ba78bb

Choose a tag to compare

What's Changed

Full Changelog: 3.0.7...3.0.8

v3.0.7

02 Mar 19:42
4925173

Choose a tag to compare

What's Changed

  • build(deps-dev): bump the pip group with 2 updates by @dependabot[bot] in #257
  • build(deps): bump the github-actions group with 3 updates by @dependabot[bot] in #256
  • feat: add an ability to pass provider for each call by @Lancetnik in #258

Full Changelog: 3.0.6...3.0.7

v3.0.6

26 Feb 16:03
4adc265

Choose a tag to compare

What's Changed

Full Changelog: 3.0.5...3.0.6

v3.0.5

30 Nov 20:25
d8f8212

Choose a tag to compare

What's Changed

Full Changelog: 3.0.4...3.0.5

v3.0.4

30 Nov 19:47

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.3...3.0.4

v3.0.3

19 Oct 07:37
6255043

Choose a tag to compare

What's Changed

Full Changelog: 3.0.2...3.0.3

v3.0.2

14 Oct 20:03
61ce652

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.1...3.0.2

v3.0.1

12 Oct 19:20
0174444

Choose a tag to compare

What's Changed

  • fix: support provider[dep] = value override syntax by @Lancetnik in #215

Full Changelog: 3.0.0...3.0.1

v3.0.0

11 Oct 10:34
0a974c5

Choose a tag to compare

What's Changed

Currently you can select the serializer implementation you prefer

Pydanic

from pydantic import Field

from fast_depends import inject
from fast_depends.pydantic import PydanticSerializer

@inject(serializer=PydanticSerializer())
def func(a: list[int] = Field(min_length=1)): ...

Msgspec

from msgspec import field

from fast_depends import inject
from fast_depends.msgspec import MsgSpecSerializer

@inject(serializer_cls=MsgSpecSerializer())
def func(a: list[int] = field(default=[])) -> list[int]:
    return a

New Contributors

Full Changelog: 2.4.12...3.0.0

v3.0.0rc0

12 Aug 14:01

Choose a tag to compare

What's Changed

Currently you can select the serializer implementation you prefer

Pydanic

from pydantic import Field

from fast_depends import inject
from fast_depends.pydantic import PydanticSerializer

@inject(serializer=PydanticSerializer())
def func(a: list[int] = Field(min_length=1)): ...

Msgspec

from msgspec import field

from fast_depends import inject
from fast_depends.msgspec import MsgSpecSerializer

@inject(serializer_cls=MsgSpecSerializer())
def func(a: list[int] = field(default=[])) -> list[int]:
    return a

New Contributors

Full Changelog: 2.4.12...3.0.0rc0