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

0.19.0

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

- fix/cleanup suffixed path variable coercion `516 <https://github.com/tfranzel/drf-spectacular/issues/516>`_
- remove superseded Request mock from oauth_toolkit
- be gracious on Enums that are not recognized by DRF `500 <https://github.com/tfranzel/drf-spectacular/issues/500>`_
- remove non-required empty descriptions
- added test case for lookup_field `524 <https://github.com/tfranzel/drf-spectacular/issues/524>`_
- Fix grammatical typo [johnthagen]
- remove mapping for re.Pattern (no 3.6 and mypy issues) `526 <https://github.com/tfranzel/drf-spectacular/issues/526>`_
- Add missing types defined in specification. [Nick Pope]
- Add type mappings for IP4, IP6, TIME & DURATION. [Nick Pope]
- add support for custom converters and converter override `502 <https://github.com/tfranzel/drf-spectacular/issues/502>`_
- cache static loading function calls
- prevent settings loading in types, lazy load in plumbing instead
- lazy settings loading in drainage
- Improve guide for migration from drf-yasg. [Nick Pope]
- handle default value for SerializerMethodField `422 <https://github.com/tfranzel/drf-spectacular/issues/422>`_
- consolidate bearer scheme generation & bugfix `515 <https://github.com/tfranzel/drf-spectacular/issues/515>`_
- prevent uncaught exception on modified django-filter `519 <https://github.com/tfranzel/drf-spectacular/issues/519>`_
- add decoupled model docstrings `522 <https://github.com/tfranzel/drf-spectacular/issues/522>`_
- Fix warnings raised during testing. [Nick Pope]
- add name override to extend_schema_serializer `517 <https://github.com/tfranzel/drf-spectacular/issues/517>`_
- Fix deprecation warning about default_app_config from Django 3.2+ [Janne Rönkkö]
- Remove obsolete value from IMPORT_STRINGS. [Nick Pope]
- Add extension for TokenVerifySerializer. [Nick Pope]
- Use SESSION_COOKIE_NAME in SessionScheme. [Nick Pope]
- add regex path parameter extraction for explicit cases `510 <https://github.com/tfranzel/drf-spectacular/issues/510>`_
- honor lookup_url_kwarg name customization `509 <https://github.com/tfranzel/drf-spectacular/issues/509>`_
- add contrib compat tests for drf-nested-routers
- improve path coersion model resolution
- add test_fields API response test `501 <https://github.com/tfranzel/drf-spectacular/issues/501>`_
- Handle 'lookup_field' containing relationships for path parameters [Luke Plant]
- add BinaryField case to tests `506 <https://github.com/tfranzel/drf-spectacular/issues/506>`_
- fix: BinaryField's schema type should be string `505 <https://github.com/tfranzel/drf-spectacular/issues/505>`_ (`#506 <https://github.com/tfranzel/drf-spectacular/issues/506>`_) [jtamm-red]
- bugfix incomplete regex stripping for literal dots `507 <https://github.com/tfranzel/drf-spectacular/issues/507>`_
- Fix tests [Jameel Al-Aziz]
- Fix type hint support for functools cached_property wrapped funcs [Jameel Al-Aziz]
- Extend enum type hint support to more Enum subclasses [Jameel Al-Aziz]

Breaking changes / important additions:

- Severely improved path parameter detection for Django-style parameters, RE parameters, and custom converters
- Significantly more defensive settings loading for safer project imports (less prone to import loops)
- Improved type hint support for ``Enum`` and other native types
- Explicit support for *drf-nested-routers*
- A lot more small improvements

0.18.2

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

- fix default value handling for custom ModelField `422 <https://github.com/tfranzel/drf-spectacular/issues/422>`_
- fill html title with title from settings `491 <https://github.com/tfranzel/drf-spectacular/issues/491>`_
- add Enum support in type hints `492 <https://github.com/tfranzel/drf-spectacular/issues/492>`_
- Move system check registration to AppConfig [Jameel Al-Aziz]

Breaking changes / important additions:

- Primarily ironing out another issue with the Django check and some minor improvements

0.18.1

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

- Improved docs regarding how ENUM_NAME_OVERRIDES works [Luke Plant]
- bugfix raw schema handling for extend_schema_field on SerializerMethodField method 481
- load common SwaggerUI dep SwaggerUIStandalonePreset `483 <https://github.com/tfranzel/drf-spectacular/issues/483>`_
- allow versioning of SpectacularAPIView via query `483 <https://github.com/tfranzel/drf-spectacular/issues/483>`_
- update swagger UI
- move checks to "--deploy" section, bugfix public=True `487 <https://github.com/tfranzel/drf-spectacular/issues/487>`_

Breaking changes / important additions:

- This is a hotfix release as the newly introduced Django check was executing the wrong code path.
- Check also moved into the ``--deploy`` section to prevent double execution. This can be disabled with ``ENABLE_DJANGO_DEPLOY_CHECK``
- Facitities added to utilize SwaggerUI Topbar for versioning.

0.18.0

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

- prevent exception and warn when ReadOnlyField is used with non-ModelSerializer `432 <https://github.com/tfranzel/drf-spectacular/issues/432>`_
- allow raw JS in Swagger settings `457 <https://github.com/tfranzel/drf-spectacular/issues/457>`_
- add support for check framework `477 <https://github.com/tfranzel/drf-spectacular/issues/477>`_
- improve common FAQ action question `399 <https://github.com/tfranzel/drf-spectacular/issues/399>`_
- update extend_schema doc `476 <https://github.com/tfranzel/drf-spectacular/issues/476>`_
- adapt to changes in iMerica/dj-rest-auth 2.1.10 (ResendEmailVerification)
- add raw schema to extend_schema(request={MIME: RAW}) `476 <https://github.com/tfranzel/drf-spectacular/issues/476>`_
- bugfix test case for 3.6 `474 <https://github.com/tfranzel/drf-spectacular/issues/474>`_
- bugfix header underscore handling for simplejwt `474 <https://github.com/tfranzel/drf-spectacular/issues/474>`_
- properly parse TokenMatchesOASRequirements (oauth toolkit) `469 <https://github.com/tfranzel/drf-spectacular/issues/469>`_
- add whitelist setting to manage auth method exposure `326 <https://github.com/tfranzel/drf-spectacular/issues/326>`_ `#471 <https://github.com/tfranzel/drf-spectacular/issues/471>`_
- Update set_password instead of list [Greg Campion]
- Update documentation to illustrate how to override a specific method [Greg Campion]

Breaking changes / important additions:

- This is a y-stream release because we added `Django checks <https://docs.djangoproject.com/en/3.2/topics/checks/>`_
which might emit warnings and subsequently break CI. This can be easily suppressed with Django's ``SILENCED_SYSTEM_CHECKS``.
- Several small fixes and features that should not have a big impact.

0.17.3

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

- port custom "Bearer" bugfix/workaround to simplejwt `467 <https://github.com/tfranzel/drf-spectacular/issues/467>`_
- add setting for listing/paginating/filtering on non-2XX `402 <https://github.com/tfranzel/drf-spectacular/issues/402>`_ `#277 <https://github.com/tfranzel/drf-spectacular/issues/277>`_
- fix Typo [Eunsub LEE]
- nit typofix [adamsteele-city]
- Add a few return type annotations [Nikhil Benesch]
- add django-filter queryset annotation and ``extend_schema_field`` support
- account for functools.partial wrapped type hints `451 <https://github.com/tfranzel/drf-spectacular/issues/451>`_
- Update swagger_ui.js [Jordan Facibene]
- Update customization.rst to fix example typo [Atsuo Shiraki]
- update swagger-ui version
- add oauth2 config for swagger ui `438 <https://github.com/tfranzel/drf-spectacular/issues/438>`_

Breaking changes / important additions:

- Just a few bugfixes and some small features with minimal impact on existing schema

0.17.2

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

- prevent endless loop in extensions when augmenting schema `426 <https://github.com/tfranzel/drf-spectacular/issues/426>`_
- bugfix secondary import cycle (generics.APIView) `430 <https://github.com/tfranzel/drf-spectacular/issues/430>`_
- fix: avoid circular import of/via rest_framework's APIView [Daniel Hahler]

Breaking changes / important additions:

- Hotfix release that addresses a carelessly added import in 0.17.1. In certain use-cases,
this may have led to an import cycle inside DRF.

Page 5 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.