Drf-yasg

Latest version: v1.21.10

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

Scan your dependencies

Page 3 of 11

1.20.0

**********

*Release date: Oct 25, 2020*

- **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`` (:pr:`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 (:pr:`486`)

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

**********

1.17.0

**********

*Release date: Oct 03, 2019*

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

**********

1.16.1

**********

*Release date: Jul 16, 2019*

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

**********

1.16.0

**********

*Release date: Jun 13, 2019*

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

**********

1.15.1

**********

*Release date: Jun 13, 2019*

- **IMPROVED:** updated ``swagger-ui`` to version 3.22.3
- **IMPROVED:** updated ``ReDoc`` to version 2.0.0-rc.8-1
- **FIXED:** fixed an issue with inspection of typing hints on Python 2.7 (:issue:`363`)
- **FIXED:** fixed an issue with inspection of typing hints on Python 3.7 (:issue:`371`)

**Python 3.4 support has been dropped!**

**********

Page 3 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.