Skip to content

Releases: axnsan12/drf-yasg

1.20.0

25 Oct 22:16
Compare
Choose a tag to compare
  • 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

25 Oct 22:17
Compare
Choose a tag to compare

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

02 Oct 23:14
Compare
Choose a tag to compare
  • 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

16 Jul 18:06
Compare
Choose a tag to compare
  • FIXED: fixed DRF 3.10 compatibility (#408, #410, #411)
  • IMPROVED: better enum type detection for nested ChoiceFields (#400)

1.16.0

16 Jul 17:54
Compare
Choose a tag to compare

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

1.15.1

13 Jun 00:28
Compare
Choose a tag to compare
  • 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 (#363)
  • FIXED: fixed an issue with inspection of typing hints on Python 3.7 (#371)

Python 3.4 support has been dropped!

1.15.0

01 Apr 00:42
Compare
Choose a tag to compare
  • ADDED: added is_list_view and has_list_response extension points to SwaggerAutoSchema (#331)
  • IMPROVED: updated swagger-ui to version 3.22.0
  • IMPROVED: updated ReDoc to version 2.0.0-rc.4
  • FIXED: ListModelMixin will now always be treated as a list view (#306)
  • FIXED: non-primtive values in field choices will now be handled properly (#340)

🎉 400 commits 🎉

1.14.0

03 Mar 23:02
Compare
Choose a tag to compare
  • IMPROVED: updated swagger-ui to version 3.21.0
  • FIXED: implicit ref_name collisions will now throw an exception
  • FIXED: RecursiveField will now also work as a child of ListSerializer (#321)
  • FIXED: fixed minLength and maxLength for ListSerializer and ListField
  • FIXED: the items property of Schema, Parameter and Items objects was renamed to items_; this is a mildly breaking change and was needed to fix the collision with the items method of dict (#308)
  • REMOVED: the get_summary and get_description methods have been removed (previously deprecated in 1.12.0)

1.13.0

03 Mar 23:01
Compare
Choose a tag to compare
  • IMPROVED: type hint inspection is now supported for collections and Optional (#272)
  • IMPROVED: updated swagger-ui to version 3.20.5
  • IMPROVED: updated ReDoc to version 2.0.0-rc.2
  • DEPRECATED: quietly dropped support for the flex validator; it will still work if the library is installed, but the setup.py requirement was removed and the validator will be silently skipped if not installed (#285)

1.12.1

28 Dec 14:27
Compare
Choose a tag to compare
  • IMPROVED: updated ReDoc to version 2.0.0-rc.0
  • FIXED: management command will now correctly fall back to DEFAULT_VERSION for mock request
  • FIXED: fixed bad "raised exception during schema generation" warnings caused by missing self parameter