futriix/CHANGELOG.md
Yossi Gottlieb 418de21d8f Squashed 'deps/hiredis/' changes from 00272d669..f8de9a4bd
f8de9a4bd Merge pull request #1046 from redis/rockylinux-ci
a41c9bc8b CentOS 8 is EOL, switch to RockyLinux
be41ed60d Avoid incorrect call to the previous reply's callback (#1040)
f2e8010d9 fix building on AIX and SunOS (#1031)
e73ab2f23 Add timeout support for libuv adapter (#1016)
f2ce5980e Allow sending commands after sending an unsubscribe (#1036)
ff860e55d Correction for command timeout during pubsub (#1038)
24d534493 CMakeLists.txt: allow building without a C++ compiler (#872)
4ece9a02e Fix adapters/libevent.h compilation for 64-bit Windows (#937)
799edfaad Don't link with crypto libs if USE_SSL isn't set.
f74b08182 Makefile: move SSL options into a block and refine rules
f347743b7 Update CMakeLists.txt for more portability (#1005)
f2be74802 Fix integer overflow when format command larger than 4GB (#1030)
58aacdac6 Handle array response in parallell with pubsub using RESP3 (#1014)
d3384260e Support PING while subscribing (RESP2) (#1027)
e3a479e40 FreeBSD build fixes + CI (#1026)
da5a4ff36 Add asynchronous test for pubsub using RESP3 (#1012)
b5716ee82 Valgrind returns error exit code when errors found (#1011)
1aed21a8c Move to using make directly in Cygwin (#1020)
a83f4b890 Correct CMake warning for libevent adapter example
c4333203e Remove unused parameter warning in libev adapter
7ad38dc4a Small tweaks of the async tests
4021726a6 Add asynchronous test for pubsub using RESP2
648763c36 Add build options for enabling async tests
c98c6994d Correcting the build target `coverage` for enabled SSL (#1009)
30ff8d850 Run SSL tests in CI
4a126e8a9 Add valgrind and CMake to tests
b73c2d410 Add Centos8
e9f647384 We should run actions on PRs
6ad4ccf3c Add Cygwin build test
783a3789c Add Windows tests in GitHub actions
0cac8dae1 Switch to GitHub actions
fa900ef76 Fix unused variable warning.
e489846b7 Minor refactor of CVE-2021-32765 fix.
51c740824 Remove extra comma from cmake var. Or it'll be treated as part of the var name.
632bf0718 Merge branch 'release/v1.0.2'
b73128324 Prepare for v1.0.2 GA
d4e6f109a Revert erroneous SONAME bump
a39824a5d Merge branch 'release/v1.0.1'
8d1bfac46  Prepare for v1.0.1 GA
76a7b1000 Fix for integer/buffer overflow CVE-2021-32765
9eca1f36f Allow to override OPENSSL_PREFIX in Linux
2d9d77518 Don't leak memory if an invalid type is set (#906)
f5f31ff9b Added REDIS_NO_AUTO_FREE_REPLIES flag (#962)
5850a8ecd Ensure we curry any connect error to an async context.
b6f86f38c Fix README.md
667dbf536 Merge pull request #935 from kristjanvalur/pr5
9bf6c250e Merge pull request #939 from zmartzone/improve_pr_896_ssl_leak
959af9760 Merge pull request #949 from plan-do-break-fix/Typo-corrections
0743f57bb fix(docs): corrects typos in project README
5f4382247 improve SSL leak fix redis/hiredis#896
e06ecf7e4 Ignore timeout callback from a successful connect
dfa33e60b Change order independant push logic to not change behavior.
6204182aa Handle the case where an invalidation is sent second.
d6a0b192b Merge branch 'reader-updates'
410c24d2a Fix off-by-one error in seekNewline
bd7488d27 read: Validate line items prior to checking for object creation callbacks
5f9242a1f read: Remove obsolete comment on nested multi bulk depth limitation
83c145042 read: Add support for the RESP3 bignum type
c6646cb19 read: Ensure no invalid '\r' or '\n' in simple status/error strings
e43061156 read: Additional validation and test case for RESP3 double
c8adea402 redisReply: Fix parent type assertions during double, nil, bool creation
ff73f1f9e redisReply: Explicitly list nil and bool cases in freeReplyObject() switch.
0f9251884 test: Add test case for RESP3 set
33c06dd50 test: Add test case for RESP3 map
397fe2630 read: Use memchr() in seekNewline() instead of looping over entire string
81c48a982 test: Add test cases for RESP3 bool
51e693f4f read: Add additional RESP3 bool validation
790b4d3b4 test: Add test cases for RESP3 nil
d8899fbc1 read: Add additional RESP3 nil validation
96e8ea611 test: Add test cases for infinite and NaN doubles
f913e9b99 read: Fix double validation and infinity parsing
8039c7d26 test: Add test case for doubles
49539fd1a redisReply: Fix - set len in double objects
53a8144c8 Merge pull request #924 from cheese1/master
9390de006 http -> https
7d99b5635 Merge pull request #917 from Nordix/stack-alloc-dict-iter
4bba72103 Handle OOM during async command callback registration
920128a26 Stack allocate dict iterators
297ecbecb Tiny formatting changes + suppress implicit memcpy warning
f746a28e7 Removed 2 typecasts
940a04f4d Added fuzzer
e4a200040 Merge pull request #896 from ayeganov/bugfix/ssl_leak
aefef8987 Free SSL object when redisSSLConnect fails
e3f88ebcf Merge pull request #894 from jcohen02/fix/issue893
308ffcab8 Updating SSL connection example
297f6551d Merge pull request #889 from redis/wincert
e7dda9785 Formatting
f44945a0a Merge pull request #874 from masariello/position-independent-code
74e78498c Merge pull request #888 from michael-grunder/nil-push-invalidation
b9b9f446f Fix handling of NIL invalidation messages.
acc917548 Merge pull request #885 from gkorland/patch-1
b086f763e clean a warning, remvoe empty else block
b47fae4e7 Merge pull request #881 from timgates42/bugfix_typo_terminated
f989670e5 docs: Fix simple typo, termined -> terminated
773d6ea8a Copy error to redisAsyncContext on timeout
e35300a66 add pdb files to packages for MSVC builds
dde6916b4 Add d suffix to debug libraries so that can packaged together with optimized builds (Release, RelWithDebInfo, etc)
3b68b5018 Enable position-independent code
6693863f4 Add support for system CA certificate store on Windows
2a5a57b90 Remove whitespace
1b40ec509 fixed issue with unit test linking on windows with SSL
d7b1d21e8 Merge branch 'master' of github.com:redis/hiredis
fb0e6c0dd Merge pull request #870 from michael-grunder/cmake-c99
13a35bdb6 Explicitly set c99 in CMake
bea137ca9 Merge pull request #868 from michael-grunder/fix-sockaddr-typo
bd6f86eb6 Fix sockaddr typo
48696e7e5 Don't use non-installed win32.h helper in examples (#863)
faa1c4863 Merge tag 'v1.0.0'
5003906d6 Define a no op assert if we detect NDEBUG (#861)
ea063b7cc Use development specific versions in master
04a27f480 We can run SSL tests everywhere except mingw/Windows (#859)
8966a1fc2 Remove extra whitespace (#858)
34b7f7a0f Keep libev's code style (#857)
07c3618ff Add static library target and cpack support
REVERT: 00272d669 Rename sds calls so they don't conflict in Redis.

git-subtree-dir: deps/hiredis
git-subtree-split: f8de9a4bd433791890572f7b9147e685653ddef9
2022-02-14 13:51:42 +02:00

24 KiB

1.0.2 - (2021-10-07)

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

1.0.1 - (2021-10-04)

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. 💖

1.0.0 - (2020-08-03)

Announcing Hiredis v1.0.0, which adds support for RESP3, SSL connections, allocator injection, and better Windows support! 🎉

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. 💖

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

BREAKING CHANGES:

  • 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

1.0.0-rc1 - (2020-07-29)

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

0.14.1 (2020-03-13)

  • Adds safe allocation wrappers (CVE-2020-7105, #747, #752) (Michael Grunder)

0.14.0 (2018-09-25)

BREAKING CHANGES:

  • 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.

0.13.3 (2015-09-16)

  • 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.

0.13.2 (2015-08-25)

  • 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.

0.13.1 (2015-05-03)

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)

0.13.0 (2015-04-16)

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)

0.12.1 (2015-01-26)

  • Fix make install: DESTDIR support, install all required files, install PKGCONF in proper location
  • Fix make test as 32 bit build on 64 bit platform

0.12.0 (2015-01-22)

  • Add optional KeepAlive support

  • Try again on EINTR errors

  • Add libuv adapter

  • Add IPv6 support

  • Remove possibility of multiple close on same fd

  • Add ability to bind source address on connect

  • Add redisConnectFd() and redisFreeKeepFd()

  • Fix getaddrinfo() memory leak

  • Free string if it is unused (fixes memory leak)

  • Improve redisAppendCommandArgv performance 2.5x

  • Add support for SO_REUSEADDR

  • Fix redisvFormatCommand format parsing

  • Add GLib 2.0 adapter

  • Refactor reading code into read.c

  • Fix errno error buffers to not clobber errors

  • Generate pkgconf during build

  • Silence _BSD_SOURCE warnings

  • Improve digit counting for multibulk creation

0.11.0

  • Increase the maximum multi-bulk reply depth to 7.

  • Increase the read buffer size from 2k to 16k.

  • Use poll(2) instead of select(2) to support large fds (>= 1024).

0.10.1

  • Makefile overhaul. Important to check out if you override one or more variables using environment variables or via arguments to the "make" tool.

  • Issue #45: Fix potential memory leak for a multi bulk reply with 0 elements being created by the default reply object functions.

  • Issue #43: Don't crash in an asynchronous context when Redis returns an error reply after the connection has been made (this happens when the maximum number of connections is reached).

0.10.0

  • See commit log.