npm ioredis-mock 4.0.0
v4.0.0

latest releases: 8.9.0, 7.5.1, 8.8.3...
6 years ago

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()

Don't miss a new ioredis-mock release

NewReleases is sending notifications on new releases.