Skip to content

Releases: tfranzel/drf-spectacular

0.27.2

01 Apr 18:05
Compare
Choose a tag to compare

Important notes

  • Some bugfixes and some functionality gaps closed.

PRs

New Contributors

Full Changelog: 0.27.1...0.27.2

0.27.1

18 Jan 20:00
Compare
Choose a tag to compare

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: 0.27.0...0.27.1

0.27.0

12 Dec 00:15
Compare
Choose a tag to compare

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: 0.26.5...0.27.0

0.26.5

23 Sep 00:17
Compare
Choose a tag to compare

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: 0.26.4...0.26.5

0.26.4

23 Jul 21:23
Compare
Choose a tag to compare

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: 0.26.3...0.26.4

0.26.3

22 Jun 16:09
Compare
Choose a tag to compare

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: 0.26.2...0.26.3

0.26.2

15 Apr 13:21
Compare
Choose a tag to compare

Important notes

  • small bugfix release that also contains the new OpenApiRequest feature

PRs

New Contributors

Full Changelog: 0.26.1...0.26.2

0.26.1

18 Mar 17:44
Compare
Choose a tag to compare

Important notes

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

PRs

  • Add PresentablePrimarKeyRelatedField schema for drf-exrta-fields blue… by @enjoy2000 in #957
  • Fix test warnings by @Incred in #959

New Contributors

Full Changelog: 0.26.0...0.26.1

0.26.0

04 Mar 20:17
Compare
Choose a tag to compare

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: 0.25.1...0.26.0