All Versions
Latest Version
Avg Release Cycle
273 days
Latest Release
605 days ago

Changelog History
Page 1

  • v1.0.2 Changes

    October 07, 2021

    ๐Ÿ›  Announcing Hiredis v1.0.2, which fixes CVE-2021-32765 but returns the SONAME to the correct value of 1.0.0.

  • v1.0.1 Changes

    October 04, 2021

    ๐Ÿš€ This release erroneously bumped the SONAME, please use 1.0.2

    ๐Ÿš€ Announcing Hiredis v1.0.1, a security release fixing CVE-2021-32765

    ๐Ÿ”’ Thanks to Yossi Gottlieb for the security fix and to Microsoft Security Vulnerability Research for finding the bug. :sparkling_heart:

  • v1.0.0 Changes

    August 03, 2020

    ๐Ÿ Announcing Hiredis v1.0.0, which adds support for RESP3, SSL connections, allocator injection, and better Windows support! :tada:

    ๐Ÿš€ A big thanks to everyone who helped with this release. The following list includes everyone who contributed at least five lines, sorted by lines contributed. :sparkling_heart:

    Michael Grunder, Yossi Gottlieb, Mark Nunberg, Marcus Geelnard, Justin Brewer, Valentino Geron, Minun Dragonation, Omri Steiner, Sangmoon Yi, Jinjiazh, Odin Hultgren Van Der Horst, Muhammad Zahalqa, ๐Ÿšš Nick Rivera, Qi Yang, kevin1018

    Full Changelog


    • ๐Ÿ‘€ redisOptions now has two timeout fields. One for connecting, and one for commands. If you're presently using options->timeout you will need to change it to use options->connect_timeout. (See example)

    • Bulk and multi-bulk lengths less than -1 or greater than LLONG_MAX are now protocol errors. This is consistent with the RESP specification. On 32-bit platforms, the upper bound is lowered to SIZE_MAX.

    • redisReplyObjectFunctions.createArray now takes size_t for its length parameter.

    ๐Ÿ†• New features:

    Closed issues (that involved code changes):

    • ๐Ÿ‘‰ Makefile does not install TLS libraries #809
    • โฑ redisConnectWithOptions should not set command timeout #722, #829 (valentinogeron)
    • ๐Ÿ›  Fix integer overflow in sdsrange #827
    • INFO & CLUSTER commands failed when using RESP3 #802
    • ๐Ÿ Windows compatibility patches #687, #838, #842
    • RESP3 PUSH messages incorrectly use pending callback #825
    • Asynchronous PSUBSCRIBE command fails when using RESP3 #815
    • ๐Ÿ†• New SSL API #804, #813
    • Hard-coded limit of nested reply depth #794
    • ๐Ÿ›  Fix TCP_NODELAY in Windows/OSX #679, #690, #779, #785,
    • โž• Added timers to libev adapter. #778, #795
    • ๐ŸŽ‰ Initialization discards const qualifier #777
    • โฑ [BUG][MinGW64] Error setting socket timeout #775
    • undefined reference to hi_malloc #769
    • hiredis pkg-config file incorrectly ignores multiarch libdir spec'n #767
    • ๐Ÿ— Don't use -G to build shared object on Solaris #757
    • error when make USE_SSL=1 #748
    • ๐Ÿ‘ Allow to change SSL Mode #646
    • hiredis/adapters/libevent.h memleak #618
    • redisLibuvPoll crash when server closes the connetion #545
    • about redisAsyncDisconnect question #518
    • hiredis adapters libuv error for help #508
    • API/ABI changes analysis #506
    • Memory leak patch in Redis #502
    • โœ‚ Remove the depth limitation #421

    ๐Ÿ”€ Merged pull requests:

    * This Changelog was automatically generated by github_changelog_generator

  • v1.0.0-rc1 Changes

    July 29, 2020

    ๐Ÿ‘€ Note: There were no changes to code between v1.0.0-rc1 and v1.0.0 so see v1.0.0 for changelog

  • v0.14.1 Changes

    March 15, 2020
    • โž• Adds safe allocation wrappers (CVE-2020-7105, #747, #752) (Michael Grunder)
  • v0.14.0 Changes

    September 25, 2018


    • ๐Ÿ”„ Change redisReply.len to size_t, as it denotes the the size of a string

    User code should compare this to size_t values as well. If it was used to compare to other values, casting might be necessary or can be removed, if casting was applied before.

    • ๐Ÿ‘‰ Make string2ll static to fix conflict with Redis (Tom Lee [c3188b])
    • ๐Ÿ‘‰ Use -dynamiclib instead of -shared for OSX (Ryan Schmidt [a65537])
    • โœ… Use string2ll from Redis w/added tests (Michael Grunder [7bef04, 60f622])
    • ๐Ÿ›  Makefile - OSX compilation fixes (Ryan Schmidt [881fcb, 0e9af8])
    • โœ‚ Remove redundant NULL checks (Justin Brewer [54acc8, 58e6b8])
    • ๐Ÿ›  Fix bulk and multi-bulk length truncation (Justin Brewer [109197])
    • ๐Ÿ›  Fix SIGSEGV in OpenBSD by checking for NULL before calling freeaddrinfo (Justin Brewer [546d94])
    • ๐Ÿ›  Several POSIX compatibility fixes (Justin Brewer [bbeab8, 49bbaa, d1c1b6])
    • ๐Ÿ›  Makefile - Compatibility fixes (Dimitri Vorobiev [3238cf, 12a9d1])
    • ๐Ÿ‘‰ Makefile - Fix make install on FreeBSD (Zach Shipko [a2ef2b])
    • ๐Ÿ‘‰ Makefile - don't assume $(INSTALL) is cp (Igor Gnatenko [725a96])
    • Separate side-effect causing function from assert and small cleanup (amallia [b46413, 3c3234])
    • Don't send negative values to __redisAsyncCommand (Frederik Deweerdt [706129])
    • ๐Ÿ›  Fix leak if setsockopt fails (Frederik Deweerdt [e21c9c])
    • ๐Ÿ›  Fix libevent leak (zfz [515228])
    • โš  Clean up GCC warning (Ichito Nagata [2ec774])
    • ๐Ÿ–จ Keep track of errno in __redisSetErrorFromErrno() as snprintf may use it (Jin Qing [25cd88])
    • Solaris compilation fix (Donald Whyte [41b07d])
    • ๐Ÿ— Reorder linker arguments when building examples (Tustfarm-heart [06eedd])
    • Keep track of subscriptions in case of rapid subscribe/unsubscribe (Hyungjin Kim [073dc8, be76c5, d46999])
    • ๐Ÿ†“ libuv use after free fix (Paul Scott [cbb956])
    • Properly close socket fd on reconnect attempt (WSL [64d1ec])
    • โœ… Skip valgrind in OSX tests (Jan-Erik Rediger [9deb78])
    • โšก๏ธ Various updates for Travis testing OSX (Ted Nyman [fa3774, 16a459, bc0ea5])
    • โšก๏ธ Update libevent (Chris Xin [386802])
    • ๐Ÿ”„ Change sds.h for building in C++ projects (Ali Volkan ATLI [f5b32e])
    • ๐Ÿ‘‰ Use proper format specifier in redisFormatSdsCommandArgv (Paulino Huerta, Jan-Erik Rediger [360a06, 8655a6])
    • ๐Ÿ‘ Better handling of NULL reply in example code (Jan-Erik Rediger [1b8ed3])
    • Prevent overflow when formatting an error (Jan-Erik Rediger [0335cb])
    • Compatibility fix for strerror_r (Tom Lee [bb1747])
    • ๐Ÿ“œ Properly detect integer parse/overflow errors (Justin Brewer [93421f])
    • โž• Adds CI for Windows and cygwin fixes (owent, [6c53d6, 6c3e40])
    • Catch a buffer overflow when formatting the error message
    • โœ… Import latest upstream sds. This breaks applications that are linked against the old hiredis v0.13
    • ๐Ÿ›  Fix warnings, when compiled with -Wshadow
    • ๐Ÿ Make hiredis compile in Cygwin on Windows, now CI-tested
    • Bulk and multi-bulk lengths less than -1 or greater than LLONG_MAX are now protocol errors. This is consistent with the RESP specification. On 32-bit platforms, the upper bound is lowered to SIZE_MAX.

    • โœ‚ Remove backwards compatibility macro's

    ๐Ÿšš This removes the following old function aliases, use the new name now:

    Old New
    redisReplyReaderCreate redisReaderCreate
    redisReplyReaderCreate redisReaderCreate
    redisReplyReaderFree redisReaderFree
    redisReplyReaderFeed redisReaderFeed
    redisReplyReaderGetReply redisReaderGetReply
    redisReplyReaderSetPrivdata redisReaderSetPrivdata
    redisReplyReaderGetObject redisReaderGetObject
    redisReplyReaderGetError redisReaderGetError
    • The DEBUG variable in the Makefile was renamed to DEBUG_FLAGS

    ๐Ÿ— Previously it broke some builds for people that had DEBUG set to some arbitrary value, due to debugging other software. By renaming we avoid unintentional name clashes.

    Simply rename DEBUG to DEBUG_FLAGS in your environment to make it working again.

  • v0.13.3 Changes

    September 16, 2015
    • โช Revert "Clear REDIS_CONNECTED flag when connection is closed".
    • โœ… Make tests pass on FreeBSD (Thanks, Giacomo Olgeni)

    If the REDIS_CONNECTED flag is cleared, the async onDisconnect callback function will never be called. This causes problems as the disconnect is never reported back to the user.

  • v0.13.2 Changes

    August 25, 2015
    • Prevent crash on pending replies in async code (Thanks, @switch-st)
    • Clear REDIS_CONNECTED flag when connection is closed (Thanks, Jerry Jacobs)
    • โž• Add MacOS X addapter (Thanks, @dizzus)
    • โž• Add Qt adapter (Thanks, Pietro Cerutti)
    • โž• Add Ivykis adapter (Thanks, Gergely Nagy)

    โœ… All adapters are provided as is and are only tested where possible.

  • v0.13.1 Changes

    May 03, 2015

    ๐Ÿš€ This is a bug fix release. The new reconnect method introduced new struct members, which clashed with pre-defined names in pre-C99 code. Another commit forced C99 compilation just to make it work, but of course this is not desirable for outside projects. Other non-C99 code can now use hiredis as usual again. Sorry for the inconvenience.

    • ๐Ÿ›  Fix memory leak in async reply handling (Salvatore Sanfilippo)
    • ๐Ÿ“‡ Rename struct member to avoid name clash with pre-c99 code (Alex Balashov, ncopa)
  • v0.13.0 Changes

    April 16, 2015

    ๐Ÿš€ This release adds a minimal Windows compatibility layer. ๐Ÿ The parser, standalone since v0.12.0, can now be compiled on Windows (and thus used in other client libraries as well)

    • ๐Ÿ Windows compatibility layer for parser code (tzickel)
    • ๐Ÿ–จ Properly escape data printed to PKGCONF file (Dan Skorupski)
    • ๐Ÿ›  Fix tests when assert() undefined (Keith Bennett, Matt Stancliff)
    • Implement a reconnect method for the client context, this changes the structure of redisContext (Aaron Bedra)