Comparing version 4.28.0 to 4.28.1
@@ -105,3 +105,3 @@ "use strict"; | ||
client.connect().catch(lodash_1.noop); | ||
return new CustomPromise(function (resolve, reject) { | ||
return standard_as_callback_1.default(new CustomPromise(function (resolve, reject) { | ||
client.delayUntilReady((err) => { | ||
@@ -112,5 +112,5 @@ if (err) { | ||
} | ||
executeWithAutoPipelining(client, functionName, commandName, args, callback).then(resolve, reject); | ||
executeWithAutoPipelining(client, functionName, commandName, args, null).then(resolve, reject); | ||
}); | ||
}); | ||
}), callback); | ||
} | ||
@@ -117,0 +117,0 @@ // If we have slot information, we can improve routing by grouping slots served by the same subset of nodes |
@@ -0,1 +1,8 @@ | ||
## [4.28.1](https://github.com/luin/ioredis/compare/v4.28.0...v4.28.1) (2021-11-23) | ||
### Bug Fixes | ||
* handle possible unhandled promise rejection with autopipelining+cluster ([#1467](https://github.com/luin/ioredis/issues/1467)) ([6ad285a](https://github.com/luin/ioredis/commit/6ad285a59f4a46d5452a799371dfbd69a07ac9f9)), closes [#1466](https://github.com/luin/ioredis/issues/1466) | ||
# [4.28.0](https://github.com/luin/ioredis/compare/v4.27.11...v4.28.0) (2021-10-13) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "ioredis", | ||
"version": "4.28.0", | ||
"version": "4.28.1", | ||
"description": "A robust, performance-focused and full-featured Redis client for Node.js.", | ||
@@ -5,0 +5,0 @@ "main": "built/index.js", |
@@ -45,8 +45,23 @@ [![ioredis](https://cdn.jsdelivr.net/gh/luin/ioredis@b5e8c74/logo.svg)](https://github.com/luin/ioredis) | ||
<hr> | ||
<a href="http://bit.ly/medis-macos"><img align="right" src="resources/medis.png" alt="Download on the App Store"></a> | ||
### [AD] Medis: Redis GUI for OS X | ||
# Sponsors | ||
Looking for a Redis GUI manager for OS X, Windows and Linux? Here's [Medis](http://bit.ly/medis-macos)! | ||
<a href="https://github.com/sponsors/luin">Become a sponsor!</a> | ||
### Upstash: Serverless Database for Redis | ||
<a href="https://upstash.com/?utm_source=ioredis"><img align="right" width="320" src="resources/upstash.png" alt="Upstash"></a> | ||
Upstash is a Serverless Database with Redis/REST API and durable storage. It is the perfect database for your applications thanks to its per request pricing and low latency data. | ||
[Start for free in 30 seconds! ](https://upstash.com/?utm_source=ioredis) | ||
<br clear="both"/> | ||
### Medis: Redis GUI for macOS | ||
<a href="https://getmedis.com/"><img align="right" width="404" src="resources/medis.png" alt="Download on the App Store"></a> | ||
Looking for a Redis GUI for macOS, Windows and Linux? Here's [Medis](https://getmedis.com/)! | ||
Medis is an open-sourced, beautiful, easy-to-use Redis GUI management application. | ||
@@ -59,8 +74,7 @@ | ||
- Terminal for executing custom commands | ||
- JSON/MessagePack format viewing/editing and built-in highlighting/validator | ||
- And other awesome features... | ||
[Medis is open sourced on GitHub](https://github.com/luin/medis) | ||
[Medis 1 is open sourced on GitHub](https://github.com/luin/medis) | ||
### [AD] Kuber: Kubernetes Dashboard for iOS | ||
### Kuber: Kubernetes Dashboard for iOS | ||
@@ -868,2 +882,3 @@ <a href="http://bit.ly/kuber-ios"><img src="resources/kuber.png" alt="Download on the App Store"></a> | ||
- `preferredSlaves` (optional) can be used to prefer a particular slave or set of slaves based on priority. It accepts a function or array. | ||
- `enableTLSForSentinelMode` (optional) set to true if connecting to sentinel instances that are encrypted | ||
@@ -870,0 +885,0 @@ ioredis **guarantees** that the node you connected to is always a master even after a failover. When a failover happens, instead of trying to reconnect to the failed node (which will be demoted to slave when it's available again), ioredis will ask sentinels for the new master node and connect to it. All commands sent during the failover are queued and will be executed when the new connection is established so that none of the commands will be lost. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
306409
1390