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.
Added pyflame (for flame graphs) to the list of third-party panels.
Fixed the cache panel to correctly count cache misses from the get_many()
cache method.
Removed some obsolete compatibility code from the stack trace recording code.
Added a new mechanism for capturing stack traces which includes per-request
caching to reduce expensive file system operations. Updated the cache and
SQL panels to record stack traces using this new mechanism.
Changed the docs tox environment to allow passing positional arguments.
This allows e.g. building a HTML version of the docs using tox -e docs html.
Stayed on top of pre-commit hook updates.
Replaced OrderedDict by dict where possible.
Deprecated features
* The ``debug_toolbar.utils.get_stack()`` and
``debug_toolbar.utils.tidy_stacktrace()`` functions are deprecated in favor
of the new ``debug_toolbar.utils.get_stack_trace()`` function. They will
removed in the next major version of the Debug Toolbar.
3.4.0 (2022-05-03)
Fixed issue of stacktrace having frames that have no path to the file,
but are instead a string of the code such as
'<frozen importlib._bootstrap>'.
Renamed internal SQL tracking context var from recording to
allow_sql.
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 3.2.1 to 3.5.0.
Release notes
Sourced from django-debug-toolbar's releases.
... (truncated)
Changelog
Sourced from django-debug-toolbar's changelog.
... (truncated)
Commits
e4f0e58
django-debug-toolbar 3.50441b85
Avoid the spelling problem detection1e6f85b
Add a few missing entries to the changelogf01ee7b
Replace Django 4.1a1 with Django 4.1b1 in the CI matrixf640192
[pre-commit.ci] pre-commit autoupdate0f1d9d9
[pre-commit.ci] pre-commit autoupdatee59a8ec
Exclude tracking frames from stack traces8709f0f
Tweak the get_stack_trace() APIff552ea
Tweak code structureec4c0c6
Simplify SQLPanel._queries data structureDependabot 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)