Skip to content

Releases: redis/node-redis

search@1.0.0

17 Jan 13:51
Compare
Choose a tag to compare
search@1.0.0

redis@4.0.0

27 Aug 20:48
Compare
Choose a tag to compare

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 to createClient 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

json@1.0.0

17 Jan 13:50
Compare
Choose a tag to compare
json@1.0.0

client@1.0.0

17 Jan 13:54
Compare
Choose a tag to compare
client@1.0.0

v3.1.2

20 Apr 22:28
4f85030
Compare
Choose a tag to compare

Fixes

Exclude unnecessary files from tarball (#1600)

v3.1.1

13 Apr 16:49
fc28860
Compare
Choose a tag to compare

Enhancements

  • Upgrade node and dependencies (#1578)

Fixes

  • Fix a potential exponential regex in monitor mode (#1595)

v3.1.0

31 Mar 21:55
Compare
Choose a tag to compare

Enhancements

  • Upgrade node and dependencies and redis-commands to support Redis 6 (#1578)
  • Add support for Redis 6 auth pass [user] (#1508)

v3.0.2

31 Mar 21:28
Compare
Choose a tag to compare
v3.0.2

v3.0.0

09 Feb 06:09
Compare
Choose a tag to compare

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 with denque, which brings performance improvements
  • Add timestamps to debug traces
  • Add socket_initial_delay option for socket.setKeepAlive (#1396)
  • Add support for rediss protocol in url (#1282)

v.2.8.0

01 Aug 03:37
1380ad6
Compare
Choose a tag to compare

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