FAQ | This is a LIVE service | Changelog

Skip to content

chore(deps): update dependency drf-spectacular to ^0.28.0

uis-devops-renovatebot requested to merge renovate/drf-spectacular-0.x into main

This MR contains the following updates:

Package Type Update Change
drf-spectacular dependencies minor ^0.26.3 -> ^0.28.0

Release Notes

tfranzel/drf-spectacular (drf-spectacular)

v0.28.0

Compare Source

  • Fix lazy_reverse bug in views (#&#8203;1339 <https://github.com/tfranzel/drf-spectacular/issues/1339>_)
  • Extend query params explosion of non-DRF serializer #&#8203;1315 <https://github.com/tfranzel/drf-spectacular/issues/1315>_
  • consider pk_field on PrimaryKeyRelatedField when set #&#8203;1335 <https://github.com/tfranzel/drf-spectacular/issues/1335>_
  • fix unused OAuth2 scopes override #&#8203;1319 <https://github.com/tfranzel/drf-spectacular/issues/1319>_
  • bugfix @​extend_schema_field raw schema already in OAS3.1
  • some minors (resolves #&#8203;1147 <https://github.com/tfranzel/drf-spectacular/issues/1147>_)
  • fix OAS3.1 validator omission #&#8203;1302 <https://github.com/tfranzel/drf-spectacular/issues/1302>_
  • guard against broken dir impl #&#8203;1296 <https://github.com/tfranzel/drf-spectacular/issues/1296>_
  • Add Django 5.1 as classifier [jelmert]
  • No extra items in the oneOf list [Vladimir]
  • parametrize component registry identity #&#8203;1288 <https://github.com/tfranzel/drf-spectacular/issues/1288>_
  • make operation_id action position configurable #&#8203;1264 <https://github.com/tfranzel/drf-spectacular/issues/1264>_
  • Fix for incorrect issubclass() check. [Mike Moore]
  • Correct the documentation of how to import extension snippets [Alan Crosswell]
  • Update OpenAPI docs links [Nils Van Zuijlen]
  • mitigate false positive in Django Debug Toolbar #&#8203;1159 <https://github.com/tfranzel/drf-spectacular/issues/1159>_
  • Additional testcase [Marti Raudsepp]
  • Fix ChoiceField schema type with empty choices=[] [Marti Raudsepp]
  • handle examples with nested properties pagination [François Rejeté]
  • add choice field display method handling #&#8203;1228 <https://github.com/tfranzel/drf-spectacular/issues/1228>_
  • Add support for stateless user authentication in SimpleJWT (#&#8203;1221 <https://github.com/tfranzel/drf-spectacular/issues/1221>_) [Willem Meints]
  • fix: set pydantic json mode to serialization [Eric Butler]
  • fix: extend_schema_field with dict param and oas 3.1 [Eric Butler]

Breaking changes / important additions:

  • Y-stream release due to the amount of small but important changes.
  • Pydantic users might see a slightly different schema due to the change in serialization method.

v0.27.2

Compare Source

  • fix non-translated enum override hash #&#8203;1198 <https://github.com/tfranzel/drf-spectacular/issues/1198>_
  • higher order hints for @​extend_schema_field (case 2) #&#8203;1174 <https://github.com/tfranzel/drf-spectacular/issues/1174>_ #&#8203;1212 <https://github.com/tfranzel/drf-spectacular/issues/1212>_
  • Add support for TypeAliasType (#&#8203;1214 <https://github.com/tfranzel/drf-spectacular/issues/1214>_) [igorgaming]
  • DRF 3.15 counteract new assertion for tests
  • Add a specific Action Wrapper for OAuth Authorization requests #&#8203;1190 <https://github.com/tfranzel/drf-spectacular/issues/1190>_ [Bram Esposito]
  • Update SWAGGER_UI_DIST settings.rst [Alfie Day]
  • fix custom http_method_names for actions #&#8203;1184 <https://github.com/tfranzel/drf-spectacular/issues/1184>_
  • Add support for direct usage of higher order hints #&#8203;1174 <https://github.com/tfranzel/drf-spectacular/issues/1174>_
  • Document extend_schema_view support for @action (#&#8203;1178 <https://github.com/tfranzel/drf-spectacular/issues/1178>_) [johnthagen]
  • remove official 3.6 support due to upstream breakage.
  • Add auth extension for django-rest-knox [Callum Gare]
  • fix yaml encoder for OrderedDict objects #&#8203;1158 <https://github.com/tfranzel/drf-spectacular/issues/1158>_
  • fix linter warning #&#8203;1158 <https://github.com/tfranzel/drf-spectacular/issues/1158>_
  • Update link to redoc settings [Andrey Otto]
  • Add tags support to OpenApiWebhook [Federico Bond]
  • set Cross-Origin-Opener-Policy on Swagger-UI view [ftsell]

Breaking changes / important additions:

  • Some bugfixes and some functionality gaps closed.

v0.27.1

Compare Source

  • differentiate test cases for 3.1 null cases #&#8203;1139 <https://github.com/tfranzel/drf-spectacular/issues/1139>_
  • add enum suffix setting [Jonny Beaumont]
  • Fix handling of metadata when using OAS 3.1 [Viicos]
  • Provide all fixed field names for the components object [Sergei Maertens]
  • coerse Decimal to float format explicitly #&#8203;1134 <https://github.com/tfranzel/drf-spectacular/issues/1134>_
  • bugfix test #&#8203;1133 <https://github.com/tfranzel/drf-spectacular/issues/1133>_
  • add OAS 3.1 null translation case #&#8203;1133 <https://github.com/tfranzel/drf-spectacular/issues/1133>_
  • Add OpenAPI 3.1 webhook support [Federico Bond]
  • add OAS 3.1 null case

Breaking changes / important additions:

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

v0.27.0

Compare Source

  • improve mypy typing #&#8203;600 <https://github.com/tfranzel/drf-spectacular/issues/600>_
  • add django 5 to test suite and adapt to changes #&#8203;1126 <https://github.com/tfranzel/drf-spectacular/issues/1126>_
  • Use correctly allowed http methods for schema generation [Jekel]
  • OAS 3.1
  • Fix Enum collision with same choices & varying labels #&#8203;790 <https://github.com/tfranzel/drf-spectacular/issues/790>_ #&#8203;1104 <https://github.com/tfranzel/drf-spectacular/issues/1104>_
  • Undo adding middleware [Jelmer Draaijer]
  • Set JWTTokenUserAuthentication to None when missing [Jelmer Draaijer]
  • Add setuptools required for packaging [Jelmer Draaijer]
  • Add allauth.account.middleware.AccountMiddleware to middleware [Jelmer Draaijer]
  • Add Python 3.12 to test matrix and add classifiers [Jelmer Draaijer]
  • Add official support for pydantic decoration.
  • bugfix ignored OpenApiRequest case #&#8203;1106 <https://github.com/tfranzel/drf-spectacular/issues/1106>_
  • JSONField may also be a non-object/primitive #&#8203;1095 <https://github.com/tfranzel/drf-spectacular/issues/1095>_
  • add test for empty whitelist (no auth) #&#8203;1094 <https://github.com/tfranzel/drf-spectacular/issues/1094>_
  • Avoid ChoiceField duplicate enum values for allow_null, allow_blank (#&#8203;1085 <https://github.com/tfranzel/drf-spectacular/issues/1085>_) [Marti Raudsepp]
  • add test for django-filter and ListAPIView #&#8203;1086 <https://github.com/tfranzel/drf-spectacular/issues/1086>_
  • Fix the blueprint for pydantic version 2 [Carmen Alvarez]

Breaking changes / important additions:

  • Biggest release in quite some time that contains a bunch of long running MR 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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by uis-devops-renovatebot

Merge request reports

Loading