LangCorrect / server

Master grammar, spelling, and syntax in the language(s) you’re learning through direct feedback on your writing from fluent, native speakers.
https://langcorrect.com
21 stars 12 forks source link

Bump drf-spectacular from 0.26.5 to 0.27.0 #345

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps drf-spectacular from 0.26.5 to 0.27.0.

Release notes

Sourced from drf-spectacular's releases.

0.27.0

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

Changelog

Sourced from drf-spectacular's changelog.

0.27.0 (2023-12-12)

  • improve mypy typing [#600](https://github.com/tfranzel/drf-spectacular/issues/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) <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) <https://github.com/tfranzel/drf-spectacular/issues/790>_ [#1104](https://github.com/tfranzel/drf-spectacular/issues/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) <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) <https://github.com/tfranzel/drf-spectacular/issues/1095>_
  • add test for empty whitelist (no auth) [#1094](https://github.com/tfranzel/drf-spectacular/issues/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) <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) <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
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)