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.
3.3.0 (2022-04-28)
Track calls to :py:meth:django.core.caches.cache.get_or_set.
Removed support for Django < 3.2.
Updated check W006 to look for
django.template.loaders.app_directories.Loader.
Reset settings when overridden in tests. Packages or projects using
django-debug-toolbar can now use Django’s test settings tools, like
@override_settings, to reconfigure the toolbar during tests.
Optimize rendering of SQL panel, saving about 30% of its run time.
New records in history panel will flash green.
Automatically update History panel on AJAX requests from client.
3.2.4 (2021-12-15)
Revert PR 1426 - Fixes issue with SQL parameters having leading and
trailing characters stripped away.
3.2.3 (2021-12-12)
Changed cache monkey-patching for Django 3.2+ to iterate over existing
caches and patch them individually rather than attempting to patch
django.core.caches as a whole. The middleware.cache is still
being patched as a whole in order to attempt to catch any cache
usages before enable_instrumentation is called.
Add check W006 to warn that the toolbar is incompatible with
TEMPLATES settings configurations with APP_DIRS set to False.
Create urls module and update documentation to no longer require
importing the toolbar package.
3.2.2 (2021-08-14)
Ensured that the handle stays within bounds when resizing the window.
Disabled HistoryPanel when RENDER_PANELS is True
or if RENDER_PANELS is None and the WSGI container is
running with multiple processes.
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.4.0.
Release notes
Sourced from django-debug-toolbar's releases.
... (truncated)
Changelog
Sourced from django-debug-toolbar's changelog.
... (truncated)
Commits
1d6c953
Version 3.4e262e6a
Fix mispelling in changelog and add missing change.a0080f3
Rename SQLPanel context var to control SQL access.1923f7e
Add changelog for unpacking error when rendering stacktrace. (#1614)c39b84b
The path may not always be a true path for stacktraces. (#1613)4630f07
[pre-commit.ci] pre-commit autoupdate (#1608)0897c5d
Version 3.3.0 (#1610)da2910f
[pre-commit.ci] pre-commit autoupdatea8a7267
Fix and improve .assertValidHTML() test method (#1597)6a70876
Merge pull request #1603 from riwatt/preserve-lastresort-logDependabot 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)