chore(deps): update dependency drf-spectacular to ^0.28.0 - autoclosed
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
- Fix lazy_reverse bug in views (
#​1339 <https://github.com/tfranzel/drf-spectacular/issues/1339>_) - Extend query params explosion of non-DRF serializer
#​1315 <https://github.com/tfranzel/drf-spectacular/issues/1315>_ - consider pk_field on PrimaryKeyRelatedField when set
#​1335 <https://github.com/tfranzel/drf-spectacular/issues/1335>_ - fix unused OAuth2 scopes override
#​1319 <https://github.com/tfranzel/drf-spectacular/issues/1319>_ - bugfix @extend_schema_field raw schema already in OAS3.1
- some minors (resolves
#​1147 <https://github.com/tfranzel/drf-spectacular/issues/1147>_) - fix OAS3.1 validator omission
#​1302 <https://github.com/tfranzel/drf-spectacular/issues/1302>_ - guard against broken dir impl
#​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
#​1288 <https://github.com/tfranzel/drf-spectacular/issues/1288>_ - make operation_id action position configurable
#​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
#​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
#​1228 <https://github.com/tfranzel/drf-spectacular/issues/1228>_ - Add support for stateless user authentication in SimpleJWT (
#​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
- fix non-translated enum override hash
#​1198 <https://github.com/tfranzel/drf-spectacular/issues/1198>_ - higher order hints for @extend_schema_field (case 2)
#​1174 <https://github.com/tfranzel/drf-spectacular/issues/1174>_#​1212 <https://github.com/tfranzel/drf-spectacular/issues/1212>_ - Add support for TypeAliasType (
#​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
#​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
#​1184 <https://github.com/tfranzel/drf-spectacular/issues/1184>_ - Add support for direct usage of higher order hints
#​1174 <https://github.com/tfranzel/drf-spectacular/issues/1174>_ - Document
extend_schema_viewsupport for@action(#​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
#​1158 <https://github.com/tfranzel/drf-spectacular/issues/1158>_ - fix linter warning
#​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
- differentiate test cases for 3.1 null cases
#​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
#​1134 <https://github.com/tfranzel/drf-spectacular/issues/1134>_ - bugfix test
#​1133 <https://github.com/tfranzel/drf-spectacular/issues/1133>_ - add OAS 3.1 null translation case
#​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 existingCallbacks
v0.27.0
- improve mypy typing
#​600 <https://github.com/tfranzel/drf-spectacular/issues/600>_ - add django 5 to test suite and adapt to changes
#​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
#​790 <https://github.com/tfranzel/drf-spectacular/issues/790>_#​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
#​1106 <https://github.com/tfranzel/drf-spectacular/issues/1106>_ - JSONField may also be a non-object/primitive
#​1095 <https://github.com/tfranzel/drf-spectacular/issues/1095>_ - add test for empty whitelist (no auth)
#​1094 <https://github.com/tfranzel/drf-spectacular/issues/1094>_ - Avoid ChoiceField duplicate enum values for allow_null, allow_blank (
#​1085 <https://github.com/tfranzel/drf-spectacular/issues/1085>_) [Marti Raudsepp] - add test for django-filter and ListAPIView
#​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
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by uis-devops-renovatebot