ioredis

🚀 A robust, performance-focused, and full-featured Redis client for Node.js.

MIT License

Stars
13.8K
Committers
160

Bot releases are visible (Hide)

ioredis - v5.0.0-beta.2

Published by github-actions[bot] over 2 years ago

5.0.0-beta.2 (2022-03-16)

Features

  • improve typings for smismember (487c3a0)
  • improve typings for xread (96cc335)
ioredis - v5.0.0-beta.1

Published by github-actions[bot] over 2 years ago

5.0.0-beta.1 (2022-03-14)

Bug Fixes

  • add @ioredis/interface-generator to dev deps (aa3b3e9)
  • add the missing typing for Redis#call() (747dd30)
  • better support for CJS importing (687d3eb)
  • disable slotsRefreshInterval by default (370fa62)
  • Fix the NOSCRIPT behavior when using pipelines (bc1b168)
  • improve typing for auto pipelining (4e8c567)
  • improve typing for pipeline (d18f3fe)
  • make fields private when possible (d5c2f20)
  • parameter declaration of Redis#duplicate (a29d9c4)
  • remove dropBufferSupport option (04e68ac)
  • remove unused Command#isCustomCommand (46ade6b)
  • rename interfaces by dropping prefix I (d1d9dba)
  • Reset loaded script hashes to force a reload of scripts after reconnect of redis (60c2af9)
  • support passing keyPrefix via redisOptions (6b0dc1e)

Features

  • add @since to method comments (13eff8e)
  • add declarations for methods (1e10c95)
  • add tests for cluster (1eba58b)
  • always parse username passed via URI (c6f41f6)
  • drop support of Node.js 10 (f9a5071)
  • drop support of third-party Promise libraries (2001ec6)
  • expose official declarations (7a436b1)
  • improve typings for cluster (06782e6)
  • improve typings for pipeline (334242b)
  • improve typings for transformers (94c1e24)
  • Pipeline-based script loading (8df6ee2)
  • Refactor code with modern settings (a8ffa80)
  • skip ready check on NOPERM error (b530a0b), closes #1293
  • support commands added in Redis v7 (53ca412)
  • support defining custom commands via constructor options (f293b97)
  • support Redis Functions introduced in Redis 7.0 (32eb381)

BREAKING CHANGES

  • slotsRefreshInterval is disabled by default,
    previously, the default value was 5000.
  • allowUsernameInURI is removed and ioredis will always
    use the username passed via URI.
    Previously, the username part in new Redis("redis://username:[email protected]:6380/4")
    was ignored unless allowUsernameInURI is specified: new Redis("redis://username:[email protected]:6380/4?allowUsernameInURI=true").
    Now, if you don't want to send username to Redis, just leave the username part empty:
    new Redis("redis://:[email protected]:6380/4")
  • Redis#serverInfo is removed. This field is never documented so
    you very likely have never used it.
  • Support for third-party Promise libraries is dropped. Related methods (exports.Promise = require('bluebird')) are kept but they don't take any effects. The native Promise will always be used.
  • We now require Node.js v12 or newer.
  • Redis can't be called as a function anymore as it's now a class.
    Please change Redis() to new Redis(). Note that Redis() was already deprecated
    in the previous version.
ioredis - v4.28.5

Published by ioredis-robot over 2 years ago

4.28.5 (2022-02-06)

Bug Fixes

  • Reset loaded script hashes to force a reload of scripts after reconnect of redis (#1497) (f357a31)
ioredis - v4.28.4

Published by ioredis-robot over 2 years ago

4.28.4 (2022-02-02)

Bug Fixes

ioredis - v4.28.3

Published by ioredis-robot almost 3 years ago

4.28.3 (2022-01-11)

Bug Fixes

  • fix exceptions on messages of client side cache (#1479) (02adca4)
ioredis - v4.28.2

Published by ioredis-robot almost 3 years ago

4.28.2 (2021-12-01)

Bug Fixes

ioredis - v4.28.1

Published by ioredis-robot almost 3 years ago

4.28.1 (2021-11-23)

Bug Fixes

  • handle possible unhandled promise rejection with autopipelining+cluster (#1467) (6ad285a), closes #1466
ioredis - v4.28.0

Published by ioredis-robot about 3 years ago

4.28.0 (2021-10-13)

Features

  • tls: add TLS profiles for easier configuration (#1441) (4680211)
ioredis - v4.27.11

Published by ioredis-robot about 3 years ago

4.27.11 (2021-10-11)

Bug Fixes

  • make export interface compatible with jest (#1445) (2728dbe)
ioredis - v4.27.10

Published by ioredis-robot about 3 years ago

4.27.10 (2021-10-04)

Bug Fixes

ioredis - v4.27.9

Published by ioredis-robot about 3 years ago

4.27.9 (2021-08-30)

Bug Fixes

  • Fix undefined property warning in executeAutoPipeline (#1425) (f898672)
  • improve proto checking for hgetall [skip ci] (#1418) (cba83cb)
ioredis - v4.27.8

Published by ioredis-robot about 3 years ago

4.27.8 (2021-08-18)

Bug Fixes

ioredis - v4.27.7

Published by ioredis-robot about 3 years ago

4.27.7 (2021-08-01)

Bug Fixes

ioredis - v4.27.6

Published by ioredis-robot over 3 years ago

4.27.6 (2021-06-13)

Bug Fixes

ioredis - v4.27.5

Published by ioredis-robot over 3 years ago

4.27.5 (2021-06-05)

Bug Fixes

  • SENTINEL: actively failover detection under an option (#1363) (f02e383)
ioredis - v4.27.4

Published by ioredis-robot over 3 years ago

4.27.4 (2021-06-04)

Performance Improvements

ioredis - v4.27.3

Published by ioredis-robot over 3 years ago

4.27.3 (2021-05-22)

Bug Fixes

ioredis - v4.27.2

Published by ioredis-robot over 3 years ago

4.27.2 (2021-05-04)

Bug Fixes

  • cluster: avoid ClusterAllFailedError in certain cases (aa9c5b1), closes #1330
ioredis - v4.27.1

Published by ioredis-robot over 3 years ago

4.27.1 (2021-04-24)

Bug Fixes

  • clears commandTimeout timer as each respective command gets fulfilled (#1336) (d65f8b2)
ioredis - v4.27.0

Published by ioredis-robot over 3 years ago

4.27.0 (2021-04-24)

Features

  • sentinel: detect failover from +switch-master messages (#1328) (a464151)