fix(deps): update dependency django-debug-toolbar to v5
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
django-debug-toolbar (changelog) |
~3.2 -> ~5.0
|
Release Notes
django-commons/django-debug-toolbar (django-debug-toolbar)
v5.0.1
What's Changed
There were no functional changes in this version.
MRs
- Update release workflows to latest trusted publisher GHA. by @tim-schilling in https://github.com/django-commons/django-debug-toolbar/pull/2054
Full Changelog: https://github.com/django-commons/django-debug-toolbar/compare/5.0.0...5.0.1
v5.0.0
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.
MRs
- Async compatible debug-toolbar middleware by @salty-ivy in https://github.com/django-commons/django-debug-toolbar/pull/1938
- Add async tests by @salomvary in https://github.com/django-commons/django-debug-toolbar/pull/1835
- Update installation.rst by @Dr-Bernard in https://github.com/django-commons/django-debug-toolbar/pull/1967
- Make toolbar compatible with
FORCE_SCRIPT_NAME
by @dmartin in https://github.com/django-commons/django-debug-toolbar/pull/1970 - Support select and explain for UNION queries by @friedelwolff in https://github.com/django-commons/django-debug-toolbar/pull/1972
- Override
DEBUG=True
in async middleware compatibility tests by @salty-ivy in https://github.com/django-commons/django-debug-toolbar/pull/1977 - Quick hack for including csp_nonces from requests into script tags by @karolyi in https://github.com/django-commons/django-debug-toolbar/pull/1975
- Slightly increase opacity of debug toolbar button by @jribbens in https://github.com/django-commons/django-debug-toolbar/pull/1982
- Async compatible redirect panel by @salty-ivy in https://github.com/django-commons/django-debug-toolbar/pull/1976
-
🔧 update translation for Persian language by @elias-ebrahimpour in https://github.com/django-commons/django-debug-toolbar/pull/1873 - Add a paragraph describing our stance on Python typing by @matthiask in https://github.com/django-commons/django-debug-toolbar/pull/1979
- Dark mode text needs higher contrast by @myou1985 in https://github.com/django-commons/django-debug-toolbar/pull/1987
- Switch to Django Commons code of conduct by @tim-schilling in https://github.com/django-commons/django-debug-toolbar/pull/1978
- Update translations by @tim-schilling in https://github.com/django-commons/django-debug-toolbar/pull/1984
- Make Panels non async by default by @salty-ivy in https://github.com/django-commons/django-debug-toolbar/pull/1990
- Async compatible
StaticFilesPanel
by @salty-ivy in https://github.com/django-commons/django-debug-toolbar/pull/1983 - Refs #1668: Fixed the unsortable session keys fallback by @matthiask in https://github.com/django-commons/django-debug-toolbar/pull/1994
- Add Django 5.1 to the CI matrix by @matthiask in https://github.com/django-commons/django-debug-toolbar/pull/1995
- Use Heading-4 for MR template for screen-readers. by @tim-schilling in https://github.com/django-commons/django-debug-toolbar/pull/1999
- Async compatible
HistoryPanel
by @salty-ivy in https://github.com/django-commons/django-debug-toolbar/pull/1991 - Async compatible
SQLPanel
by @salty-ivy in https://github.com/django-commons/django-debug-toolbar/pull/1993 - Correct "middleware" typos by @korverdev in https://github.com/django-commons/django-debug-toolbar/pull/2003
- add support for LoginRequiredMiddleware with login_not_required decor… by @dulmandakh in https://github.com/django-commons/django-debug-toolbar/pull/2005
- Async integration tests by @salty-ivy in https://github.com/django-commons/django-debug-toolbar/pull/2001
- Modernize Python type hints and string formatting by @cclauss in https://github.com/django-commons/django-debug-toolbar/pull/2012
- Adding in support for Python 3.13 by @abeed-avayu in https://github.com/django-commons/django-debug-toolbar/pull/2014
- Fix #2011: Test the divisor, not the dividend for zero by @matthiask in https://github.com/django-commons/django-debug-toolbar/pull/2015
- Update Installation warning doc by @salty-ivy in https://github.com/django-commons/django-debug-toolbar/pull/2019
- Convert to Django Commons pypi-github release process by @tim-schilling in https://github.com/django-commons/django-debug-toolbar/pull/2017
- The static files panel shouldn't choke on unexpected data types by @matthiask in https://github.com/django-commons/django-debug-toolbar/pull/2021
- Update references to point to django-commons repo by @robhudson in https://github.com/django-commons/django-debug-toolbar/pull/2022
- Update pyupgrade's target version to Python 3.9 by @ulgens in https://github.com/django-commons/django-debug-toolbar/pull/2024
- I added more explanations to the example/readme file. by @jong-seoung in https://github.com/django-commons/django-debug-toolbar/pull/2027
- Adopt a basic security policy by @tim-schilling in https://github.com/django-commons/django-debug-toolbar/pull/2040
- Fix whitespace view in code by @thesayfulla in https://github.com/django-commons/django-debug-toolbar/pull/2043
- Documented experimental async support. by @tim-schilling in https://github.com/django-commons/django-debug-toolbar/pull/2045
- Updated Troubleshooting documentation: simpler mimetype workaround for .js file by @blep in https://github.com/django-commons/django-debug-toolbar/pull/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
New Contributors
- @Dr-Bernard made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/1967
- @dmartin made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/1970
- @friedelwolff made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/1972
- @karolyi made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/1975
- @jribbens made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/1982
- @elias-ebrahimpour made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/1873
- @myou1985 made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/1987
- @korverdev made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/2003
- @dulmandakh made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/2005
- @abeed-avayu made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/2014
- @robhudson made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/2022
- @ulgens made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/2024
- @jong-seoung made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/2027
- @thesayfulla made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/2043
- @blep made their first contribution in https://github.com/django-commons/django-debug-toolbar/pull/2047
Full Changelog: https://github.com/django-commons/django-debug-toolbar/compare/4.4.6...5.0.0
v4.4.6
What's Changed
- Close #1509: Revert the infinite recursion fix, Django has changed the behavior by @matthiask in https://github.com/jazzband/django-debug-toolbar/pull/1955
- Fixed order and grammatical number of panels in documentation by @bkdekoning in https://github.com/jazzband/django-debug-toolbar/pull/1956
- Alerts panel: Only process HTML responses by @matthiask in https://github.com/jazzband/django-debug-toolbar/pull/1960
Full Changelog: https://github.com/jazzband/django-debug-toolbar/compare/4.4.5...4.4.6
v4.4.5
What's Changed
- Fix #1951: Do not crash if the 'alerts' key doesn't exist by @matthiask in https://github.com/jazzband/django-debug-toolbar/pull/1953
- Only import the jinja2 instrumentation when jinja2 itself is importable by @matthiask in https://github.com/jazzband/django-debug-toolbar/pull/1954
Full Changelog: https://github.com/jazzband/django-debug-toolbar/compare/4.4.4...4.4.5
v4.4.4
What's Changed
- Check for for StreamingHttpResponse when generating stats in Alert by @danjac in https://github.com/jazzband/django-debug-toolbar/pull/1946
- Actually use the Jinja2 template backend by @matthiask in https://github.com/jazzband/django-debug-toolbar/pull/1882
New Contributors
- @danjac made their first contribution in https://github.com/jazzband/django-debug-toolbar/pull/1946
Full Changelog: https://github.com/jazzband/django-debug-toolbar/compare/4.4.3...4.4.4
v4.4.3
What's Changed
- Fix overriding font-family for both light and dark themes by @federicobond in https://github.com/jazzband/django-debug-toolbar/pull/1930
- Restore compatibility with iptools.IpRangeList by @quinox in https://github.com/jazzband/django-debug-toolbar/pull/1929
- Limit the cases for E001 to likely scenarios by @tim-schilling in https://github.com/jazzband/django-debug-toolbar/pull/1925
- Introduce debug_toolbar_urls to simplify installation by @tim-schilling in https://github.com/jazzband/django-debug-toolbar/pull/1926
- Fixed #1682 -- alert user when using file field without proper encoding by @bkdekoning in https://github.com/jazzband/django-debug-toolbar/pull/1933
- Remove rem units from svg by @michjnich in https://github.com/jazzband/django-debug-toolbar/pull/1942
New Contributors
- @quinox made their first contribution in https://github.com/jazzband/django-debug-toolbar/pull/1929
- @bkdekoning made their first contribution in https://github.com/jazzband/django-debug-toolbar/pull/1933
- @michjnich made their first contribution in https://github.com/jazzband/django-debug-toolbar/pull/1942
Full Changelog: https://github.com/jazzband/django-debug-toolbar/compare/4.4.2...4.4.3
v4.4.2
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/jazzband/django-debug-toolbar/pull/1909
- Avoid setting color-scheme on :root, we're only a guest on pages by @matthiask in https://github.com/jazzband/django-debug-toolbar/pull/1923
- Add a section to the installation docs about running tests by @matthiask in https://github.com/jazzband/django-debug-toolbar/pull/1921
- Version 4.4.2 by @matthiask in https://github.com/jazzband/django-debug-toolbar/pull/1924
Full Changelog: https://github.com/jazzband/django-debug-toolbar/compare/4.4.1...4.4.2
v4.4.1
What's changed
MRs merged
- Limit metadata version for Jazzband's release process by @tim-schilling in https://github.com/jazzband/django-debug-toolbar/pull/1916
Full Changelog: https://github.com/jazzband/django-debug-toolbar/compare/4.4...4.4.1
v4.4.0
v4.3.0
v4.2.0
v4.1.0
v4.0.0
- Added Django 4.2a1 to the CI.
- Dropped support for Python 3.7.
- Fixed PostgreSQL raw query with a tuple parameter during on explain.
- Use
TOOLBAR_LANGUAGE
setting when rendering individual panels that are loaded via AJAX. - Add decorator for rendering toolbar views with
TOOLBAR_LANGUAGE
. - Removed the logging panel. The panel's implementation was too complex, caused memory leaks and sometimes very verbose and hard to silence output in some environments (but not others). The maintainers judged that time and effort is better invested elsewhere.
- Added support for psycopg3.
- When
ENABLE_STACKTRACE_LOCALS
isTrue
, the stack frames' locals dicts will be converted to strings when the stack trace is captured rather when it is rendered, so that the correct values will be displayed in the rendered stack trace, as they may have changed between the time the stack trace was captured and when it is rendered.
v3.8.1
Note: 3.8.0 was not released, use 3.8.1
What's Changed
- fix: Simplify logic for Panel.enabled property by @adamantike in https://github.com/jazzband/django-debug-toolbar/pull/1676
- Auto-update History panel with JavaScript fetch requests. by @tim-schilling in https://github.com/jazzband/django-debug-toolbar/pull/1685
- Improve the template_source view coverage a bit by @matthiask in https://github.com/jazzband/django-debug-toolbar/pull/1688
- Support rerendering the toolbar on HTMX boosted pages. by @tim-schilling in https://github.com/jazzband/django-debug-toolbar/pull/1686
- Include panel scripts in content when RENDER_PANELS=True by @matthiask in https://github.com/jazzband/django-debug-toolbar/pull/1689
- Fixed #1693 -- Run tests on python 3.11 by @pauloxnet in https://github.com/jazzband/django-debug-toolbar/pull/1694
- Add divide by zero protection in timer.js by @SmailBestybay in https://github.com/jazzband/django-debug-toolbar/pull/1687
- Fixed #1695 - Run test on Python 3.11 for Django 4.1 by @pauloxnet in https://github.com/jazzband/django-debug-toolbar/pull/1696
- Create one-time mouseup listener for each mousedown by @scuml in https://github.com/jazzband/django-debug-toolbar/pull/1697
- Update package metadata by @ofek in https://github.com/jazzband/django-debug-toolbar/pull/1690
- Validate and format pyproject.toml by @hugovk in https://github.com/jazzband/django-debug-toolbar/pull/1700
- Drop Rob's email address in project config. by @tim-schilling in https://github.com/jazzband/django-debug-toolbar/pull/1699
- Fix highlighting on history panel by @scuml in https://github.com/jazzband/django-debug-toolbar/pull/1698
- Allow Language Selection on the Toolbar by @leandrodesouzadev in https://github.com/jazzband/django-debug-toolbar/pull/1703
- Attach handlers to djDebug instead of document by @scuml in https://github.com/jazzband/django-debug-toolbar/pull/1702
- Formalize support for Python 3.11. by @tim-schilling in https://github.com/jazzband/django-debug-toolbar/pull/1713
New Contributors
- @adamantike made their first contribution in https://github.com/jazzband/django-debug-toolbar/pull/1676
- @SmailBestybay made their first contribution in https://github.com/jazzband/django-debug-toolbar/pull/1687
- @ofek made their first contribution in https://github.com/jazzband/django-debug-toolbar/pull/1690
- @hugovk made their first contribution in https://github.com/jazzband/django-debug-toolbar/pull/1700
- @leandrodesouzadev made their first contribution in https://github.com/jazzband/django-debug-toolbar/pull/1703
Full Changelog: https://github.com/jazzband/django-debug-toolbar/compare/3.7...3.8.1
v3.7.0
v3.6.0
v3.5.0
v3.4.0
v3.3.0
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.