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 extradjango-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()
andfrom_queryset()
when combined withSelf
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
- Various improvements in
django.core.management
modules by @UnknownPlatypus in #1787 - Various improvments in
django.db.backend.base
modules by @UnknownPlatypus in #1791
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