Releases: ledgetech/lua-resty-redis-connector
Releases · ledgetech/lua-resty-redis-connector
v0.11.0
v0.10
v0.09
v0.08
- 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
- Fixes error logging when parsing DSN (thanks @andrewsharpe)
- Adds luacheck (thanks @hamishforbes)
- Fixes config not being passed to
set_timeout
(thanks @Invizory)
v0.06
- 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
- Documented
set_keepalive
method - Added
connection_is_proxied
mode, to avoid sending unsupported commands through Redis proxies (thansk @hamishforbes)
v0.04
- 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
andset_connection_options
are now all deprecated in favour of using the params table innew
orconnect
. - Tests: Lots more tests!
- Misc: Style improvements.
v0.03
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