1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00
Commit Graph

96 Commits

Author SHA1 Message Date
Leibale
c9c6374080 Release json@2.0.0-next.2 2023-11-09 22:34:15 -05:00
Leibale
74f6451792 upgrade @redis/client 2023-11-09 22:31:49 -05:00
Leibale
9126651bff remove dist/tsconfig.tsbuildinfo from tarball 2023-11-09 21:41:14 -05:00
Leibale
78fd21a0b3 Release json@2.0.0-next.1 2023-11-09 21:31:55 -05:00
Leibale
bf97637919 release-it --workspaces-update=false 2023-11-09 21:30:21 -05:00
Leibale
0e671ef64a upgrade modules @redis/client peerDependency 2023-11-09 21:19:08 -05:00
Leibale
5b086ba358 get ready for beta release 2023-11-09 21:08:53 -05:00
Leibale
ebca66d6f6 WIP 2023-11-01 14:09:58 -04:00
Leibale
817818aa91 WIP 2023-10-23 15:05:16 -04:00
Leibale
867c436bb5 Merge branch 'master' of github.com:redis/node-redis into v5 2023-10-02 14:01:18 -04:00
Leibale
f7d400e896 Release json@1.0.6 2023-09-22 07:02:29 -04:00
Leibale
819ca71538 Merge branch 'master' of github.com:redis/node-redis into v5 2023-09-19 18:57:28 -04:00
Leibale
d258296f33 Release json@1.0.5 2023-09-19 17:56:29 -04:00
shacharPash
cf21c1a1f8 Add support for JSON.MERGE (#2511)
* Support JSON.MERGE Command

* test only 2.6+ ReJson version

* test on edge

* review

* Update test-utils.ts

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-18 17:54:25 -04:00
Rowan Trollope
5a108265da Add support for JSON.MSET (#2605)
* Added MSET command

MSET command added. Requires all keys to have the same JSON Path, which might fit most use cases, but is a limitation.  Optionally we could make the path an array as well to support all use cases.

* change JSON.MSET signature, add to json command object, fix tests

* its `item.value`, not `item.json`..

* Update MSET.ts

Removed unused RedisCommandArguments

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-09-18 17:39:23 -04:00
Leibale
4976231f24 upgrade deps, remove node 14 & 16 from tests matrix 2023-09-18 17:23:01 -04:00
Leibale
266d635a60 add node: to node "core modules" imports 2023-09-18 15:03:07 -04:00
Leibale
7f5c309bc9 fix JSON spec describe title 2023-09-05 18:34:48 -04:00
Leibale
c12dc79950 RedisJSON 2023-09-05 18:19:31 -04:00
Leibale
5bab7fa6fd mark NUMMULTBY as deprecated 2023-09-05 14:52:23 -04:00
Leibale
823aba2c3c JSON.MERGE 2023-09-05 14:48:14 -04:00
Leibale
228b1d97c6 fix MSET 2023-09-05 14:47:38 -04:00
Leibale
9c295d26cb Merge branch 'master' of github.com:rowantrollope/node-redis into v5 2023-09-05 14:45:05 -04:00
Rowan Trollope
0093eb007f Update MSET.ts
Removed unused RedisCommandArguments
2023-08-29 19:51:06 -07:00
Leibale Eidelman
43969a3f38 its item.value, not item.json.. 2023-08-29 12:29:30 -07:00
Leibale Eidelman
f476c38971 change JSON.MSET signature, add to json command object, fix tests 2023-08-29 11:21:34 -07:00
Rowan Trollope
132599332f Added MSET command
MSET command added. Requires all keys to have the same JSON Path, which might fit most use cases, but is a limitation.  Optionally we could make the path an array as well to support all use cases.
2023-08-29 10:31:34 -07:00
Leibale
fe74e322dd upgrade deps 2023-08-23 14:53:26 -04:00
Leibale
d0801921e7 JSON.STRAPPEND 2023-08-01 14:52:08 -04:00
Leibale
fd016ee1b2 some json and search commands 2023-08-01 14:29:34 -04:00
Leibale
2136418f1a wip 2023-07-31 17:35:51 -04:00
Leibale
fdd1978d92 WIP 2023-07-18 16:32:45 -04:00
dovi
ad8d0a0fe1 fix test file 2023-07-10 17:41:02 -04:00
dovi
513668e545 more commands 2023-07-10 17:40:37 -04:00
dovi
e176a387b1 fix prev commit 2023-07-10 16:49:17 -04:00
dovi
75fc5a92d1 JSON commands 2023-07-10 16:46:57 -04:00
dovi
d2b0b4e5b0 more commands 2023-07-10 12:29:36 -04:00
dovi
e64946566a more commands 2023-07-06 15:51:12 -04:00
dovi
0ed4ee41f4 create JSON.CLEAR 2023-07-05 17:42:39 -04:00
Leibale
de53b96ba6 Merge branch 'master' of github.com:redis/node-redis into v5 2023-06-19 18:11:46 -04:00
Leibale
cf79a806c5 WIP 2023-06-07 11:45:48 -04:00
Leibale Eidelman
a7d5bc7ca4 fix #2526 - fix json README links (#2527) 2023-06-06 10:24:59 -04:00
Leibale Eidelman
0298c1ac41 upgrade deps (#2517)
* upgrade deps

* fix graph tests
2023-05-29 09:01:34 -04:00
Leibale
ae0d3521b3 upgrade deps 2023-04-26 13:42:51 -04:00
Leibale
623f229f4d Merge branch 'master' of github.com:redis/node-redis into v5 2023-04-26 13:38:32 -04:00
Gady
c88dea6151 Augment subpackages npm info (#2478)
* augment subpackages npm info

* some more keywords

---------

Co-authored-by: Leibale Eidelman <me@leibale.com>
2023-04-24 12:41:44 -04:00
Leibale
9faa3e77c4 WIP 2023-04-23 07:56:15 -04:00
Leibale Eidelman
4937efca6b upgrade dependencies (#2426) 2023-02-24 18:05:43 -05:00
Leibale Eidelman
0a46fcbdaf upgrade dependencies (#2381)
* upgrade deps

* upgrade dependencies

* fix v3 benchmark

* update package-lock.json
2023-01-25 13:05:42 -05:00
Leibale Eidelman
3b1bad2296 Add support for sharded PubSub (#2373)
* refactor pubsub, add support for sharded pub sub

* run tests in redis 7 only, fix PUBSUB SHARDCHANNELS test

* add some comments and fix some bugs

* PubSubType, not PubSubTypes 🤦‍♂️

* remove test.txt

* fix some bugs, add tests

* add some tests

* fix #2345 - allow PING in PubSub mode (remove client side validation)

* remove .only

* revert changes in cluster/index.ts

* fix tests minimum version

* handle server sunsubscribe

* add 'sharded-channel-moved' event to docs, improve the events section in the main README (fix #2302)

* exit "resubscribe" if pubsub not active

* Update commands-queue.ts

* Release client@1.5.0-rc.0

* WIP

* use `node:util` instead of `node:util/types` (to support node 14)

* run PubSub resharding test with Redis 7+

* fix inconsistency in live resharding test

* add some tests

* fix iterateAllNodes when starting from a replica

* fix iterateAllNodes random

* fix slotNodesIterator

* fix slotNodesIterator

* clear pubSubNode when node in use

* wait for all nodes cluster state to be ok before testing

* `cluster.minimizeConections` tests

* `client.reconnectStrategry = false | 0` tests

* sharded pubsub + cluster 🎉

* add minimum version to sharded pubsub tests

* add cluster sharded pubsub live reshard test, use stable dockers for tests, make sure to close pubsub clients when a node disconnects from the cluster

* fix "ssubscribe & sunsubscribe" test

* lock search docker to 2.4.9

* change numberOfMasters default to 2

* use edge for bloom

* add tests

* add back getMasters and getSlotMaster as deprecated functions

* add some tests

* fix reconnect strategy + docs

* sharded pubsub docs

* Update pub-sub.md

* some jsdoc, docs, cluster topology test

* clean pub-sub docs

Co-authored-by: Simon Prickett <simon@redislabs.com>

* reconnect startegy docs and bug fix

Co-authored-by: Simon Prickett <simon@redislabs.com>

* refine jsdoc and some docs

Co-authored-by: Simon Prickett <simon@redislabs.com>

* I'm stupid

* fix cluster topology test

* fix cluster topology test

* Update README.md

* Update clustering.md

* Update pub-sub.md

Co-authored-by: Simon Prickett <simon@redislabs.com>
2023-01-25 11:00:39 -05:00