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.8.1 to 4.1.0 #377

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2023

Bumps django-debug-toolbar from 3.8.1 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.
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.
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

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](https://github.com/jazzband/django-debug-toolbar) from 3.8.1 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.8.1...4.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 1, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 1, 2023

Superseded by #383.

@dependabot dependabot bot closed this Sep 1, 2023
@dependabot dependabot bot deleted the dependabot/pip/dependencies/django-debug-toolbar-4.1.0 branch September 1, 2023 09:58
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants