Drf-spectacular

Latest version: v0.27.2

Safety actively analyzes 629723 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 11

0.26.2

-------------------

- fix jwt cookie name settings not being recognised (`972 <https://github.com/tfranzel/drf-spectacular/issues/972>`_) [Nix Siow]
- Add OpenApiRequest for encoding options `714 <https://github.com/tfranzel/drf-spectacular/issues/714>`_ `#965 <https://github.com/tfranzel/drf-spectacular/issues/965>`_

Breaking changes / important additions:

- small bugfix release that also contains the new ``OpenApiRequest`` feature

0.26.1

-------------------

- reorder typed polymorphic fields `958 <https://github.com/tfranzel/drf-spectacular/issues/958>`_
- Fix test warnings [Dmitry Gribanov]
- Fix PolymorphicSerializer type field handling `885 <https://github.com/tfranzel/drf-spectacular/issues/885>`_ `#958 <https://github.com/tfranzel/drf-spectacular/issues/958>`_
- Add PresentablePrimarKeyRelatedField schema for drf-exrta-fields blueprint [Đào Minh Hạt]
- bugfix KeyError for disabled ENUM_GENERATE_CHOICE_DESCRIPTION `952 <https://github.com/tfranzel/drf-spectacular/issues/952>`_

Breaking changes / important additions:

- small bugfix release that addresses a issue when turning off choice description generation
- improve/bugfix ``PolymorphicSerializer`` type field handling

0.26.0

-------------------

- honor djangorestframework_camel_case settings "ignore_keys" and "ignore_fields" `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>`_)
- Don't let validators override values already set in the schema (`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>`_
- add enum key/value list to description string `337 <https://github.com/tfranzel/drf-spectacular/issues/337>`_ `#403 <https://github.com/tfranzel/drf-spectacular/issues/403>`_ `#105 <https://github.com/tfranzel/drf-spectacular/issues/105>`_ `#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>`_. ensure raw schema dict remains unmodified
- Don't edit the original django-filters schema. [Will Giddens]
- Fix typos and grammar errors in FAQ doc page. [Foad Lind]
- fix OpenApiResponse nested example defaults `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>`_ `#821 <https://github.com/tfranzel/drf-spectacular/issues/821>`_ `#775 <https://github.com/tfranzel/drf-spectacular/issues/775>`_ `#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>`_
- suppress erroneous warning for optional extensions `940 <https://github.com/tfranzel/drf-spectacular/issues/940>`_
- fix whitelist mechanics (enables deny all) `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>`_
- fix dj-rest-auth>=3.0.0 breaking changes `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>`_ `#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>`_
- Add test for custom serializer field pagination `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

-------------------

- Fix warning source line performance regression `889 <https://github.com/tfranzel/drf-spectacular/issues/889>`_ `#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>`_
- adapt package arg due to setuptools deprecation `786 <https://github.com/tfranzel/drf-spectacular/issues/786>`_
- utilize queryset for SlugRelatedField `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

-------------------

- Fix missing description for ManyRelatedField and tested for SlugField (`895 <https://github.com/tfranzel/drf-spectacular/issues/895>`_) [StopMotionCuber]
- Simplify hashable_values `833 <https://github.com/tfranzel/drf-spectacular/issues/833>`_
- Add custom settings to CLI (view parity) `892 <https://github.com/tfranzel/drf-spectacular/issues/892>`_
- fix function misnomer `891 <https://github.com/tfranzel/drf-spectacular/issues/891>`_
- improve trace messages / warnings & add color `866 <https://github.com/tfranzel/drf-spectacular/issues/866>`_
- Treat SlugRelatedField analog to PrimaryKeyRelatedField `854 <https://github.com/tfranzel/drf-spectacular/issues/854>`_
- Include filename in call to _get_sidecar_url [Justin Spencer]
- add django-parler blueprint `887 <https://github.com/tfranzel/drf-spectacular/issues/887>`_
- add a view to handle SwaggerUI oauth callbacks (`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>`_
- Use direct view methods for getting serializer instances [Numerlor]
- name overrides for rest_framework_dataclasses `839 <https://github.com/tfranzel/drf-spectacular/issues/839>`_
- decouple TypedDict class from Py version `861 <https://github.com/tfranzel/drf-spectacular/issues/861>`_ `#654 <https://github.com/tfranzel/drf-spectacular/issues/654>`_
- bugfix djangorestframework_camel_case `861 <https://github.com/tfranzel/drf-spectacular/issues/861>`_
- bugfix djangorestframework_camel_case nested object handling `861 <https://github.com/tfranzel/drf-spectacular/issues/861>`_
- 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>`_
- specify min patch release for DRF (fixes `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.

0.24.2

-------------------

- robustify extension class loading `821 <https://github.com/tfranzel/drf-spectacular/issues/821>`_
- fix regression due to GIS import for django-filter `821 <https://github.com/tfranzel/drf-spectacular/issues/821>`_

Breaking changes / important additions:

- Hotfix release to mitigate optional GDAL import errors for django-filter.

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.