Added Profiling panel setting PROFILER_THRESHOLD_RATIO to give users
better control over how many function calls are included. A higher value
will include more data, but increase render time.
Update Profiling panel to include try to always include user code. This
code is more important to developers than dependency code.
Highlight the project function calls in the profiling panel.
Added Profiling panel setting PROFILER_CAPTURE_PROJECT_CODE to allow
users to disable the inclusion of all project code. This will be useful
to project setups that have dependencies installed under
settings.BASE_DIR.
The toolbar's font stack now prefers system UI fonts. Tweaked paddings,
margins and alignments a bit in the CSS code.
Only sort the session dictionary when the keys are all strings. Fixes a
bug that causes the toolbar to crash when non-strings are used as keys.
3.6.0 (2022-08-17)
Remove decorator signed_data_view as it was causing issues with
django-urlconfchecks <https://github.com/AliSayyah/django-urlconfchecks/>__.
Added pygments to the test environment and fixed a crash when using the
template panel with Django 4.1 and pygments installed.
Stayed on top of pre-commit hook and GitHub actions updates.
Added some workarounds to avoid a Chromium warning which was worrisome to
developers.
Avoided using deprecated Selenium methods to find elements.
Raised the minimum Django version from 3.2 to 3.2.4 so that we can take
advantage of backported improvements to the cache connection handler.
3.5.0 (2022-06-23)
Properly implemented tracking and display of PostgreSQL transactions.
Removed third party panels which have been archived on GitHub.
Added Django 4.1b1 to the CI matrix.
Stopped crashing when request.GET and request.POST are neither
dictionaries nor QueryDict instances. Using anything but QueryDict
instances isn't a valid use of Django but, again, django-debug-toolbar
shouldn't crash.
Fixed the cache panel to work correctly in the presence of concurrency by
avoiding the use of signals.
Reworked the cache panel instrumentation mechanism to monkey patch methods on
the cache instances directly instead of replacing cache instances with
wrapper classes.
Added a :meth:debug_toolbar.panels.Panel.ready class method that panels can
override to perform any initialization or instrumentation that needs to be
done unconditionally at startup time.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps django-debug-toolbar from 1.11 to 3.7.0.
Release notes
Sourced from django-debug-toolbar's releases.
... (truncated)
Changelog
Sourced from django-debug-toolbar's changelog.
... (truncated)
Commits
9f0b938
Version 3.7.0348e582
added functionality to keep unsort the session dict (#1673)5cbf357
[pre-commit.ci] pre-commit autoupdate6bc4ca2
Make the docs linter happyc359e76
Tweak spacings a bit because of the changed fontsbe0a433
Profiling panel improvements (#1669)c88a13d
Use system font stack in the toolbar5923f38
[pre-commit.ci] pre-commit autoupdateb20ddd3
Fix JS linting error from pre-commit.6f548ae
[pre-commit.ci] pre-commit autoupdate (#1667)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)