Django-redis

Latest version: v5.4.0

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

Scan your dependencies

Page 7 of 9

3.5.0

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

- Removed: stats module (should be replaced with an other in future)
- New: experimental client for add support to redis-sentinel.
- Now uses a django ``DEFAULT_TIMEOUT`` constant instead of ``True``.
Deprecation warning added for code that now uses ``True`` (unlikely).
- Fix wrong forward of timeout on shard client.
- Fix incr_version wrong behavior when using shard client (wrong client used for set new key).

3.4.0

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

- Fix exception name from ConnectionInterrumped to
ConnectionInterrupted maintaining an old exception class
for backward compatibility (thanks Łukasz Langa (ambv))

- Fix wrong behavior for "default" parameter on get method
when DJANGO_REDIS_IGNORE_EXCEPTIONS is True
(also thanks to Łukasz Langa (ambv)).

- Now added support for replication setups to default client (it still
experimental because is not tested in production environments).

- Merged SimpleFailoverClient experimental client (only for
experiment with it, not ready for use in production)

- Django 1.6 cache changes compatibility. Explicitly passing in
timeout=None no longer results in using the default timeout.

- Major code cleaning. (Thanks to Bertrand Bordage BertrandBordage)

- Bugfixes related to some index error on hashring module.

3.3.0

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

- Add SOCKET_TIMEOUT attribute to OPTIONS (thanks to eclipticplane)

3.2.0

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

- Changed default behavior of connection error exceptions: now by default
raises exception on connection error is occurred.

Thanks to Mümin Öztürk:

- cache.add now uses setnx redis command (atomic operation)
- cache.incr and cache.decr now uses redis incrby command (atomic operation)

3.1.7

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

- Fix python3 compatibility on utils module.

3.1.6

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

- Add nx argument on set method for both clients (thanks to Kirill Zaitsev)

Page 7 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.