Version 5.2.9 will be the last version to target Django 5.2 -- the next version will be updating to 6.0!
🚀 We need your help: Adding Django 6.0 stubs
Many new Django 6.0 APIs are still missing stubs coverage, and changes to existing APIs are not covered.
If you are interested in contributing, please help by opening PRs (check that a PR does not exist already for your topic).
👉 Starting points
And by the way, we are still missing some things from previous Django versions too! Check earlier release note, other allowlist_todo*.txt files and #1493 (comment)
🤝 You help us, we help you
If want to help but you are not sure how to implement something in stubs:
- Check tutorials listed here
- Or just open a discussion topic, feel free to ping @intgr in the message.
What's Changed
- fix: allow
EmailMultiAlternativesinoutboxby @alexei in #2922 - Fix infinite semantic analysis loop when using from_queryset by @lee3jjang in #2935
- Fix dispatch_uid type: str -> _AnyHashable by @craigds in #2950
- Update
get_auto_imports()to also allow returningNoneby @jamesbeith in #2956 - Make LoginView generic over its form class by @slafs in #2959
- fix: template type in template response by @alexei in #2964
- fix: Annotate SessionStore with a type var for the Session type (#2056) by @CharString in #2969
- fix:
prefetch_related_objectsrequiresSequencenotIterableby @emmanuel-ferdman in #2970 - Fix kwargs for
forms.widgets.Scriptby @brianhelba in #2973 - fix: django.contrib.gis.utils.LayerMapping attribute types by @kelvan in #2988
- Make all system checks return a
list, not aSequenceby @brianhelba in #2992 - Improve database-related check signatures by @brianhelba in #2994
Housekeeping
- Update pyrefly to 0.44.0 by @sobolevn in #2927
- Update django to 5.2.9 by @sobolevn in #2928
- Renovate: mypy updates to widen accepted version range by @intgr in #2921
- CI: Downgrade to Python 3.10 for 'test-older-django' by @intgr in #2955
- Prepare for 5.2.9 release (without Django 6.0 changes) by @intgr in #2995
- Version 5.2.9 release by @intgr in #3007
New Contributors
- @lee3jjang made their first contribution in #2935
- @jamesbeith made their first contribution in #2956
- @slafs made their first contribution in #2959
- @CharString made their first contribution in #2969
- @emmanuel-ferdman made their first contribution in #2970
- @kelvan made their first contribution in #2988
Full Changelog: 5.2.8...5.2.9