Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update drf-spectacular to 0.27.0 #4735

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

pyup-bot
Copy link
Collaborator

This PR updates drf-spectacular from 0.26.5 to 0.27.0.

Changelog

0.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 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
Links

@browniebroke browniebroke merged commit 5aff136 into master Dec 12, 2023
15 checks passed
@browniebroke browniebroke deleted the pyup-update-drf-spectacular-0.26.5-to-0.27.0 branch December 12, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants