v2.0.0rc1
Pre-release
Pre-release
What's Changed
🎉 New Contributors 🎉
- @mj0nez made their first contribution in #2036
- @therealzanfar made their first contribution in #2058
New features
- Server-sent events by @Goldziher in #2035
- SQLAlchemy repository: allow specifying
id_attribute
per method by @cofin in #2052 - SQLAlchemy repository:
upsert_many
by @cofin in #2056 - SQLAlchemy repository: New filters
OnBeforeAfter
,NotInCollectionFilter
andNotInSearchFilter
by @cofin in #2057 - SQLAlchemy repository: Configurable chunk sizing for
delete_many
by @cofin in #2061 - SQLAlchemy repository: Support
InstrumentedAttribute
for attribute columns by @provinzkraut in #2054 - OpenAPI: support callable
operation_id
on route handlers by @Goldziher in #2078 - Run event listeners concurrently by @provinzkraut in #2083
- Plugin registry by @provinzkraut in #2096
- CLI plugins by @provinzkraut in #2066
Bugfixes
- SQLAlchemy repository:
health_check
generates valid statement for oracle by @cofin in #2060 - Fix serialization of empty strings in multipart form by @Goldziher in #2044
- Fix #2033 - Server-side session middleware overrides CSRF cookies by @provinzkraut in #2069
- Fix base path escaping in channels on Windows by @provinzkraut in #2112
- DTO: Support renamed fields in
DTOData
andcreate_instance
by @abdulhaq-e in #2065
Other changes
- Switch test clients to
debug=True
by default by @Goldziher in #2049 - BREAKING: remove deprecated module
partial.py
by @provinzkraut in #2113 - BREAKING: remove deprecated modules
dto/factory
andcontrib/msgspec
by @provinzkraut in #2114
Changes to DTOs
BREAKING
This release introduces significant changes to the DTOs. This was necessary to address some bugs that came about because of some issues with the previous internal design. Unfortunately, these changes could not be made backwards compatible, but they are mostly superficial changes to the interfaces; Functionally DTOs still work the same.
The following breaking changes were introduced:
DTOInterface
has been removedForType
has been removedAbstractDTOFactory
has been renamed toAbstractDTO
Full Changelog: v2.0.0beta4...v2.0.0rc1