Skip to content

Commit

Permalink
chore(deps): update dependency django-debug-toolbar to v5 (#231)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change | OpenSSF |
|---|---|---|---|---|
|
[django-debug-toolbar](https://redirect.github.com/django-commons/django-debug-toolbar)
([changelog](https://django-debug-toolbar.readthedocs.io/en/latest/changes.html))
| dev | major | `4.4.6` -> `5.0.1` | [![OpenSSF
Scorecard](https://api.securityscorecards.dev/projects/github.com/django-commons/django-debug-toolbar/badge)](https://securityscorecards.dev/viewer/?uri=github.com/django-commons/django-debug-toolbar)
|

---

### Release Notes

<details>
<summary>django-commons/django-debug-toolbar
(django-debug-toolbar)</summary>

###
[`v5.0.1`](https://redirect.github.com/django-commons/django-debug-toolbar/releases/tag/5.0.1)

[Compare
Source](https://redirect.github.com/django-commons/django-debug-toolbar/compare/5.0.0...5.0.1)

#### What's Changed

There were no functional changes in this version.

##### PRs

- Update release workflows to latest trusted publisher GHA. by
[@&#8203;tim-schilling](https://redirect.github.com/tim-schilling) in
[https://github.com/django-commons/django-debug-toolbar/pull/2054](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2054)

**Full Changelog**:
django-commons/django-debug-toolbar@5.0.0...5.0.1

###
[`v5.0.0`](https://redirect.github.com/django-commons/django-debug-toolbar/releases/tag/5.0.0)

[Compare
Source](https://redirect.github.com/django-commons/django-debug-toolbar/compare/4.4.6...5.0.0)

#### What's Changed

Please note that Django Debug Toolbar has now moved into the Django
Commons organization.

##### Changelog

-   Added Python 3.13 to the CI matrix.
-   Removed support for Python 3.8 as it has reached end of life.
-   Converted to Django Commons PyPI release process.
- Fixed a crash which occurred when using non-`str` static file values.
-   Documented experimental async support.
- Improved troubleshooting doc for incorrect mime types for .js static
files
-   Support async applications and ASGI from
`Google Summer of Code Project 2024
<https://summerofcode.withgoogle.com/programs/2024/projects/iXVvyGYp>`\__.
-   Added Django 5.1 to the CI matrix.
- Added support for the `LoginRequiredMiddleware` introduced in Django
5.1.
- Support select and explain buttons for `UNION` queries on PostgreSQL.
- Fixed internal toolbar requests being instrumented if the Django
setting
    `FORCE_SCRIPT_NAME` was set.
- Increase opacity of show Debug Toolbar handle to improve
accessibility.
-   Changed the `RedirectsPanel` to be async compatible.
-   Increased the contrast of text with dark mode enabled.
-   Add translations for Bulgarian and Korean.
-   Update translations for several languages.
-   Include new translatable strings for translation.
- Fixed a crash which happened in the fallback case when session keys
cannot be
    sorted.

##### PRs

- Async compatible debug-toolbar middleware by
[@&#8203;salty-ivy](https://redirect.github.com/salty-ivy) in
[https://github.com/django-commons/django-debug-toolbar/pull/1938](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1938)
- Add async tests by
[@&#8203;salomvary](https://redirect.github.com/salomvary) in
[https://github.com/django-commons/django-debug-toolbar/pull/1835](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1835)
- Update installation.rst by
[@&#8203;Dr-Bernard](https://redirect.github.com/Dr-Bernard) in
[https://github.com/django-commons/django-debug-toolbar/pull/1967](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1967)
- Make toolbar compatible with `FORCE_SCRIPT_NAME` by
[@&#8203;dmartin](https://redirect.github.com/dmartin) in
[https://github.com/django-commons/django-debug-toolbar/pull/1970](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1970)
- Support select and explain for UNION queries by
[@&#8203;friedelwolff](https://redirect.github.com/friedelwolff) in
[https://github.com/django-commons/django-debug-toolbar/pull/1972](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1972)
- Override `DEBUG=True` in async middleware compatibility tests by
[@&#8203;salty-ivy](https://redirect.github.com/salty-ivy) in
[https://github.com/django-commons/django-debug-toolbar/pull/1977](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1977)
- Quick hack for including csp_nonces from requests into script tags by
[@&#8203;karolyi](https://redirect.github.com/karolyi) in
[https://github.com/django-commons/django-debug-toolbar/pull/1975](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1975)
- Slightly increase opacity of debug toolbar button by
[@&#8203;jribbens](https://redirect.github.com/jribbens) in
[https://github.com/django-commons/django-debug-toolbar/pull/1982](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1982)
- Async compatible redirect panel by
[@&#8203;salty-ivy](https://redirect.github.com/salty-ivy) in
[https://github.com/django-commons/django-debug-toolbar/pull/1976](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1976)
- 🔧 update translation for Persian language by
[@&#8203;elias-ebrahimpour](https://redirect.github.com/elias-ebrahimpour)
in
[https://github.com/django-commons/django-debug-toolbar/pull/1873](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1873)
- Add a paragraph describing our stance on Python typing by
[@&#8203;matthiask](https://redirect.github.com/matthiask) in
[https://github.com/django-commons/django-debug-toolbar/pull/1979](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1979)
- Dark mode text needs higher contrast by
[@&#8203;myou1985](https://redirect.github.com/myou1985) in
[https://github.com/django-commons/django-debug-toolbar/pull/1987](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1987)
- Switch to Django Commons code of conduct by
[@&#8203;tim-schilling](https://redirect.github.com/tim-schilling) in
[https://github.com/django-commons/django-debug-toolbar/pull/1978](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1978)
- Update translations by
[@&#8203;tim-schilling](https://redirect.github.com/tim-schilling) in
[https://github.com/django-commons/django-debug-toolbar/pull/1984](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1984)
- Make Panels non async by default by
[@&#8203;salty-ivy](https://redirect.github.com/salty-ivy) in
[https://github.com/django-commons/django-debug-toolbar/pull/1990](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1990)
- Async compatible `StaticFilesPanel` by
[@&#8203;salty-ivy](https://redirect.github.com/salty-ivy) in
[https://github.com/django-commons/django-debug-toolbar/pull/1983](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1983)
- Refs
[#&#8203;1668](https://redirect.github.com/django-commons/django-debug-toolbar/issues/1668):
Fixed the unsortable session keys fallback by
[@&#8203;matthiask](https://redirect.github.com/matthiask) in
[https://github.com/django-commons/django-debug-toolbar/pull/1994](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1994)
- Add Django 5.1 to the CI matrix by
[@&#8203;matthiask](https://redirect.github.com/matthiask) in
[https://github.com/django-commons/django-debug-toolbar/pull/1995](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1995)
- Use Heading-4 for PR template for screen-readers. by
[@&#8203;tim-schilling](https://redirect.github.com/tim-schilling) in
[https://github.com/django-commons/django-debug-toolbar/pull/1999](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1999)
- Async compatible `HistoryPanel` by
[@&#8203;salty-ivy](https://redirect.github.com/salty-ivy) in
[https://github.com/django-commons/django-debug-toolbar/pull/1991](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1991)
- Async compatible `SQLPanel` by
[@&#8203;salty-ivy](https://redirect.github.com/salty-ivy) in
[https://github.com/django-commons/django-debug-toolbar/pull/1993](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1993)
- Correct "middleware" typos by
[@&#8203;korverdev](https://redirect.github.com/korverdev) in
[https://github.com/django-commons/django-debug-toolbar/pull/2003](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2003)
- add support for LoginRequiredMiddleware with login_not_required decor…
by [@&#8203;dulmandakh](https://redirect.github.com/dulmandakh) in
[https://github.com/django-commons/django-debug-toolbar/pull/2005](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2005)
- Async integration tests by
[@&#8203;salty-ivy](https://redirect.github.com/salty-ivy) in
[https://github.com/django-commons/django-debug-toolbar/pull/2001](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2001)
- Modernize Python type hints and string formatting by
[@&#8203;cclauss](https://redirect.github.com/cclauss) in
[https://github.com/django-commons/django-debug-toolbar/pull/2012](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2012)
- Adding in support for Python 3.13 by
[@&#8203;abeed-avayu](https://redirect.github.com/abeed-avayu) in
[https://github.com/django-commons/django-debug-toolbar/pull/2014](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2014)
- Fix
[#&#8203;2011](https://redirect.github.com/django-commons/django-debug-toolbar/issues/2011):
Test the divisor, not the dividend for zero by
[@&#8203;matthiask](https://redirect.github.com/matthiask) in
[https://github.com/django-commons/django-debug-toolbar/pull/2015](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2015)
- Update Installation warning doc by
[@&#8203;salty-ivy](https://redirect.github.com/salty-ivy) in
[https://github.com/django-commons/django-debug-toolbar/pull/2019](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2019)
- Convert to Django Commons pypi-github release process by
[@&#8203;tim-schilling](https://redirect.github.com/tim-schilling) in
[https://github.com/django-commons/django-debug-toolbar/pull/2017](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2017)
- The static files panel shouldn't choke on unexpected data types by
[@&#8203;matthiask](https://redirect.github.com/matthiask) in
[https://github.com/django-commons/django-debug-toolbar/pull/2021](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2021)
- Update references to point to django-commons repo by
[@&#8203;robhudson](https://redirect.github.com/robhudson) in
[https://github.com/django-commons/django-debug-toolbar/pull/2022](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2022)
- Update pyupgrade's target version to Python 3.9 by
[@&#8203;ulgens](https://redirect.github.com/ulgens) in
[https://github.com/django-commons/django-debug-toolbar/pull/2024](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2024)
- I added more explanations to the example/readme file. by
[@&#8203;jong-seoung](https://redirect.github.com/jong-seoung) in
[https://github.com/django-commons/django-debug-toolbar/pull/2027](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2027)
- Adopt a basic security policy by
[@&#8203;tim-schilling](https://redirect.github.com/tim-schilling) in
[https://github.com/django-commons/django-debug-toolbar/pull/2040](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2040)
- Fix whitespace view in code by
[@&#8203;thesayfulla](https://redirect.github.com/thesayfulla) in
[https://github.com/django-commons/django-debug-toolbar/pull/2043](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2043)
- Documented experimental async support. by
[@&#8203;tim-schilling](https://redirect.github.com/tim-schilling) in
[https://github.com/django-commons/django-debug-toolbar/pull/2045](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2045)
- Updated Troubleshooting documentation: simpler mimetype workaround for
.js file by [@&#8203;blep](https://redirect.github.com/blep) in
[https://github.com/django-commons/django-debug-toolbar/pull/2047](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2047)

#### Google Summer of Code - Async project

This release contains the changes for async compatibility for the
majority of panels. This is the result of the Google Summer of Code
project by [@&#8203;salty-ivy](https://redirect.github.com/salty-ivy). A
massive thank you 💚 and a round of applause 👏 is due to Aman!

#### New Contributors

- [@&#8203;Dr-Bernard](https://redirect.github.com/Dr-Bernard) made
their first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/1967](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1967)
- [@&#8203;dmartin](https://redirect.github.com/dmartin) made their
first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/1970](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1970)
- [@&#8203;friedelwolff](https://redirect.github.com/friedelwolff) made
their first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/1972](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1972)
- [@&#8203;karolyi](https://redirect.github.com/karolyi) made their
first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/1975](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1975)
- [@&#8203;jribbens](https://redirect.github.com/jribbens) made their
first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/1982](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1982)
-
[@&#8203;elias-ebrahimpour](https://redirect.github.com/elias-ebrahimpour)
made their first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/1873](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1873)
- [@&#8203;myou1985](https://redirect.github.com/myou1985) made their
first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/1987](https://redirect.github.com/django-commons/django-debug-toolbar/pull/1987)
- [@&#8203;korverdev](https://redirect.github.com/korverdev) made their
first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/2003](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2003)
- [@&#8203;dulmandakh](https://redirect.github.com/dulmandakh) made
their first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/2005](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2005)
- [@&#8203;abeed-avayu](https://redirect.github.com/abeed-avayu) made
their first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/2014](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2014)
- [@&#8203;robhudson](https://redirect.github.com/robhudson) made their
first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/2022](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2022)
- [@&#8203;ulgens](https://redirect.github.com/ulgens) made their first
contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/2024](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2024)
- [@&#8203;jong-seoung](https://redirect.github.com/jong-seoung) made
their first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/2027](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2027)
- [@&#8203;thesayfulla](https://redirect.github.com/thesayfulla) made
their first contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/2043](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2043)
- [@&#8203;blep](https://redirect.github.com/blep) made their first
contribution in
[https://github.com/django-commons/django-debug-toolbar/pull/2047](https://redirect.github.com/django-commons/django-debug-toolbar/pull/2047)

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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDQuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NC40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->

Co-authored-by: descope[bot] <107609351+descope[bot]@users.noreply.github.com>
  • Loading branch information
descope[bot] authored Feb 10, 2025
1 parent 681e0bd commit 1563469
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ liccheck = "0.9.2"
isort = "5.13.2"
python-dotenv = "1.0.1"
tox = "4.23.2"
django-debug-toolbar = "4.4.6"
django-debug-toolbar = "5.0.1"
django-stubs = "5.1.2"

# Authorized and unauthorized licenses in LOWER CASE
Expand Down

0 comments on commit 1563469

Please sign in to comment.