From 0df74a64b1e302498e9182c5f6ce9570691763b8 Mon Sep 17 00:00:00 2001 From: Vince Salvino Date: Tue, 16 Jul 2024 16:41:03 -0400 Subject: [PATCH] Version 2.5.0 and release notes --- docs/releases.rst | 14 ++++++++++++++ wagtailcache/__init__.py | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/releases.rst b/docs/releases.rst index ba2e66f..5fcc6ad 100644 --- a/docs/releases.rst +++ b/docs/releases.rst @@ -2,11 +2,25 @@ Release Notes ============= + +2.5.0 +===== + +* Bug fix: gracefully handle backend cache errors by returning the un-cached page and adding an ``X-Wagtail-Cache: err`` header. For example, if the cache backend/server is down, if the cache runs out of memory, etc. These errors are also logged using the ``wagtail-cache`` Python logger. + +* Bug fix: prevent duplicate entries in the keyring (used to show a list of cached pages). + +* Docs: clarify behavior of cache backend ``TIMEOUT`` setting. Move advanced docs from install page to a separate page to keep it simple for beginners. + +* Switch from black, flake8, and isort to ruff. Switch from ``setup.py`` to ``pyproject.toml``. + + 2.4.0 ===== * Support Wagtail 6 and Django 5.1 + 2.3.0 ===== diff --git a/wagtailcache/__init__.py b/wagtailcache/__init__.py index d76bad5..ab41bfd 100644 --- a/wagtailcache/__init__.py +++ b/wagtailcache/__init__.py @@ -1,3 +1,3 @@ -release = ["2", "4", "0"] +release = ["2", "5", "0"] __version__ = "{0}.{1}.{2}".format(release[0], release[1], release[2]) __shortversion__ = "{0}.{1}".format(release[0], release[1])