This release updates recommended mypy version to 1.0.x. No changes in Django version compatibility.
Some re-exports that were unintentional have been removed. If you get errors like error: Module "django.core.cache" has no attribute "ConnectionProxy"
(for any import path), you probably need to change the module you are importing e.g. ConnectionProxy from. These re-exports were never intentional and are not stable across Django versions.
In addition to code contributions, I'd like to thank @ngnpope, @sobolevn, @ljodal, @christianbundy, @mschoettle for helping out with reviews.
What's Changed
Fixes
- Fix crash using
.values_list("pk")
on abstract model by @flaeppe in #1355 - Add generic BaseConnectionHandler by @adambirds in #1349
- Fixed Collector.data and NestedObjects.data types by @RyanWalker277 in #1366
- Update Model subclass DoesNotExist type by @mateenkasim in #1364
Django 4.2 compatibility
- Add new names for assert functions from Django 4.2 by @adamchainz in #1365
Documentation
- Use supported version in typecheck_tests command in Contributing guide by @adamantike in #1251
Housekeeping
- Remove unintentional re-exports by @intgr in #1309
- Remove unintentional GeoDjango re-exports by @intgr in #1308
- Version 1.15.0 release by @intgr in #1371
Dependencies
- Upgrade to Mypy 1.0 by @christianbundy in #1360
- Update Black to 23.1.0 and reformat with new style by @intgr in #1358
- Bump mypy from 1.0.0 to 1.0.1 by @dependabot in #1369
New Contributors
- @adamantike made their first contribution in #1251
- @RyanWalker277 made their first contribution in #1366
- @mateenkasim made their first contribution in #1364
Full Changelog: 1.14.0...1.15.0