github typeddjango/django-stubs 4.2.6

latest releases: 5.0.0, 4.2.7
6 months ago

Headline changes

  • Fixed several bugs in version 4.2.5. Thanks to everyone for contributing fixes on a short order!

  • Removed direct mypy dependency. If you are using mypy, please add an explicit mypy dev dependency to your project, or install django-stubs with the extra django-stubs[compatible-mypy].

    Mypy remains the only supported type checker. Improvements for other type checkers may be considered in the future, pull requests welcome. See #1628 for details.

Plugin fixes

  • Fixed as_manager() and from_queryset() when combined with Self types (#1788) by @moranabadie in #1789
  • Fix IndexError crash when using from_queryset() of custom Manager subclass by @moranabadie in #1786
  • Revert "Use parse_bool implementation from mypy" by @intgr in #1792
    (Turns out this was not necessary and will be reverted)

Stubs fixes

  • Fixed Field.formfield(), GeometryField.formfield() method arguments by @brianhelba in #1778

Stubs improvements

Housekeeping

  • Drop hard dependency on mypy by @intgr in #1782
  • Version 4.2.6 release (django-stubs only) by @intgr in #1794

Full Changelog: 4.2.5...4.2.6

Don't miss a new django-stubs release

NewReleases is sending notifications on new releases.