Skip to content

Releases: typeddjango/django-stubs

v0.8.0

27 Feb 15:01
Compare
Choose a tag to compare
  • Plugin support for FormMixin's get_form() and get_form_class()
  • Proper annotations for QuerySet.in_bulk(), thanks to @syastrov

v0.7.0

21 Feb 21:45
Compare
Choose a tag to compare
  • transaction.atomic reworked, thanks to @syastrov
  • Add support for referring to models in the same file by name string in related fields

v0.6.0

17 Feb 22:46
Compare
Choose a tag to compare
  • Add strict_optional = True support

v0.5.0

14 Feb 00:38
Compare
Choose a tag to compare

v0.4.0

12 Feb 15:41
Compare
Choose a tag to compare
  • Support for typechecking of Model.__init__() and BaseManager.create() arguments
  • Add config file support with some available flags, see
    https://github.com/mkurnikov/django-stubs#configuration
  • Proper logic regarding default objects and _default_manager managers
  • Bunch of fixes and improvements for stubs
  • Bump mypy to 0.670

v0.3.0

03 Feb 19:02
Compare
Choose a tag to compare
  • Bunch of fixes / missing reimports.

v0.2.0

24 Jan 17:39
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

New features

  • Stubs for django.utils.dates.
  • Add objects attribute to models.Model, so now TypeVars with bound=models.Model work correctly.