0.27.0
Important notes
- Biggest release in quite some time that contains a bunch of long running PR that finally found their way into master.
- We now officially support OpenAPI 3.1 and Pydantic>=2
- Quite a few bug fixes (thanks to all contributors ❤️) and improved typing
- If you use a custom version of
postprocess_schema_enums
, you might want to also manually addpostprocess_schema_enum_id_removal
, to remove the temporary ids we had to add. By default this action is done automatically.
PRs
- Avoid ChoiceField duplicate enum values for allow_null, allow_blank by @intgr in #1085
- Fix the blueprint for pydantic version 2 by @caarmen in #1030
- bugfix ignored OpenApiRequest case #1106 by @tfranzel in #1110
- Add official support for pydantic decoration. by @tfranzel in #1111
- Add Python 3.12 to test matrix and add classifiers by @foarsitter in #1096
- Fix Enum collision with same choices & varying labels #790 #1104 by @tfranzel in #1113
- OAS 3.1 by @tfranzel in #825
- add django 5 to test suite and adapt to changes #1126 by @tfranzel in #1127
- improve mypy typing #600 by @tfranzel in #620
- Handle http method names passed for views in DRF for correct schema generation by @jekel in #1075
New Contributors
Full Changelog: 0.26.5...0.27.0