Skip to content

v4.0.0

Choose a tag to compare

@stipsan stipsan released this 02 Oct 19:18

4.0.0 (2018-10-02)

Features

  • Use native Promise, but allow overriding it (#561) (c3ece9f)

BREAKING CHANGES

  • Native promises replaces Bluebird to correspond with ioredis v4. This change is not backwards compatible and we're updating the peerDependency accordingly. You can switch the Promise implementation in ioredis-mock as in ioredis:
const Redis = require('ioredis-mock')
Redis.Promise = require('bluebird')

const redis = new Redis()