What's Changed
- Accept datetime/timedelta on reverse ops of Combinable by @federicobond in #3361
- Update dependency pyrefly to v0.64.1 by @renovate[bot] in #3377
- Preserve row type when
.annotate()is called on a generic QuerySet by @federicobond in #3379 - Fix type checking of
__inlookup by @ngnpope in #3314 - Fix GenericPrefetch invariance with QuerySet by @pmdevita in #3380
- Preserve row type in merge_annotations_from_custom_method by @federicobond in #3383
- Add mypy 2.1.0 support by @sobolevn in #3384
- Update
pyreflyto 1.0.0 by @sobolevn in #3386 - Fix
related_modeltype for mypy 2.1 by @UnknownPlatypus in #3388 - Re-enable
empty-bodyerror code for mypy and ty by @ngnpope in #3390 - Fix
mark_safeto acceptStrOrPromiseby @Alexerson in #3392 - Enable
unused-ignorecode in pyrefly by @UnknownPlatypus in #3393 - Fix InlineModelAdmin parent-object method signatures by @MyGodIsHe in #3308
- Fix
AdminSite.registertyping by @noamkush in #3387
New Contributors
- @pmdevita made their first contribution in #3380
- @MyGodIsHe made their first contribution in #3308
Full Changelog: 6.0.4...6.0.5