Why 5.0 and why alpha?
Version 5.0 does not contain any backwards incompatible changes. Instead it should be more compatible with async Django projects. However, the change did require some reasonably sized changes to the middleware. This is a large enough change that we wanted it to be effectively communicated to users of the toolbar.
This release is an alpha because the async logic was tested, but we also understand that we haven't tested it in every scenario. We fully expect the project to continue to function extremely well in WSGI applications. For ASGI applications that are utilizing async, well, that's why it's an alpha 😁
What's Changed
- Async compatible debug-toolbar middleware by @salty-ivy in #1938
- Add async tests by @salomvary in #1835
- Update installation.rst by @Dr-Bernard in #1967
- Make toolbar compatible with
FORCE_SCRIPT_NAME
by @dmartin in #1970 - Support select and explain for UNION queries by @friedelwolff in #1972
- Override
DEBUG=True
in async middleware compatibility tests by @salty-ivy in #1977 - Quick hack for including csp_nonces from requests into script tags by @karolyi in #1975
- Slightly increase opacity of debug toolbar button by @jribbens in #1982
- Async compatible redirect panel by @salty-ivy in #1976
- 🔧 update translation for Persian language by @elias-ebrahimpour in #1873
- Add a paragraph describing our stance on Python typing by @matthiask in #1979
- Dark mode text needs higher contrast by @myou1985 in #1987
- Switch to Django Commons code of conduct by @tim-schilling in #1978
- Update translations by @tim-schilling in #1984
- Make Panels non async by default by @salty-ivy in #1990
- Async compatible
StaticFilesPanel
by @salty-ivy in #1983 - Refs #1668: Fixed the unsortable session keys fallback by @matthiask in #1994
- Add Django 5.1 to the CI matrix by @matthiask in #1995
- Use Heading-4 for PR template for screen-readers. by @tim-schilling in #1999
- Async compatible
HistoryPanel
by @salty-ivy in #1991 - Async compatible
SQLPanel
by @salty-ivy in #1993
New Contributors
- @Dr-Bernard made their first contribution in #1967
- @dmartin made their first contribution in #1970
- @friedelwolff made their first contribution in #1972
- @karolyi made their first contribution in #1975
- @jribbens made their first contribution in #1982
- @elias-ebrahimpour made their first contribution in #1873
- @myou1985 made their first contribution in #1987
Google Summer of Code - Async project
This release contains the changes for async compatibility for the majority of panels. This is the result of the Google Summer of Code project by @salty-ivy. A massive thank you 💚 and a round of applause 👏 is due to Aman!
Full Changelog: 4.4.6...5.0.0-alpha