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
0.25.0 (2022-12-13)
Fix missing description for ManyRelatedField and tested for SlugField ([#895](https://github.com/tfranzel/drf-spectacular/issues/895) <https://github.com/tfranzel/drf-spectacular/issues/895>_) [StopMotionCuber]
Add custom settings to CLI (view parity) [#892](https://github.com/tfranzel/drf-spectacular/issues/892) <https://github.com/tfranzel/drf-spectacular/issues/892>_
fix function misnomer [#891](https://github.com/tfranzel/drf-spectacular/issues/891) <https://github.com/tfranzel/drf-spectacular/issues/891>_
improve trace messages / warnings & add color [#866](https://github.com/tfranzel/drf-spectacular/issues/866) <https://github.com/tfranzel/drf-spectacular/issues/866>_
Treat SlugRelatedField analog to PrimaryKeyRelatedField [#854](https://github.com/tfranzel/drf-spectacular/issues/854) <https://github.com/tfranzel/drf-spectacular/issues/854>_
Include filename in call to _get_sidecar_url [Justin Spencer]
add a view to handle SwaggerUI oauth callbacks ([#882](https://github.com/tfranzel/drf-spectacular/issues/882) <https://github.com/tfranzel/drf-spectacular/issues/882>_) [Finn-Thorben Sell]
improve documentation
Introduce setting DEFAULT_QUERY_MANAGER to allow other managers for querset retrieval
fix flake8 6.0.0 breaking change
fix example list detection (symmetry with schema) [#872](https://github.com/tfranzel/drf-spectacular/issues/872) <https://github.com/tfranzel/drf-spectacular/issues/872>_
Use direct view methods for getting serializer instances [Numerlor]
name overrides for rest_framework_dataclasses [#839](https://github.com/tfranzel/drf-spectacular/issues/839) <https://github.com/tfranzel/drf-spectacular/issues/839>_
decouple TypedDict class from Py version [#861](https://github.com/tfranzel/drf-spectacular/issues/861) <https://github.com/tfranzel/drf-spectacular/issues/861>_ [#654](https://github.com/tfranzel/drf-spectacular/issues/654) <https://github.com/tfranzel/drf-spectacular/issues/654>_
Utils: Replace List[] with Sequence[], because of Mypy note 'List is invariant. Consider using Sequence instead.' [Hans Aarne Liblik]
Fixed minor typos [Conrad]
Removing blank and null keys when generating the overridden choices hash to match the hash generation logic in the enum post processor hook [Trent Holliday]
fix test fixture overlap [#826](https://github.com/tfranzel/drf-spectacular/issues/826) <https://github.com/tfranzel/drf-spectacular/issues/826>_
specifiy min patch release for DRF (fixes [#812](https://github.com/tfranzel/drf-spectacular/issues/812) <https://github.com/tfranzel/drf-spectacular/issues/812>_)
Preserve context in get_list_serializer. [Brady Dean]
Allow field extensions to return None from map_serializer_field [Andrew Backer]
Breaking changes / important additions:
Officially set the lower bound for DRF version to 3.10.3
Refactored the CLI warning system for better code navigation / orientation, GUI support and color!
Some minor mechanics changes, several overall improvements, feature additions, and a few bugfixes.
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)
Updates the requirements on drf-spectacular to permit the latest version.
Changelog
Sourced from drf-spectacular's changelog.
... (truncated)
Commits
7bfcfb1
version bump7c28609
Fix warning source line performance regression #889 #897cdeb4a4
improve warning for transient@api
_view objects #88946e63b9
adapt package arg due to setuptools deprecation #786f03b141
Merge pull request #899 from tfranzel/fix_slugrelated1957599
utilize queryset for SlugRelatedField #897c0509c6
Bugfix rst issuesbba853e
version bump72a05cf
Fix missing description for ManyRelatedField and tested for SlugField (#895)1a124ee
Merge branch 'pr833'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)