Releases: Lancetnik/FastDepends
Releases · Lancetnik/FastDepends
3.0.8
v3.0.7
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
What's Changed
- feat: add exclude option to schema generator by @Lancetnik in #255
Full Changelog: 3.0.5...3.0.6
v3.0.5
What's Changed
- ci: add free-threading tests by @Lancetnik in #238
- refactor: use inspect.is_coroutine_callable by @Lancetnik in #239
Full Changelog: 3.0.4...3.0.5
v3.0.4
What's Changed
- Fix clear overrides by @redb0 in #225
- feat:serializers cast custom types with msgspec by @Str1kez in #237
- python3.14 to test by @l4stdev in #196
New Contributors
- @redb0 made their first contribution in #225
- @if-i made their first contribution in #233
- @Str1kez made their first contribution in #237
- @l4stdev made their first contribution in #196
Full Changelog: 3.0.3...3.0.4
v3.0.3
What's Changed
- chore: update relator by @Sehat1137 in #221
- chore: add License to distribution by @Lancetnik in #222
Full Changelog: 3.0.2...3.0.3
v3.0.2
What's Changed
- ci: install reagento/relator by @Sehat1137 in #219
- fix: add support PEP-695 TypeAliasType by @stefan-vasilenko in #218
New Contributors
- @Sehat1137 made their first contribution in #219
- @stefan-vasilenko made their first contribution in #218
Full Changelog: 3.0.1...3.0.2
v3.0.1
What's Changed
- fix: support
provider[dep] = valueoverride syntax by @Lancetnik in #215
Full Changelog: 3.0.0...3.0.1
v3.0.0
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- fix: Don't reset state of generator on each invocation by @Zhenay in #166
- fix: Allow depends on injected generators by @Zhenay in #169
- Fix asserts in
build.pyby @sobolevn in #174 - opt: add check on empty customs by @horpto in #177
- feat: make pydantic optional by @Lancetnik in #77
New Contributors
Full Changelog: 2.4.12...3.0.0
v3.0.0rc0
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- fix: Don't reset state of generator on each invocation by @Zhenay in #166
- fix: Allow depends on injected generators by @Zhenay in #169
- Fix asserts in
build.pyby @sobolevn in #174 - opt: add check on empty customs by @horpto in #177
- feat: make pydantic optional by @Lancetnik in #77
New Contributors
Full Changelog: 2.4.12...3.0.0rc0