Drf-yasg

Latest version: v1.21.7

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

Scan your dependencies

Page 2 of 10

1.20.3

- **FIXED:** Source mapping in ``redoc.min.js`` (778)
- **FIXED:** Publish action tag pattern in ``publish.yml`` (794)

1.20.0

- **IMPROVED:** updated ``swagger-ui`` to version 3.36.0
- **IMPROVED:** updated ``ReDoc`` to version 2.0.0-rc.40
- **FIXED:** fixed compatibility with Django Rest Framework 3.12
- **FIXED:** fixed compatibility with Python 3.9 typing generics
- **FIXED:** dropped support for obsolete ``django.conf.settings.LOGOUT_URL`` (646)

**Support was dropped for Python 2.7, DRF 3.8, DRF 3.9.**
**Requirements are now: Python>=3.6, Django>=2.2, DRF>=3.10**

The 1.18 and 1.19 series was skipped to avoid confusion with the drf-yasg2 fork. I would also like to take this
opportunity to extend my apologies to the community at large for the large gap in the maintenance of drf-yasg
and the problems it has caused.

1.17.1

*Release date: Feb 17, 2020*

- **FIXED:** fixed compatibility issue with CurrentUserDefault in Django Rest Framework 3.11
- **FIXED:** respect `USERNAME_FIELD` in `generate_swagger` command (486)

**Support was dropped for Python 3.5, Django 2.0, Django 2.1, DRF 3.7**

1.17.0

- **ADDED:** added `JSONFieldInspector` for `JSONField` support (417)
- **IMPROVED:** updated ``swagger-ui`` to version 3.23.11
- **IMPROVED:** updated ``ReDoc`` to version 2.0.0-rc.14 (398)
- **FIXED:** fixed a type hint support issue (428, 450)
- **FIXED:** fixed packaging issue caused by a missing requirement (412)

1.16.1

- **FIXED:** fixed DRF 3.10 compatibility (408, 410, 411)
- **IMPROVED:** better enum type detection for nested `ChoiceField`s (400)

1.16.0

*Release date: Jun 13, 2019*

- **ADDED:** added `reference_resolver_class` attribute hook to `SwaggerAutoSchema` (350)
- **ADDED:** added `operation_keys` attribute to `SwaggerAutoSchema`, along with `__init__` parameter (355)
- **FIXED:** fixed potential crash on `issubclass` check without `isclass` check

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.