Added helper function forced_singular_serializer to disable a list detection on an endpoint, that has been quite difficult to properly undo previously. This closes the functional gap for @extend_schema_serializer(many=False) in single-use (non-envelope) situations.
Fix ([#1079](https://github.com/tfranzel/drf-spectacular/issues/1079) <https://github.com/tfranzel/drf-spectacular/issues/1079>_) crash when generating schema for field with UUID choices. [Pedro Borges]
chore: fix typos [Heinz-Alexander Fuetterer]
Use schema_url in SpectacularElementsView ([#1067](https://github.com/tfranzel/drf-spectacular/issues/1067) <https://github.com/tfranzel/drf-spectacular/issues/1067>_) [q0w]
add helper to disable viewset list detection [#1064](https://github.com/tfranzel/drf-spectacular/issues/1064) <https://github.com/tfranzel/drf-spectacular/issues/1064>_
pin django-allauth test dep due to breaking change with dj-rest-auth
fix example building for pagination with basic list [#1055](https://github.com/tfranzel/drf-spectacular/issues/1055) <https://github.com/tfranzel/drf-spectacular/issues/1055>_
Added helper function forced_singular_serializer to disable a list detection on a endpoint, that has been quite difficult to properly
undo previously. This closes the functional gap for @extend_schema_serializer(many=False) in single-use (non-envelope) situations.
Several small bugfixes
0.26.4 (2023-07-23)
fix django-polymorphic empty serializer case [#1029](https://github.com/tfranzel/drf-spectacular/issues/1029) <https://github.com/tfranzel/drf-spectacular/issues/1029>_ [#542](https://github.com/tfranzel/drf-spectacular/issues/542) <https://github.com/tfranzel/drf-spectacular/issues/542>_
Add a blueprint for pydantic 2 [Carmen Alvarez]
bugfix exclude behavior on subclassing [#1025](https://github.com/tfranzel/drf-spectacular/issues/1025) <https://github.com/tfranzel/drf-spectacular/issues/1025>_
factor out serializer name estimation for easier modification [#976](https://github.com/tfranzel/drf-spectacular/issues/976) <https://github.com/tfranzel/drf-spectacular/issues/976>_
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)
Bumps drf-spectacular from 0.26.3 to 0.26.5.
Release notes
Sourced from drf-spectacular's releases.
Changelog
Sourced from drf-spectacular's changelog.
Commits
6e4180b
version bumpcbfc84f
Revert "remove versioning from HTML (UI) template views #1036"ae68f5c
update FAQ entry on extension loading7c3a9ad
Merge pull request #1080 from phb-teleclinic/fix-uuid-serialization1e8b172
Fix (#1079) crash when generating schema for field with UUID choices.933f7b7
Merge pull request #1074 from afuetterer/fix-typosb7b8811
chore: fix typos949ad85
Use schema_url in SpectacularElementsView (#1067)3b028c2
Merge pull request #1065 from tfranzel/list_helperc565a38
coverageDependabot 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