baryonsoft / overleaf

GNU Affero General Public License v3.0
0 stars 0 forks source link

Update dependency redis to v4 #209

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
redis ~0.10.1 -> ~4.6.0 age adoption passing confidence

Release Notes

redis/node-redis (redis) ### [`v4.6.8`](https://togithub.com/redis/node-redis/releases/tag/redis%404.6.8) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.6.7...redis@4.6.8) ##### Enhancements - upgrade `@redis/client` from `1.5.8` to `1.5.9` - upgrade `@redis/time-series` from `1.0.4` to `1.0.5` ### [`v4.6.7`](https://togithub.com/redis/node-redis/releases/tag/redis%404.6.7) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.6.6...redis@4.6.7) ##### Enhancements - upgrade `@redis/client` from `1.5.7` to `1.5.8` - upgrade `@redis/search` from `1.1.2` to `1.1.3` ### [`v4.6.6`](https://togithub.com/redis/node-redis/releases/tag/redis%404.6.6) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.6.5...redis@4.6.6) #### Enhancements - upgrade `@redis/client` from `1.5.6` to `1.5.7` ### [`v4.6.5`](https://togithub.com/redis/node-redis/releases/tag/redis%404.6.5) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.6.4...redis@4.6.5) ##### Enhancements - upgrade `@redis/client` from `1.5.5` to `1.5.6` ### [`v4.6.4`](https://togithub.com/redis/node-redis/releases/tag/redis%404.6.4) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.6.3...redis@4.6.4) #### Enhancements - upgrade `@redis/client` from `1.5.4` to `1.5.5` ### [`v4.6.3`](https://togithub.com/redis/node-redis/releases/tag/redis%404.6.3) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.6.2...redis@4.6.3) #### Enhancements - upgrade `@redis/client` from `1.5.3` to `1.5.4` ### [`v4.6.2`](https://togithub.com/redis/node-redis/releases/tag/redis%404.6.2) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.6.1...redis@4.6.2) #### Enhancements - upgrade `@redis/client` from `1.5.2` to `1.5.3` ### [`v4.6.1`](https://togithub.com/redis/node-redis/releases/tag/redis%404.6.1) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.6.0...redis@4.6.1) #### Enhancements - upgrade `@redis/client` from `1.5.0` to `1.5.2` ### [`v4.6.0`](https://togithub.com/redis/node-redis/releases/tag/redis%404.6.0) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.5.1...redis@4.6.0) #### Enhancements - upgrade `@redis/client` from `1.4.2` to `1.5.0` - upgrade `@redis/bloom` from `1.1.0` to `1.2.0` - upgrade `@redis/search` from `1.1.0` to `1.1.1` ### [`v4.5.1`](https://togithub.com/redis/node-redis/releases/tag/redis%404.5.1) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.5.0...redis@4.5.1) #### Enhancements - upgrade `@redis/client` ### [`v4.5.0`](https://togithub.com/redis/node-redis/releases/tag/redis%404.5.0) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.4.0...redis@4.5.0) #### Enhancements - upgrade `@redis/client` - upgrade `@redis/time-series` ### [`v4.4.0`](https://togithub.com/redis/node-redis/releases/tag/redis%404.4.0) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.3.1...redis@4.4.0) #### Enhancements - [#​2285](https://togithub.com/redis/node-redis/issues/2285)-Add-example-scripts-hyperloglog - Added hyperloglog examples to… by [@​ade1705](https://togithub.com/ade1705) in [https://github.com/redis/node-redis/pull/2289](https://togithub.com/redis/node-redis/pull/2289) - [#​2287](https://togithub.com/redis/node-redis/issues/2287) Add example scripts showing pub/sub usage. by [@​con-mark](https://togithub.com/con-mark) in [https://github.com/redis/node-redis/pull/2288](https://togithub.com/redis/node-redis/pull/2288) - Connecting to cluster example by [@​varadkarpe](https://togithub.com/varadkarpe) in [https://github.com/redis/node-redis/pull/2298](https://togithub.com/redis/node-redis/pull/2298) - Adds transaction with watched key example script. by [@​sailingwithsandeep](https://togithub.com/sailingwithsandeep) in [https://github.com/redis/node-redis/pull/2297](https://togithub.com/redis/node-redis/pull/2297) - Fixes typo Redis Search -> RediSearch by [@​simonprickett](https://togithub.com/simonprickett) in [https://github.com/redis/node-redis/pull/2278](https://togithub.com/redis/node-redis/pull/2278) - Fixed redis -> Redis in a couple places. by [@​simonprickett](https://togithub.com/simonprickett) in [https://github.com/redis/node-redis/pull/2279](https://togithub.com/redis/node-redis/pull/2279) - Update search-json.js by [@​leibale](https://togithub.com/leibale) in [https://github.com/redis/node-redis/pull/2317](https://togithub.com/redis/node-redis/pull/2317) - test with node 19 instead of 17 by [@​leibale](https://togithub.com/leibale) in [https://github.com/redis/node-redis/pull/2316](https://togithub.com/redis/node-redis/pull/2316) - disconnect in basic example by [@​reviewher](https://togithub.com/reviewher) in [https://github.com/redis/node-redis/pull/2235](https://togithub.com/redis/node-redis/pull/2235) - upgrade `@redis/client` - upgrade `@redis/bloom` - upgrade `@redis/graph` ### [`v4.3.1`](https://togithub.com/redis/node-redis/releases/tag/redis%404.3.1) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.3.0...redis@4.3.1) #### Enhancements - Upgrade `@redis/json` ### [`v4.3.0`](https://togithub.com/redis/node-redis/releases/tag/redis%404.3.0) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.2.0...redis@4.3.0) #### Enhancements - Upgrade `@redis/client` - Upgrade `@redis/search` ### [`v4.2.0`](https://togithub.com/redis/node-redis/releases/tag/redis%404.2.0) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.1.1...redis@4.2.0) #### Enhancements - Upgrade `@redis/client` ### [`v4.1.1`](https://togithub.com/redis/node-redis/releases/tag/redis%404.1.1) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.1.0...redis@4.1.1) #### Enhancements - Upgrade `@redis/client` ### [`v4.1.0`](https://togithub.com/redis/node-redis/releases/tag/redis%404.1.0) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.0.6...redis@4.1.0) #### Enhancements - Upgrade `@redis/bloom` - Upgrade `@redis/client` - Upgrade `@redis/graph` - Upgrade `@redis/json` - Upgrade `@redis/search` - Upgrade `@redis/time-series` ### [`v4.0.6`](https://togithub.com/redis/node-redis/releases/tag/redis%404.0.6) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.0.5...redis@4.0.6) - Upgrade `@node-redis/client` - Upgrade `@node-redis/search` ### [`v4.0.5`](https://togithub.com/redis/node-redis/compare/redis@4.0.4...redis@4.0.5) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.0.4...redis@4.0.5) ### [`v4.0.4`](https://togithub.com/redis/node-redis/releases/tag/redis%404.0.4) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.0.3...redis@4.0.4) - Upgrade `@node-redis/client` - Upgrade `@node-redis/search` - Upgrade `@node-redis/time-series` ### [`v4.0.3`](https://togithub.com/redis/node-redis/releases/tag/redis%404.0.3) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.0.2...redis@4.0.3) - First release with `@node-redis/graph` - Upgrade to `@node-redis/client@1.0.3` ### [`v4.0.2`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v402---13-Jan-2022) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.0.1...redis@4.0.2) ##### Fixes - Fix v4 commands in legacy mode ([#​1820](https://togithub.com/redis/node-redis/issues/1820)) - Fix `EXISTS` command reply ([#​1819](https://togithub.com/redis/node-redis/issues/1819)) - Fix handler for "**redis**:invalidate" messages ([#​1798](https://togithub.com/redis/node-redis/issues/1798)) - Fix "SEPARATOR" typo in RediSearch ([#​1823](https://togithub.com/redis/node-redis/issues/1823)) ##### Enhancements - First release of `@node-redis/bloom` - Add support for `Buffer`s - Enhance `ASK` and `MOVED` errors handler ### [`v4.0.1`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v401---13-Dec-2021) [Compare Source](https://togithub.com/redis/node-redis/compare/redis@4.0.0...redis@4.0.1) ##### Fixes - Fix `NOAUTH` error when using authentication & database ([#​1681](https://togithub.com/redis/node-redis/issues/1681)) - Allow to `.quit()` in PubSub mode ([#​1766](https://togithub.com/redis/node-redis/issues/1766)) - Add an option to configurate `name` on a client ([#​1758](https://togithub.com/redis/node-redis/issues/1758)) - Lowercase commands (`client.hset`) in `legacyMode` - Fix PubSub resubscribe ([#​1764](https://togithub.com/redis/node-redis/issues/1764)) - Fix `RedisSocketOptions` type ([#​1741](https://togithub.com/redis/node-redis/issues/1741)) ##### Enhancements - Add support for `number`s and `Buffer`s in `HSET` ([#​1738](https://togithub.com/redis/node-redis/issues/1738) [#​1739](https://togithub.com/redis/node-redis/issues/1739)) - Export `RedisClientType`, `RedisClusterType` and some more types ([#​1673](https://togithub.com/redis/node-redis/issues/1673)) - First release of `@node-redis/time-series` ### [`v4.0.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v400---24-Nov-2021) [Compare Source](https://togithub.com/redis/node-redis/compare/v3.1.2...redis@4.0.0) This version is a major change and refactor, adding modern JavaScript capabilities and multiple breaking changes. See the [migration guide](./docs/v3-to-v4.md) for tips on how to upgrade. ##### Breaking Changes - All functions return Promises by default - Dropped support for Node.js 10.x, the minimum supported Node.js version is now 12.x - `createClient` takes new and different arguments - The `prefix`, `rename_commands` configuration options to `createClient` have been removed - The `enable_offline_queue` configuration option is removed, executing commands on a closed client (without calling `.connect()` or after calling `.disconnect()`) will reject immediately - Login credentials are no longer saved when using `.auth()` directly ##### Features - Added support for Promises - Added built-in TypeScript declaration files enabling code completion - Added support for [clustering](./README.md#cluster) - Added idiomatic arguments and responses to [Redis commands](./README.md#redis-commands) - Added full support for [Lua Scripts](./README.md#lua-scripts) - Added support for [SCAN iterators](./README.md#scan-iterator) - Added the ability to extend Node Redis with Redis Module commands ### [`v3.1.2`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v312) [Compare Source](https://togithub.com/redis/node-redis/compare/v3.1.1...v3.1.2) ##### Fixes - Exclude unnecessary files from tarball ### [`v3.1.1`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v311) [Compare Source](https://togithub.com/redis/node-redis/compare/v3.1.0...v3.1.1) ##### Enhancements - Upgrade node and dependencies ##### Fixes - Fix a potential exponential regex in monitor mode ### [`v3.1.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v310---31-Mar-2021) [Compare Source](https://togithub.com/redis/node-redis/compare/v3.0.2...v3.1.0) ##### Enhancements - Upgrade node and dependencies and redis-commands to support Redis 6 - Add support for Redis 6 `auth pass [user]` ### [`v3.0.2`](https://togithub.com/redis/node-redis/compare/92ea8e65a9fd45ac246e17ccfbbda57838bed83d...v3.0.2) [Compare Source](https://togithub.com/redis/node-redis/compare/92ea8e65a9fd45ac246e17ccfbbda57838bed83d...v3.0.2) ### [`v3.0.1`](https://togithub.com/redis/node-redis/compare/v3.0.0...92ea8e65a9fd45ac246e17ccfbbda57838bed83d) [Compare Source](https://togithub.com/redis/node-redis/compare/v3.0.0...92ea8e65a9fd45ac246e17ccfbbda57838bed83d) ### [`v3.0.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v300---09-Feb-2020) [Compare Source](https://togithub.com/redis/node-redis/compare/1380ad67a3f2b4a8b3dc31767e352e3bc4e63576...v3.0.0) This version is mainly a release to distribute all the unreleased changes on master since 2017 and additionally removes a lot of old deprecated features and old internals in preparation for an upcoming modernization refactor (v4). ##### Breaking Changes - Dropped support for Node.js < 6 - Dropped support for `hiredis` (no longer required) - Removed previously deprecated `drain` event - Removed previously deprecated `idle` event - Removed previously deprecated `parser` option - Removed previously deprecated `max_delay` option - Removed previously deprecated `max_attempts` option - Removed previously deprecated `socket_no_delay` option ##### Bug Fixes - Removed development files from published package ([#​1370](https://togithub.com/redis/node-redis/issues/1370)) - Duplicate function now allows db param to be passed ([#​1311](https://togithub.com/redis/node-redis/issues/1311)) ##### Features - Upgraded to latest `redis-commands` package - Upgraded to latest `redis-parser` package, v3.0.0, which brings performance improvements - Replaced `double-ended-queue` with `denque`, which brings performance improvements - Add timestamps to debug traces - Add `socket_initial_delay` option for `socket.setKeepAlive` ([#​1396](https://togithub.com/redis/node-redis/issues/1396)) - Add support for `rediss` protocol in url ([#​1282](https://togithub.com/redis/node-redis/issues/1282)) ### [`v2.8.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v280---31-Jul-2017) [Compare Source](https://togithub.com/redis/node-redis/compare/5d73f5efa246f5f16f0e6ce2480fe4cdad8b0cb8...1380ad67a3f2b4a8b3dc31767e352e3bc4e63576) Features - Accept UPPER_CASE commands in send_command - Add arbitrary commands to the prototype by using `Redis.addCommand(name)` Bugfixes - Fixed not always copying subscribe unsubscribe arguments - Fixed emitting internal errors while reconnecting with auth - Fixed crashing with invalid url option ### [`v2.7.1`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v271---14-Mar-2017) [Compare Source](https://togithub.com/redis/node-redis/compare/60998b0b2026064b283205cc789e8f38bc79a339...5d73f5efa246f5f16f0e6ce2480fe4cdad8b0cb8) Bugfixes - Fixed monitor mode not working in combination with IPv6 (2.6.0 regression) ### [`v2.7.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v270---11-Mar-2017) [Compare Source](https://togithub.com/redis/node-redis/compare/1f730a803ae2e6482b21ca7cd1382d380831be08...60998b0b2026064b283205cc789e8f38bc79a339) Features - All returned errors are from now a subclass of `RedisError`. Bugfixes - Fixed rename_commands not accepting `null` as value - Fixed `AbortError`s and `AggregateError`s not showing the error message in the stack trace ### [`v2.6.5`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v265---15-Jan-2017) [Compare Source](https://togithub.com/redis/node-redis/compare/670b774101d644e3c754551976fd0f13cf8d75eb...1f730a803ae2e6482b21ca7cd1382d380831be08) Bugfixes - Fixed parser not being reset in case the redis connection closed ASAP for overcoming of output buffer limits - Fixed parser reset if (p)message_buffer listener is attached ### [`v2.6.4`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v264---12-Jan-2017) [Compare Source](https://togithub.com/redis/node-redis/compare/be07c12fbd039b7b3b1cb5a71f06e24464bc0593...670b774101d644e3c754551976fd0f13cf8d75eb) Bugfixes - Fixed monitor mode not working in combination with IPv6, sockets or lua scripts (2.6.0 regression) ### [`v2.6.3`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v263---31-Oct-2016) [Compare Source](https://togithub.com/redis/node-redis/compare/98688331a308b1f6fdc6f3913cb351cd00421054...be07c12fbd039b7b3b1cb5a71f06e24464bc0593) Bugfixes - Do not change the tls setting to camel_case - Fix domain handling in combination with the offline queue (2.5.3 regression) ### [`v2.6.2`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v262---16-Jun-2016) [Compare Source](https://togithub.com/redis/node-redis/compare/2543e11b29c4b9042666582401fe48b60d01f9ec...98688331a308b1f6fdc6f3913cb351cd00421054) Bugfixes - Fixed individual callbacks of a transaction not being called (2.6.0 regression) ### [`v2.6.1`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v261---02-Jun-2016) [Compare Source](https://togithub.com/redis/node-redis/compare/dffc27d83f8360c863429c7fd7b907916b52446d...2543e11b29c4b9042666582401fe48b60d01f9ec) Bugfixes - Fixed invalid function name being exported ### [`v2.6.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v260---01-Jun-2016) [Compare Source](https://togithub.com/redis/node-redis/compare/bf568b6df7560782215c2f91731761bb7151d10e...dffc27d83f8360c863429c7fd7b907916b52446d) In addition to the pre-releases the following changes exist in v.2.6.0: Features - Updated [redis-parser](https://togithub.com/NodeRedis/node-redis-parser) dependency ([changelog](https://togithub.com/NodeRedis/node-redis-parser/releases/tag/v.2.0.0)) - The JS parser is from now on the new default as it is a lot faster than the hiredis parser - This is no BC as there is no changed behavior for the user at all but just a performance improvement. Explicitly requireing the Hiredis parser is still possible. - Added name property to all Redis functions (Node.js >= 4.0) - Improved stack traces in development and debug mode Bugfixes - Reverted support for `__proto__` (v.2.6.0-2) to prevent and breaking change Deprecations - The `parser` option is deprecated and should be removed. The built-in Javascript parser is a lot faster than the hiredis parser and has more features ### [`v2.5.3`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v253---21-Mar-2016) [Compare Source](https://togithub.com/redis/node-redis/compare/fc9967a14000dc871deeec3956d447afd61ec9c4...bf568b6df7560782215c2f91731761bb7151d10e) Bugfixes - Revert throwing on invalid data types and print a warning instead ### [`v2.5.2`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v252---16-Mar-2016) [Compare Source](https://togithub.com/redis/node-redis/compare/08a4537263aead8da24775371e810b5f538a91a5...fc9967a14000dc871deeec3956d447afd61ec9c4) Bugfixes - Fixed breaking changes against Redis 2.4 introduced in 2.5.0 / 2.5.1 ### [`v2.5.1`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v251---15-Mar-2016) [Compare Source](https://togithub.com/redis/node-redis/compare/093f437fac70ac1faacf8553e5e399b01e33eb6f...08a4537263aead8da24775371e810b5f538a91a5) Bugfixes - Fixed info command not working anymore with optional section argument ### [`v2.5.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v250---15-Mar-2016) [Compare Source](https://togithub.com/redis/node-redis/compare/33d5981ebf90d5b1954d7ad3cb578b4bc27ce83d...093f437fac70ac1faacf8553e5e399b01e33eb6f) Same changelog as the pre-release ### [`v2.4.2`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v242---27-Nov-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/4c27e87daf71a3449012974d4fcd17285bdda0ce...33d5981ebf90d5b1954d7ad3cb578b4bc27ce83d) Bugfixes - Fixed not emitting ready after reconnect with disable_resubscribing ([@​maxgalbu](https://togithub.com/maxgalbu)) ### [`v2.4.1`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v241---25-Nov-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/97e699b5d2b47cfaddc1be4496302e339d01f9e3...4c27e87daf71a3449012974d4fcd17285bdda0ce) Bugfixes - Fixed a js parser regression introduced in 2.4.0 ([@​BridgeAR](https://togithub.com/BridgeAR)) ### [`v2.4.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v240---25-Nov-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/4c43d56b331dd0d0c3bad47dc7e8560d86db91f7...97e699b5d2b47cfaddc1be4496302e339d01f9e3) Features - Added `tls` option to initiate a connection to a redis server behind a TLS proxy. Thanks ([@​paddybyers](https://togithub.com/paddybyers)) - Added `prefix` option to auto key prefix any command with the provided prefix ([@​luin](https://togithub.com/luin) & [@​BridgeAR](https://togithub.com/BridgeAR)) - Added `url` option to pass the connection url with the options object ([@​BridgeAR](https://togithub.com/BridgeAR)) - Added `client.duplicate([options])` to duplicate the current client and return a new one with the same options ([@​BridgeAR](https://togithub.com/BridgeAR)) - Improve performance by up to 20% on almost all use cases ([@​BridgeAR](https://togithub.com/BridgeAR)) Bugfixes - Fixed js parser handling big values slow ([@​BridgeAR](https://togithub.com/BridgeAR)) - The speed is now on par with the hiredis parser. ### [`v2.3.1`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v231---18-Nov-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/b4e8e79653cfce6cff3c544f04f060c3383bc22b...4c43d56b331dd0d0c3bad47dc7e8560d86db91f7) Bugfixes - Fixed saving buffers with charsets other than utf-8 while using multi ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fixed js parser handling big values very slow ([@​BridgeAR](https://togithub.com/BridgeAR)) - The speed is up to ~500% faster than before but still up to ~50% slower than the hiredis parser. ### [`v2.3.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v230---30-Oct-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/851dd8720684ed084e069f9d7659b9e736033fdc...b4e8e79653cfce6cff3c544f04f060c3383bc22b) Features - Improve speed further for: ([@​BridgeAR](https://togithub.com/BridgeAR)) - saving big strings (up to +300%) - using .multi / .batch (up to +50% / on Node.js 0.10.x +300%) - saving small buffers - Increased coverage to 99% ([@​BridgeAR](https://togithub.com/BridgeAR)) - Refactored manual backpressure control ([@​BridgeAR](https://togithub.com/BridgeAR)) - Removed the high water mark and low water mark. Such a mechanism should be implemented by a user instead - The `drain` event is from now on only emitted if the stream really had to buffer - Reduced the default connect_timeout to be one hour instead of 24h ([@​BridgeAR](https://togithub.com/BridgeAR)) - Added .path to redis.createClient(options); ([@​BridgeAR](https://togithub.com/BridgeAR)) - Ignore info command, if not available on server ([@​ivanB1975](https://togithub.com/ivanB1975)) Bugfixes - Fixed a js parser error that could result in a timeout ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fixed .multi / .batch used with Node.js 0.10.x not working properly after a reconnect ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fixed fired but not yet returned commands not being rejected after a connection loss ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fixed connect_timeout not respected if no connection has ever been established ([@​gagle](https://togithub.com/gagle) & [@​benjie](https://togithub.com/benjie)) - Fixed return_buffers in pub sub mode ([@​komachi](https://togithub.com/komachi)) ### [`v2.2.5`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v225---18-Oct-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/ce4a67bb746e5ea5736c61d2524645ad9f3aaa73...851dd8720684ed084e069f9d7659b9e736033fdc) Bugfixes - Fixed undefined options passed to a new instance not accepted (possible with individual .createClient functions) ([@​BridgeAR](https://togithub.com/BridgeAR)) ### [`v2.2.4`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v224---17-Oct-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/587b1c95a05303405cd3e188887b79c22a0b5654...ce4a67bb746e5ea5736c61d2524645ad9f3aaa73) Bugfixes - Fixed unspecific error message for unresolvable commands ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fixed not allowed command error in pubsub mode not being returned in a provided callback ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fixed to many commands forbidden in pub sub mode ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fixed mutation of the arguments array passed to .multi / .batch constructor ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fixed mutation of the options object passed to createClient ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fixed error callback in .multi not called if connection in broken mode ([@​BridgeAR](https://togithub.com/BridgeAR)) ### [`v2.2.3`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v223---14-Oct-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/a408235a3824b1e5d5f0072ccf56d918dae458a5...587b1c95a05303405cd3e188887b79c22a0b5654) Bugfixes - Fixed multi not being executed on Node 0.10.x if node_redis not yet ready ([@​BridgeAR](https://togithub.com/BridgeAR)) ### [`v2.2.2`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v222---14-Oct-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/28d343c2ade94baac94b2dec3a68187c08d75b69...a408235a3824b1e5d5f0072ccf56d918dae458a5) Bugfixes - Fixed regular commands not being executed after a .multi until .exec was called ([@​BridgeAR](https://togithub.com/BridgeAR)) ### [`v2.2.1`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v221---12-Oct-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/3225b1e704dce42c89bd30e1d13613d66909f5eb...28d343c2ade94baac94b2dec3a68187c08d75b69) No code change ### [`v2.2.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v220---12-Oct-2015---The-peregrino-falcon) [Compare Source](https://togithub.com/redis/node-redis/compare/088b3f699686cbe9d5d1e4238f399d0db347b815...3225b1e704dce42c89bd30e1d13613d66909f5eb) The peregrino falcon is the fasted bird on earth and this is what this release is all about: Increased performance for heavy usage by up to **400%** \[sic!] and increased overall performance for any command as well. Please check the benchmarks in the [README.md](./README.md) for further details. Features - Added rename_commands options to handle renamed commands from the redis config ([@​digmxl](https://togithub.com/digmxl) & [@​BridgeAR](https://togithub.com/BridgeAR)) - Added disable_resubscribing option to prevent a client from resubscribing after reconnecting ([@​BridgeAR](https://togithub.com/BridgeAR)) - Increased performance ([@​BridgeAR](https://togithub.com/BridgeAR)) - exchanging built in queue with [@​petkaantonov](https://togithub.com/petkaantonov)'s [double-ended queue](https://togithub.com/petkaantonov/deque) - prevent polymorphism - optimize statements - Added *.batch* command, similar to .multi but without transaction ([@​BridgeAR](https://togithub.com/BridgeAR)) - Improved pipelining to minimize the [RTT](http://redis.io/topics/pipelining) further ([@​BridgeAR](https://togithub.com/BridgeAR)) Bugfixes - Fixed a javascript parser regression introduced in 2.0 that could result in timeouts on high load. ([@​BridgeAR](https://togithub.com/BridgeAR)) - I was not able to write a regression test for this, since the error seems to only occur under heavy load with special conditions. So please have a look for timeouts with the js parser, if you use it and report all issues and switch to the hiredis parser in the meanwhile. If you're able to come up with a reproducable test case, this would be even better :) - Fixed should_buffer boolean for .exec, .select and .auth commands not being returned and fix a couple special conditions ([@​BridgeAR](https://togithub.com/BridgeAR)) If you do not rely on transactions but want to reduce the RTT you can use .batch from now on. It'll behave just the same as .multi but it does not have any transaction and therefor won't roll back any failed commands.
Both .multi and .batch are from now on going to cache the commands and release them while calling .exec. Please consider using .batch instead of looping through a lot of commands one by one. This will significantly improve your performance. Here are some stats compared to ioredis 1.9.1 (Lenovo T450s i7-5600U): simple set 82,496 op/s » ioredis 112,617 op/s » node_redis simple get 82,015 op/s » ioredis 105,701 op/s » node_redis simple get with pipeline 10,233 op/s » ioredis 26,541 op/s » node_redis (using .batch) lrange 100 7,321 op/s » ioredis 26,155 op/s » node_redis publish 90,524 op/s » ioredis 112,823 op/s » node_redis subscribe 43,783 op/s » ioredis 61,889 op/s » node_redis To conclude: we can proudly say that node_redis is very likely outperforming any other node redis client. Known issues - The pub sub system has some flaws and those will be addressed in the next minor release ### [`v2.1.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v210---Oct-02-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/f26b64d0204fd12e27161e7ddd7fa48abd133561...088b3f699686cbe9d5d1e4238f399d0db347b815) Features: - Addded optional flush parameter to `.end`. If set to true, commands fired after using .end are going to be rejected instead of being ignored. ([@​crispy1989](https://togithub.com/crispy1989)) - Addded: host and port can now be provided in a single options object. E.g. redis.createClient({ host: 'localhost', port: 1337, max_attempts: 5 }); ([@​BridgeAR](https://togithub.com/BridgeAR)) - Speedup common cases ([@​BridgeAR](https://togithub.com/BridgeAR)) Bugfixes: - Fix argument mutation while using the array notation with the multi constructor ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fix multi.hmset key not being type converted if used with an object and key not being a string ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fix parser errors not being catched properly ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fix a crash that could occur if a redis server does not return the info command as usual [#​541](https://togithub.com/redis/node-redis/issues/541) ([@​BridgeAR](https://togithub.com/BridgeAR)) - Explicitly passing undefined as a callback statement will work again. E.g. client.publish('channel', 'message', undefined); ([@​BridgeAR](https://togithub.com/BridgeAR)) ### [`v2.0.1`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v201---Sep-24-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/505b3eb9199d00d69af01d437a95058379f36499...f26b64d0204fd12e27161e7ddd7fa48abd133561) Bugfixes: - Fix argument mutation while using the array notation in combination with keys / callbacks ([#​866](.)). ([@​BridgeAR](https://togithub.com/BridgeAR)) ### [`v2.0.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v200---Sep-21-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/v1.0.0...505b3eb9199d00d69af01d437a95058379f36499) This is the biggest release that node_redis had since it was released in 2010. A long list of outstanding bugs has been fixed, so we are very happy to present you redis 2.0 and we highly recommend updating as soon as possible. ### [`v1.0.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v100---Aug-30-2015) [Compare Source](https://togithub.com/redis/node-redis/compare/v0.12.1...v1.0.0) - Huge issue and pull-request cleanup. Thanks Blain! ([@​blainsmith](https://togithub.com/blainsmith)) - [#​658](https://togithub.com/NodeRedis/node_redis/pull/658) Client now parses URL-format connection strings (e.g., redis://foo:pass@127.0.0.1:8080) ([@​kuwabarahiroshi](https://togithub.com/kuwabarahiroshi)) - [#​749](https://togithub.com/NodeRedis/node_redis/pull/749) Fix reconnection bug when client is in monitoring mode ([@​danielbprice](https://togithub.com/danielbprice)) - [#​786](https://togithub.com/NodeRedis/node_redis/pull/786) Refactor createClient. Fixes [#​651](https://togithub.com/redis/node-redis/issues/651) ([@​BridgeAR](https://togithub.com/BridgeAR)) - [#​793](https://togithub.com/NodeRedis/node_redis/pull/793) Refactor tests and improve test coverage ([@​erinspice](https://togithub.com/erinspice), [@​bcoe](https://togithub.com/bcoe)) - [#​733](https://togithub.com/NodeRedis/node_redis/pull/733) Fixes detect_buffers functionality in the context of exec. Fixes [#​732](https://togithub.com/redis/node-redis/issues/732), [#​263](https://togithub.com/redis/node-redis/issues/263) ([@​raydog](https://togithub.com/raydog)) - [#​785](https://togithub.com/NodeRedis/node_redis/pull/785) Tiny speedup by using 'use strict' ([@​BridgeAR](https://togithub.com/BridgeAR)) - Fix extraneous error output due to pubsub tests (Mikael Kohlmyr) ### [`v0.12.1`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v0121---Aug-10-2014) [Compare Source](https://togithub.com/redis/node-redis/compare/v0.12.0...v0.12.1) - Fix IPv6/IPv4 family selection in node 0.11+ (Various) ### [`v0.12.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v0120---Aug-9-2014) [Compare Source](https://togithub.com/redis/node-redis/compare/v0.11.0...v0.12.0) - Fix unix socket support (Jack Tang) - Improve createClient argument handling (Jack Tang) ### [`v0.11.0`](https://togithub.com/redis/node-redis/blob/HEAD/CHANGELOG.md#v0110---Jul-10-2014) [Compare Source](https://togithub.com/redis/node-redis/compare/v0.10.3...v0.11.0) - IPv6 Support. (Yann Stephan) - Revert error emitting and go back to throwing errors. (Bryce Baril) - Set socket_keepalive to prevent long-lived client timeouts. (mohit) - Correctly reset retry timer. (ouotuo) - Domains protection from bad user exit. (Jake Verbaten) - Fix reconnection socket logic to prevent misqueued entries. (Iain Proctor)

Configuration

📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - 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.



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

renovate[bot] commented 1 year ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.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.