Drf-spectacular

Latest version: v0.27.2

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

Scan your dependencies

Page 9 of 11

0.9.9

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

- added explicit URL option to UI views. `103 <https://github.com/tfranzel/drf-spectacular/issues/103>`_
- improve auth extension doc `99 <https://github.com/tfranzel/drf-spectacular/issues/99>`_
- bugfix attr typo with Token auth extension `99 <https://github.com/tfranzel/drf-spectacular/issues/99>`_
- improve docstring extraction `96 <https://github.com/tfranzel/drf-spectacular/issues/96>`_
- Manual polymorphic [Jair Henrique]
- Add summary field to extend_schema `97 <https://github.com/tfranzel/drf-spectacular/issues/97>`_ [lilisha100]
- reduce minimal package requirements
- extend sdist with tests & doc
- bugfix nested RO/WO serializer on COMPONENT_SPLIT_REQUEST
- add pytest option --skip-missing-contrib `87 <https://github.com/tfranzel/drf-spectacular/issues/87>`_
- Save test files in temporary folder [Jair Henrique]
- Setup isort library [Jair Henrique]

0.9.8

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

- bugfix read-only many2many relation processing `79 <https://github.com/tfranzel/drf-spectacular/issues/79>`_
- Implement OrderedDict representer for yaml dumper [Jair Henrique]
- bugfix UI permissions `84 <https://github.com/tfranzel/drf-spectacular/issues/84>`_
- fix abc import `82 <https://github.com/tfranzel/drf-spectacular/issues/82>`_
- add duration field `78 <https://github.com/tfranzel/drf-spectacular/issues/78>`_

0.9.7

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

- put contrib code in packages named files
- improve djangorestframework-camel-case support `73 <https://github.com/tfranzel/drf-spectacular/issues/73>`_
- Add support to djangorestframework-camel-case [Jair Henrique]
- ENUM_NAME_OVERRIDES accepts import string for easier handling `70 <https://github.com/tfranzel/drf-spectacular/issues/70>`_
- honor versioning on schema UIs `71 <https://github.com/tfranzel/drf-spectacular/issues/71>`_
- improve enum naming mechanism. `63 <https://github.com/tfranzel/drf-spectacular/issues/63>`_ `#70 <https://github.com/tfranzel/drf-spectacular/issues/70>`_
- provide global enum naming. `70 <https://github.com/tfranzel/drf-spectacular/issues/70>`_
- refactor choice field
- remove unused sorter setting
- improve FileField, add test and documentation. `69 <https://github.com/tfranzel/drf-spectacular/issues/69>`_
- Fix file fields [John Vandenberg]
- allow for functions on models beside properties. `68 <https://github.com/tfranzel/drf-spectacular/issues/68>`_
- replace removed DRF compat function

Breaking changes:

- Enum naming conflicts are now resolved explicitly. `how to resolve conflicts <https://drf-spectacular.readthedocs.io/en/latest/faq.html#i-get-warnings-regarding-my-enum-or-my-enum-names-have-a-weird-suffix>`_
- Choice fields may be rendered slightly different
- Swagger UI and Redoc views now honor versioned requests
- Contrib package code moved. each package has its own file now

0.9.6

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

- overhaul documentation `52 <https://github.com/tfranzel/drf-spectacular/issues/52>`_
- improve serializer field mapping (nullbool & time)
- remove duplicate and misplaced description. `61 <https://github.com/tfranzel/drf-spectacular/issues/61>`_
- extract serializer docstring
- Recognise ListModelMixin as a list [John Vandenberg]
- bugfix component sorting to include enums. `60 <https://github.com/tfranzel/drf-spectacular/issues/60>`_
- bugfix fail on missing readOnly flag
- Fix incorrect parameter cutting [p.alekseev]

0.9.5

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

- add optional serializer component split
- improve SerializerField meta extraction
- improve serializer directionality
- add mypy static analysis
- make all readonly fields required for output. `54 <https://github.com/tfranzel/drf-spectacular/issues/54>`_
- make yaml multi-line strings nicer
- alphanumeric component sorting.
- generalize postprocessing hooks
- extension override through priority attr

Breaking changes:

- Schemas are functionally identical, but component sorting changed slightly.
- All ``read_only`` fields are required by default
- ``SerializerFieldExtension`` gained direction parameter

0.9.4

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

- robustify serializer resolution & enum postprocessing
- expose api_version to command. robustify version matching. `22 <https://github.com/tfranzel/drf-spectacular/issues/22>`_
- add versioning support `22 <https://github.com/tfranzel/drf-spectacular/issues/22>`_
- robustify urlconf wrapping. resolver does not like lists
- explicit override for non-list serializers on ViewSet list `49 <https://github.com/tfranzel/drf-spectacular/issues/49>`_
- improve model field mapping via DRF init logic
- bugfix enum substitution with additional field parameters.
- Fix getting default parameter for ``MultipleChoiceField`` [p.alekseev]
- bugfix model path traversal via intermediate property
- try to be more graceful with unknown custom model fields. `33 <https://github.com/tfranzel/drf-spectacular/issues/33>`_

Breaking changes:

- If URL or namespace versioning is set in views, it is automatically used for generation.
Schemas might shrink because of that. Explicit usage of ``--api-version="XXX"`` should yield the old result.
- Some warnings might change, as the field/view introspection tries to go deeper.

Page 9 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.