Django-Styleguide-Example
Django-Styleguide-Example copied to clipboard
Bump django-debug-toolbar from 3.8.1 to 4.2.0
Bumps django-debug-toolbar from 3.8.1 to 4.2.0.
Release notes
Sourced from django-debug-toolbar's releases.
4.2
What's Changed
- Fixed #1780 -- Adjusted system check to allow for nested template loa… by
@carltongibsonin jazzband/django-debug-toolbar#1783- Include all files in sdist archives by
@mgornyin jazzband/django-debug-toolbar#1785- SQL panel work by
@living180in jazzband/django-debug-toolbar#1786- Use ruff for linting by
@WhyNotHugoin jazzband/django-debug-toolbar#1781- Minor testing cleanups by
@living180in jazzband/django-debug-toolbar#1782- Fix #1792: Lowercase all cookie keys, actually allow overriding the samesite value by
@matthiaskin jazzband/django-debug-toolbar#1793- More rules for ruff by
@matthiaskin jazzband/django-debug-toolbar#1794- Fix CI tests with MariaDB. by
@tim-schillingin jazzband/django-debug-toolbar#1797- Switch StaticFilesPanel to use ContextVar. by
@tim-schillingin jazzband/django-debug-toolbar#1801- Check JavaScript files content type. by
@tim-schillingin jazzband/django-debug-toolbar#1802- Handle logging queries encoded as bytes under PostgreSQL by
@Lucidiotin jazzband/django-debug-toolbar#1812- Patch CursorWrapper dynamically to allow multiple base classes. by
@tim-schillingin jazzband/django-debug-toolbar#1820New Contributors
@mgornymade their first contribution in jazzband/django-debug-toolbar#1785@WhyNotHugomade their first contribution in jazzband/django-debug-toolbar#1781@Lucidiotmade their first contribution in jazzband/django-debug-toolbar#1812Full Changelog: https://github.com/jazzband/django-debug-toolbar/compare/4.1...4.2
4.1
What's Changed
- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jazzband/django-debug-toolbar#1755- SQL query formatting improvements by
@living180in jazzband/django-debug-toolbar#1752- Use the new STORAGES setting in Django 4.2 by
@radwonin jazzband/django-debug-toolbar#1759- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jazzband/django-debug-toolbar#1761- Switch to sphinx 7's intersphinx_mapping usage. by
@tim-schillingin jazzband/django-debug-toolbar#1767- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jazzband/django-debug-toolbar#1766- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jazzband/django-debug-toolbar#1768- Fix #1711 Improve installation page formats by
@pauloxnetin jazzband/django-debug-toolbar#1772- Don't try to undo cache method monkey patching by
@living180in jazzband/django-debug-toolbar#1770- Add theming support by
@GergelyKalmarin jazzband/django-debug-toolbar#1760- Replace deprecated GitHub Actions set-output commands by
@living180in jazzband/django-debug-toolbar#1774- Fix psycopg3 tests by
@living180in jazzband/django-debug-toolbar#1773- Replace time.time() with time.perf_counter() by
@living180in jazzband/django-debug-toolbar#1777- Bump coverage percentage to 94% by
@living180in jazzband/django-debug-toolbar#1776- D9pouces wsgi.multiprocess 1 by
@d9poucesin jazzband/django-debug-toolbar#1765- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ciin jazzband/django-debug-toolbar#1778- Version 4.1.0 by
@tim-schillingin jazzband/django-debug-toolbar#1779New Contributors
@GergelyKalmarmade their first contribution in jazzband/django-debug-toolbar#1760@d9poucesmade their first contribution in jazzband/django-debug-toolbar#1765Full Changelog: https://github.com/jazzband/django-debug-toolbar/compare/4.0.0...4.1
4.0.0
- Added Django 4.2a1 to the CI.
... (truncated)
Changelog
Sourced from django-debug-toolbar's changelog.
4.2.0 (2023-08-10)
- Adjusted app directories system check to allow for nested template loaders.
- Switched from flake8, isort and pyupgrade to
ruff <https://beta.ruff.rs/>__.- Converted cookie keys to lowercase. Fixed the
samesiteargument todjdt.cookie.set.- Converted
StaticFilesPanelto no longer use a thread collector. Instead, it collects the used static files in aContextVar.- Added check
debug_toolbar.W007to warn when JavaScript files are resolving to the wrong content type.- Fixed SQL statement recording under PostgreSQL for queries encoded as byte strings.
- Patch the
CursorWrapperclass with a mixin class to support multiple base wrapper classes.4.1.0 (2023-05-15)
- Improved SQL statement formatting performance. Additionally, fixed the indentation of
CASEstatements 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 theRENDER_PANELSsetting 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_LANGUAGEsetting 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.
... (truncated)
Commits
7ab6b0fVersion 4.2.0fefec8e[pre-commit.ci] pre-commit autoupdate7677183Patch CursorWrapper dynamically to allow multiple base classes. (#1820)6e55663[pre-commit.ci] pre-commit autoupdate (#1817)66eb88dFix a typo53747ef[pre-commit.ci] pre-commit autoupdate (#1815)acd69dfHandle logging queries encoded as bytes under PostgreSQL (#1812)43c076apre-commit updates; disable two of the more annoying ruff rulesets4a641ecCheck JavaScript files content type. (#1802)47d4eedSwitch StaticFilesPanel to use ContextVar. (#1801)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)