Skip to content

chore(deps): bump django-redis from 6.0.0 to 7.0.0 in /requirements#9580

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

chore(deps): bump django-redis from 6.0.0 to 7.0.0 in /requirements#9580
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/requirements/django-redis-7.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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 added the dependencies Bot PRs that update dependencies label Jun 3, 2026
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.01%. Comparing base (944f200) to head (2713855).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9580   +/-   ##
=======================================
  Coverage   83.01%   83.01%           
=======================================
  Files         617      617           
  Lines       35677    35677           
  Branches     3269     3208   -61     
=======================================
  Hits        29616    29616           
  Misses       5911     5911           
  Partials      150      150           

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Bot PRs that update dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant