Hiredis v1.0.0 Release Notes
Release Date: 2020-08-03 // over 3 years ago-
๐ 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
๐ฅ BREAKING CHANGES:
๐
redisOptions
now has two timeout fields. One for connecting, and one for commands. If you're presently usingoptions->timeout
you will need to change it to useoptions->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 toSIZE_MAX
.redisReplyObjectFunctions.createArray
now takessize_t
for its length parameter.
๐ New features:
- ๐ Support for RESP3 #697, #805, #819, #841 (Yossi Gottlieb, Michael Grunder)
- ๐ Support for SSL connections #645, #699, #702, #708, #711, #821, more (Mark Nunberg, Yossi Gottlieb)
- โ Run-time allocator injection #800 (Michael Grunder)
- ๐ Improved Windows support (including MinGW and Windows CI) #652, #663 (Marcus Geelnard)
- โ Adds support for distinct connect and command timeouts #839, #829 (Valentino Geron)
- โ Add generic pointer and destructor to
redisContext
that users can use for context. #855 (Michael Grunder)
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:
- ๐ Move SSL management to a distinct private pointer #855 (michael-grunder)
- ๐ Move include to sockcompat.h to maintain style #850 (michael-grunder)
- โ Remove erroneous tag and add license to push example #849 (michael-grunder)
- ๐ fix windows compiling with mingw #848 (rmalizia44)
- ๐ Some Windows quality of life improvements. #846 (michael-grunder)
- ๐ Use _WIN32 define instead of WIN32 #845 (michael-grunder)
- ๐ง Non Linux CI fixes #844 (michael-grunder)
- ๐ Resp3 oob push support #841 (michael-grunder)
- ๐ fix #785: defer TCP_NODELAY in async tcp connections #836 (OmriSteiner)
- sdsrange overflow fix #830 (michael-grunder)
- ๐ Use explicit pointer casting for c++ compatibility #826 (aureus1)
- โ Document allocator injection and completeness fix in test.c #824 (michael-grunder)
- ๐ Use unique names for allocator struct members #823 (michael-grunder)
- ๐ New SSL API to replace redisSecureConnection(). #821 (yossigo)
- โ Add logic to handle RESP3 push messages #819 (michael-grunder)
- ๐ Use standrad isxdigit instead of custom helper function. #814 (tryfinally)
- ๐ Fix missing SSL build/install options. #812 (yossigo)
- โ Add link to ABI tracker #808 (michael-grunder)
- ๐ Resp3 verbatim string support #805 (michael-grunder)
- ๐ Allow users to replace allocator and handle OOM everywhere. #800 (michael-grunder)
- โ Remove nested depth limitation. #797 (michael-grunder)
- Attempt to fix compilation on Solaris #796 (michael-grunder)
- ๐ Support timeouts in libev adapater #795 (michael-grunder)
- ๐ Fix pkgconfig when installing to a custom lib dir #793 (michael-grunder)
- ๐ Fix USE_SSL=1 make/cmake on OSX and CMake tests #789 (michael-grunder)
- ๐ Use correct libuv call on Windows #784 (michael-grunder)
- โ Added CMake package config and fixed hiredis_ssl on Windows #783 (michael-grunder)
- CMake: Set hiredis_ssl shared object version. #780 (yossigo)
- โ Win32 tests and timeout fix #776 (michael-grunder)
- Provides an optional cleanup callback for async data. #768 (heronr)
- ๐ Housekeeping fixes #764 (michael-grunder)
- install alloc.h #756 (ch1aki)
- ๐ fix spelling mistakes #746 (ShooterIT)
- ๐ Free the reply in redisGetReply when passed NULL #741 (michael-grunder)
- ๐ Fix dead code in sslLogCallback relating to should_log variable. #737 (natoscott)
- ๐ Fix typo in dict.c. #731 (Kevin-Xi)
- โ Adding an option to DISABLE_TESTS #727 (pbotros)
- โก๏ธ Update README with SSL support. #720 (yossigo)
- ๐ Fixes leaks in unit tests #715 (michael-grunder)
- โ SSL Tests #711 (yossigo)
- SSL Reorganization #708 (yossigo)
- ๐ Fix MSVC build. #706 (yossigo)
- SSL: Properly report SSL_connect() errors. #702 (yossigo)
- 0๏ธโฃ Silent SSL trace to stdout by default. #699 (yossigo)
- ๐ Port RESP3 support from Redis. #697 (yossigo)
- โ Removed whitespace before newline #691 (Miniwoffer)
- โ Add install adapters header files #688 (kevin1018)
- โ Remove unnecessary null check before free #684 (qlyoung)
- ๐ redisReaderGetReply leak memory #671 (movebean)
- ๐ fix timeout code in windows #670 (jman-krafton)
- โ test: fix errstr matching for musl libc #665 (ghost)
- ๐ Windows: MinGW fixes and Windows Travis builders #663 (mbitsnbites)
- The setsockopt and getsockopt API diffs from BSD socket and WSA one #662 (dragonation)
- ๐ Fix Compile Error On Windows (Visual Studio) #658 (jinjiazhang)
- ๐ Fix NXDOMAIN test case #653 (michael-grunder)
- โ Add MinGW support #652 (mbitsnbites)
- ๐ SSL Support #645 (mnunberg)
- ๐ Fix Invalid argument after redisAsyncConnectUnix #644 (codehz)
- ๐ Makefile: use predefined AR #632 (Mic92)
- ๐ FreeBSD build fix #628 (devnexen)
- ๐ Fix errors not propagating properly with libuv.h. #624 (yossigo)
- โก๏ธ Update README.md #621 (Crunsher)
- ๐ Fix redisBufferRead documentation #620 (hacst)
- โ Add CPPFLAGS to REAL_CFLAGS #614 (thomaslee)
- โก๏ธ Update createArray to take size_t #597 (justinbrewer)
- ๐ fix common realloc mistake and add null check more #580 (charsyam)
- Proper error reporting for connect failures #578 (mnunberg)
* This Changelog was automatically generated by github_changelog_generator