What's Changed
In this release we significantly improved the DX of defining common
auth and throttling types in the settings that could be used
for both sync and async controllers at the same time.
Breaking changes
- Dropped macOS x86_64 wheel support
- Dropped Django 4.2 support
Features
- Added
SyncOrAsyncThrottleclass to apply a single throttle rule
to both sync and async endpoints via global settings, #1075 - Added
SyncOrAsyncAuthclass to apply a single auth rule
to both sync and async endpoints via global settings, #1102
Bugfixes
- Fixed several compatibility issues on older Django 5.x versions, #1096
- Fixed
LeakyBucketthrottling algorithm corner cases, #1044 - Fixed OpenAPI schema generation for enum values used
in path, query, header, and cookie parameters, #1059 - Fixed that
dmr.plugins.msgspec.msgpackcache was not cleared
onclear_settings_cachecalls
Misc
- Renamed the default OpenAPI title from
Django Modern Rest
toYour Awesome Projectand documented allOpenAPIConfig
fields, #1021
New Contributors
- @iccccccccccccc made their first contribution in #1044
- @hpy1968 made their first contribution in #1059
- @Rusich90 made their first contribution in #1071
- @TurtleOld made their first contribution in #1098
- @SemTiOne made their first contribution in #1100
- @Posterfo made their first contribution in #1103
- @Axiya3749 made their first contribution in #1104
- @sr-dotcom made their first contribution in #1109
Full Changelog: 0.10.0...0.11.0