From 1563469c7848d1df559b0013b4f8c5f417c9d3a0 Mon Sep 17 00:00:00 2001 From: "descope[bot]" <107609351+descope[bot]@users.noreply.github.com> Date: Mon, 10 Feb 2025 20:08:44 +0000 Subject: [PATCH] chore(deps): update dependency django-debug-toolbar to v5 (#231) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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
django-commons/django-debug-toolbar (django-debug-toolbar) ### [`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 [@​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**: https://github.com/django-commons/django-debug-toolbar/compare/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 `\__. - 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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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) - :wrench: update translation for Persian language by [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [#​1668](https://redirect.github.com/django-commons/django-debug-toolbar/issues/1668): Fixed the unsortable session keys fallback by [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [#​2011](https://redirect.github.com/django-commons/django-debug-toolbar/issues/2011): Test the divisor, not the dividend for zero by [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​salty-ivy](https://redirect.github.com/salty-ivy). A massive thank you πŸ’š and a round of applause πŸ‘ is due to Aman! #### New Contributors - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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**: https://github.com/django-commons/django-debug-toolbar/compare/4.4.6...5.0.0
--- ### 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. --- - [ ] 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). Co-authored-by: descope[bot] <107609351+descope[bot]@users.noreply.github.com> --- poetry.lock | 10 +++++----- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 4b29f54..64c972d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -428,14 +428,14 @@ bcrypt = ["bcrypt"] [[package]] name = "django-debug-toolbar" -version = "4.4.6" +version = "5.0.1" description = "A configurable set of panels that display various debug information about the current request/response." category = "dev" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "django_debug_toolbar-4.4.6-py3-none-any.whl", hash = "sha256:3beb671c9ec44ffb817fad2780667f172bd1c067dbcabad6268ce39a81335f45"}, - {file = "django_debug_toolbar-4.4.6.tar.gz", hash = "sha256:36e421cb908c2f0675e07f9f41e3d1d8618dc386392ec82d23bcfcd5d29c7044"}, + {file = "django_debug_toolbar-5.0.1-py3-none-any.whl", hash = "sha256:7456cc2e951db37dab335686db7803c4a0ecb6736d120705f6668db9548bf49f"}, + {file = "django_debug_toolbar-5.0.1.tar.gz", hash = "sha256:296f6f18a80710e84fbb8361538ae5ec522a75ebe9ab67db34bcf1026cbeb420"}, ] [package.dependencies] @@ -1096,4 +1096,4 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.0" python-versions = ">=3.9,<4.0" -content-hash = "bfc60f5b42c226c0b8d1b613061b405236527438ffe37262c8fcf560efb810e6" +content-hash = "758327c3639e9687e0bb64ca3f6d7bcc46b6dc723e7fca9a1087fb4c4cee77d3" diff --git a/pyproject.toml b/pyproject.toml index 6244d5f..e130936 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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