summaryrefslogtreecommitdiff
path: root/docs/releases/3.2.txt
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2020-12-19 14:21:12 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-06 20:16:47 +0100
commit102d92fc09849e1a9004dd3f9a14a0ea9ca392cd (patch)
treed1ac6b18640fc755d9248851aba16edb19e2f30e /docs/releases/3.2.txt
parent5bcba16c0120d4a1bb661f0a495dc47f5ed5465d (diff)
Refs #32191 -- Added Signer.sign_object()/unsign_object().
Co-authored-by: Craig Smith <hello@craigiansmith.com.au>
Diffstat (limited to 'docs/releases/3.2.txt')
-rw-r--r--docs/releases/3.2.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt
index aba6a6ccd4..71c5ec09ef 100644
--- a/docs/releases/3.2.txt
+++ b/docs/releases/3.2.txt
@@ -451,6 +451,15 @@ Security
``SECRET_KEY``, and then going on to access ``settings.SECRET_KEY`` will now
raise an :exc:`~django.core.exceptions.ImproperlyConfigured` exception.
+* The new ``Signer.sign_object()`` and ``Signer.unsign_object()`` methods allow
+ signing complex data structures. See :ref:`signing-complex-data` for more
+ details.
+
+ Also, :func:`signing.dumps() <django.core.signing.dumps>` and
+ :func:`~django.core.signing.loads` become shortcuts for
+ :meth:`.TimestampSigner.sign_object` and
+ :meth:`~.TimestampSigner.unsign_object`.
+
Serialization
~~~~~~~~~~~~~