NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #619 most downloaded on PyPI
Python wrapper for hiredis
Last release 12 days ago
22 Sep 2026
Ships fairly regularly
a new release about every 5 months
Most releases are documented
notes for 29 of 34 stable releases
Nothing withdrawn
no release was ever pulled
16 years old
37 releases · first in 2011
This is a bugfix release. Users of hiredis-py 3.4.x that receive RESP3 push notifications — pub/sub deliveries or client-side cache invalidations — ar
This is a bugfix release. Users of hiredis-py 3.4.x that receive RESP3 push notifications — pub/sub deliveries or client-side cache invalidations — are encouraged to upgrade.
PushNotificationType_New pre-sized every PushNotification with a list that PyList_SetSlice only borrows, and the reference was never dropped. Each RESP3 push notification therefore stranded one list object for the lifetime of the process. Because push notifications carry pub/sub deliveries and client-side caching invalidations, the leak grew with message volume rather than with the number of connections, making it unbounded for a long-lived subscriber — roughly 20 MB per 200,000 four-element notifications, and more for larger ones. Dropping the reference also removes an allocation from the parse path, which makes parsing a small notification about 10% faster.
The same change checks PyList_New for failure and guards tryParentize against a NULL reply, so an allocation failure is now reported as an error instead of writing elements past the end of a zero-length notification.
RESP2 array replies were never affected.
Thanks to @mmick78 for finding and fixing this.
One column per quarter.
This is a security fix release. All users of hiredis-py 3.4.x are strongly encouraged to upgrade.
This is a security fix release. All users of hiredis-py 3.4.x are strongly encouraged to upgrade.
Updates the bundled hiredis C library to v1.4.1, which fixes:
Vulnerability discovered by He Huang (hehuang@swin.edu.au), Swinburne University of Technology, Melbourne, Australia; discovered using NexusSan.
Update workflow versions to address Node v20 deprecation
We'd like to thank all the contributors who worked on this release!
Nothing published for this version
MNT: do not use deprecated load_module method
This release fixes a compatibility issue with Python 3.15:
We'd like to thank all the contributors who worked on this release!
Add Python 3.14 to CI and wheels ( #213 by @zweizeichen )
We'd like to thank all the contributors who worked on this release!
Nothing published for this version
We'd like to thank all the contributors who worked on this release!
Introduce new type for RESP3 PUSH notifications
This is a maintenance release that addresses issues in RESP3 parsing.
Update Python 3.13 compatibility
Return Redis sets as Python lists
Quote version for Python setup action in CI
We'd like to thank all the contributors who worked on this release!
@apteryks, @ArtemIsmagilov, @chayim, @dependabot, @dependabot[bot], @gerzse and @shadchin
Fixing wheel artifact find for OSX builds
We'd like to thank all the contributors who worked on this release!
@chayim
Implement garbage collection support in Reader
We'd like to thank all the contributors who worked on this release!
@oranav
Reverting gcc -BSymbolic due to symbol collisions
We'd like to thank all the contributors who worked on this release!
@chayim and @zalmane
Add pack_command to support writing via hiredis-py
We'd like to thank all the contributors who worked on this release!
@chayim and @prokazov
Restores publishing of source distribution
Issue tracker (#140)We'd like to thank all the contributors who worked on this release!
@chayim, @shadchin, @stumpylog and @tobixx
Modernizing: Restoring CI, Moving to pytest
We'd like to thank all the contributors who worked on this release!
Bump hiredis from 0.13.3 to 1.0.0 and consequently add support for RESP3 (see #104)
Nothing published for this version
Allow "encoding" and "errors" attributes to be updated at runtime (see #96)
Permit all allowed values of codec errors (see #86)
(BREAKING CHANGE) Add ability to control how unicode decoding errors are handled (see #82)
Include test files in sdist tarball (see #80)
Add optional "shouldDecode" argument to Reader.gets() (see #77)
state to hiredis_py_module_state to avoid conflicts (see #72)Upgrade to latest hiredis including basic Windows support
Updated with hiredis 0.12.1 — now only uses Redis parser, not entire library (#30).
Fix memory leak when many reader instances are created (see #26).
Allow any buffer compatible object as argument to feed (see #22).
Allow protocolError and replyError to be any type of callable (see #21).
protocolError and replyError to be any type of callable (see #21).Upgrade hiredis to 0.11.0 to support deeply nested multi bulk replies.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →