What's Changed
Please note that Django Debug Toolbar has now moved into the Django Commons organization.
Changelog
- Added Python 3.13 to the CI matrix.
- Removed support for Python 3.8 as it has reached end of life.
- Converted to Django Commons PyPI release process.
- Fixed a crash which occurred when using non-
str
static file values. - Documented experimental async support.
- Improved troubleshooting doc for incorrect mime types for .js static files
- Support async applications and ASGI from
Google Summer of Code Project 2024 <https://summerofcode.withgoogle.com/programs/2024/projects/iXVvyGYp>
__. - Added Django 5.1 to the CI matrix.
- Added support for the
LoginRequiredMiddleware
introduced in Django 5.1. - Support select and explain buttons for
UNION
queries on PostgreSQL. - Fixed internal toolbar requests being instrumented if the Django setting
FORCE_SCRIPT_NAME
was set. - Increase opacity of show Debug Toolbar handle to improve accessibility.
- Changed the
RedirectsPanel
to be async compatible. - Increased the contrast of text with dark mode enabled.
- Add translations for Bulgarian and Korean.
- Update translations for several languages.
- Include new translatable strings for translation.
- Fixed a crash which happened in the fallback case when session keys cannot be
sorted.
PRs
- 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 - Correct "middleware" typos by @korverdev in #2003
- add support for LoginRequiredMiddleware with login_not_required decor⦠by @dulmandakh in #2005
- Async integration tests by @salty-ivy in #2001
- Modernize Python type hints and string formatting by @cclauss in #2012
- Adding in support for Python 3.13 by @abeed-avayu in #2014
- Fix #2011: Test the divisor, not the dividend for zero by @matthiask in #2015
- Update Installation warning doc by @salty-ivy in #2019
- Convert to Django Commons pypi-github release process by @tim-schilling in #2017
- The static files panel shouldn't choke on unexpected data types by @matthiask in #2021
- Update references to point to django-commons repo by @robhudson in #2022
- Update pyupgrade's target version to Python 3.9 by @ulgens in #2024
- I added more explanations to the example/readme file. by @jong-seoung in #2027
- Adopt a basic security policy by @tim-schilling in #2040
- Fix whitespace view in code by @thesayfulla in #2043
- Documented experimental async support. by @tim-schilling in #2045
- Updated Troubleshooting documentation: simpler mimetype workaround for .js file by @blep in #2047
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!
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
- @korverdev made their first contribution in #2003
- @dulmandakh made their first contribution in #2005
- @abeed-avayu made their first contribution in #2014
- @robhudson made their first contribution in #2022
- @ulgens made their first contribution in #2024
- @jong-seoung made their first contribution in #2027
- @thesayfulla made their first contribution in #2043
- @blep made their first contribution in #2047
Full Changelog: 4.4.6...5.0.0