Releases: django-commons/django-debug-toolbar
Releases · django-commons/django-debug-toolbar
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_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. - Added support for psycopg3.
- When
ENABLE_STACKTRACE_LOCALSisTrue, 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
3.3.0
What's Changed
- Drop support for Django 3.1 by @hramezani in #1548
- Drop support for Django 2.2 by @hramezani in #1551
- Added MrBenn Panel to Third Party Panels by @robertispas in #1554
- Add pyupgrade and django-upgrade pre-commit hooks by @matthiask in #1553
- Documentation fix in installation.rst by @angusholder in #1555
- Don't raise W006 warning when app loader is specified. by @tim-schilling in #1556
- Remove codecov, solely use coverage. by @tim-schilling in #1542
- Remove the codecov badge, we're not using codecov anymore by @matthiask in #1557
- Move settings reset logic to settings module. by @adamchainz in #1559
- Avoid installing middleware if Content-Encoding is set at all by @adamchainz in #1560
- Test middleware not injecting when Content-Encoding is set by @adamchainz in #1562
- Ignore all coverage files from Git by @adamchainz in #1563
- Specify code coverage as a static value. by @matthiask in #1558
- Fix #1565 Remove Python 3.6 due to EOL by @pauloxnet in #1566
- Implement CacheStatTracker.get_or_set by @francoisfreitag in #1570
- Optimize render_stacktrace() by @adamchainz in #1571
- Remove unnecessary mock dependency by @adamchainz in #1572
- Optimize SQL reformatting by @adamchainz in #1574
- Fix USE_TZ RemovedInDjango50Warning by @adamchainz in #1573
- Fix #1581: Duplicate the 'djdt' app_name to avoid importing the toolbar early by @matthiask in #1582
- unsigning history forms by @gone in #1583
- adding a green flash to new rows in the history table on refresh by @gone in #1578
- Adding Update on ajax feature by @gone in #1577
- Fix link to pre-commit homepage by @living180 in #1589
- Order History panels requests descending chronologically. by @tim-schilling in #1587
- Single source 'djdt' app name by @living180 in #1588
- Various minor documentation fixes by @living180 in #1592
- Fix Docker instruction when host IP has more than 1 digit by @RomainGehrig in #1594
- Fix sql recording for async views by @bellini666 in #1585
- Preserve logs that LoggingPanel would previously overwrite by @riwatt in #1603
- Fix and improve .assertValidHTML() test method by @living180 in #1597
New Contributors
- @robertispas made their first contribution in #1554
- @angusholder made their first contribution in #1555
- @RomainGehrig made their first contribution in #1594
- @bellini666 made their first contribution in #1585
- @riwatt made their first contribution in #1603
Full Changelog: 3.2.4...3.3
3.2.4
What's Changed
- Revert PR 1426 - PostGIS param stripping. This was removing leading and trailing characters from string typed parameters for postgres applications.
Full Changelog: 3.2.3...3.2.4
3.2.3
What's Changed
- Update translations and revert xgettext aliasing. by @tim-schilling in #1494
- Utilize pre-commit to help devs follow style guidelines by @tim-schilling in #1495
- Changed cache monkey-patching for Django 3.2+ by @tim-schilling in #1497
- Add check and docs for TEMPLATES APP_DIRS=False. by @tim-schilling in #1498
- Update tox and github actions. by @tim-schilling in #1500
- Possibly fix an infinite recursion crash by avoid str() inside repr() by @matthiask in #1507
- Add Django 4.0a1 to tox.ini by @matthiask in #1508
- Fix transifex link (net -> com) by @tim-schilling in #1510
- Add support for Python 3.10 by @joshuadavidthomas in #1511
- Additional readme warning when using docker by @daniel-butler in #1294
- Fix SQL selected / SQL explain for gis queries by @jieter in #1426
- Allow using ProfilingPanel as non last panel by @noamkush in #1299
- Update tox.ini by @auvipy in #1519
- Solve spelling mistake in documentation installation page by @mahbd in #1520
- Add Python 3.10 test pipeline for Django 3.2 by @hramezani in #1521
- Run CI tests weekly. by @tim-schilling in #1523
- Fix test_param_conversion for Django 4.1 and mysql by @tim-schilling in #1526
- Remove settings import from install instructions. by @adamchainz in #1528
- Add a big warning regarding the security implications of changing SHOW_TOOLBAR_CALLBACK by @matthiask in #1530
- Update Django 4.0 version in tox.ini to RC1 by @pauloxnet in #1531
- Improve installation instructions by @adamchainz in #1533
- Fix settings docs by @adamchainz in #1534
- Use only pre-commit for style linters and fixers by @adamchainz in #1535
- Update translations for a bunch of languages. by @tim-schilling in #1525
- Update DE locale by @Baltrunas in #1505
- Discourage insecure SHOW_TOOLBAR_CALLBACK values by @matthiask in #1539
- Create urls module and remove import package from docs. by @tim-schilling in #1537
New Contributors
- @joshuadavidthomas made their first contribution in #1511
- @pre-commit-ci made their first contribution in #1512
- @jazzband-bot made their first contribution in #1516
- @daniel-butler made their first contribution in #1294
- @noamkush made their first contribution in #1299
- @auvipy made their first contribution in #1519
- @mahbd made their first contribution in #1520
- @pauloxnet made their first contribution in #1531
- @Baltrunas made their first contribution in #1505
Full Changelog: 3.2.2...3.2.3