What's Changed
New features
- Warn about sync dependencies without an explicit
sync_to_thread
value by @provinzkraut in #1648 - Warn about sync handler functions without an explicit
sync_to_thread
value by @provinzkraut in #1655 - Warn about
sync_to_thread
with async callables by @provinzkraut in #1664 - Support dependencies in WS listener hooks by @provinzkraut in #1647
- Declaring dependencies without Provide by @provinzkraut in #1638
DTOData
datastructure by @peterschutt in #1650- Partial DTOs by @peterschutt in #1651
- SQLA repository:
psycopg
asyncio support by @cofin in #1657 - SQLA repository:
BigInteger
PK option PKs by @cofin in #1657 - SQLA repository: Binary
GUID
PKs by @cofin in #1657 - Application lifespan context managers by @provinzkraut in #1635
- Trio compatible event-emitters by @provinzkraut in #1666
- OpenAPI schema for
msgspec.Meta
annotated types by @Goldziher in #1669 - OpenAPI schema for Pydantic
FieldInfo
by @Goldziher in #1670
Bugfixes
- Fix #1640 - StorageObject doesn't return < 0 when using expiry by @SanderWegter in #1641
- Fix filter
forward-ref
issues by @cofin in #1659 - Fix channels repeated unsubscribe bug by @provinzkraut in #1656
- Fix #1643 - Fully qualified model name + Unique ShortID generation for DTO Model to avoid collision issues by @v3ss0n in #1649
- Fix #1660 - Discrepancy between attrs and Pydantic validation output by @Goldziher in #1668
- Fix #1446 - Add validation to unknown media types by @Goldziher in #1671
Other changes
- [Breaking] Unify lifespan hooks by @provinzkraut in #1663
New Contributors
Full Changelog: v2.0.0alpha6...v2.0.0alpha7