Upgrade redis to v2.5
ratson opened this issue · 5 comments
ratson commented
Some features are deprecating for v3.
dead-horse commented
PR's welcome!
DaAwesomeP commented
We'll need to update the tests to explictely provide the flush
argument to the end()
function. See the deprecation section here: https://github.com/NodeRedis/node_redis/releases/tag/2.5.0-1.
DaAwesomeP commented
I created a new branch to test the update. The tests passed, but there are lots of warnings that need to be resolved: https://travis-ci.org/koajs/koa-redis/jobs/116438808. I can look into them by the end of the week, but a PR is welcome.
These are the two warnings:
The drain event listener is deprecated and will be removed in v.3.0.0.
If you want to keep on listening to this event please listen to the stream drain event directly.
The idle event listener is deprecated and will likely be removed in v.3.0.0.
If you rely on this feature please open a new ticket in node_redis with your use case
DaAwesomeP commented
Updated in 16bfa02.
DaAwesomeP commented
Released version 2.1.0 with this improvement.