fix(deps): update dependency ioredis to v5 - autoclosed #101

Closed
opened 2026-04-05 19:43:47 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @renovate[bot] on 5/22/2022

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

luin/ioredis

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:authpassword@127.0.0.1:6380/4")
    was ignored unless allowUsernameInURI is specified: new Redis("redis://username:authpassword@127.0.0.1:6380/4?allowUsernameInURI=true").
    Now, if you don't want to send username to Redis, just leave the username part empty:
    new Redis("redis://:authpassword@127.0.0.1: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: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 WhiteSource Renovate. View repository job log here.

*Originally created by @renovate[bot] on 5/22/2022* [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ioredis](https://togithub.com/luin/ioredis) | [`4.28.5` -> `5.0.5`](https://renovatebot.com/diffs/npm/ioredis/4.28.5/5.0.5) | [![age](https://badges.renovateapi.com/packages/npm/ioredis/5.0.5/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/ioredis/5.0.5/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/ioredis/5.0.5/compatibility-slim/4.28.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/ioredis/5.0.5/confidence-slim/4.28.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>luin/ioredis</summary> ### [`v5.0.5`](https://togithub.com/luin/ioredis/blob/HEAD/CHANGELOG.md#&#8203;505-httpsgithubcomluiniorediscomparev504v505-2022-05-17) [Compare Source](https://togithub.com/luin/ioredis/compare/v5.0.4...v5.0.5) ##### Bug Fixes - improve typing for redis.multi ([#&#8203;1580](https://togithub.com/luin/ioredis/issues/1580)) ([f9f875b](https://togithub.com/luin/ioredis/commit/f9f875b1972dd2eb87ee6a5011f8f6d7abc7cf75)) - send correct command during auto-pipelining of .call() operations ([#&#8203;1579](https://togithub.com/luin/ioredis/issues/1579)) ([e41c3dc](https://togithub.com/luin/ioredis/commit/e41c3dc880906e8aad73332837bf233f65d12e67)) ### [`v5.0.4`](https://togithub.com/luin/ioredis/blob/HEAD/CHANGELOG.md#&#8203;504-httpsgithubcomluiniorediscomparev503v504-2022-04-09) [Compare Source](https://togithub.com/luin/ioredis/compare/v5.0.3...v5.0.4) ##### Bug Fixes - Expose ChainableCommander and other types ([#&#8203;1560](https://togithub.com/luin/ioredis/issues/1560)) ([df04dd8](https://togithub.com/luin/ioredis/commit/df04dd8d87a44d3b64b385c86581915248554508)) ### [`v5.0.3`](https://togithub.com/luin/ioredis/blob/HEAD/CHANGELOG.md#&#8203;503-httpsgithubcomluiniorediscomparev502v503-2022-03-31) [Compare Source](https://togithub.com/luin/ioredis/compare/v5.0.2...v5.0.3) ##### Bug Fixes - add named exports to keep compatible with [@&#8203;types/ioredis](https://togithub.com/types/ioredis) ([#&#8203;1552](https://togithub.com/luin/ioredis/issues/1552)) ([a89a900](https://togithub.com/luin/ioredis/commit/a89a9002db70d44c83dfa6aaef81fb40caa5fb19)) - Fix failover detector with sentinel and tls streams ([ac00a00](https://togithub.com/luin/ioredis/commit/ac00a005220aa48e9be509f18594bd5e13969ce4)) - handle NOPERM error for monitor ([93b873d](https://togithub.com/luin/ioredis/commit/93b873dfaf75baf08e517476bfe54384d144b526)), closes [#&#8203;1498](https://togithub.com/luin/ioredis/issues/1498) - Hook up the keepAlive after a successful connect ([14f03a4](https://togithub.com/luin/ioredis/commit/14f03a4d9416b32a912f3ab9eee4c004ccad8acc)), closes [#&#8203;1339](https://togithub.com/luin/ioredis/issues/1339) ### [`v5.0.2`](https://togithub.com/luin/ioredis/blob/HEAD/CHANGELOG.md#&#8203;502-httpsgithubcomluiniorediscomparev501v502-2022-03-30) [Compare Source](https://togithub.com/luin/ioredis/compare/v5.0.1...v5.0.2) ##### Bug Fixes - allow option maxRetriesPerRequest to be null ([#&#8203;1553](https://togithub.com/luin/ioredis/issues/1553)) ([d62a808](https://togithub.com/luin/ioredis/commit/d62a8082131389c38a24244ed29a5a9d8b06c4e7)), closes [#&#8203;1550](https://togithub.com/luin/ioredis/issues/1550) - support TypeScript interface as parameters of hmset and mset ([#&#8203;1545](https://togithub.com/luin/ioredis/issues/1545)) ([3444791](https://togithub.com/luin/ioredis/commit/3444791a7ed807098ab17155e8d498a915f27750)), closes [#&#8203;1536](https://togithub.com/luin/ioredis/issues/1536) ### [`v5.0.1`](https://togithub.com/luin/ioredis/blob/HEAD/CHANGELOG.md#&#8203;501-httpsgithubcomluiniorediscomparev500v501-2022-03-26) [Compare Source](https://togithub.com/luin/ioredis/compare/v5.0.0...v5.0.1) ##### Bug Fixes - improve typing compatibility with [@&#8203;types/ioredis](https://togithub.com/types/ioredis) ([#&#8203;1542](https://togithub.com/luin/ioredis/issues/1542)) ([3bf300a](https://togithub.com/luin/ioredis/commit/3bf300a1c99ae4cf8038930c45e19ebd68db222e)) ### [`v5.0.0`](https://togithub.com/luin/ioredis/blob/HEAD/CHANGELOG.md#&#8203;500-httpsgithubcomluiniorediscomparev4285v500-2022-03-26) [Compare Source](https://togithub.com/luin/ioredis/compare/v4.28.5...v5.0.0) 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](https://togithub.com/luin/ioredis/wiki/Upgrading-from-v4-to-v5). ##### Bug Fixes - add [@&#8203;ioredis/interface-generator](https://togithub.com/ioredis/interface-generator) to dev deps ([aa3b3e9](https://togithub.com/luin/ioredis/commit/aa3b3e91a369526ea2dff39b0619b0c2e0b4153b)) - add missing declaration for callBuffer ([08c9072](https://togithub.com/luin/ioredis/commit/08c9072b24fa301401d424494c1ec8cde7ccf78b)) - add the missing typing for Redis#call() ([747dd30](https://togithub.com/luin/ioredis/commit/747dd305696bf3fb661c1d0b4ac376de55e0ec25)) - better support for CJS importing ([687d3eb](https://togithub.com/luin/ioredis/commit/687d3eb8dd0499fd900ede2f4dff835981999665)) - disable slotsRefreshInterval by default ([370fa62](https://togithub.com/luin/ioredis/commit/370fa625cd20bfe62f41c38088e596c7a6f0619c)) - Fix the NOSCRIPT behavior when using pipelines ([bc1b168](https://togithub.com/luin/ioredis/commit/bc1b1680663216ca2cfb1c77622bfa4fec9b2bd4)) - improve typing for auto pipelining ([4e8c567](https://togithub.com/luin/ioredis/commit/4e8c567d1175de31e2371a9dad308a94fcb5627f)) - improve typing for pipeline ([d18f3fe](https://togithub.com/luin/ioredis/commit/d18f3fe07ed04da5b7b26981d91bb4aa74b83ca3)) - keyPrefix should work with Buffer ([6942cec](https://togithub.com/luin/ioredis/commit/6942cecd8a463756468988cf50a94c68298d3bfc)), closes [#&#8203;1486](https://togithub.com/luin/ioredis/issues/1486) - make fields private when possible ([d5c2f20](https://togithub.com/luin/ioredis/commit/d5c2f203b8f1f617f464402e400655c1f7c0fa08)) - parameter declaration of Redis#duplicate ([a29d9c4](https://togithub.com/luin/ioredis/commit/a29d9c46f67dc8bcc345de6543a92dd808e8a6c0)) - pipeline fails when cluster is not ready ([af60bb0](https://togithub.com/luin/ioredis/commit/af60bb082d20a32de1348f049507e6ea8862397f)), closes [#&#8203;1460](https://togithub.com/luin/ioredis/issues/1460) - remove dropBufferSupport option ([04e68ac](https://togithub.com/luin/ioredis/commit/04e68ac4ade14d68809ca58d7ad8536eceda2b1e)) - remove unused Command#isCustomCommand ([46ade6b](https://togithub.com/luin/ioredis/commit/46ade6b8732b112cc5cffb641b1bab51eb96df38)) - rename interfaces by dropping prefix I ([d1d9dba](https://togithub.com/luin/ioredis/commit/d1d9dba9eafc574a9d9041fd4bc7cd04f1584159)) - Reset loaded script hashes to force a reload of scripts after reconnect of redis ([60c2af9](https://togithub.com/luin/ioredis/commit/60c2af985a994a247d1148bfab122e5c0ecd81d2)) - support passing keyPrefix via redisOptions ([6b0dc1e](https://togithub.com/luin/ioredis/commit/6b0dc1e0edbaa5f46b7b03629dda20176c7a81b4)) ##### Features - add [@&#8203;since](https://togithub.com/since) to method comments ([13eff8e](https://togithub.com/luin/ioredis/commit/13eff8e86a0d08a3aa614f2d8fe7a166f6beb532)) - add declarations for methods ([1e10c95](https://togithub.com/luin/ioredis/commit/1e10c95eadede949e536f02ca1412ef4383ba654)) - add tests for cluster ([1eba58b](https://togithub.com/luin/ioredis/commit/1eba58ba3961e477c6502daf05cf4074f728d3cf)) - always parse username passed via URI ([c6f41f6](https://togithub.com/luin/ioredis/commit/c6f41f692243129dbc952ef8fd2e5c160133d677)) - drop support of Node.js 10 ([f9a5071](https://togithub.com/luin/ioredis/commit/f9a5071d95519c0f358c4ecf064838824ce8ad62)) - drop support of third-party Promise libraries ([2001ec6](https://togithub.com/luin/ioredis/commit/2001ec6fafd057eda9111ab858c1c618d939371e)) - expose official declarations ([7a436b1](https://togithub.com/luin/ioredis/commit/7a436b128c3e97586d2378149beaa2043eb00850)) - improve typings for cluster ([06782e6](https://togithub.com/luin/ioredis/commit/06782e681500eae6f3ceafcc6385b9be4fdaf4e3)) - improve typings for pipeline ([334242b](https://togithub.com/luin/ioredis/commit/334242b1adf5399a1ad9d7ba6202d062a0695882)) - improve typings for smismember ([487c3a0](https://togithub.com/luin/ioredis/commit/487c3a07e6080070d365e09dae75bbbc4267b619)) - improve typings for transformers ([94c1e24](https://togithub.com/luin/ioredis/commit/94c1e24f09b9e7eaff4181f984f6317acacade94)) - improve typings for xread ([96cc335](https://togithub.com/luin/ioredis/commit/96cc33590a8c2494b730d33780668a86cdd405cf)) - Pipeline-based script loading ([8df6ee2](https://togithub.com/luin/ioredis/commit/8df6ee265595f035cc85b52b4d11793bea0318f3)) - prepare v5 stable release ([#&#8203;1538](https://togithub.com/luin/ioredis/issues/1538)) ([fe32ce7](https://togithub.com/luin/ioredis/commit/fe32ce71cbfb49b133834f1c4858ec0ca20ad6e8)) - Refactor code with modern settings ([a8ffa80](https://togithub.com/luin/ioredis/commit/a8ffa80dd2fb081012222a436d5be2b5325623b9)) - skip ready check on NOPERM error ([b530a0b](https://togithub.com/luin/ioredis/commit/b530a0b9fe0f987d6786e5cfccbfae8b5b9c9294)), closes [#&#8203;1293](https://togithub.com/luin/ioredis/issues/1293) - support commands added in Redis v7 ([53ca412](https://togithub.com/luin/ioredis/commit/53ca41264f94f05a9a7a231915a0e852a46079d4)) - support defining custom commands via constructor options ([f293b97](https://togithub.com/luin/ioredis/commit/f293b978c6023b8ce3477af0076203c7bc2482f8)) - support Redis Functions introduced in Redis 7.0 ([32eb381](https://togithub.com/luin/ioredis/commit/32eb381c3035ebc70e8e316697c7e0b479ec66a2)) ##### 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:authpassword@127.0.0.1:6380/4")` was ignored unless `allowUsernameInURI` is specified: `new Redis("redis://username:authpassword@127.0.0.1:6380/4?allowUsernameInURI=true")`. Now, if you don't want to send username to Redis, just leave the username part empty: `new Redis("redis://:authpassword@127.0.0.1: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. </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/hansputera/tiktok-dl).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/tiktok-dl#101