github redis/node-redis v4.0.0-rc.0

latest releases: redis@4.6.14, client@1.5.16, client@1.5.15...
2 years ago

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

Don't miss a new node-redis release

NewReleases is sending notifications on new releases.