Skip to content

Bump django-redis from 6.0.0 to 7.0.0 - #4251

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/uv/django-redis-7.0.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/uv/django-redis-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 18, 2026

Copy link
Copy Markdown
Contributor

Bumps django-redis from 6.0.0 to 7.0.0.

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>_)
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:uv Pull requests that update python:uv code labels Aug 18, 2026
@dependabot
dependabot Bot force-pushed the dependabot/uv/django-redis-7.0.0 branch from d691c88 to f0a5825 Compare August 18, 2026 20:29
@ch0rizo

ch0rizo commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/uv/django-redis-7.0.0 branch from f0a5825 to bcae89a Compare August 30, 2026 09:59
@codecov

codecov Bot commented Aug 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.60%. Comparing base (472272d) to head (917b129).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4251   +/-   ##
=======================================
  Coverage   83.60%   83.60%           
=======================================
  Files         356      356           
  Lines       13239    13239           
=======================================
  Hits        11069    11069           
  Misses       2170     2170           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Bumps [django-redis](https://github.com/jazzband/django-redis) from 6.0.0 to 7.0.0.
- [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
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/django-redis-7.0.0 branch from bcae89a to 917b129 Compare September 3, 2026 22:24
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant