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

Bump drf-spectacular from 0.21.2 to 0.26.0 #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 6, 2023

Bumps drf-spectacular from 0.21.2 to 0.26.0.

Release notes

Sourced from drf-spectacular's releases.

0.26.0

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: tfranzel/drf-spectacular@0.25.1...0.26.0

Changelog

Sourced from drf-spectacular's changelog.

0.26.0 (2023-03-04)

  • honor djangorestframework_camel_case settings "ignore_keys" and "ignore_fields" [#945](https://github.com/tfranzel/drf-spectacular/issues/945) <https://github.com/tfranzel/drf-spectacular/issues/945>_
  • If available, use docstrings from properties for field descriptions ([#954](https://github.com/tfranzel/drf-spectacular/issues/954) <https://github.com/tfranzel/drf-spectacular/issues/954>_)
  • Don't let validators override values already set in the schema ([#911](https://github.com/tfranzel/drf-spectacular/issues/911) <https://github.com/tfranzel/drf-spectacular/issues/911>_) [StopMotionCuber]
  • add test and another case to [#901](https://github.com/tfranzel/drf-spectacular/issues/901) <https://github.com/tfranzel/drf-spectacular/issues/901>_
  • add enum key/value list to description string [#337](https://github.com/tfranzel/drf-spectacular/issues/337) <https://github.com/tfranzel/drf-spectacular/issues/337>_ [#403](https://github.com/tfranzel/drf-spectacular/issues/403) <https://github.com/tfranzel/drf-spectacular/issues/403>_ [#105](https://github.com/tfranzel/drf-spectacular/issues/105) <https://github.com/tfranzel/drf-spectacular/issues/105>_ [#563](https://github.com/tfranzel/drf-spectacular/issues/563) <https://github.com/tfranzel/drf-spectacular/issues/563>_
  • Add option to provide a callable for PolymorphicProxySerializer.serializers [Glenn Matthews]
  • consolidate sort fix for enum sorting
  • add testcase to [#950](https://github.com/tfranzel/drf-spectacular/issues/950) <https://github.com/tfranzel/drf-spectacular/issues/950>_. ensure raw schema dict remains unmodified
  • Don't edit the orignal django-filters schema. [Will Giddens]
  • Fix typos and grammer errors in FAQ doc page. [Foad Lind]
  • fix OpenApiResponse nested example defaults [#875](https://github.com/tfranzel/drf-spectacular/issues/875) <https://github.com/tfranzel/drf-spectacular/issues/875>_
  • mitigate runtests.py fail when GDAL library is not installed [#945](https://github.com/tfranzel/drf-spectacular/issues/945) <https://github.com/tfranzel/drf-spectacular/issues/945>_ [#821](https://github.com/tfranzel/drf-spectacular/issues/821) <https://github.com/tfranzel/drf-spectacular/issues/821>_ [#775](https://github.com/tfranzel/drf-spectacular/issues/775) <https://github.com/tfranzel/drf-spectacular/issues/775>_ [#777](https://github.com/tfranzel/drf-spectacular/issues/777) <https://github.com/tfranzel/drf-spectacular/issues/777>_
  • bugfix SlugRelatedField with a model property target [#943](https://github.com/tfranzel/drf-spectacular/issues/943) <https://github.com/tfranzel/drf-spectacular/issues/943>_
  • suppress erroneous warning for optional extensions [#940](https://github.com/tfranzel/drf-spectacular/issues/940) <https://github.com/tfranzel/drf-spectacular/issues/940>_
  • fix whitelist mechanics (enables deny all) [#923](https://github.com/tfranzel/drf-spectacular/issues/923) <https://github.com/tfranzel/drf-spectacular/issues/923>_
  • mitigate many=True with default array value [#936](https://github.com/tfranzel/drf-spectacular/issues/936) <https://github.com/tfranzel/drf-spectacular/issues/936>_
  • fix dj-rest-auth>=3.0.0 breaking changes [#937](https://github.com/tfranzel/drf-spectacular/issues/937) <https://github.com/tfranzel/drf-spectacular/issues/937>_
  • Update plumbing.py
  • add swagger UI template blocks for customization [Jan Lis]
  • Add support for drf ReturnList and ReturnDict hint [zengqiu]
  • add example/test for DynamicFieldsModelSerializer [#375](https://github.com/tfranzel/drf-spectacular/issues/375) <https://github.com/tfranzel/drf-spectacular/issues/375>_ [#912](https://github.com/tfranzel/drf-spectacular/issues/912) <https://github.com/tfranzel/drf-spectacular/issues/912>_
  • adapt test schema for dj-rest-auth 2.2.6
  • clarify docs for postproc hook mechanics [#908](https://github.com/tfranzel/drf-spectacular/issues/908) <https://github.com/tfranzel/drf-spectacular/issues/908>_
  • Add test for custom serializer field pagination [#904](https://github.com/tfranzel/drf-spectacular/issues/904) <https://github.com/tfranzel/drf-spectacular/issues/904>_
  • fix: let use a default value for foreignkey model field [Frederic de Zorzi]

Breaking changes / important additions:

  • 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 not be possible to run the tests without installing system libraries like GDAL for the contrib tests

0.25.1 (2022-12-16)

  • Fix warning source line performance regression [#889](https://github.com/tfranzel/drf-spectacular/issues/889) <https://github.com/tfranzel/drf-spectacular/issues/889>_ [#897](https://github.com/tfranzel/drf-spectacular/issues/897) <https://github.com/tfranzel/drf-spectacular/issues/897>_
  • improve warning for transient @​api_view objects [#889](https://github.com/tfranzel/drf-spectacular/issues/889) <https://github.com/tfranzel/drf-spectacular/issues/889>_
  • adapt package arg due to setuptools deprecation [#786](https://github.com/tfranzel/drf-spectacular/issues/786) <https://github.com/tfranzel/drf-spectacular/issues/786>_
  • utilize queryset for SlugRelatedField [#897](https://github.com/tfranzel/drf-spectacular/issues/897) <https://github.com/tfranzel/drf-spectacular/issues/897>_

Breaking changes / important additions:

  • Bugfix release that addresses a performance regression in SpectacularApiView and an oversight in the now stricter handling of SlugRelatedField

... (truncated)

Commits
  • a39346c version bump
  • 27b46d0 honor djangorestframework_camel_case settings "ignore_keys" and "ignore_field...
  • 704ed7d If available, use docstrings from properties for field descriptions (#954)
  • adb6a8e Don't let validators override values already set in the schema (#911)
  • 9161e80 Merge branch 'pr901'
  • fc646fd add test and another case to #901
  • aaae20a Merge branch 'master' into pr901
  • 4c23bde Merge pull request #953 from glennmatthews/u/glennmatthews-polymorphicproxyse...
  • e98b0c6 Merge pull request #952 from tfranzel/enum_desc
  • cb47399 add enum key/value list to description string #337 #403 #105 #563
  • Additional commits viewable in compare view

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 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)

Bumps [drf-spectacular](https://github.com/tfranzel/drf-spectacular) from 0.21.2 to 0.26.0.
- [Release notes](https://github.com/tfranzel/drf-spectacular/releases)
- [Changelog](https://github.com/tfranzel/drf-spectacular/blob/master/CHANGELOG.rst)
- [Commits](tfranzel/drf-spectacular@0.21.2...0.26.0)

---
updated-dependencies:
- dependency-name: drf-spectacular
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants