AKA "The first compiled version"
This release will focus on better errors, performance, and stability.
No breaking changes will be made.
Features
- Added
mypycsupport for compiling parts of the framework
to run significantly faster, for example our compiled content
negotiation is now 35 times faster then the Django's default one, #202
See our https://django-modern-rest.readthedocs.io/en/latest/pages/deep-dive/performance.html#mypyc-compilation docs about that - Added older Django versions
4.2,5.0,5.1official support, #803 - Added official
NamedTuplesupport, #774 - Added
timezoneandpydantic-extra-typesdependencies
with[pydantic]extra, #802 - Added
exclude_semantic_responsesoptions, #786 - Added an option to override
exclude_semantic_responses
andno_validate_http_specsettings withNone - Added a new way to resolve annotations for controllers:
AnnotationsContext, #787 - Added
yamlview for OpenAPI schema, #745
Fixes
- Fixed
StreamingValidatorswallowing errors
whenvalidate_eventswasTrue, but no event model was resolved, #780 - Fixed
dataclassinstances serialization withPydanticSerializer
withoutmsgspecjson renderer, #795 - Fixed missing
passwordOpenAPI format, #805 - Fixes incorrect settings validation, #821
Misc
- Added
QuerySettutorial, #792 - Migrated from
poetrytouvfor dependency management - Set up automated secure publishing to PyPI, #823
- Added CodSpeed integration for continous performance monitoring, #810
New Contributors
- @albertedwardson made their first contribution in #779
- @Copilot made their first contribution in #788
- @neocim made their first contribution in #791
- @Satevg made their first contribution in #797
- @karpetrosyan made their first contribution in #811
- @zeel2104 made their first contribution in #766
Full Changelog: 0.4.0...0.5.0