Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

Releases: Cylix/cpp_redis

v3.4.0

05 Apr 07:13
Compare
Choose a tag to compare

Changes

  • Change: update tacopie ref - IO Service is now based on select and not on poll anymore to solve some issues encountered on windows due to the buggy implementation of poll on windows Systems.

Additions

None

Removals

None

v3.3.0

04 Apr 06:17
Compare
Choose a tag to compare

Changes

  • Rename redis_client::before_callback into redis_client::set_callback_runner which is more relevant.
  • Before, future_client automatically called .commit when sending a command, meaning that no pipelining was done for the future_client. This has been changed and the future_client do not call .commit anymore: this is a breaking change and you must call .commit or .sync_commit when you wish the commands to be effectively sent. Please refer to the examples if necessary.

Additions

  • Add commit and sync_commit methodsto the future_client for pipelining support.
  • documentation for redis_client::before_callback has been added
  • documentation for future_client has been added

Removals

None

v3.2.1

22 Mar 06:57
Compare
Choose a tag to compare

Changes

  • Fix static initialization order fiasco condition
  • Change __CPP_REDIS_USE_TACOPIE (cmake variable: USE_TACOPIE) into __CPP_REDIS_USE_CUSTOM_TCP_CLIENT (cmake variable: USE_CUSTOM_TCP_CLIENT). Of course, the meaning is now the opposite.

Additions

None

Removals

None

v3.2.0

20 Mar 07:41
Compare
Choose a tag to compare

Changes

  • tacopie is no longer a mandatory dependency, but just provided by default and can be overridden if necessary.

Additions

  • add a new interface, cpp_redis::network::tcp_client_iface that allows you to use your own tcp_client in place of tacopie.

Removals

  • The sync_client has been removed as it was a duplicate of redis_client::sync_commit but with a different implementation based on futures. Please use redis_client and call sync_commit instead.

v3.1.2

07 Mar 07:57
Compare
Choose a tag to compare

Changes

  • rename the setbit() function into setbit_() in order to avoid conflict with the standard library macro setbit causing compilation error.

Additions

  • add send() method to the sync_client and future_client.

Removals

None

v3.1.1

26 Feb 05:45
Compare
Choose a tag to compare

Changes

  • Fix: subscriber callbacks were sometimes not called due to poll not listening to the appropriate events. Mostly impacted windows as referred in #51, but unix version might also be impacted. Fixed by updating the reference tacopie which contains the fix.

Additions

None

Removals

None

v3.1.0

16 Feb 17:27
Compare
Choose a tag to compare

Changes

  • Fix: compilation for specific windows compilers concerning atomic variables
  • Fix: handle correctly array replies with negative size by returning a null reply instead of throwing an invalid format exception
  • Fix: Bump tacopie version to retrieve a fix concerning gethostbyname() thread-safety issue on unix
  • Fix: compilation for programs based on Qt ('slots' conflict)

Additions

  • Add some overloads for the Z set functions to support floating point values
  • Add an auth method to the subscriber class to allow a subscriber to authenticate on the redis server

Removals

None

v3.0.0

29 Jan 21:43
Compare
Choose a tag to compare

Refer to #39.

v2.2

15 Oct 19:41
Compare
Choose a tag to compare

Refer to #18.

v2.1

25 Jul 18:37
Compare
Choose a tag to compare

New features:

  • Pipelining
  • Functions that wrap the redis_client::send() function
  • Patch bugs (aka, provide more stability)
  • Enhancements of the documentation

This current version breaks client code using the older versions, mostly due to the pipelining implementation. Indeed, commands are not sent until redis_client::commit() is called.