Fixed SQL Injection vulnerability, CVE-2021-30459. The toolbar now
calculates a signature on all fields for the SQL select, explain,
and analyze forms.
Changed djdt.cookie.set() to set sameSite=Lax by default if
callers do not provide a value.
Added PRETTIFY_SQL configuration option to support controlling
SQL token grouping. By default it's set to True. When set to False,
a performance improvement can be seen by the SQL panel.
Fixed issue with toolbar expecting URL paths to start with /__debug__/
while the documentation indicates it's not required.
Stopped crashing when request.GET and request.POST are
dictionaries instead of QueryDict instances. This isn't a valid
use of Django but django-debug-toolbar shouldn't crash anyway.
Fixed a crash in the history panel when sending a JSON POST request
with invalid JSON.
Added missing signals to the signals panel by default.
Documented how to avoid CORS errors now that we're using JavaScript
modules.
Verified support for Python 3.9.
Added a css and a js template block to
debug_toolbar/base.html to allow overriding CSS and JS.
3.2a1 (2020-10-19)
Fixed a regression where the JavaScript code crashed with an invalid
CSS selector when searching for an element to replace.
Replaced remaining images with CSS.
Continued refactoring the HTML and CSS code for simplicity, continued
improving the use of semantic HTML.
Stopped caring about prehistoric browsers for good. Started splitting
up the JavaScript code to take advantage of JavaScript modules.
Continued removing unused CSS.
Started running Selenium tests on Travis CI.
Added a system check which prevents using django-debug-toolbar without
any enabled panels.
Added :meth:Panel.run_checks() <debug_toolbar.panels.Panel.run_checks> for
panels to verify the configuration before the application starts.
Validate the static file paths specified in STATICFILES_DIRS
exist via :class:~debug_toolbar.panels.staticfiles.StaticFilesPanel
Introduced prettier <https://prettier.io/>__ to format the frontend
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/PyGotham/awards/network/alerts).
Bumps django-debug-toolbar from 3.1.1 to 3.2.1.
Changelog
Sourced from django-debug-toolbar's changelog.
... (truncated)
Commits
e9eebfb
Fix lint issue in docs.38e1bd7
Merge pull request from GHSA-pghf-347x-c2gj8b280e1
Merge pull request #1456 from jazzband/master-to-main60af440
Rename Django's dev branch to main.5a3ccd9
Merge pull request #1445 from xi/fix-1248b17d7bc
Merge pull request #1453 from tim-schilling/fix-url-expectation06bf4ba
Stop checking STATICFILES_DIRS with Django 4 or better (#1455)135e7ca
Fixed documentation spelling error.d07c2d5
Fixed issue with toolbar expecting urls to start with debug.3dc5437
Change the default branch for the repository to main.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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/PyGotham/awards/network/alerts).