Breaking changes
- Breaking:
FileResponseSpec()now describes inline file responses
and does not includeContent-Dispositionby default. Use
FileResponseSpec(as_attachment=True)when returning Django's
FileResponse(..., as_attachment=True), #1020
Migrations prompt
User-facing changes:
Change all existing ``dmr.files.FileResponseSpec`` usages
to include ``as_attachment=True`` parameter.Features
- Added support for JSON Schema 2020-12 dynamic reference keywords
($dynamicRef,$dynamicAnchor,$defs) in OpenAPI schema generation.
These can now be propagated throughextra_json_schema
for generic type definitions, #1039
Misc
- Use
typing_extensions.Sentinelfordmr.types.EMPTY, #995 pyrefly@1.0official support, #1015mypy@2.0andmypy@2.1official support, #1013
New Contributors
- @KardeniaPoyu made their first contribution in #1024
Full Changelog: 0.9.0...0.10.0