Releases: django-commons/django-debug-toolbar
Releases · django-commons/django-debug-toolbar
4.3
What's Changed
- docs(panels): remove very old / outdated third-party panels by @Zerotask in #1825
- Add note on lack of async support to docs by @salomvary in #1829
- do not quote SQL params before passing them to mogrify by @tkoschnick in #1832
- panels(templates): avoid evaluating LazyObject by @nijel in #1833
- Support Django 5.0 by @adamchainz in #1839
- Add Python 3.12 to the test matrix. by @tim-schilling in #1816
- Fix
utils.get_name_from_obj
proper view names by @leandrodesouzadev in #1846 - pyproject.toml: Work on the readability of ruff settings by @cclauss in #1850
- Switch to ruff format by @matthiask in #1852
- Fix #1858 -- Drop support for Django 4.0 by @pauloxnet in #1859
- Fix #1860 -- Update GitHub action versions by @pauloxnet in #1861
- Refactor is_project_func method for Windows compatibility by @DraKen0009 in #1857
- Configure ESLint using a JS file instead of JSON by @matthiask in #1868
- pre-commit-config: Upgrade ruff by @cclauss in #1869
- The djdt handle shouldn't be stuck at the top of the browser window initially #1853 by @VeldaKiara in #1871
- 1843 new ajax request resets whole view if historypanel is enabled by @elineda in #1872
New Contributors
- @Zerotask made their first contribution in #1825
- @salomvary made their first contribution in #1829
- @tkoschnick made their first contribution in #1832
- @nijel made their first contribution in #1833
- @DraKen0009 made their first contribution in #1857
- @VeldaKiara made their first contribution in #1871
- @elineda made their first contribution in #1872
Full Changelog: 4.2...4.3
4.2
What's Changed
- Fixed #1780 -- Adjusted system check to allow for nested template loa… by @carltongibson in #1783
- Include all files in sdist archives by @mgorny in #1785
- SQL panel work by @living180 in #1786
- Use ruff for linting by @WhyNotHugo in #1781
- Minor testing cleanups by @living180 in #1782
- Fix #1792: Lowercase all cookie keys, actually allow overriding the samesite value by @matthiask in #1793
- More rules for ruff by @matthiask in #1794
- Fix CI tests with MariaDB. by @tim-schilling in #1797
- Switch StaticFilesPanel to use ContextVar. by @tim-schilling in #1801
- Check JavaScript files content type. by @tim-schilling in #1802
- Handle logging queries encoded as bytes under PostgreSQL by @Lucidiot in #1812
- Patch CursorWrapper dynamically to allow multiple base classes. by @tim-schilling in #1820
New Contributors
- @mgorny made their first contribution in #1785
- @WhyNotHugo made their first contribution in #1781
- @Lucidiot made their first contribution in #1812
Full Changelog: 4.1...4.2
4.1
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1755
- SQL query formatting improvements by @living180 in #1752
- Use the new STORAGES setting in Django 4.2 by @radwon in #1759
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1761
- Switch to sphinx 7's intersphinx_mapping usage. by @tim-schilling in #1767
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1766
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1768
- Fix #1711 Improve installation page formats by @pauloxnet in #1772
- Don't try to undo cache method monkey patching by @living180 in #1770
- Add theming support by @GergelyKalmar in #1760
- Replace deprecated GitHub Actions set-output commands by @living180 in #1774
- Fix psycopg3 tests by @living180 in #1773
- Replace time.time() with time.perf_counter() by @living180 in #1777
- Bump coverage percentage to 94% by @living180 in #1776
- D9pouces wsgi.multiprocess 1 by @d9pouces in #1765
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1778
- Version 4.1.0 by @tim-schilling in #1779
New Contributors
- @GergelyKalmar made their first contribution in #1760
- @d9pouces made their first contribution in #1765
Full Changelog: 4.0.0...4.1
4.0.0
- Added Django 4.2a1 to the CI.
- Dropped support for Python 3.7.
- Fixed PostgreSQL raw query with a tuple parameter during on explain.
- Use
TOOLBAR_LANGUAGE
setting 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. - Added support for psycopg3.
- When
ENABLE_STACKTRACE_LOCALS
isTrue
, the stack frames' locals dicts
will be converted to strings when the stack trace is captured rather when it
is rendered, so that the correct values will be displayed in the rendered
stack trace, as they may have changed between the time the stack trace was
captured and when it is rendered.
3.8.1
Note: 3.8.0 was not released, use 3.8.1
What's Changed
- fix: Simplify logic for Panel.enabled property by @adamantike in #1676
- Auto-update History panel with JavaScript fetch requests. by @tim-schilling in #1685
- Improve the template_source view coverage a bit by @matthiask in #1688
- Support rerendering the toolbar on HTMX boosted pages. by @tim-schilling in #1686
- Include panel scripts in content when RENDER_PANELS=True by @matthiask in #1689
- Fixed #1693 -- Run tests on python 3.11 by @pauloxnet in #1694
- Add divide by zero protection in timer.js by @SmailBestybay in #1687
- Fixed #1695 - Run test on Python 3.11 for Django 4.1 by @pauloxnet in #1696
- Create one-time mouseup listener for each mousedown by @scuml in #1697
- Update package metadata by @ofek in #1690
- Validate and format pyproject.toml by @hugovk in #1700
- Drop Rob's email address in project config. by @tim-schilling in #1699
- Fix highlighting on history panel by @scuml in #1698
- Allow Language Selection on the Toolbar by @leandrodesouzadev in #1703
- Attach handlers to djDebug instead of document by @scuml in #1702
- Formalize support for Python 3.11. by @tim-schilling in #1713
New Contributors
- @adamantike made their first contribution in #1676
- @SmailBestybay made their first contribution in #1687
- @ofek made their first contribution in #1690
- @hugovk made their first contribution in #1700
- @leandrodesouzadev made their first contribution in #1703
Full Changelog: 3.7...3.8.1
3.8
This tag was not released due to a bug in the release job. Use 3.8.1
3.7
What's Changed
- Fix JS linting error from pre-commit. by @tim-schilling in #1670
- Use system font stack in the toolbar by @matthiask in #1672
- Profiling panel improvements by @tim-schilling in #1669
- added functionality to keep unsort the session dict by @ritiksoni00 in #1673
New Contributors
- @ritiksoni00 made their first contribution in #1673
Full Changelog: 3.6...3.7
3.6
What's Changed
- Remove unused import from installation.rst by @jonatron in #1648
- Check if djdt-store-id is in all headers before usage. by @tim-schilling in #1651
- docs: Fix a few typos by @timgates42 in #1652
- Make Selenium tests pass, hopefully by @matthiask in #1655
- Add Django 4.1 to classifiers by @hramezani in #1656
- Remove signed_data_view decorator to support url type checking. by @tim-schilling in #1658
- Upgrade GitHub Actions by @cclauss in #1660
- Fix #1662: Avoid assigning arbitrary attributes to SafeString instances by @matthiask in #1663
New Contributors
- @jonatron made their first contribution in #1648
- @timgates42 made their first contribution in #1652
Full Changelog: 3.5...3.6
3.5
What's Changed
- Explicit external link, hopefully fixes the docs linting action by @matthiask in #1618
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1617
- Add the upcoming Django 4.1 to the CI matrix by @matthiask in #1623
- Remove a couple of archived third-party repos by @cclauss in #1622
- Replace OrderedDict by @living180 in #1625
- Fix #1621: Do not crash when encountering unexpected data in the request by @matthiask in #1624
- Cache panel work by @living180 in #1626
- Get PostgreSQL transaction tracking working by @living180 in #1619
- Add pyflame to the list of third-party panels by @living180 in #1628
- Fix cache panel miss counting by @living180 in #1629
- Stacktrace cleanups by @living180 in #1630
- Increase minimum coverage percentage to 93% by @living180 in #1632
- Stack trace rework by @living180 in #1631
- Minor documentation updates by @living180 in #1634
- Reimplement HIDE_IN_STACKTRACES machinery by @living180 in #1635
- Rework similary/duplicate query grouping by @living180 in #1636
- Simplify SQLPanel._queries data structure by @living180 in #1638
- Tweak get_stack_trace() API by @living180 in #1637
New Contributors
And thank you @living180 for the plethora of PRs this release.
Full Changelog: 3.4...3.5
3.4
What's Changed
- The path may not always be a true path for stacktraces. by @tim-schilling in #1613
- Add changelog for unpacking error when rendering stacktrace. by @tim-schilling in #1614
- Rename SQLPanel context var to control SQL access. by @tim-schilling in #1615
Full Changelog: 3.3...3.4