Skip to content

[deps] Update django-redis requirement from ~=6.0.0 to ~=7.0.0#305

Merged
nemesifier merged 1 commit into
masterfrom
dependabot/pip/django-redis-approx-eq-7.0.0
Jul 3, 2026
Merged

[deps] Update django-redis requirement from ~=6.0.0 to ~=7.0.0#305
nemesifier merged 1 commit into
masterfrom
dependabot/pip/django-redis-approx-eq-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on django-redis to permit the latest version.

Release notes

Sourced from django-redis's releases.

7.0.0

django-redis 7.0.0 (2026-06-02)

Features

  • Added the ability to pass redis username in the cache options (#657)
  • RedisCache does not attempt to close clients which have not been initialized. (#796)
  • Add sorted set operations (zadd, zrange, zrem, etc.) and mixins for RedisCache (#797)
  • Centralize configuration in pyproject.toml, drop EoL Python & Django versions, and add support & testing for modern Python & Django versions. (#820)
  • Provide TypeVar defaults & provide initial typing for RedisCache. (#829)

Bug Fixes

  • Fix IntEnum encoding (#602)
  • Fix incorrect Redis typing that relied on the legacy types-redis package, and update the public API to avoid exposing redis-py key types (the encode/decode/make_key methods allow a different API surface). (#822)

Miscellaneous

  • Drop support for Django 5.0 (EOL) (#779)
  • Clean & organize ruff config (#781)
  • Replace black with ruff format (#782)
  • Update RedisCache.close to not forward kwargs to the client implementation. (#788)
  • Rename 'name' parameter to 'key' in all sorted set methods for better consistency with Redis terminology (#811)
  • Fix hash method parameters: rename 'name' → 'key', 'key' → 'field' to align with Redis/Valkey terminology. Add version parameter to hlen() and hkeys(). Fix make_key() to only apply to hash key, not fields. (#812)
  • pre-commit autoupdate (#819)
  • Use from __future__ import annotations to postpone evaluation of annotations. (#823)
  • Increase mypy strictness, fix typing configuration, and fix type errors. (#824)
  • This change updates the compose configuration, and moves it to tests directory as it is only for testing. (#825)
  • Remove code handling unsupported Django versions (#826)
  • Increase mypy type coverage & update strictness overrides to only target specific modules (#827)
Changelog

Sourced from django-redis's changelog.

django-redis 7.0.0 (2026-06-02)

Features

  • Added the ability to pass redis username in the cache options ([#657](https://github.com/jazzband/django-redis/issues/657) <https://github.com/jazzband/django-redis/issues/657>_)
  • RedisCache does not attempt to close clients which have not been initialized. ([#796](https://github.com/jazzband/django-redis/issues/796) <https://github.com/jazzband/django-redis/issues/796>_)
  • Add sorted set operations (zadd, zrange, zrem, etc.) and mixins for RedisCache ([#797](https://github.com/jazzband/django-redis/issues/797) <https://github.com/jazzband/django-redis/issues/797>_)
  • Centralize configuration in pyproject.toml, drop EoL Python & Django versions, and add support & testing for modern Python & Django versions. ([#820](https://github.com/jazzband/django-redis/issues/820) <https://github.com/jazzband/django-redis/issues/820>_)
  • Provide TypeVar defaults & provide initial typing for RedisCache. ([#829](https://github.com/jazzband/django-redis/issues/829) <https://github.com/jazzband/django-redis/issues/829>_)

Bug Fixes

  • Fix IntEnum encoding ([#602](https://github.com/jazzband/django-redis/issues/602) <https://github.com/jazzband/django-redis/issues/602>_)
  • Fix incorrect Redis typing that relied on the legacy types-redis package, and update the public API to avoid exposing redis-py key types (the encode/decode/make_key methods allow a different API surface). ([#822](https://github.com/jazzband/django-redis/issues/822) <https://github.com/jazzband/django-redis/issues/822>_)

Miscellaneous

  • Drop support for Django 5.0 (EOL) ([#779](https://github.com/jazzband/django-redis/issues/779) <https://github.com/jazzband/django-redis/issues/779>_)
  • Clean & organize ruff config ([#781](https://github.com/jazzband/django-redis/issues/781) <https://github.com/jazzband/django-redis/issues/781>_)
  • Replace black with ruff format ([#782](https://github.com/jazzband/django-redis/issues/782) <https://github.com/jazzband/django-redis/issues/782>_)
  • Update RedisCache.close to not forward kwargs to the client implementation. ([#788](https://github.com/jazzband/django-redis/issues/788) <https://github.com/jazzband/django-redis/issues/788>_)
  • Rename 'name' parameter to 'key' in all sorted set methods for better consistency with Redis terminology ([#811](https://github.com/jazzband/django-redis/issues/811) <https://github.com/jazzband/django-redis/issues/811>_)
  • Fix hash method parameters: rename 'name' → 'key', 'key' → 'field' to align with Redis/Valkey terminology. Add version parameter to hlen() and hkeys(). Fix make_key() to only apply to hash key, not fields. ([#812](https://github.com/jazzband/django-redis/issues/812) <https://github.com/jazzband/django-redis/issues/812>_)
  • pre-commit autoupdate ([#819](https://github.com/jazzband/django-redis/issues/819) <https://github.com/jazzband/django-redis/issues/819>_)
  • Use from __future__ import annotations to postpone evaluation of annotations. ([#823](https://github.com/jazzband/django-redis/issues/823) <https://github.com/jazzband/django-redis/issues/823>_)
  • Increase mypy strictness, fix typing configuration, and fix type errors. ([#824](https://github.com/jazzband/django-redis/issues/824) <https://github.com/jazzband/django-redis/issues/824>_)
  • This change updates the compose configuration, and moves it to tests directory as it is only for testing. ([#825](https://github.com/jazzband/django-redis/issues/825) <https://github.com/jazzband/django-redis/issues/825>_)
  • Remove code handling unsupported Django versions ([#826](https://github.com/jazzband/django-redis/issues/826) <https://github.com/jazzband/django-redis/issues/826>_)
  • Increase mypy type coverage & update strictness overrides to only target specific modules ([#827](https://github.com/jazzband/django-redis/issues/827) <https://github.com/jazzband/django-redis/issues/827>_)

django-redis 6.0.0 (2025-06-17)

Features

  • Support HashMaps ([#598](https://github.com/jazzband/django-redis/issues/598) <https://github.com/jazzband/django-redis/issues/598>_)
  • Support gzip compression ([#688](https://github.com/jazzband/django-redis/issues/688) <https://github.com/jazzband/django-redis/issues/688>_)
  • Support for sets and support basic operations, sadd, scard, sdiff, sdiffstore, sinter, sinterstore, smismember, sismember, smembers, smove, spop, srandmember, srem, sscan, sscan_iter, sunion, sunionstore ([#730](https://github.com/jazzband/django-redis/issues/730) <https://github.com/jazzband/django-redis/issues/730>_)

... (truncated)

Commits
  • 0ee6b11 release 7.0 (#830)
  • fcc882b feat: Allow cache OPTIONS to specify USERNAME (#657)
  • 85c5c3d fix: fix encoding IntEnum values (#602)
  • 8558af4 feat: update RedisCache.close to check for client before closing (#796)
  • 53a1de3 feat: provide TypeVar defaults & provide initial typing for RedisCache (#829)
  • 308e2e1 feat: remove **kwargs from self.client.close() call in RedisCache.close() (#788)
  • 2c0e853 feat: increase mypy type coverage & move strictness overrides to specific mod...
  • 8fb199e feat: remove code handling unsupported Django versions (#826)
  • 5d54a25 tests: move & update compose configuration (#825)
  • ca1f368 feat: increase mypy strictness, fix typing configuration, and fix type errors...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 3, 2026
@nemesifier

Copy link
Copy Markdown
Member

@dependabot recreate

Updates the requirements on [django-redis](https://github.com/jazzband/django-redis) to permit the latest version.
- [Release notes](https://github.com/jazzband/django-redis/releases)
- [Changelog](https://github.com/jazzband/django-redis/blob/master/CHANGELOG.rst)
- [Commits](jazzband/django-redis@6.0.0...7.0.0)

---
updated-dependencies:
- dependency-name: django-redis
  dependency-version: 7.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/django-redis-approx-eq-7.0.0 branch from 6160ceb to cebab2a Compare July 3, 2026 17:11
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 98.871%. remained the same — dependabot/pip/django-redis-approx-eq-7.0.0 into master

@nemesifier
nemesifier merged commit 7a117de into master Jul 3, 2026
16 checks passed
@nemesifier
nemesifier deleted the dependabot/pip/django-redis-approx-eq-7.0.0 branch July 3, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants