Skip to content

Releases: ledgetech/lua-resty-redis-connector

v0.11.0

13 Jul 11:28
Compare
Choose a tag to compare
  • Adds support for Redis ACLs via a username parameter. (thanks @piotrp)
  • Adds a send_timeout parameter, alongside the existing connect_timeout and read_timeout parameters.

v0.10

10 Sep 14:27
Compare
Choose a tag to compare

Fixes issue introduced in v0.09 when providing a DSN without a DB suffix.

v0.09

08 Sep 15:21
Compare
Choose a tag to compare
  • Fix an issue when retrieving available slaves via Sentinel #36
  • Improve error handling when trying to select a db on a sentinel #34
  • Avoid placing timed out sentinel connections in the keepalive pool #34

Thanks to @Crack and @ryaneorth for the contributions.

v0.08

24 Jan 16:54
Compare
Choose a tag to compare
  • Bugfix: Ensure provided host config options take precedence (thanks @hamishforbes)
  • Docfix: Fix sentinel example (thanks @alasdairnicol)
  • Feature: Add Sentinel password support (thanks @rainest)

v0.07

31 Jul 19:41
Compare
Choose a tag to compare

v0.06

16 Aug 16:05
Compare
Choose a tag to compare
  • Changed parameter precedence when supplying a DSN to the url parameter. Previously, anything in the DSN would override parameters given as plain config. Now, the reverse is true.
  • Removed the "any" connection mode, since it no longer has a meaning (any meant try and master, fall back to slave, but slaves now require a healthy master and so this code would never run).

v0.05

16 Aug 08:46
Compare
Choose a tag to compare
  • Documented set_keepalive method
  • Added connection_is_proxied mode, to avoid sending unsupported commands through Redis proxies (thansk @hamishforbes)

v0.04

20 Jul 15:53
Compare
Choose a tag to compare
  • Fix: #12 slave sorting would fatally error if more than two localhost slaves were connected.
  • Fix: Stopped parse_dsn crashing when exiting with a nil error string.
  • Feature: Config table now takes connection timeouts and keepalive timeouts, so that a single config may be supplied with all settings.
  • Deprecated: set_connect_timeout, set_read_timeout and set_connection_options are now all deprecated in favour of using the params table in new or connect.
  • Tests: Lots more tests!
  • Misc: Style improvements.

v0.03

09 Dec 17:26
Compare
Choose a tag to compare
  • get_slaves now only returns healthy slaves. Previously it would return any slave that Sentinel was aware of, regardless of the master link status. Thanks @hamishforbes

v0.02

17 Jun 08:53
Compare
Choose a tag to compare
  • Added tests for Sentinel
  • Ensured slaves are sorted to pick localhost
  • Fixed bug where auth was not being called (thanks @vkill)
  • Fixed bug where db and password were not being set when using Sentinel.