github redis/ioredis v2.0.0-alpha1

latest releases: v5.4.1, v5.4.0, v1.3.0...
pre-release8 years ago

Bug Fixes

  • cluster: avoid command.reject being overwritten twice (d0a0017)
  • cluster: fix not connecting to the unknown nodes (0dcb768)
  • cluster: set retryDelayOnFailover from 2000ms to 200ms (72fd804)

Features

  • cluster: support scaling reads to slaves (98bdec2), closes #170
  • redis: support readonly mode for cluster (0a4186e)

BREAKING CHANGES

  • cluster: Cluster#masterNodes and Cluster#nodes is removed. Use Cluster#nodes('masters') and Cluster#nodes('all') instead.
  • cluster: Cluster#to() is removed. Use Promise.all(Cluster#nodes().map(function (node) {})) instead.
  • cluster: Option readOnly is removed. Check out scaleReads option.

Don't miss a new ioredis release

NewReleases is sending notifications on new releases.