From 8ae84156d62bfc24d71e65cfe4d5cb84b9b1bd91 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 30 Jan 2020 23:11:09 +0100 Subject: Fixed #27604 -- Used the cookie signer to sign message cookies. Co-authored-by: Craig Anderson --- docs/internals/deprecation.txt | 3 +++ docs/releases/3.1.txt | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index dc6923d488..db6df0fbbe 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -46,6 +46,9 @@ details on these changes. * The ``HttpRequest.is_ajax()`` method will be removed. +* Support for the pre-Django 3.1 encoding format of cookies values used by + ``django.contrib.messages.storage.cookie.CookieStorage`` will be removed. + See the :ref:`Django 3.1 release notes ` for more details on these changes. diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index 40380b6274..a09da6dd30 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -482,6 +482,11 @@ Miscellaneous the new :meth:`.HttpRequest.accepts` method if your code depends on the client ``Accept`` HTTP header. +* The encoding format of cookies values used by + :class:`~django.contrib.messages.storage.cookie.CookieStorage` is different + from the format generated by older versions of Django. Support for the old + format remains until Django 4.0. + .. _removed-features-3.1: Features removed in 3.1 -- cgit v1.3