Django-redis

Latest version: v5.4.0

Safety actively analyzes 629959 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

4.12.0

================================

- The project has moved to `Jazzband <https://jazzband.co/>`_. This is the
first release under the new organization. The new repository URL is
`<https://github.com/jazzband/django-redis>`_.
- Removed support for end-of-life Django < 2.2.
- Removed support for unmaintained redis-py 2.X.
- Changed uses of deprecated ``smart_text()`` to ``smart_str()``.
- Fixed deprecation warning with the msgpack serializer.
- The ``.touch()`` method now uses the default timeout, to cache forever pass
``None``.
- Subclasses of ``JSONSerializer`` can now override the ``encoder_class``
attribute to change the JSON encoder. It defaults to ``DjangoJSONEncoder``.
- Fixed ``DefaultClient.set()`` to work with empty ``Pipeline``.
- The ``thread_local`` parameter is now forwarded to the Redis client.

4.11.0

================================

- Removed support for Python 2.7 and 3.4.
- Removed support for Django 2.0 and 2.1.
- Added support for Python 3.8.
- Added support for Django 2.2 and 3.0.
- Changed msgpack-python soft dependency to msgpack.
- Fixed ``.touch()`` method for sharded client.
- Fixed prefix escaping for the sharded client.
- Fixed ``.add()`` method to return a bool.

4.10.0

================================

- Add support and testing for Django 2.1 and Python 3.7. No actual code changes
were required.
- Add support for redis-py 3.0.
- Add touch command.

4.9.1

===============================

- Pin redis version to 2.10.6

4.9.0

===============================

- Add testing and support for Django 2.0. No actual code changes were required.
- Escape ``KEY_PREFIX`` and ``VERSION`` when used in glob expressions.
- Improve handling timeouts less than 1ms.
- Remove fakeredis support.
- Add datetime, date, time, and timedelta serialization support to the JSON
serializer.
- The deprecated feature of passing ``True`` as a timeout value is no longer
supported.
- Fix ``add()`` with a negative timeout to not store key (it is immediately
invalid).
- Remove support for Django < 1.11.
- Add support for atomic incr if key is not set.

4.8.0

===============================

- Drop deprecated exception with typo ConnectionInterrumped. Use
ConnectionInterrupted instead.
- Remove many workarounds related to old and not supported versions
of django and redis-py.
- Code cleaning and flake8 compliance fixes.
- Add better impl for ``close`` method.
- Fix compatibility warnings with python 3.6

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.