Skip to content

v4.0.0

Choose a tag to compare

@kfitzgerald kfitzgerald released this 21 Mar 05:57
· 1 commit to master since this release
  • Updated to node-redis 3.1.2
  • Updated redlock to v4.2.0
  • Updated to okanjo-app v3

Latest Packages

The node-redis package was not updated to latest due to the complete mess they made out of the module in v4.

  • No longer supports Redis v4 (breaking)
  • Functions now return promises (yay!)
  • Configuration schema has totally changed (breaking)
  • Callbacks can be re-enabled with legacyMode (cool)
  • Renamed functions to pascalCase or UPPERCASE (breaking, also very not cool)
  • Functions are no longer 1:1 with the redis spec, so like redis.set(key, value { EX: 1, ... }) is now a thing. (breaking, also super not cool)

In order to upgrade to node-redis v4, the entirety of the module would need to be refactored, as would any module using redis. It would seem that another major release in the future could address this, but would come at the cost of a major redis overhaul in all affected apps.