Skip to content

Conversation

dependabot-preview[bot]
Copy link

Bumps django-debug-toolbar from 1.10.1 to 2.2.

Changelog

Sourced from django-debug-toolbar's changelog.

2.2 (2020-01-31)

  • Removed support for end of life Django 2.0 and 2.1.
  • Added support for Python 3.8.
  • Add locals() option for sql panel.
  • Added support for Django 3.0

2.1 (2019-11-12)

  • Changed the Travis CI matrix to run style checks first.
  • Exposed the djdt.init function too.
  • Small improvements to the code to take advantage of newer Django APIs and avoid warnings because of deprecated code.
  • Verified compatibility with the upcoming Django 3.0 (at the time of writing).

2.0 (2019-06-20)

  • Updated StaticFilesPanel to be compatible with Django 3.0.
  • The ProfilingPanel is now enabled but inactive by default.
  • Fixed toggling of table rows in the profiling panel UI.
  • The ProfilingPanel no longer skips remaining panels or middlewares.
  • Improved the installation documentation.
  • Fixed a possible crash in the template panel.
  • Added support for psycopg2 Composed objects.
  • Changed the Jinja2 tests to use Django's own Jinja2 template backend.
  • Added instrumentation to queries using server side cursors.
  • Too many small improvements and cleanups to list them all.

Backwards incompatible changes

  • Removed support for Python 2.
  • Removed support for Django's deprecated MIDDLEWARE_CLASSES setting.
  • Restructured Panel to execute more like the new-style Django MIDDLEWARE. The Panel.__init__() method is now passed get_response as the first positional argument. The Panel.process_request() method must now always return a response. Usually this is the response returned by get_response() but the panel may also return a different response as is the case in the RedirectsPanel. Third party panels must adjust to this new architecture. Panel.process_response() and Panel.process_view() have been removed as a result of this change.

The deprecated API, debug_toolbar.panels.DebugPanel, has been removed. Third party panels should use debug_toolbar.panels.Panel instead.

The following deprecated settings have been removed:

  • HIDDEN_STACKTRACE_MODULES
  • HIDE_DJANGO_SQL
  • INTERCEPT_REDIRECTS
  • RESULTS_STORE_SIZE
  • ROOT_TAG_ATTRS
  • TAG

1.11 (2018-12-03)

... (truncated)
Commits
  • e154955 Merge pull request #1234 from tim-schilling/ddt-2.2
  • 852e455 Merge pull request #1229 from tim-schilling/postgres-json-explain
  • 530fde6 Bump to version 2.2
  • 98308a2 Merge pull request #1226 from tim-schilling/tox-expand-db-tests
  • 0caa826 Only use postgres CursorDebugWrapper with Django 3
  • 59af30f Expand travis tests.
  • 863664d Handle postgres CursorDebugWrapper in debugsqlshell.
  • 9efa204 Test with postgresql and mariadb on multiple versions of Django.
  • a8ae50b get_safe_settings' location has changed in Django 3.1 (#1233)
  • fb4ffee Add LICENSE metadata to Python package distributions (#1232)
  • Additional commits viewable in compare view

Dependabot compatibility score

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
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 3, 2020
@dependabot-preview
Copy link
Author

We've just been alerted that this update fixes a security vulnerability:

Sourced from The GitHub Security Advisory Database.

SQL Injection via in django-debug-toolbar

Impact

With Django Debug Toolbar attackers are able to execute SQL by changing the raw_sql input of the SQL explain, analyze or select forms and submitting the form.

NOTE: This is a high severity issue for anyone using the toolbar in a production environment.

Generally the Django Debug Toolbar team only maintains the latest version of django-debug-toolbar, but an exception was made because of the high severity of this issue.

Patches

Please upgrade to one of the following versions, depending on the major version you're using:

Affected versions: [">= 0.10.0, < 1.11.1"]

@dependabot-preview dependabot-preview bot changed the title Bump django-debug-toolbar from 1.10.1 to 2.2 [Security] Bump django-debug-toolbar from 1.10.1 to 2.2 Apr 16, 2021
@dependabot-preview dependabot-preview bot added the security Pull requests that address a security vulnerability label Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants