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

chore(deps-dev): bump django-debug-toolbar from 3.2.1 to 4.4.6 #2629

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 2, 2024

Bumps django-debug-toolbar from 3.2.1 to 4.4.6.

Release notes

Sourced from django-debug-toolbar's releases.

4.4.6

What's Changed

Full Changelog: django-commons/django-debug-toolbar@4.4.5...4.4.6

4.4.5

What's Changed

Full Changelog: django-commons/django-debug-toolbar@4.4.4...4.4.5

4.4.4

What's Changed

New Contributors

Full Changelog: django-commons/django-debug-toolbar@4.4.3...4.4.4

4.4.3

What's Changed

New Contributors

Full Changelog: django-commons/django-debug-toolbar@4.4.2...4.4.3

4.4.2

What's Changed

... (truncated)

Changelog

Sourced from django-debug-toolbar's changelog.

4.4.6 (2024-07-10)

  • Changed ordering (and grammatical number) of panels and their titles in documentation to match actual panel ordering and titles.
  • Skipped processing the alerts panel when response isn't a HTML response.

4.4.5 (2024-07-05)

  • Avoided crashing when the alerts panel was skipped.
  • Removed the inadvertently added hard dependency on Jinja2.

4.4.4 (2024-07-05)

  • Added check for StreamingHttpResponse in alerts panel.
  • Instrument the Django Jinja2 template backend. This only instruments the immediate template that's rendered. It will not provide stats on any parent templates.

4.4.3 (2024-07-04)

  • Added alerts panel with warning when form is using file fields without proper encoding type.
  • Fixed overriding font-family for both light and dark themes.
  • Restored compatibility with iptools.IpRangeList.
  • Limit E001 check to likely error cases when the SHOW_TOOLBAR_CALLBACK has changed, but the toolbar's URL paths aren't installed.
  • Introduce helper function debug_toolbar_urls to simplify installation.
  • Moved "1rem" height/width for SVGs to CSS properties.

4.4.2 (2024-05-27)

  • Removed some CSS which wasn't carefully limited to the toolbar's elements.
  • Stopped assuming that INTERNAL_IPS is a list.
  • Added a section to the installation docs about running tests in projects where the toolbar is being used.

4.4.1 (2024-05-26)

  • Pin metadata version to 2.2 to be compatible with Jazzband release process.

... (truncated)

Commits
  • 8f4fa8e Version 4.4.6
  • 982a127 Alerts panel: Only process HTML responses
  • 9bcd6ca [pre-commit.ci] pre-commit autoupdate
  • 699c1d9 Fixed order and grammatical number of panels in documentation (#1956)
  • dfad5db Close #1509: Revert the infinite recursion fix, Django has changed the behavi...
  • 7acad6b django-debug-toolbar 4.4.5
  • 944120c Only import the jinja2 instrumentation when jinja2 itself is importable (#1954)
  • a591d86 Fix #1951: Do not crash if the 'alerts' key doesn't exist (#1953)
  • 57ada8e Version 4.4.4
  • 9834e7e Ignore check for jinja2's base.html template in integration test
  • 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 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)

Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 3.2.1 to 4.4.6.
- [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.2.1...4.4.6)

---
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 added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 2, 2024
@JacobCoffee
Copy link
Member

having trouble getting this to actually render

@JacobCoffee
Copy link
Member

fixed in the below but need to rotate my keys so ill push a bit later

Index: pydotorg/settings/local.py
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/pydotorg/settings/local.py b/pydotorg/settings/local.py
--- a/pydotorg/settings/local.py	(revision 04d0eed6108da2631cc5416664c5998a341a539c)
+++ b/pydotorg/settings/local.py	(date 1728311783409)
@@ -6,6 +6,10 @@
 ALLOWED_HOSTS = ['*']
 INTERNAL_IPS = ['127.0.0.1']
 
+DEBUG_TOOLBAR_CONFIG = {
+    "SHOW_TOOLBAR_CALLBACK" : lambda request: True,
+}
+
 # Set the path to the location of the content files for python.org
 # For example,
 # PYTHON_ORG_CONTENT_SVN_PATH = '/Users/flavio/working_copies/beta.python.org/build/data'

Copy link
Member

@JacobCoffee JacobCoffee left a comment

Choose a reason for hiding this comment

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

.

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 do-not-merge python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant