NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #899 most downloaded on PyPI
Typing stubs for redis
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
152 releases · first in 2021
One column per quarter.
Add missing ssl related arguments to Redis from_url method
Add missing ssl related arguments to Redis from_url method (#12166)
Redis: Correct ExpiryT alias
Redis: Correct ExpiryT alias (#12611)
Forbid extremely long line lengths in non-autogenerated stubs
Forbid extremely long line lengths in non-autogenerated stubs (#12537)
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com
Bump mypy to 1.11.1
Bump mypy to 1.11.1 (#12463)
Mark redis as obsolete
Mark redis as obsolete (#12426)
Bump pyright to v1.1.360
Bump pyright to v1.1.360 (#11810)
Add precise values for enum members where possible
Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com Co-authored-by: Alex Waygood alex.waygood@gmail.com
Remove remaining bare Incompletes
Remove remaining bare Incompletes (#11768)
Enable Y065
Rework redis/asyncio/{connection,sentinel}.pyi
Rework redis/asyncio/{connection,sentinel}.pyi (#10370)
Closes: #10362
Make stubtest pass on libsass/passlib/redis/tree-sitter if you're using Python 3.12
fix(redis): make xadd fields use SupportsItems
fix(redis): make xadd fields use SupportsItems (#10780)
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com
Update typing_extensions imports in third-party stubs
Update typing_extensions imports in third-party stubs (#11245)
redis: remove unused type: ignores
redis: remove unused type: ignores (#11062)
Remove redundant inheritances from Generic and various typing protocols
Remove redundant inheritances from Generic and various typing protocols (#10981)
Add retry_on_error params for redis stub
Add retry_on_error params for redis stub (#10961)
Remove many redundant inheritances from Generic[]
Remove many redundant inheritances from Generic[] (#10933)
Add overloads to redis.asyncio.Redis
Add overloads to redis.asyncio.Redis (#10742)
[redis] Don't recommend uninstalling types-redis
[redis] Don't recommend uninstalling types-redis (#10694)
redis: Improve typing of xadd/xdel
redis: Improve typing of xadd/xdel (#10531)
typing copied from https://redis-py.readthedocs.io/en/stable/commands.html#redis.commands.cluster.RedisClusterCommands.xadd https://redis-py.readthedocs.io/en/stable/commands.html#redis.commands.cluster.RedisClusterCommands.xdel
[stubsabot] Mark redis as obsolete since 5.0.0
[stubsabot] Mark redis as obsolete since 5.0.0 (#10587)
Add an upstream_repository field to METADATA.toml
Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
Redis: Add missing types for id in xadd
Redis: Add missing types for id in xadd (#10403)
Use proper return types for __await__ methods in redis.asyncio.client
Use proper return types for __await__ methods in redis.asyncio.client (#10379)
Bump redis to 4.6.0 (#10360) Closes: #10359
Bump redis to 4.6.0 (#10360)
Closes: #10359
Bump mypy to 1.3.0 (#10173) Co-authored-by: AlexWaygood
Bump mypy to 1.3.0 (#10173)
Co-authored-by: AlexWaygood alex.waygood@gmail.com
Add partial_stub metadata field
Add partial_stub metadata field (#10157)
[redis] Add new methods to RedisClusterCommands
Redis: Add missing exported names
Redis: Add missing exported names (#10151)
[redis] Add CredentialProvider types to __init__.pyi
[redis] Add CredentialProvider types to init.pyi (#9982)
[redis] Fix type of connection_class in ConnectionPool
[redis] Fix type of connection_class in ConnectionPool (#9981)
Update stubs to 4.5.4
Add retry parameters to redis.client.from_url
[stubsabot] Bump redis to 4.5.3
[stubsabot] Bump redis to 4.5.3 (#9928)
Release: https://pypi.org/pypi/redis/4.5.3 Homepage: https://github.com/redis/redis-py Changelog: https://github.com/redis/redis-py/releases Diff: https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3
Stubsabot analysis of the diff between the two releases:
redis/asyncio/client.py, redis/asyncio/cluster.py.[redis] Update stubs to 4.5.2
[redis] Update stubs to 4.5.2 (#9912)
Add missing properties for redis.lock.Lock
Add missing properties for redis.lock.Lock (#9867)
Improve many __(a)exit__ annotations
Improve many __(a)exit__ annotations (#9696)
Update Unused parameters in stubs/
Update Unused parameters in stubs/ (#9704)
Update _Unused TypeAlias
Update object | None params
Replace unused object parameters with Unused alias
Stubtest settings: change ignore_missing_stub default to false
Stubtest settings: change ignore_missing_stub default to false (#9779)
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
Use typing_extensions.Self instead of _typeshed.Self
Use typing_extensions.Self instead of _typeshed.Self (#9702)
Also add a few argument defaults
[redis] Update to 4.5.1 (#9697)
Also add a few argument defaults
[redis] Initial stubs for redis.asyncio.cluster
[redis] Initial stubs for redis.asyncio.cluster (#9468)
Co-authored-by: Nikita Sobolev mail@sobolevn.me Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com Co-authored-by: Sebastian Rittau srittau@rittau.biz
Manual changes of Any union to Incomplete in stubs folder
Manual changes of Any union to Incomplete in stubs folder (#9566)
| Any and Any |)Add some missing Self return annotations in redis
Add some missing Self return annotations in redis (#9601)
Replace Any with Incomplete in many places
Replace Any with Incomplete in many places (#9565)
Replace Any with Incomplete in many places
Replace Any with Incomplete in many places (#9558)
Complete and validate redis.ocsp (use requests, cryptography and pyopenssl)
Complete and validate redis.ocsp (use requests, cryptography and pyopenssl) (#9528)
Bump redis to 4.4.0 (#9458) Co-authored-by: AlexWaygood
Bump redis to 4.4.0 (#9458)
Co-authored-by: AlexWaygood alex.waygood@gmail.com
Check for unused pyright: ignore and differentiate from mypy ignores
Check for unused pyright: ignore and differentiate from mypy ignores (#9397)
[redis] update to 4.3.5
[redis] update to 4.3.5 (#9284)
We're about to get a daily test failure with 63 stubtest errors (see the Ubuntu stubtest failure in #9187) due to the release of redis-py 4.3.5, and I
Pin redis to 4.3.4 in CI (#9247)
We're about to get a daily test failure with 63 stubtest errors (see the Ubuntu stubtest failure in #9187) due to the release of redis-py 4.3.5, and I'd rather that didn't happen.
Fix and allow classes with missing metaclasses
Fix and allow classes with missing metaclasses (#9136)
Fixes redis.asyncio.client: AsyncIterator cannot be async def in stubs.
Fixes redis.asyncio.client: AsyncIterator cannot be async def in stubs. (#8961)
Without the yield statement in the method body, these are interpreted by mypy as coroutines that return an AsyncIterator.
Closes #8960
Nothing published for this version
Source: https://github.com/redis/redis-py/blob/master/redis/asyncio/parser.py
Add redis.asyncio.parser (#8830)
Source: https://github.com/redis/redis-py/blob/master/redis/asyncio/parser.py
[redis] Improve fail parameter of Retry.call_with_retry (#8827)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jelle Zijlstra jelle.zijlstra@gmail.com
[redis] Improve redis.asyncio.lock types (#8826)
Bump mypy to 0.981
Bump mypy to 0.981 (#8796)
redis: Improve kwargs typing in sentinel
redis: Improve kwargs typing in sentinel (#8661)
redis: Add _Encodable type alias
redis: Add _Encodable type alias (#8638)
redis: Improve ClusterPubSub types
redis: Improve ClusterPubSub types (#8627)
redis: Do not override AbstractRedis.RESPONSE_CALLBACKS
Further improve redis.cluster
Further improve redis.cluster (#8578)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood
Improve redis.cluster types (#8573)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com
redis: correct set command parameter types (#8536)
Your coding agent can read these notes before it upgrades. Set up the MCP server →