Skip to content

Commit efbe895

Browse files
committed
django-debug-toolbar 3.0a1
1 parent 2f2f7ac commit efbe895

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

docs/changes.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
Change log
22
==========
33

4-
UNRELEASED
5-
----------
4+
3.0a1 (2020-06-05)
5+
------------------
66

77
* Added an ``.editorconfig`` file specifying indentation rules etc.
88
* Updated the italian translation.
9-
* Added support for Django 3.1a1.
9+
* Added support for Django 3.1a1. ``fetch()`` and ``jQuery.ajax`` requests are
10+
now detected by the absence of a ``Accept: text/html`` header instead of the
11+
jQuery-specific ``X-Requested-With`` header on Django 3.1 or better.
1012
* Pruned unused CSS and removed hacks for ancient browsers.
1113
* Added the new :attr:`Panel.scripts <debug_toolbar.panels.Panel.scripts>`
1214
property. This property should return a list of JavaScript resources to be
1315
loaded in the browser when displaying the panel. Right now, this is used by a
1416
single panel, the Timer panel. Third party panels can use this property to
1517
add scripts rather then embedding them in the content HTML.
18+
* Switched from JSHint to ESLint. Added an ESLint job to the Travis CI matrix.
19+
* Debug toolbar state which is only needed in the JavaScript code now uses
20+
localStorage.
21+
* Updated the code to avoid a few deprecation warnings and resource warnings.
22+
* Started loading JavaScript as ES6 modules.
1623

1724
**Backwards incompatible changes**
1825
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
# built documents.
6060
#
6161
# The short X.Y version.
62-
version = '2.2'
62+
version = '3.0a1'
6363
# The full version, including alpha/beta/rc tags.
64-
release = '2.2'
64+
release = '3.0a1'
6565

6666
# The language for content autogenerated by Sphinx. Refer to documentation
6767
# for a list of supported languages.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = django-debug-toolbar
3-
version = 2.2
3+
version = 3.0a1
44
description = A configurable set of panels that display various debug information about the current request/response.
55
long_description = file: README.rst
66
author = Rob Hudson

0 commit comments

Comments
 (0)