From 3a562698e7700518d6bfbf8043bba8885df2c2ba Mon Sep 17 00:00:00 2001 From: Tim Schilling Date: Thu, 28 Apr 2022 08:25:00 -0500 Subject: [PATCH] Version 3.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Track calls to :py:meth:`django.core.caches.cache.get_or_set`. * Removed support for Django < 3.2. * Updated check ``W006`` to look for ``django.template.loaders.app_directories.Loader``. * Reset settings when overridden in tests. Packages or projects using django-debug-toolbar can now use Django’s test settings tools, like ``@override_settings``, to reconfigure the toolbar during tests. * Optimize rendering of SQL panel, saving about 30% of its run time. * New records in history panel will flash green. * Automatically update History panel on AJAX requests from client. --- README.rst | 2 +- debug_toolbar/__init__.py | 2 +- docs/changes.rst | 3 +++ docs/conf.py | 2 +- setup.cfg | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index ee2a2c5a5..66cca214b 100644 --- a/README.rst +++ b/README.rst @@ -44,7 +44,7 @@ Here's a screenshot of the toolbar in action: In addition to the built-in panels, a number of third-party panels are contributed by the community. -The current stable version of the Debug Toolbar is 3.2.4. It works on +The current stable version of the Debug Toolbar is 3.3.0. It works on Django ≥ 3.2. Documentation, including installation and configuration instructions, is diff --git a/debug_toolbar/__init__.py b/debug_toolbar/__init__.py index 952a3e136..0e749bdc0 100644 --- a/debug_toolbar/__init__.py +++ b/debug_toolbar/__init__.py @@ -4,7 +4,7 @@ # Do not use pkg_resources to find the version but set it here directly! # see issue #1446 -VERSION = "3.2.4" +VERSION = "3.3.0" # Code that discovers files or modules in INSTALLED_APPS imports this module. urls = "debug_toolbar.urls", APP_NAME diff --git a/docs/changes.rst b/docs/changes.rst index 6fc9f95fa..0f1b37ae6 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -4,6 +4,9 @@ Change log Next version ------------ +3.3.0 (2022-04-28) +------------------ + * Track calls to :py:meth:`django.core.caches.cache.get_or_set`. * Removed support for Django < 3.2. * Updated check ``W006`` to look for diff --git a/docs/conf.py b/docs/conf.py index fbe6907e6..7a49fd3fb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,7 +25,7 @@ copyright = copyright.format(datetime.date.today().year) # The full version, including alpha/beta/rc tags -release = "3.2.4" +release = "3.3.0" # -- General configuration --------------------------------------------------- diff --git a/setup.cfg b/setup.cfg index 538fe6f58..66f2bc47f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = django-debug-toolbar -version = 3.2.4 +version = 3.3.0 description = A configurable set of panels that display various debug information about the current request/response. long_description = file: README.rst long_description_content_type = text/x-rst