Drf Spectacular Versions Save

Sane and flexible OpenAPI 3 schema generation for Django REST framework.

0.27.2

1 month ago

Important notes

  • Some bugfixes and some functionality gaps closed.

PRs

New Contributors

Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.27.1...0.27.2

0.27.1

3 months ago

Important notes

  • Fixed some OAS 3.1 corner cases and added support for Webhooks (3.1) in addition to existing Callbacks

PRs

New Contributors

Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.27.0...0.27.1

0.27.0

5 months ago

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 add postprocess_schema_enum_id_removal, to remove the temporary ids we had to add. By default this action is done automatically.

PRs

New Contributors

Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.5...0.27.0

0.26.5

7 months ago

Important notes

  • Added helper function forced_singular_serializer to disable a list detection on an endpoint, that has been quite difficult to properly undo previously. This closes the functional gap for @extend_schema_serializer(many=False) in single-use (non-envelope) situations.
  • Several small bugfixes

PRs

New Contributors

Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.4...0.26.5

0.26.4

9 months ago

Important notes

  • some minor bugfixes as well as improvements to django-filter and django-polymorphic.
  • it is now significantly easier to adapt serializer naming via AutoSchema subclassing.

PRs

New Contributors

Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.3...0.26.4

0.26.3

10 months ago

Important notes

  • No major changes but a multiude of small improvements.
  • We are now a lot more tolerant when it comes to writing extensions for non-standard classes (e.g. Pydantic).
  • There should be no unexpected schema changes except for when djangorestframework_camel_case's Middleware is used.

PRs

New Contributors

Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.2...0.26.3

0.26.2

1 year ago

Important notes

  • small bugfix release that also contains the new OpenApiRequest feature

PRs

New Contributors

Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.1...0.26.2

0.26.1

1 year ago

Important notes

  • Small bugfix release that addresses an issue when turning off choice description generation
  • Improve/bugfix PolymorphicSerializer type field handling

PRs

New Contributors

Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.26.0...0.26.1

0.26.0

1 year ago

Important notes

  • A lot of bug fixes and a few feature additions.
  • We now render a descriptive Enum key/value list into the description by default. Opt-out with new setting ENUM_GENERATE_CHOICE_DESCRIPTION.
  • Beware that we now extract more docstrings. Check your schema diff on update whether you are now leaking unintended information.
  • The whitelist mechanics changed slightly on what is considered default behavior.
  • Fix a breaking change in dj-rest-auth>=3.0.0
  • It should now be possible to run the tests without installing system libraries like GDAL for the contrib tests

PRs

New Contributors

Full Changelog: https://github.com/tfranzel/drf-spectacular/compare/0.25.1...0.26.0