redis 4.3.1 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,7 +22,7 @@ node-redis is a modern, high performance [Redis](https://redis.io) client for No
22
22
  | [@redis/bloom](./packages/bloom) | [![Downloads](https://img.shields.io/npm/dm/@redis/bloom.svg)](https://www.npmjs.com/package/@redis/bloom) [![Version](https://img.shields.io/npm/v/@redis/bloom.svg)](https://www.npmjs.com/package/@redis/bloom) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/bloom/) [Redis Bloom](https://oss.redis.com/redisbloom/) commands |
23
23
  | [@redis/graph](./packages/graph) | [![Downloads](https://img.shields.io/npm/dm/@redis/graph.svg)](https://www.npmjs.com/package/@redis/graph) [![Version](https://img.shields.io/npm/v/@redis/graph.svg)](https://www.npmjs.com/package/@redis/graph) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/graph/) [Redis Graph](https://oss.redis.com/redisgraph/) commands |
24
24
  | [@redis/json](./packages/json) | [![Downloads](https://img.shields.io/npm/dm/@redis/json.svg)](https://www.npmjs.com/package/@redis/json) [![Version](https://img.shields.io/npm/v/@redis/json.svg)](https://www.npmjs.com/package/@redis/json) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/json/) [Redis JSON](https://oss.redis.com/redisjson/) commands |
25
- | [@redis/search](./packages/search) | [![Downloads](https://img.shields.io/npm/dm/@redis/search.svg)](https://www.npmjs.com/package/@redis/search) [![Version](https://img.shields.io/npm/v/@redis/search.svg)](https://www.npmjs.com/package/@redis/search) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/search/) [Redis Search](https://oss.redis.com/redisearch/) commands |
25
+ | [@redis/search](./packages/search) | [![Downloads](https://img.shields.io/npm/dm/@redis/search.svg)](https://www.npmjs.com/package/@redis/search) [![Version](https://img.shields.io/npm/v/@redis/search.svg)](https://www.npmjs.com/package/@redis/search) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/search/) [RediSearch](https://oss.redis.com/redisearch/) commands |
26
26
  | [@redis/time-series](./packages/time-series) | [![Downloads](https://img.shields.io/npm/dm/@redis/time-series.svg)](https://www.npmjs.com/package/@redis/time-series) [![Version](https://img.shields.io/npm/v/@redis/time-series.svg)](https://www.npmjs.com/package/@redis/time-series) [![Docs](https://img.shields.io/badge/-documentation-dc382c)](https://redis.js.org/documentation/time-series/) [Redis Time-Series](https://oss.redis.com/redistimeseries/) commands |
27
27
 
28
28
  > :warning: In version 4.1.0 we moved our subpackages from `@node-redis` to `@redis`. If you're just using `npm install redis`, you don't need to do anything—it'll upgrade automatically. If you're using the subpackages directly, you'll need to point to the new scope (e.g. `@redis/client` instead of `@node-redis/client`).
@@ -52,6 +52,7 @@ await client.connect();
52
52
 
53
53
  await client.set('key', 'value');
54
54
  const value = await client.get('key');
55
+ await client.disconnect();
55
56
  ```
56
57
 
57
58
  The above code connects to localhost on port 6379. To connect to a different host or port, use a connection string in the format `redis[s]://[[username][:password]@][host][:port][/db-number]`:
package/dist/index.d.ts CHANGED
@@ -19,10 +19,10 @@ declare const modules: {
19
19
  list: typeof import("@redis/graph/dist/commands/LIST");
20
20
  PROFILE: typeof import("@redis/graph/dist/commands/PROFILE");
21
21
  profile: typeof import("@redis/graph/dist/commands/PROFILE");
22
- QUERY_RO: typeof import("@redis/graph/dist/commands/QUERY_RO");
23
- queryRo: typeof import("@redis/graph/dist/commands/QUERY_RO");
24
22
  QUERY: typeof import("@redis/graph/dist/commands/QUERY");
25
23
  query: typeof import("@redis/graph/dist/commands/QUERY");
24
+ RO_QUERY: typeof import("@redis/graph/dist/commands/RO_QUERY");
25
+ roQuery: typeof import("@redis/graph/dist/commands/RO_QUERY");
26
26
  SLOWLOG: typeof import("@redis/graph/dist/commands/SLOWLOG");
27
27
  slowLog: typeof import("@redis/graph/dist/commands/SLOWLOG");
28
28
  };
@@ -238,6 +238,36 @@ declare const modules: {
238
238
  SCANDUMP: typeof import("@redis/bloom/dist/commands/cuckoo/SCANDUMP");
239
239
  scanDump: typeof import("@redis/bloom/dist/commands/cuckoo/SCANDUMP");
240
240
  };
241
+ tDigest: {
242
+ ADD: typeof import("@redis/bloom/dist/commands/t-digest/ADD");
243
+ add: typeof import("@redis/bloom/dist/commands/t-digest/ADD");
244
+ BYRANK: typeof import("@redis/bloom/dist/commands/t-digest/BYRANK");
245
+ byRank: typeof import("@redis/bloom/dist/commands/t-digest/BYRANK");
246
+ BYREVRANK: typeof import("@redis/bloom/dist/commands/t-digest/BYREVRANK");
247
+ byRevRank: typeof import("@redis/bloom/dist/commands/t-digest/BYREVRANK");
248
+ CDF: typeof import("@redis/bloom/dist/commands/t-digest/CDF");
249
+ cdf: typeof import("@redis/bloom/dist/commands/t-digest/CDF");
250
+ CREATE: typeof import("@redis/bloom/dist/commands/t-digest/CREATE");
251
+ create: typeof import("@redis/bloom/dist/commands/t-digest/CREATE");
252
+ INFO: typeof import("@redis/bloom/dist/commands/t-digest/INFO");
253
+ info: typeof import("@redis/bloom/dist/commands/t-digest/INFO");
254
+ MAX: typeof import("@redis/bloom/dist/commands/t-digest/MAX");
255
+ max: typeof import("@redis/bloom/dist/commands/t-digest/MAX");
256
+ MERGE: typeof import("@redis/bloom/dist/commands/t-digest/MERGE");
257
+ merge: typeof import("@redis/bloom/dist/commands/t-digest/MERGE");
258
+ MIN: typeof import("@redis/bloom/dist/commands/t-digest/MIN");
259
+ min: typeof import("@redis/bloom/dist/commands/t-digest/MIN");
260
+ QUANTILE: typeof import("@redis/bloom/dist/commands/t-digest/QUANTILE");
261
+ quantile: typeof import("@redis/bloom/dist/commands/t-digest/QUANTILE");
262
+ RANK: typeof import("@redis/bloom/dist/commands/t-digest/RANK");
263
+ rank: typeof import("@redis/bloom/dist/commands/t-digest/RANK");
264
+ RESET: typeof import("@redis/bloom/dist/commands/t-digest/RESET");
265
+ reset: typeof import("@redis/bloom/dist/commands/t-digest/RESET");
266
+ REVRANK: typeof import("@redis/bloom/dist/commands/t-digest/REVRANK");
267
+ revRank: typeof import("@redis/bloom/dist/commands/t-digest/REVRANK");
268
+ TRIMMED_MEAN: typeof import("@redis/bloom/dist/commands/t-digest/TRIMMED_MEAN");
269
+ trimmedMean: typeof import("@redis/bloom/dist/commands/t-digest/TRIMMED_MEAN");
270
+ };
241
271
  topK: {
242
272
  ADD: typeof import("@redis/bloom/dist/commands/top-k/ADD");
243
273
  add: typeof import("@redis/bloom/dist/commands/top-k/ADD");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "redis",
3
3
  "description": "A modern, high performance Redis client",
4
- "version": "4.3.1",
4
+ "version": "4.4.0",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -23,9 +23,9 @@
23
23
  "gh-pages": "gh-pages -d ./documentation -e ./documentation -u 'documentation-bot <documentation@bot>'"
24
24
  },
25
25
  "dependencies": {
26
- "@redis/bloom": "1.0.2",
27
- "@redis/client": "1.3.0",
28
- "@redis/graph": "1.0.1",
26
+ "@redis/bloom": "1.1.0",
27
+ "@redis/client": "1.3.1",
28
+ "@redis/graph": "1.1.0",
29
29
  "@redis/json": "1.0.4",
30
30
  "@redis/search": "1.1.0",
31
31
  "@redis/time-series": "1.0.3"