Django-cacheops

Latest version: v7.0.2

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

Scan your dependencies

Page 2 of 10

5.1

- support subqueries in annotations (Jeremy Stretch)
- included tests into distro (John Vandenberg)
- fixed .invalidated_update(), if updated QuerySet had related fields selected (M1hacka)
- fixed possible deadlock in .invalidated_update() (M1hacka)
- fixed filtering with expressions
- fixed queries filtering in Exists (thx to Axel Wegener)
- updated min redis-py to 3.0.0

5.0.1

- fixed reverse o2o invalidation (thx to John Anderson)
- fixed unstable cache key when field validors are used
- guard against non-integer timeouts

5.0

- support Python 3.8 and Django 3.0 (thx to Misha Kalyna)
- improve model fields stamping (Alex Lokhman)
- disabled postponed invalidation when no_invalidation is applied (Vladimir)
- fixed custom manager derived from BaseManager (Eric Plaster)
Backwards incompatible changes:
- dropped Python 2.7 and Djangos before 2.1
- Redis 4.0+ required

4.2

- support Django 2.1 and 2.2
- added keep_fresh option to cached_as (George Lee)
- pass CACHEOPS_SENTINEL options through (David Fuentes Baldomir)
- made SKIP_FIELDS and LONG_DISJUCTION configurable (Nic Wolff)
- fixed .aggregate() over .annotate() fields in Django 2.2
- fixed .bulk_create() in Django 2.2 (Grzegorz Szczepanczyk)
- fixed test database to work in environments without /dev/shm (George Lee)
- fixed proxy/abstract model bug
- added test case for issue 312 (Andy Tzeng)
- some warnings and doc-strings improvements

4.1

- use UNLINK instead of DEL when available, use Redis 4.0+ for that
- request m2m objects for invalidation using correct db
- fixed caching counts, aggregates and exists in writes,
dirty transactions and while cacheops is disabled
- fixed various multidb/invalidation issues (Svan70)
- fixed db in .invalidated_update()
- fixed possible key disrepancy in cache_on_save with multidb
- fixed jinja2 support in Python 3
- documented CACHEOPS_CLIENT_CLASS

4.0.7

- fixed RawSQL() and Subquery() (thx to thakryptex)
- made the Redis client class configurable (Nic Wolff)
- package is now also distributed as a universal wheel (Jon Dufresne)

Page 2 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.