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.22.0 #6046

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 21, 2022

Bumps drf-spectacular from 0.21.2 to 0.22.0.

Changelog

Sourced from drf-spectacular's changelog.

0.22.0 (2022-03-21)

  • Added detype_patterns() with @cache. [Nick Pope]
  • add "externalDocs" to operation via extend_schema [#681](https://github.com/tfranzel/drf-spectacular/issues/681) <https://github.com/tfranzel/drf-spectacular/issues/681>_
  • warn on invalid components names [#685](https://github.com/tfranzel/drf-spectacular/issues/685) <https://github.com/tfranzel/drf-spectacular/issues/685>_
  • wrap examples in list/pagination when serializer is many=True [#641](https://github.com/tfranzel/drf-spectacular/issues/641) <https://github.com/tfranzel/drf-spectacular/issues/641>_ [#640](https://github.com/tfranzel/drf-spectacular/issues/640) <https://github.com/tfranzel/drf-spectacular/issues/640>_ [#595](https://github.com/tfranzel/drf-spectacular/issues/595) <https://github.com/tfranzel/drf-spectacular/issues/595>_
  • python's and django's float is really "double precision" [#674](https://github.com/tfranzel/drf-spectacular/issues/674) <https://github.com/tfranzel/drf-spectacular/issues/674>_
  • Support negative numbers in pattern regex for coerced decimal fields [Mike Hansen]
  • add OpenAPI callback operations [#665](https://github.com/tfranzel/drf-spectacular/issues/665) <https://github.com/tfranzel/drf-spectacular/issues/665>_
  • Keep the urlpatterns in the apiview and pass it to the generator [Jorge Cardona]
  • django-filter: raise priority of explicitly given filter method type hints [#660](https://github.com/tfranzel/drf-spectacular/issues/660) <https://github.com/tfranzel/drf-spectacular/issues/660>_
  • also allow @​extend_schema_field on django-filter filter method [#660](https://github.com/tfranzel/drf-spectacular/issues/660) <https://github.com/tfranzel/drf-spectacular/issues/660>_
  • accommodate pyright limitations [#657](https://github.com/tfranzel/drf-spectacular/issues/657) <https://github.com/tfranzel/drf-spectacular/issues/657>_
  • fix doc extraction for built-in types [#654](https://github.com/tfranzel/drf-spectacular/issues/654) <https://github.com/tfranzel/drf-spectacular/issues/654>_
  • use get_doc for description [Josh Ferge]
  • add more information to resolved TypedDicts [Josh Ferge]
  • fix url escaping bug introduced in [#556](https://github.com/tfranzel/drf-spectacular/issues/556) <https://github.com/tfranzel/drf-spectacular/issues/556>_ ([#650](https://github.com/tfranzel/drf-spectacular/issues/650) <https://github.com/tfranzel/drf-spectacular/issues/650>_)
  • pass through version from UI to schema endpoint [#650](https://github.com/tfranzel/drf-spectacular/issues/650) <https://github.com/tfranzel/drf-spectacular/issues/650>_
  • factor out schema_url generation [#650](https://github.com/tfranzel/drf-spectacular/issues/650) <https://github.com/tfranzel/drf-spectacular/issues/650>_
  • relax AcceptHeaderVersioning contraint for modification [#650](https://github.com/tfranzel/drf-spectacular/issues/650) <https://github.com/tfranzel/drf-spectacular/issues/650>_
  • Enable the use of lists in extend_schema_view() [François Travais]

Breaking changes / important additions:

  • This is a y-stream release with a lot of bugfixes, some new features and potentially small schema changes (if affected features are used).
  • Examples are now wrapped in pagination/lists when endpoint/serializer is many=True
  • django-filter had some internal restructuring and thus overrides are now always honored.
  • added callback functionality (EXPERIMENTAL and subject to change due to pending issue)
  • Many thanks to all the contributors!
Commits
  • fdf07fe version bump
  • 6cdd515 Merge commit 'fd22244'
  • fd22244 Added detype_patterns() with @cache.
  • 52d534b add "externalDocs" to operation via extend_schema #681
  • 291eea3 warn on invalid components names #685
  • f50bc10 bugfix example list tests for old DRF version
  • d272385 wrap examples in list/pagination when serializer is many=True #641 #640 #595
  • c0b679d python's and django's float is really "double precision" #674
  • 0469381 Merge pull request #677 from roverdotcom/fix-negative-decimals
  • 6f952d8 Support negative numbers in pattern regex for coerced decimal fields
  • 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.22.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.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 21, 2022
Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@valentijnscholten valentijnscholten merged commit f9067a0 into dev Mar 21, 2022
@dependabot dependabot bot deleted the dependabot/pip/dev/drf-spectacular-0.22.0 branch March 21, 2022 17:54
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.

None yet

2 participants