Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump django-debug-toolbar from 3.5.0 to 4.1.0 #10725

Merged
merged 3 commits into from
Jul 17, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 12, 2023

Bumps django-debug-toolbar from 3.5.0 to 4.1.0.

Release notes

Sourced from django-debug-toolbar's releases.

4.1

What's Changed

New Contributors

Full Changelog: django-commons/django-debug-toolbar@4.0.0...4.1

4.0.0

  • Added Django 4.2a1 to the CI.
  • Dropped support for Python 3.7.
  • Fixed PostgreSQL raw query with a tuple parameter during on explain.
  • Use TOOLBAR_LANGUAGE setting when rendering individual panels that are loaded via AJAX.
  • Add decorator for rendering toolbar views with TOOLBAR_LANGUAGE.
  • Removed the logging panel. The panel's implementation was too complex, caused memory leaks and sometimes very verbose and hard to silence output in some environments (but not others). The maintainers judged that time and effort is better invested elsewhere.
  • Added support for psycopg3.
  • When ENABLE_STACKTRACE_LOCALS is True, the stack frames' locals dicts will be converted to strings when the stack trace is captured rather when it is rendered, so that the correct values will be displayed in the rendered stack trace, as they may have changed between the time the stack trace was captured and when it is rendered.

3.8.1

Note: 3.8.0 was not released, use 3.8.1

What's Changed

... (truncated)

Changelog

Sourced from django-debug-toolbar's changelog.

4.1.0 (2023-05-15)

  • Improved SQL statement formatting performance. Additionally, fixed the indentation of CASE statements and stopped simplifying .count() queries.
  • Added support for the new STORAGES setting in Django 4.2 for static files.
  • Added support for theme overrides.
  • Reworked the cache panel instrumentation code to no longer attempt to undo monkey patching of cache methods, as that turned out to be fragile in the presence of other code which also monkey patches those methods.
  • Update all timing code that used :py:func:time.time() to use :py:func:time.perf_counter() instead.
  • Made the check on request.META["wsgi.multiprocess"] optional, but defaults to forcing the toolbar to render the panels on each request. This is because it's likely an ASGI application that's serving the responses and that's more likely to be an incompatible setup. If you find that this is incorrect for you in particular, you can use the RENDER_PANELS setting to forcibly control this logic.

4.0.0 (2023-04-03)

  • Added Django 4.2 to the CI.
  • Dropped support for Python 3.7.
  • Fixed PostgreSQL raw query with a tuple parameter during on explain.
  • Use TOOLBAR_LANGUAGE setting when rendering individual panels that are loaded via AJAX.
  • Add decorator for rendering toolbar views with TOOLBAR_LANGUAGE.
  • Removed the logging panel. The panel's implementation was too complex, caused memory leaks and sometimes very verbose and hard to silence output in some environments (but not others). The maintainers judged that time and effort is better invested elsewhere.
  • Added support for psycopg3.
  • When ENABLE_STACKTRACE_LOCALS is True, the stack frames' locals dicts will be converted to strings when the stack trace is captured rather when it is rendered, so that the correct values will be displayed in the rendered stack trace, as they may have changed between the time the stack trace was captured and when it is rendered.

3.8.1 (2022-12-03)

  • Fixed release process by re-adding twine to release dependencies. No functional change.

3.8.0 (2022-12-03)

  • Added protection against division by 0 in timer.js

... (truncated)

Commits
  • de7e19c Version 4.1.0 (#1779)
  • e9fff24 [pre-commit.ci] pre-commit autoupdate
  • af7d15f If wsgi.multiprocess isn't set, render panels on each request.
  • 1960ca3 Bump coverage percentage to 94% (#1776)
  • 43a87f7 Replace time.time() with time.perf_counter() (#1777)
  • e7575e8 Inherit from django.db.backends.utils.CursorWrapper
  • 32ab363 Fix psycopg3 tests
  • 217238b Don't try to undo DatabaseWrapper monkey patching
  • df67c89 Remove unnecessary return statement
  • 267de8f Replace deprecated GitHub Actions set-output commands (#1774)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added backend dependencies Pull requests that update a dependency file engineering labels Jun 12, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/django-debug-toolbar-4.1.0 branch 4 times, most recently from bc77034 to 27c2c4a Compare June 28, 2023 21:44
@dependabot dependabot bot force-pushed the dependabot/pip/django-debug-toolbar-4.1.0 branch 6 times, most recently from b721aa6 to 64e0897 Compare July 7, 2023 03:08
@danielfmiranda danielfmiranda added the pip Used for dependabot PR's having to do with pip/python label Jul 7, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/django-debug-toolbar-4.1.0 branch 4 times, most recently from cb5c9f3 to 472cd4b Compare July 10, 2023 19:22
Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 3.5.0 to 4.1.0.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/main/docs/changes.rst)
- [Commits](django-commons/django-debug-toolbar@3.5...4.1)

---
updated-dependencies:
- dependency-name: django-debug-toolbar
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/django-debug-toolbar-4.1.0 branch from 472cd4b to 211f602 Compare July 11, 2023 22:09
@jhonatan-lopes jhonatan-lopes mentioned this pull request Jul 14, 2023
Copy link
Contributor

@jhonatan-lopes jhonatan-lopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally that the debug toolbar is still working.

@jhonatan-lopes jhonatan-lopes merged commit 1b4f375 into main Jul 17, 2023
@jhonatan-lopes jhonatan-lopes deleted the dependabot/pip/django-debug-toolbar-4.1.0 branch July 17, 2023 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend dependencies Pull requests that update a dependency file engineering pip Used for dependabot PR's having to do with pip/python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants