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 10 of 11

0.9.3

Not secure
------------------

- Add (partial) support for drf-yasg's serializer ref_name `27 <https://github.com/tfranzel/drf-spectacular/issues/27>`_
- Add thin wrappers for redoc and swagger-ui. `19 <https://github.com/tfranzel/drf-spectacular/issues/19>`_
- Simplify serializer naming override `27 <https://github.com/tfranzel/drf-spectacular/issues/27>`_
- Handle drf type error for yaml. `41 <https://github.com/tfranzel/drf-spectacular/issues/41>`_
- Tox.ini: Add {posargs} [John Vandenberg]
- add djangorestframework-jwt auth handler [John Vandenberg]
- Docs: example of a manual configuration to use a apiKey in securitySchemes [Jelmer Draaijer]
- Introduce view override extension
- Consolidate extensions
- Parse path parameter type hints from url. closes `34 <https://github.com/tfranzel/drf-spectacular/issues/34>`_
- Consolidate duplicate warnings/add error `28 <https://github.com/tfranzel/drf-spectacular/issues/28>`_
- Prevent warning for DRF format suffix param
- Improve ACCEPT header handling `42 <https://github.com/tfranzel/drf-spectacular/issues/42>`_

Breaking changes:

- all extension base classes moved to ``drf_spectacular.extensions``

0.9.2

Not secure
------------------

- Fix incorrect PK access through id. `25 <https://github.com/tfranzel/drf-spectacular/issues/25>`_.
- Enable attr settings on SpectacularAPIView `35 <https://github.com/tfranzel/drf-spectacular/issues/35>`_.
- Bugfix api_view annotation and tests.
- Fix exception/add support for explicit ListSerializer `29 <https://github.com/tfranzel/drf-spectacular/issues/29>`_.
- Introduce custom serializer field extension mechanic. enables tackling `31 <https://github.com/tfranzel/drf-spectacular/issues/31>`_
- Improve serializer estimation with educated guesses. `28 <https://github.com/tfranzel/drf-spectacular/issues/28>`_.
- Bugfix import error and incorrect warning `26 <https://github.com/tfranzel/drf-spectacular/issues/26>`_.
- Improve scope parsing for oauth2. `26 <https://github.com/tfranzel/drf-spectacular/issues/26>`_.
- Postprocessing enums to components
- Handle decimal coersion. closes `24 <https://github.com/tfranzel/drf-spectacular/issues/24>`_.
- Improvement: patched serializer variation only on request.
- Add serializer directionality.
- End the bucket brigade / cleaner interface.
- Add poly serializer warning.
- Bugfix: add serialization for default values.
- Bugfix reverse access collision from schema to view.

Breaking changes:

- internal interface changed (method & path removed)
- fewer PatchedSerializers emitted
- Enums are no longer inlined

0.9.1

Not secure
------------------

- Bugfix missing openapi schema spec json in package
- Add multi-method action decoration support.
- rest-polymorphic str loading prep.
- Improve list view detection.
- Bugfix: response codes must be string. closes `17 <https://github.com/tfranzel/drf-spectacular/issues/17>`_.

0.9.0

Not secure
------------------

- Add missing related serializer fields `15 <https://github.com/tfranzel/drf-spectacular/issues/15>`_.
- Bugfix properties with $ref component. closes `16 <https://github.com/tfranzel/drf-spectacular/issues/16>`_.
- Bugfix polymorphic resource_type lookup. closes `14 <https://github.com/tfranzel/drf-spectacular/issues/14>`_.
- Generalize plugin system.
- Support ``required`` parameter for body. [p.alekseev]
- Improve serializer retrieval.
- Add query serializer support `10 <https://github.com/tfranzel/drf-spectacular/issues/10>`_.
- Custom serializer parsing with plugins.
- Refactor auth plugin system. support for DjangoOAuthToolkit & SimpleJWT.
- Bugfix extra components.

Breaking changes:

- removed ``to_schema()`` from ``OpenApiParameter``. Handled in ``AutoSchema`` now.

0.8.8

Not secure
------------------
- Documentation.
- Schema serving with ``SpectacularAPIView`` (configurable)
- Add generator stats and ``--fail-on-warn`` command option.
- Schema validation with ``--validation`` against OpenAPI JSON specification
- Added various settings.
- Bugfix/add support for basic type responses (parity with requests)
- Bugfix required in parameters. failed schema validation.
- Add validation against OpenAPI schema specification.
- Improve parameter resolution, warnings and tests.
- Allow default parameter override. (e.g. ``id``)
- Fix queryset function call. [p.g.alekseev]
- Supporting enum values in params. [p.g.alekseev]
- Allow ``extend_schema`` request basic type annotation.
- Add support for typing Optional[*]
- Bugfix: handle proxy models where pk is a OnetoOne relation.
- Warn on duplicate serializer names.
- Added explicit exclude flag for operation.
- Bugfix: PrimaryKeyRelatedField(read_only=True) failing to find type.
- Change operation sorting to alphanumeric with option (`6 <https://github.com/tfranzel/drf-spectacular/issues/6>`_)
- Robustify serializer field support for ``extend_schema_field``.
- Enable field serializers support. [p.g.alekseev]
- Adding custom tags support [p.g.alekseev]
- Document extend_schema.
- Allow operation hiding.
- Catch unknown model traversals. custom fields can be tricky.
- Improve model field mapping. extend field tests.
- Add deprecated method to extend_schema decorator. [p.g.alekseev]

Breaking changes:

- ``extend_schema`` renamed ``extra_parameters`` -> ``parameters``
- ``ExtraParameter`` renamed to ``OpenApiParameter``

0.8.5

Not secure
------------------

- Generalize ``PolymorphicResponse`` into ``PolymorphicProxySerializer``.
- Type dict is resolved as object.
- Simplify hint resolution.
- Allow ``extend_schema_field`` for custom serializer fields.

Page 10 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.