Releases: redis/node-redis
Releases · redis/node-redis
[email protected]
[email protected]
This version is a major change and refactor, adding modern JavaScript capabilities and multiple breaking changes. See the migration guide for tips on how to upgrade.
Breaking Changes
- All functions return Promises by default
- Dropped support for Node.js 10.x, the minimum supported Node.js version is now 12.x
createClient
takes new and different arguments- The
prefix
,rename_commands
configuration options tocreateClient
have been removed - Login credentials are no longer saved when using
.auth()
directly
Features
- Added support for Promises
- Added built-in TypeScript declaration files enabling code completion
- Added support for clustering
- Added idiomatic arguments and responses to Redis commands
- Added full support for Lua Scripts
- Added support for SCAN iterators
- Added the ability to extend Node Redis with Redis Module commands
[email protected]
[email protected]
v3.1.2
v3.1.1
v3.1.0
v3.0.2
v3.0.0
This version is mainly a release to distribute all the unreleased changes on master since 2017 and additionally removes a lot of old deprecated features and internals in preparation for an upcoming modernization refactor (v4).
Breaking Changes
- Dropped support for Node.js < 6
- Dropped support for
hiredis
(no longer required) - Removed previously deprecated
drain
event - Removed previously deprecated
idle
event - Removed previously deprecated
parser
option - Removed previously deprecated
max_delay
option - Removed previously deprecated
max_attempts
option - Removed previously deprecated
socket_no_delay
option
Bug Fixes
- Removed development files from published package (#1370)
- Duplicate function now allows db param to be passed (#1311)
Features
- Upgraded to latest
redis-commands
package - Upgraded to latest
redis-parser
package, v3.0.0, which brings performance improvements - Replaced
double-ended-queue
withdenque
, which brings performance improvements - Add timestamps to debug traces
- Add
socket_initial_delay
option forsocket.setKeepAlive
(#1396) - Add support for
rediss
protocol in url (#1282)
v.2.8.0
Features
- Accept UPPER_CASE commands in send_command
- Add arbitrary commands to the prototype by using
Redis.addCommand(name)
Bugfixes
- Fixed not always copying subscribe unsubscribe arguments
- Fixed emitting internal errors while reconnecting with auth
- Fixed crashing with invalid url option