Releases: django-commons/django-debug-toolbar
5.0.0-alpha
Why 5.0 and why alpha?
Version 5.0 does not contain any backwards incompatible changes. Instead it should be more compatible with async Django projects. However, the change did require some reasonably sized changes to the middleware. This is a large enough change that we wanted it to be effectively communicated to users of the toolbar.
This release is an alpha because the async logic was tested, but we also understand that we haven't tested it in every scenario. We fully expect the project to continue to function extremely well in WSGI applications. For ASGI applications that are utilizing async, well, that's why it's an alpha 😁
What's Changed
- Async compatible debug-toolbar middleware by @salty-ivy in #1938
- Add async tests by @salomvary in #1835
- Update installation.rst by @Dr-Bernard in #1967
- Make toolbar compatible with
FORCE_SCRIPT_NAME
by @dmartin in #1970 - Support select and explain for UNION queries by @friedelwolff in #1972
- Override
DEBUG=True
in async middleware compatibility tests by @salty-ivy in #1977 - Quick hack for including csp_nonces from requests into script tags by @karolyi in #1975
- Slightly increase opacity of debug toolbar button by @jribbens in #1982
- Async compatible redirect panel by @salty-ivy in #1976
- 🔧 update translation for Persian language by @elias-ebrahimpour in #1873
- Add a paragraph describing our stance on Python typing by @matthiask in #1979
- Dark mode text needs higher contrast by @myou1985 in #1987
- Switch to Django Commons code of conduct by @tim-schilling in #1978
- Update translations by @tim-schilling in #1984
- Make Panels non async by default by @salty-ivy in #1990
- Async compatible
StaticFilesPanel
by @salty-ivy in #1983 - Refs #1668: Fixed the unsortable session keys fallback by @matthiask in #1994
- Add Django 5.1 to the CI matrix by @matthiask in #1995
- Use Heading-4 for PR template for screen-readers. by @tim-schilling in #1999
- Async compatible
HistoryPanel
by @salty-ivy in #1991 - Async compatible
SQLPanel
by @salty-ivy in #1993
New Contributors
- @Dr-Bernard made their first contribution in #1967
- @dmartin made their first contribution in #1970
- @friedelwolff made their first contribution in #1972
- @karolyi made their first contribution in #1975
- @jribbens made their first contribution in #1982
- @elias-ebrahimpour made their first contribution in #1873
- @myou1985 made their first contribution in #1987
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. A massive thank you 💚 and a round of applause 👏 is due to Aman!
Full Changelog: 4.4.6...5.0.0-alpha
4.4.6
What's Changed
- Close #1509: Revert the infinite recursion fix, Django has changed the behavior by @matthiask in #1955
- Fixed order and grammatical number of panels in documentation by @bkdekoning in #1956
- Alerts panel: Only process HTML responses by @matthiask in #1960
Full Changelog: 4.4.5...4.4.6
4.4.5
What's Changed
- Fix #1951: Do not crash if the 'alerts' key doesn't exist by @matthiask in #1953
- Only import the jinja2 instrumentation when jinja2 itself is importable by @matthiask in #1954
Full Changelog: 4.4.4...4.4.5
4.4.4
What's Changed
- Check for for StreamingHttpResponse when generating stats in Alert by @danjac in #1946
- Actually use the Jinja2 template backend by @matthiask in #1882
New Contributors
Full Changelog: 4.4.3...4.4.4
4.4.3
What's Changed
- Fix overriding font-family for both light and dark themes by @federicobond in #1930
- Restore compatibility with iptools.IpRangeList by @quinox in #1929
- Limit the cases for E001 to likely scenarios by @tim-schilling in #1925
- Introduce debug_toolbar_urls to simplify installation by @tim-schilling in #1926
- Fixed #1682 -- alert user when using file field without proper encoding by @bkdekoning in #1933
- Remove rem units from svg by @michjnich in #1942
New Contributors
- @quinox made their first contribution in #1929
- @bkdekoning made their first contribution in #1933
- @michjnich made their first contribution in #1942
Full Changelog: 4.4.2...4.4.3
4.4.2
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #1909
- Avoid setting color-scheme on :root, we're only a guest on pages by @matthiask in #1923
- Add a section to the installation docs about running tests by @matthiask in #1921
- Version 4.4.2 by @matthiask in #1924
Full Changelog: 4.4.1...4.4.2
4.4.1
What's changed
PRs merged
- Limit metadata version for Jazzband's release process by @tim-schilling in #1916
Full Changelog: 4.4...4.4.1
4.4
Note: Version 4.4 (4.4.0) was not released to PyPI due to a metadata version incompatibility. Version 4.4.1 fixes that.
What's changed
PRs merged
- Use url template tag for example URLs by @tim-schilling in #1879
- Keep GitHub Actions up to date with GitHub's Dependabot by @cclauss in #1876
- #1870 fix pre commit errors by @elijah0kello in #1884
- Show toolbar for docker's internal IP address by @tim-schilling in #1887
- Raise the minimum Django version to 4.2 by @matthiask in #1880
- 1847 improve handling when djdt views dont respond with json by @elineda in #1877
- Fix DeprecationWarnings about form default templates by @pfouque in #1878
- Add architecture documentation for the project. by @tim-schilling in #1890
- Remove obsolete staticfiles check by @living180 in #1894
- Make tox pass selenium environment variables by @living180 in #1892
- Allow more control over tox Selenium tests by @living180 in #1897
- Deprecate OBSERVE_REQUEST_CALLBACK setting by @living180 in #1895
- Docs > Add a note on the profiling panel doc by @elineda in #1899
- 'djdt' is not a registered namespace #1405 by @VeldaKiara in #1889
- Remove unnecessary GitHub Graph info by @jeffwidman in #1910
- New coverage.yml for code coverage by @salty-ivy in #1912
- Dark mode support by @TheRealVizard in #1913
- Fix theme selenium integration test. by @tim-schilling in #1915
New Contributors
- @elijah0kello made their first contribution in #1884
- @pfouque made their first contribution in #1878
- @jeffwidman made their first contribution in #1910
- @salty-ivy made their first contribution in #1912
- @TheRealVizard made their first contribution in #1913
Full Changelog: 4.3...4.4
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