- Fix pool options
- New
destroy
method in order to drain all pools and clear internal interval
- Drop support for Node.js < 12
- Use promises
- Add support for Node.js 12
- ES2020 style
- removing hiredis and using node-redis
- removing makefile and use npm scripts
- removing underscore
- removing dot
- updating dependencies versions
- adding eslint (standard)
- Add package-lock.json
- Make all modules to use strict mode semantics.
- Drop support for Node 0.10.x and 4.x
- Add support for Node 8 and 10
- Upgrades redis to 2.8.0
- Support for Redis commands
- Upgrades hiredis to 0.5.0: allows to use it with Node.js v4 and v6.
- Adds noReadyCheck configuration option
- Adds returnToHead configuration option
- RedisPool now emits events
- Starts emitting
status
event with information about each pool created everyopts.emitter.statusInterval
milliseconds.
- Starts emitting
- Limits public API to acquire/release methods.
- Switch to 3-clause BSD license (#3)
- Upgraded dependencies
- Implements validate method to take non connected clients from the pool.
- Destroy calls to redis.end method to ensure socket is disconnected.
- Client is returned on ready event after selecting the DB instead of using connect event.
- New configuration allows to log acquire slow operations when it takes longer than a threshold to retrieve a client from the pool.
- Add parameter to skip unwatch on release (#2)
- Unwatch variables between connections (#1)
Fix dependencies (redis is not just for test...)
Initial release, spin off from node-cartodb-redis