Drf-spectacular

Latest version: v0.27.2

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

Scan your dependencies

Page 3 of 11

0.24.1

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

- bugfix GeometryFilter for GIS and django-filter `814 <https://github.com/tfranzel/drf-spectacular/issues/814>`_
- NullBooleanField comment and add 3.14.0 to test suite `818 <https://github.com/tfranzel/drf-spectacular/issues/818>`_
- fix: `816 <https://github.com/tfranzel/drf-spectacular/issues/816>`_ NullBooleanField does not exist in DRF >= 3.14.0 [Laurent Tramoy]
- fix GIS source lookup with hops `813 <https://github.com/tfranzel/drf-spectacular/issues/813>`_
- Add blueprint for Stoplight Elements docs UI [Alex Burgel]
- fix OpenApiParameter enum and pattern for many=True `808 <https://github.com/tfranzel/drf-spectacular/issues/808>`_

Breaking changes / important additions:

- Hotfix release to mitigate removal of ``NullBooleanField`` in DRF 3.14.0
- Small fixes to OpenApiParameter and ``django-filter``

0.24.0

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

- fix yaml serialization error on Django SafeString `802 <https://github.com/tfranzel/drf-spectacular/issues/802>`_
- mitigate DRF bug in ObtainAuthToken < 3.12.0 `796 <https://github.com/tfranzel/drf-spectacular/issues/796>`_
- add FAQ entry for django-csp errors `173 <https://github.com/tfranzel/drf-spectacular/issues/173>`_ `#797 <https://github.com/tfranzel/drf-spectacular/issues/797>`_
- bugfix TokenMatchesOASRequirements `469 <https://github.com/tfranzel/drf-spectacular/issues/469>`_ and JWTCookieAuthentication `#626 <https://github.com/tfranzel/drf-spectacular/issues/626>`_
- add custom redoc settings option
- fix error with PrimaryKeyRelatedField on non-ModelSerializer `353 <https://github.com/tfranzel/drf-spectacular/issues/353>`_
- provide context to serializer for extend_schema use-cases `699 <https://github.com/tfranzel/drf-spectacular/issues/699>`_
- add example value hint to doc `788 <https://github.com/tfranzel/drf-spectacular/issues/788>`_
- fix packages= so top_level.txt is correct [anthony sottile]
- Adding documentation for the OpenApiParameter 'many' argument [Paul Wayper]
- Extend OpenApiSerializerExtension interface. `392 <https://github.com/tfranzel/drf-spectacular/issues/392>`_ `#705 <https://github.com/tfranzel/drf-spectacular/issues/705>`_
- Include context with request when instantiating serializers [Mike Hansen]

Breaking changes / important additions:

- Some minor gaps closed in the extension interface and serializer context initialization. It is a y-stream release,
because there remains a small chance of change for users that sport non-standard customizations.

0.23.1

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

- improve CAMELIZE_NAMES doc `774 <https://github.com/tfranzel/drf-spectacular/issues/774>`_
- move import into build_geo_schema function [bidaya0]

Breaking changes / important additions:

- Hotfix release to mitigate unwanted import of optional GIS features that depend on GDAL. GDAL is **not** a new requirement.

0.23.0

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

- fix infinite recursion when accessing missing attributes in generator stats [Oleg Hoefling]
- fix list pagination when examples are provided [topher235]
- accept integer status codes in OpenApiExample [Nicholas Guriev]
- Missing ":" in example documentation [Josué Millán Zamora]
- Flip direction for callbacks serializers [Justas]
- grammar fix [Kojo Idrissa]
- fix sidecar for alternate staticfile storages `718 <https://github.com/tfranzel/drf-spectacular/issues/718>`_
- add support for ``rest_framework_gis``
- add mechanism to handle custom ListSerializers with extensions
- Update based on review [johnthagen]
- Hyphenate in-memory [johnthagen]
- Add FAQ entry for how to serve in-memory generated files [johnthagen]
- add pattern to OpenApiParameter `738 <https://github.com/tfranzel/drf-spectacular/issues/738>`_
- Add test that extend_schema_field on django-filter is not modified [Take Weiland]
- Do not forcefully overwrite enum setting on custom django-filter schema [Take Weiland]
- django-filter: Enable type extraction fallback for MultipleChoiceFilter as well [Take Weiland]
- Add examples camelization note to settings.py [Zac Miller]
- fix codecov badge url issue on github `713 <https://github.com/tfranzel/drf-spectacular/issues/713>`_

Breaking changes / important additions:

- A whole bunch of smaller bug fixes.
- OpenAPI Callbacks should now be production ready
- Introduction of ``rest_framework_gis`` support. This might impact APIs that are using GIS so this is a y-stream release.

0.22.1

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

- Update customization.rst [Lane Zhang]
- Remove invalid example in drf-yasg migration documentation. [Nick Pope]
- Avoid using default role in documentation. [Nick Pope]
- Small documentation fixes. [Nick Pope]
- improve parameter many handling and warnings `703 <https://github.com/tfranzel/drf-spectacular/issues/703>`_
- bugfix unconsidered warnings/errors for return code `706 <https://github.com/tfranzel/drf-spectacular/issues/706>`_ `#702 <https://github.com/tfranzel/drf-spectacular/issues/702>`_
- Include a list of applications urls as a parameter for SERVE_URLCONF `709 <https://github.com/tfranzel/drf-spectacular/issues/709>`_ [anoirak]
- bugfix/improve analyze_named_regex_pattern(path) `697 <https://github.com/tfranzel/drf-spectacular/issues/697>`_ [Jon Iturmendi]
- django-filter: added type extraction fallback for ChoiceFields `690 <https://github.com/tfranzel/drf-spectacular/issues/690>`_
- fix test, more precise naming, also wrap validation `693 <https://github.com/tfranzel/drf-spectacular/issues/693>`_
- bugfix PolymorphicProxySerializer many handling and add manual mode `692 <https://github.com/tfranzel/drf-spectacular/issues/692>`_
- Use Django management CommandError to eliminate the traceback on error [Brandon W Maister]
- add ``swagger_fake_view`` FAQ entry `321 <https://github.com/tfranzel/drf-spectacular/issues/321>`_
- Fix `688 <https://github.com/tfranzel/drf-spectacular/issues/688>`_ - avoid a TypeError when ChoiceFilter choices are a callable [Glenn Matthews]
- map explicit float hints/decoration to double `687 <https://github.com/tfranzel/drf-spectacular/issues/687>`_ `#674 <https://github.com/tfranzel/drf-spectacular/issues/674>`_

Breaking changes / important additions:

- Small release consisting of minor bug fixes, improved ``PolymorphicProxySerializer``, cleaned up documentation, and some improvements to **django-filter**

0.22.0

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

- Added ``detype_patterns()`` with ``cache``. [Nick Pope]
- add "externalDocs" to operation via extend_schema `681 <https://github.com/tfranzel/drf-spectacular/issues/681>`_
- warn on invalid components names `685 <https://github.com/tfranzel/drf-spectacular/issues/685>`_
- wrap examples in list/pagination when serializer is many=True `641 <https://github.com/tfranzel/drf-spectacular/issues/641>`_ `#640 <https://github.com/tfranzel/drf-spectacular/issues/640>`_ `#595 <https://github.com/tfranzel/drf-spectacular/issues/595>`_
- python's and django's float is really "double precision" `674 <https://github.com/tfranzel/drf-spectacular/issues/674>`_
- Support negative numbers in pattern regex for coerced decimal fields [Mike Hansen]
- add OpenAPI callback operations `665 <https://github.com/tfranzel/drf-spectacular/issues/665>`_
- Keep the urlpatterns in the apiview and pass it to the generator [Jorge Cardona]
- django-filter: raise priority of explicitly given filter method type hints `660 <https://github.com/tfranzel/drf-spectacular/issues/660>`_
- also allow extend_schema_field on django-filter filter method `660 <https://github.com/tfranzel/drf-spectacular/issues/660>`_
- accommodate pyright limitations `657 <https://github.com/tfranzel/drf-spectacular/issues/657>`_
- fix doc extraction for built-in types `654 <https://github.com/tfranzel/drf-spectacular/issues/654>`_
- use get_doc for description [Josh Ferge]
- add more information to resolved TypedDicts [Josh Ferge]
- fix url escaping bug introduced in `556 <https://github.com/tfranzel/drf-spectacular/issues/556>`_ (`#650 <https://github.com/tfranzel/drf-spectacular/issues/650>`_)
- pass through version from UI to schema endpoint `650 <https://github.com/tfranzel/drf-spectacular/issues/650>`_
- factor out schema_url generation `650 <https://github.com/tfranzel/drf-spectacular/issues/650>`_
- relax AcceptHeaderVersioning constraint for modification `650 <https://github.com/tfranzel/drf-spectacular/issues/650>`_
- Enable the use of lists in extend_schema_view() [François Travais]

Breaking changes / important additions:

- This is a y-stream release with a lot of bugfixes, some new features and potentially small schema changes (if affected features are used).
- Examples are now wrapped in pagination/lists when endpoint/serializer is ``many=True``
- django-filter had some internal restructuring and thus overrides are now always honored.
- added callback functionality (EXPERIMENTAL and subject to change due to pending issue)
- Many thanks to all the contributors!

Page 3 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.