Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency ioredis to v5 #307

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 26, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ioredis 4.28.5 -> 5.2.2 age adoption passing confidence

Release Notes

luin/ioredis

v5.2.2

Compare Source

Bug Fixes
  • srandmember with count argument should return array of strings (#​1620) (5f813f3)

v5.2.1

Compare Source

Bug Fixes
  • always allow selecting a new node for cluster mode subscriptions when the current one fails (#​1589) (1c8cb85)

v5.2.0

Compare Source

Features

v5.1.0

Compare Source

Features
  • add command typings for Redis 7.0.2. Also fix a typing issue for hgetallBuffer. (#​1611) (fa77c07)

5.0.6 (2022-05-31)

Bug Fixes

5.0.5 (2022-05-17)

Bug Fixes

5.0.4 (2022-04-09)

Bug Fixes

5.0.3 (2022-03-31)

Bug Fixes

5.0.2 (2022-03-30)

Bug Fixes

5.0.1 (2022-03-26)

Bug Fixes

v5.0.6

Compare Source

Bug Fixes

v5.0.5

Compare Source

Bug Fixes

v5.0.4

Compare Source

Bug Fixes

v5.0.3

Compare Source

Bug Fixes

v5.0.2

Compare Source

Bug Fixes

v5.0.1

Compare Source

Bug Fixes

v5.0.0

Compare Source

In the update of v5, we've made ioredis even more stable and developer-friendly while minimizing the number of breaking changes, so you can spend more time enjoying your life 😄.

Please refer to the guideline to upgrade your projects: 🚀 Upgrading from v4 to v5.

Bug Fixes
  • add @​ioredis/interface-generator to dev deps (aa3b3e9)
  • add missing declaration for callBuffer (08c9072)
  • 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)
  • keyPrefix should work with Buffer (6942cec), closes #​1486
  • make fields private when possible (d5c2f20)
  • parameter declaration of Redis#duplicate (a29d9c4)
  • pipeline fails when cluster is not ready (af60bb0), closes #​1460
  • 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 smismember (487c3a0)
  • improve typings for transformers (94c1e24)
  • improve typings for xread (96cc335)
  • Pipeline-based script loading (8df6ee2)
  • prepare v5 stable release (#​1538) (fe32ce7)
  • 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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled due to failing status checks.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/ioredis-5.x branch 4 times, most recently from ee12422 to b05634f Compare March 31, 2022 14:27
@renovate renovate bot force-pushed the renovate/ioredis-5.x branch 4 times, most recently from 758b750 to 807bcc8 Compare April 9, 2022 22:46
@renovate renovate bot force-pushed the renovate/ioredis-5.x branch 4 times, most recently from 6b4f326 to 7581ff9 Compare April 21, 2022 12:55
@renovate renovate bot force-pushed the renovate/ioredis-5.x branch 4 times, most recently from c29edba to 3f952a1 Compare April 29, 2022 10:46
@renovate renovate bot force-pushed the renovate/ioredis-5.x branch 13 times, most recently from 0edfa39 to 3e8b7eb Compare May 9, 2022 18:20
@renovate renovate bot force-pushed the renovate/ioredis-5.x branch 6 times, most recently from 38716a4 to 7b4a01e Compare May 17, 2022 15:16
@renovate renovate bot force-pushed the renovate/ioredis-5.x branch 6 times, most recently from f4ab659 to 3ea5710 Compare May 24, 2022 17:43
@renovate renovate bot force-pushed the renovate/ioredis-5.x branch 2 times, most recently from 61ce181 to b49c068 Compare August 15, 2022 23:22
@renovate
Copy link
Contributor Author

renovate bot commented Aug 17, 2022

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/ioredis-5.x branch August 17, 2022 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant