Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(deps-dev): bump django-debug-toolbar from 3.2.1 to 6.0.0#2757

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dependabot wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromdependabot/pip/django-debug-toolbar-6.0.0

Conversation

dependabot[bot]
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubJul 28, 2025
edited
Loading

Bumpsdjango-debug-toolbar from 3.2.1 to 6.0.0.

Release notes

Sourced fromdjango-debug-toolbar's releases.

6.0.0

Description

The v6.0.0 release of Django Debug Toolbar significantly revamps how panels for the toolbar work. Each panel will now persist its data in a store. A store can either be backed by various backends. The toolbar will support a memory and database backend to start.

The toolbar is now using Django'sSafeExceptionReporterFilter.cleanse_setting() function to filter out sensitive information. Some data will be replaced with"********************". This is because the toolbar could be configured to write the request information to a persistent store such as a cache or database.

Django applications with basic installations are backwards compatible with this change. If there are hooks into the internals of the toolbar, such asDebugToolbar.store_id then it will be backwards incompatible.

Third-party panels will need updating. Any data that is stored inrecord_stats will need to be fetched back out fromself.get_stats() before being able to be rendered. This is to support loading an instance of the toolbar from persisted data. A simple example of this transition can be found indebug_toolbar/panels/cache.py inPR 2138

How to upgrade

  • Changes required if the toolbar isn't installed entirely programmatically
    • If you experienceRuntimeError: Model class debug_toolbar.models.HistoryEntry doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS, you need to remove the reference to the toolbar's urls in yoururls.py file andMIDDLEWARE setting when the toolbar isn't inINSTALLED_APPS
  • If you have a custom panel, you'll need to adjustrecord_stats and useself.get_stats() to fetch data for rendering
  • If you'd like to use the database store, seeTOOLBAR_STORE_CLASS for more info

Why did the internals change?

The Django Debug Toolbar is a popular package we did not want to block the community from pursuing the async path for Django applications. Writing the request data to a store better positions the toolbar for async projects. It also opens the door for it beingusable in production as well withAPI integrations.

What's Changed

Full Changelog:django-commons/django-debug-toolbar@5.2.0...6.0.0

Acknowlegements

Thank you to all the contributors who made this release possible. Thank you to@​robhudson,@​matthiask,@​tim-schilling,@​salty-ivy and@​dr-rompecabezas for their support, development and reviews of the serializable toolbar changes. A special shout-out to@​matthiask for leading the Djangonaut Space Session 4 team of@​dr-rompecabezas,@​andoriyaprashant and@​blingblin-g.

5.2.0

What's Changed

... (truncated)

Changelog

Sourced fromdjango-debug-toolbar's changelog.

6.0.0 (2025-07-22)

  • Added support for checking if pytest as the test runner when determiningif tests are running.
  • Addedshow_toolbar_with_docker function to check Docker host IP addresswhen running inside Docker containers.
  • Defines theBaseStore interface for request storage mechanisms.
  • Added the settingTOOLBAR_STORE_CLASS to configure the requeststorage mechanism. Defaults todebug_toolbar.store.MemoryStore.
  • Renamestore_id properties torequest_id andToolbar.store toToolbar.init_store.
  • SupportPanel instances with stored stats viaPanel.load_stats_from_store.
  • SwappedToolbar._store for theget_store() class.
  • Created aStoredDebugToolbar that support creating an instance of thetoolbar representing an old request. It should only be used for fetchingpanels' contents.
  • Dropraw_params from query data.
  • Queries now have a uniquedjdt_query_id. The SQL forms now referencethis id and avoid passing SQL to be executed.
  • Move the formatting logic of SQL queries to just before rendering inSQLPanel.content.
  • MakePanel.panel_id a class member.
  • Update all panels to utilize data fromPanel.get_stats() to load contentto render. Specifically forPanel.title andPanel.nav_title.
  • Extend example app to contain an async version.
  • Addeddebug_toolbar.store.DatabaseStore for persistent debug datastorage.
  • Deduplicated static files in the staticfiles panel.

5.2.0 (2025-04-29)

  • Added hook to RedirectsPanel for subclass customization.
  • Added feature to sanitize sensitive data in the Request Panel.
  • Fixed dark mode conflict in code block toolbar CSS.
  • Properly allowed overriding the system theme preference by using the themeselector. Removed theDEFAULT_THEME setting, we should always default tosystem-level defaults where possible.
  • Added support for using django-template-partials with the template panel'ssource view functionality. The same change possibly adds support for othertemplate loaders.
  • Introduceddjade <https://github.com/adamchainz/djade>__ to format Djangotemplates.
  • Swapped display order of panel header and close button to prevent styleconflicts
  • Added CSS for resetting the height of elements too to avoid problems withglobal CSS of a website where the toolbar is used.

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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.

Bumps [django-debug-toolbar](https://github.com/django-commons/django-debug-toolbar) from 3.2.1 to 6.0.0.- [Release notes](https://github.com/django-commons/django-debug-toolbar/releases)- [Changelog](https://github.com/django-commons/django-debug-toolbar/blob/main/docs/changes.rst)- [Commits](django-commons/django-debug-toolbar@3.2.1...6.0.0)---updated-dependencies:- dependency-name: django-debug-toolbar  dependency-version: 6.0.0  dependency-type: direct:development  update-type: version-update:semver-major...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added dependenciesPull requests that update a dependency file pythonPull requests that update Python code labelsJul 28, 2025
@dependabotdependabotbot added dependenciesPull requests that update a dependency file pythonPull requests that update Python code labelsJul 28, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ewdurbinewdurbinAwaiting requested review from ewdurbinewdurbin is a code owner

@JacobCoffeeJacobCoffeeAwaiting requested review from JacobCoffeeJacobCoffee is a code owner

At least 0 approving reviews are required to merge this pull request.

Assignees
No one assigned
Labels
dependenciesPull requests that update a dependency filepythonPull requests that update Python code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

0 participants

[8]ページ先頭

©2009-2025 Movatter.jp